Use Codex CLI in full-auto mode to fix issues iteratively until tests pass. Autonomous debugging and test-fixing loop with sandbox safety.
/plugin marketplace add DNYoussef/context-cascade/plugin install dnyoussef-context-cascade@DNYoussef/context-cascadeThis skill inherits all available tools. When active, it can use any tool Claude has access to.
ANTI-PATTERNS.mdREADME.mdexamples/example-1-test-suite-fix.mdexamples/example-2-type-errors.mdBefore writing ANY code, you MUST check:
.claude/library/catalog.json.claude/docs/inventories/LIBRARY-PATTERNS-GUIDE.mdD:\Projects\*| Match | Action |
|---|---|
| Library >90% | REUSE directly |
| Library 70-90% | ADAPT minimally |
| Pattern exists | FOLLOW pattern |
| In project | EXTRACT |
| No match | BUILD (add to library after) |
Kaynak dogrulama modu etkin.
Use Codex CLI's autonomous iteration capability to fix failing tests and debug issues until they pass. This skill leverages Codex's strength at long-horizon coding tasks.
full-auto: Standard autonomous modesandbox: For risky changesyolo: When speed is critical# Standard iterative fix
./scripts/multi-model/codex-yolo.sh "Fix all failing tests" task-id "." 15 full-auto
# With sandbox protection
./scripts/multi-model/codex-yolo.sh "Fix tests" task-id "." 10 sandbox
# Via delegate.sh
./scripts/multi-model/delegate.sh codex "Fix all failing tests and verify they pass" --full-auto
User: "CI is failing with 12 test errors"
Codex Process:
1. Run tests, capture failures
2. Analyze first failure
3. Implement fix
4. Re-run tests
5. Repeat until all pass
Output:
- Fixed: 12 tests
- Changes: 8 files modified
- Root causes: Missing null checks, outdated mocks
User: "TypeScript build has 47 type errors"
Codex Process:
1. Run tsc, capture errors
2. Fix type errors systematically
3. Re-run after each batch
4. Verify build succeeds
Output:
- Fixed: 47 type errors
- Patterns: Missing types, incorrect generics
- Added: 3 new type definitions
| Mode | Command | Use Case | Risk |
|---|---|---|---|
| full-auto | --full-auto | Standard iteration | Medium |
| sandbox | --sandbox workspace-write | Risky refactors | Low |
| yolo | --yolo | Speed critical | High |
META-LOOP IMPLEMENT PHASE:
|
+---> codex-iterative-fix
| |
| +---> Codex: Run tests
| +---> Codex: Fix failures
| +---> Codex: Iterate until pass
|
+---> Continue to TEST phase (verification)
Results stored at:
multi-model/codex/iterative-fix/{project}/{task_id}# Via router (automatic detection)
./scripts/multi-model/multi-model-router.sh "Fix all failing tests"
# Direct Codex call
bash -lc "codex --full-auto exec 'Fix all failing tests and verify they pass'"
NEVER:
ALWAYS:
codex-safe-experiment: Sandbox experimentationsmart-bug-fix: Systematic debuggingtesting-quality: Test generationmulti-model-discovery: Find existing fixesThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.