一键导入
codex-iterative-fix
Use Codex CLI in full-auto mode to fix issues iteratively until tests pass. Autonomous debugging and test-fixing loop with sandbox safety.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use Codex CLI in full-auto mode to fix issues iteratively until tests pass. Autonomous debugging and test-fixing loop with sandbox safety.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Complex browser automation workflow using claude-in-chrome MCP with mandatory sequential-thinking planning. Use when automating multi-step web interactions, form filling, navigation sequences, or web scraping.
End-to-end testing workflow for validating complete user journeys through web applications using claude-in-chrome MCP. Specializes in test assertions, suite organization, evidence collection, and pass/fail reporting.
Screenshot-based visual comparison and regression testing using claude-in-chrome MCP. Captures, compares, and validates UI states to detect layout shifts, visual bugs, and design regressions across viewports.
Structured data extraction from web pages using claude-in-chrome MCP with sequential-thinking planning. Focus on READ operations, data transformation, and pagination handling for multi-page extraction.
Use when conducting comprehensive code review for pull requests across multiple quality dimensions. Orchestrates 12-15 specialized reviewer agents across 4 phases using star topology coordination. Covers automated checks, parallel specialized reviews (quality, security, performance, architecture, documentation), integration analysis, and final merge recommendation in a 4-hour workflow.
Create Claude Code hooks with proper schemas, RBAC integration, and performance requirements. Use when implementing PreToolUse, PostToolUse, SessionStart, or any of the 10 hook event types for automation, validation, or security enforcement.
| name | codex-iterative-fix |
| description | Use Codex CLI in full-auto mode to fix issues iteratively until tests pass. Autonomous debugging and test-fixing loop with sandbox safety. |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep, Task, TodoWrite |
| x-version | 1.0.0 |
| x-category | platforms |
| x-tags | ["codex","debugging","testing","multi-model","autonomous"] |
| x-author | context-cascade |
| x-verix-description | [assert|neutral] codex-iterative-fix skill for autonomous test fixing [ground:given] [conf:0.95] [state:confirmed] |
Before 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 fixes[commit|confident] CODEX_ITERATIVE_FIX_COMPLETE