en un clic
crew-claude
Complete development workflow for Claude Code
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Complete development workflow for Claude Code
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
4400+ curated code review prompts from leading open-source repositories
Complete development workflow for Codex
Git workflow commands: commit, branch, pr, push, sync, review, fixup, update-pr, commit-push, clean-gone, status, merge. Use with command argument.
Evaluate session using OpenAI eval-skills framework (Outcome/Process/Style/Efficiency). Analyzes session transcript vs Claude Code config to score performance and generate improvement recommendations. Creates GitHub issue with rubric scores and actionable plan.
Git workflow commands: commit, branch, pr, push, sync, review, fixup, update-pr, commit-push, clean-gone, run-e2e. Use with command argument.
Professional code review skill for Claude Code. Automatically collects file changes and task status. Triggers when working directory has uncommitted changes, or reviews latest commit when clean. Triggers: code review, review, 代码审核, 代码审查, 检查代码
| name | crew-claude |
| description | Complete development workflow for Claude Code |
Complete development workflow for Claude Code. Defines philosophy, hard requirements, anti-patterns, and 9-gate development process.
This codebase will outlive you. Every shortcut you take becomes someone else's burden. Every hack compounds into technical debt that slows the whole team down.
You are not just writing code. You are shaping the future of this project. The patterns you establish will be copied. The corners you cut will be cut again.
Fight entropy. Leave the codebase better than you found it.
Would a senior engineer say this is overcomplicated? If yes, simplify.
trash over rm.Every implementation task follows the same 9-gate workflow. Create all gate tasks at the start.
Execution Mode: Check CLAUDE_CODE_REMOTE env var. If true → Remote Mode (autonomous). See Hard Requirements for adjustments.
Agent Legend:
| Agent | Type | Description |
|---|---|---|
main | orchestrator | You (the orchestrating agent) |
test-engineer | custom | TDD workflows (.claude/agents/test-engineer.md) |
cleanup-agent | custom | Cleanup phase (.claude/agents/cleanup-agent.md) |
reviewer | custom | Code review (.claude/agents/reviewer.md) |
systems-architect | custom | Architecture decisions (.claude/agents/systems-architect.md) |
Bash | built-in | CLI commands |
Explore | built-in | Codebase exploration |
general-purpose | built-in | General tasks, skill execution |
Execution order: [P] = can run in parallel, [S] = must run sequentially
// Phase 1: Planning [P] - parallel research
TaskCreate({ subject: "Planning gate", description: "Agent: main + Explore + general-purpose. GATE: Research complete.", activeForm: "Planning" })
// Phase 2: Refinement [P] - parallel questions + review
TaskCreate({ subject: "Dispatch parallel refinement", description: "Agent: main. Dispatches: general-purpose. Questions + codex plan review.", activeForm: "Dispatching refinement" })
TaskCreate({ subject: "Refinement gate", description: "Agent: main. GATE: Questions asked, concerns addressed.", activeForm: "Refining" })
// Phase 3: Implementation [S] - sequential TDD cycle
TaskCreate({ subject: "Write failing tests (TDD red)", description: "Agent: test-engineer. [S] Write test that fails.", activeForm: "Writing failing tests" })
TaskCreate({ subject: "Implementation", description: "Agent: main. [S] Write the implementation code. Can parallelize across independent files.", activeForm: "Implementing" })
TaskCreate({ subject: "Make tests pass (TDD green)", description: "Agent: test-engineer. [S] Run tests and verify they pass.", activeForm: "Making tests pass" })
// Phase 4: Cleanup [P] - parallel cleanup tools
TaskCreate({ subject: "Dispatch parallel cleanup", description: "Agent: main. Dispatches: cleanup-agent. [P] Run deslop, code-simplifier, knip.", activeForm: "Dispatching cleanup" })
TaskCreate({ subject: "Cleanup gate", description: "Agent: main. GATE: All cleanup tools run with evidence.", activeForm: "Cleaning up" })
// Phase 5: Testing [S]
TaskCreate({ subject: "Testing gate", description: "Agent: Bash. [S] GATE: Run bun run ci, show exit code.", activeForm: "Testing" })
// Phase 6: Review [P] reviews → [P] fixes → [P] re-run
TaskCreate({ subject: "Dispatch parallel reviewers", description: "Agent: main. Dispatches: Bash, reviewer, general-purpose. [P] Run all 6 reviewers.", activeForm: "Dispatching reviewers" })
TaskCreate({ subject: "Dispatch parallel fixes", description: "Agent: main. Dispatches: general-purpose. [P] Fix codex, codeql, reviewer findings.", activeForm: "Dispatching fixes" })
TaskCreate({ subject: "Re-run failed reviewers", description: "Agent: main. Dispatches: Bash, reviewer, general-purpose. [P] Re-run until PASS.", activeForm: "Re-running reviewers" })
TaskCreate({ subject: "Review gate", description: "Agent: main. GATE: All review checks pass.", activeForm: "Reviewing" })
// Phase 7-9: Verification chain [S]
TaskCreate({ subject: "Run verification commands", description: "Agent: Bash. [S] Execute verification-before-completion.", activeForm: "Running verification" })
TaskCreate({ subject: "Verification gate", description: "Agent: main. [S] GATE: All checks pass with exit code 0.", activeForm: "Verifying" })
TaskCreate({ subject: "CI gate", description: "Agent: Bash. [S] GATE: Run bun run ci with exit code 0.", activeForm: "Running CI" })
TaskCreate({ subject: "Integration gate", description: "Agent: Bash. [S] GATE: Run bun run test:integration.", activeForm: "Running integration tests" })
// Phase 10: Session end [S]
TaskCreate({ subject: "Run workflow-improver analysis", description: "Agent: main. Skill: workflow-improver. [S] Analyze session.", activeForm: "Running workflow analysis" })
After creating all tasks, establish the sequential dependencies:
// Phase transitions (each phase blocked by previous)
TaskUpdate({ taskId: refinement-gate-id, addBlockedBy: [planning-gate-id] })
TaskUpdate({ taskId: tdd-red-id, addBlockedBy: [refinement-gate-id] })
// TDD cycle is sequential
TaskUpdate({ taskId: implementation-id, addBlockedBy: [tdd-red-id] })
TaskUpdate({ taskId: tdd-green-id, addBlockedBy: [implementation-id] })
// Cleanup after implementation
TaskUpdate({ taskId: cleanup-dispatch-id, addBlockedBy: [tdd-green-id] })
TaskUpdate({ taskId: cleanup-gate-id, addBlockedBy: [cleanup-dispatch-id] })
// Testing after cleanup
TaskUpdate({ taskId: testing-gate-id, addBlockedBy: [cleanup-gate-id] })
// Review chain
TaskUpdate({ taskId: dispatch-reviewers-id, addBlockedBy: [testing-gate-id] })
TaskUpdate({ taskId: dispatch-fixes-id, addBlockedBy: [dispatch-reviewers-id] })
TaskUpdate({ taskId: rerun-reviewers-id, addBlockedBy: [dispatch-fixes-id] })
TaskUpdate({ taskId: review-gate-id, addBlockedBy: [rerun-reviewers-id] })
// Verification chain
TaskUpdate({ taskId: verification-commands-id, addBlockedBy: [review-gate-id] })
TaskUpdate({ taskId: verification-gate-id, addBlockedBy: [verification-commands-id] })
TaskUpdate({ taskId: ci-gate-id, addBlockedBy: [verification-gate-id] })
TaskUpdate({ taskId: integration-gate-id, addBlockedBy: [ci-gate-id] })
// Session end
TaskUpdate({ taskId: workflow-improver-id, addBlockedBy: [integration-gate-id] })
Execution tasks require evidence: Each execution task must show command output, diff, or scan results before marking complete.
Task status updates:
// Before starting work on a task:
TaskUpdate({ taskId: "task-id", status: "in_progress" })
// After completing with evidence:
TaskUpdate({ taskId: "task-id", status: "completed" })
// To set dependencies (task B blocked by task A):
TaskUpdate({ taskId: "task-B-id", addBlockedBy: ["task-A-id"] })
TaskCreate({ subject: "Planning gate", description: "Agent: main + Explore. GATE: Research complete.", activeForm: "Planning" })
TaskCreate({ subject: "Refinement gate", description: "Agent: main. GATE: Plan written and reviewed.", activeForm: "Refining" })
// After plan approval, create remaining gates + execution tasks
Check CLAUDE_CODE_REMOTE environment variable at session start:
CLAUDE_CODE_REMOTE=true → Remote Mode (autonomous, minimal interaction)Remote Mode Adjustments:
ask-questions-if-underspecified skill: load but only act if ambiguity score > 7/10ALWAYS
TaskCreate to create tasks, TaskUpdate({ status: "in_progress" }) before starting work.TaskUpdate({ status: "completed" }) after each task is done.TaskUpdate({ addBlockedBy: [...] }) to establish task ordering.AskUserQuestion tool for ALL clarifying questions - never plain text questions.AskUserQuestion tool for ALL decision-seeking questions - phrases that seek user input MUST use the tool:
mode parameter appropriately: plan for risky changes, bypassPermissions for trusted autonomous work.blockedBy can run in parallel via multiple Task() calls in one message. See dispatching-parallel-agents skill.NEVER
AskUserQuestion tool.AskUserQuestion tool instead of inline text.Text checklists don't work. Claude forgets requirements that aren't tracked as Tasks.
Every required action MUST be a TaskCreate item. Never state requirements only in prose or markdown checkboxes.
Wrong:
- [ ] Run codex review
- [ ] Fix issues
Right:
TaskCreate({ subject: "Dispatch codex review", description: "Agent: Bash. Run: codex review --uncommitted.", activeForm: "Dispatching codex review" })
TaskCreate({ subject: "Fix codex issues", description: "Agent: general-purpose. Fix all P1, P2, P3 issues found.", activeForm: "Fixing codex issues" })
Execution tasks require evidence: Each task must show command output, diff, or results before marking complete.
When modifying existing code:
Create all gate tasks AND execution tasks via TaskCreate at the start. See Gate Tasks section for the complete list.
Key principle: If it's not a TaskCreate item, it won't happen.
| Status | When | Description |
|---|---|---|
| pending | Not started | — |
| in_progress | Working on it | — |
| completed | Done with proof | — |
Before each phase, update the corresponding gate task. Do not proceed if BLOCKED. Do not skip gates.
⚠️ Gate task neglect is a failure mode. You must update EVERY applicable gate task, not just early ones.
⚠️ Gate rushing is a failure mode. Each gate completed requires proof in the description.
Gate requirements (gate cannot complete until execution tasks show evidence):
Planning: PASS: Research=[tools used]
Refinement: PASS: Questions=[count or N/A if Remote]
AskUserQuestion tool used. Remote: questions optional unless genuinely ambiguous.Implementation: PASS: TDD=[red+green done] | Backfill=[done/N/A]
Cleanup: PASS: Deslop=[done] | Simplifier=[done]
Testing: PASS: Tests=[N passed, N failed] | Exit=[code]
Review: PASS: Reviewers=[dispatched] | Fixes=[dispatched] | Rerun=[done or N/A]
Verification: PASS: Commands=[run] | Exit=[0]
CI: PASS: CI=[command] | Exit=[0]
bun run ci executed with exit code 0 shown.bun dev:up.package.json does not exist (non-Node repos), substitute: shellcheck for .sh files, markdownlint for .md files. Document the substitution.Integration: PASS: Integration=[Exit 0 or N/A]
bun run test:integration executed with exit code 0 (or N/A if unavailable).package.json does not exist, document N/A with justification.Session End: PASS: Workflow-improver=[done]
Execution ≠ Loading: Calling Skill() just loads instructions. The execution task tracks actually DOING what the skill documents.
Before claiming done, the task list must show all gate tasks as completed. No exceptions.
Banned phrases: "looks good", "should work", "Done!", "it's just a port", "manual review", "pre-existing", "not related to my changes"
Failure deflection (ZERO TOLERANCE): Any claim that failures are "pre-existing" or "not related to my changes" is FORBIDDEN. Main always passes. If anything fails, you broke it.
When system-reminder indicates "Plan mode is active":
Plan Mode maps to workflow phases:
Plan Mode does NOT exempt you from:
TaskCreate + TaskUpdate({ status: "in_progress" }) first.TaskUpdate({ addBlockedBy: [...] }) for dependent tasks.Text checklists don't work. Claude forgets requirements that aren't tracked as Tasks.
- [ ] Do X without calling TaskCreate → call TaskCreate, not markdownSkill() but not doing what it documents → TaskCreate tracks EXECUTION, not loadingThe rule: If it's not a TaskCreate item, it won't happen. Period.
AskUserQuestion tool → FORBIDDENThese phrases in assistant messages = VIOLATION if not using the tool:
Would you like me to...? → Use AskUserQuestion with optionsShould we...? / Should I...? → Use AskUserQuestion with yes/no or optionsDo you want...? → Use AskUserQuestion with optionsWhich would you prefer...? → Use AskUserQuestion with the options listedCould you clarify...? → Use AskUserQuestionWhat should I...? → Use AskUserQuestion with optionsALLOWED without tool (rhetorical/explanatory):
status: completed without proof in description -> add PASS: [key]=[evidence] | ... to description.BLOCKED: [reason] in description.bun run ci exit code 0 shown → CI must pass.dispatching-parallel-agents.name parameter -> use names for tracking (e.g., name: "test-runner").mode: "bypassPermissions" for risky/security tasks -> use mode: "plan" for changes requiring review.mode based on task risk level.THIS IS THE MOST SEVERE ANTI-PATTERN. ZERO TOLERANCE.
Applies to: CI failures, test failures, lint errors, type errors, build failures, ANY verification failure.
The rule is absolute: If ANY verification (tests, lint, types, build, CI) does not pass, you have NOT completed the task. There are no exceptions. There are no "pre-existing issues" in a working main branch. If it fails now, you fix it now.
Before claiming done, verify ALL execution tasks are completed with evidence:
Run TaskList and verify:
If ANY execution task lacks evidence, you are NOT done.
TaskList before claiming done.TaskUpdate({ addBlockedBy: [...] }).Mandatory for implementation tasks. Creating any new file = implementation task. Only exception: pure research/exploration with no artifacts.
When system-reminder indicates "Plan mode is active":
Planning gate, Refinement gateTaskUpdate({ taskId: planning-id, status: "in_progress" }) → do research → TaskUpdate({ taskId: planning-id, status: "completed" })TaskUpdate({ taskId: refinement-id, status: "in_progress" }) → write plan → TaskUpdate({ taskId: refinement-id, status: "completed" })Use TaskCreate/TaskUpdate for all task tracking. Task list is the source of truth.
Task lifecycle:
// 1. Create task with agent in description
TaskCreate({
subject: "Task name",
description: "Agent: agent-type. What to do.",
activeForm: "Doing task"
})
// 2. Before starting work
TaskUpdate({ taskId: "...", status: "in_progress" })
// 3. After completing with evidence
TaskUpdate({ taskId: "...", status: "completed" })
Description format:
Agent: <primary-agent>. [Dispatches: <agent1>, <agent2>.] [Skill: <skill-name>.] <task description>.
Sub-agents: Multiple Task() calls in one message = parallel execution
Agent assignment table:
| Task Type | Agent | Why |
|---|---|---|
| Codebase exploration | Explore | Built-in, optimized for search |
| TDD (red/green) | test-engineer | Custom agent with TDD workflow |
| Cleanup (deslop/simplify/knip) | cleanup-agent | Custom agent for Phase 4 |
| Code review | reviewer | Custom agent with review modes |
| Architecture decisions | systems-architect | Custom agent for design |
| CLI commands (codex, bun, git) | Bash | Built-in shell execution |
| Skill execution (codeql, etc.) | general-purpose | Built-in with skill loading |
| Docs/web research | general-purpose | Uses MCP tools |
| Fix tasks | general-purpose | Can read context and edit |
Principles
Agent: <type>.Mark Planning in_progress, then completed when done.
Parallel research dispatch (SINGLE message):
Launch research Tasks in parallel where applicable:
// Up to 3 Tasks in ONE message = parallel execution
Task({
subagent_type: "Explore",
description: "Explore codebase",
prompt: `Explore the codebase to understand:
- Existing patterns and conventions
- Files relevant to [TASK DESCRIPTION]
- Dependencies and imports
Output: Summary of findings with file paths.`
})
Task({
subagent_type: "general-purpose",
description: "Query library docs",
prompt: `Use mcp__context7__resolve-library-id and mcp__context7__query-docs to find:
- API documentation for [RELEVANT LIBRARIES]
- Usage patterns and best practices
Output: Relevant documentation excerpts.`
})
Task({
subagent_type: "general-purpose",
description: "Web search for current info",
prompt: `Use mcp__exa__web_search_exa to find:
- Latest version info for [LIBRARIES]
- Current best practices for [TECHNOLOGY]
Output: Relevant findings with sources.`
})
After research completes, draft plan with file paths and tasks.
Mark Refinement in_progress.
Parallel refinement dispatch (SINGLE message):
// BOTH Tasks in ONE message = parallel execution
Task({
subagent_type: "general-purpose",
description: "Ask clarifying questions",
prompt: `Load Skill({ skill: "ask-questions-if-underspecified" }).
Execution mode: [LOCAL or REMOTE from CLAUDE_CODE_REMOTE env]
If Local: Use AskUserQuestion tool to clarify ambiguities.
If Remote: Only ask if ambiguity score > 7/10.
Output: Questions asked and answers received, or "N/A - requirements clear".`
})
Task({
subagent_type: "general-purpose",
description: "Codex plan review",
prompt: `Run codex review on the plan file: [PLAN_FILE_PATH]
Report any concerns that should be addressed before implementation.
Output: Concerns list or "no concerns".`
})
Address any concerns before calling ExitPlanMode.
Mark Refinement completed when both tasks done.
TaskUpdate({ taskId: implementation-gate-id, status: "in_progress" })
Execution tasks (tracked via TaskCreate/TaskUpdate):
TDD Red Phase (Agent: test-engineer)
TaskUpdate({ taskId: tdd-red-task-id, status: "in_progress" })
Task({
subagent_type: "test-engineer",
description: "Write failing tests",
prompt: `Write tests that fail for: [FEATURE DESCRIPTION]
Output: Test code + test output showing failure.`
})
TaskUpdate({ taskId: tdd-red-task-id, status: "completed" })
Implementation (Agent: main or general-purpose if parallel)
TaskUpdate({ taskId: implementation-task-id, status: "in_progress" })
// Write the implementation code directly, or dispatch parallel agents:
Task({
subagent_type: "general-purpose",
description: "Implement feature in file X",
prompt: `Implement: [SPECIFIC TASK]`
})
TaskUpdate({ taskId: implementation-task-id, status: "completed" })
TDD Green Phase (Agent: test-engineer)
TaskUpdate({ taskId: tdd-green-task-id, status: "in_progress" })
Task({
subagent_type: "test-engineer",
description: "Make tests pass",
prompt: `Run tests and verify they pass.
Output: Test output showing all tests pass.`
})
TaskUpdate({ taskId: tdd-green-task-id, status: "completed" })
If 2+ independent implementation tasks (marked parallelizable), dispatch parallel Task agents.
TaskUpdate({ taskId: cleanup-gate-id, status: "in_progress" })
Parallel cleanup dispatch (Dispatches: cleanup-agent)
TaskUpdate({ taskId: dispatch-cleanup-task-id, status: "in_progress" })
// Option 1: Use custom cleanup-agent (recommended)
Task({
subagent_type: "cleanup-agent",
description: "Run all cleanup tools",
prompt: `Execute Phase 4 cleanup on changed files.
Changed files: [LIST FILES]
Run: deslop, code-simplifier, knip (if JS/TS)
Output: Evidence for each tool.`
})
// Option 2: Dispatch individual tasks in parallel (general-purpose agents)
Task({
subagent_type: "general-purpose",
description: "Run deslop",
prompt: `Load Skill({ skill: "deslop" }) and execute on changed files.
Output: Diff of changes or "no slop found".`
})
Task({
subagent_type: "general-purpose",
description: "Run code-simplifier",
prompt: `Load Skill({ skill: "code-simplifier" }) and execute on changed files.
Output: Diff of changes or "no simplifications needed".`
})
Task({
subagent_type: "general-purpose",
description: "Run knip",
prompt: `Load Skill({ skill: "knip" }) and execute.
Output: List of unused items or "no dead code found".`
})
TaskUpdate({ taskId: dispatch-cleanup-task-id, status: "completed" })
TaskUpdate({ taskId: cleanup-gate-id, status: "completed" }) when all Tasks done with evidence.
Mark Testing in_progress.
bun run ci from repository rootTaskUpdate({ taskId: review-gate-id, status: "in_progress" })
Step 1: Parallel reviewer dispatch (SINGLE message)
Launch ALL reviewers in parallel via Task tool in ONE message (6 Tasks):
TaskUpdate({ taskId: dispatch-reviewers-task-id, status: "in_progress" })
// ALL SIX in ONE message = parallel execution
Task({
subagent_type: "Bash", // Built-in CLI agent
description: "Run codex review",
prompt: `Stage untracked files: git ls-files --others --exclude-standard -z | xargs -0 git add
Run: codex review --uncommitted --config model_reasoning_effort=xhigh
Output: Full codex output with issue counts.`,
timeout: 600000 // 10min (use 1800000 for ≥10 files or ≥500 changes)
})
// Additional 5 Tasks in the SAME message
Task({
subagent_type: "general-purpose", // Built-in with skill loading
description: "Run codeql scan",
prompt: `Load Skill({ skill: "codeql" }) and execute on changed files.
Output: Scan results with security findings.`
})
Task({
subagent_type: "reviewer", // Custom agent: .claude/agents/reviewer.md
description: "Simplicity review",
prompt: `Focus: simplicity
Apply SIMPLICITY MODE checklist to changed files.
Output: VERDICT: PASS | NEEDS_SIMPLIFICATION with findings.`
})
Task({
subagent_type: "reviewer",
description: "Completeness review",
prompt: `Focus: completeness
Original request: [QUOTE REQUEST]
Output: VERDICT: PASS | INCOMPLETE | OVERBUILT with findings.`
})
Task({
subagent_type: "reviewer",
description: "Quality review",
prompt: `Focus: quality
Apply QUALITY MODE checklist to changed files.
Output: VERDICT: PASS | NEEDS_FIXES with findings.`
})
Task({
subagent_type: "reviewer",
description: "Test coverage review",
prompt: `Focus: test-coverage
Verify adequate test coverage and tests pass (green phase).
Output: VERDICT: PASS | NEEDS_TESTS | TESTS_FAILING with file list.`
})
TaskUpdate({ taskId: dispatch-reviewers-task-id, status: "completed" })
Step 2: Parallel fix dispatch (SINGLE message)
After all parallel review Tasks complete, launch fix Tasks in parallel:
// ALL FIX TASKS in ONE message = parallel execution
// Note: Paste the actual outputs from Step 1 into the placeholders below
Task({
subagent_type: "general-purpose",
description: "Fix codex issues",
prompt: `Codex review output:
[PASTE CODEX OUTPUT HERE]
Fix all issues found (P1, P2, P3, suggestions).
Output: Issues fixed or "no issues found".`
})
Task({
subagent_type: "general-purpose",
description: "Fix codeql findings",
prompt: `CodeQL scan results:
[PASTE CODEQL OUTPUT HERE]
Fix all findings.
Output: Findings fixed or "no findings".`
})
Task({
subagent_type: "general-purpose",
description: "Fix reviewer findings",
prompt: `Reviewer verdicts:
[PASTE SIMPLICITY VERDICT HERE]
[PASTE COMPLETENESS VERDICT HERE]
[PASTE QUALITY VERDICT HERE]
[PASTE TEST COVERAGE VERDICT HERE]
For any NEEDS_* verdict, apply the recommended fixes.
Output: List of fixes applied or "all reviewers passed".`
})
Step 3: Re-run ALL failed checks in parallel (if needed)
If any fixes were applied, identify which checks need re-running and dispatch them ALL in parallel. This includes:
// Example: if codex, codeql, and simplicity had issues, re-run ALL THREE in ONE message
Task({
subagent_type: "Bash",
description: "Re-run codex review",
prompt: `Run: codex review --uncommitted --config model_reasoning_effort=xhigh
Output: Full codex output - verify previous issues are resolved.
Required: Output must show "no issues found" or all previous issues fixed.`,
timeout: DIFFICULT_TASK ? 1800000 : 600000
})
Task({
subagent_type: "general-purpose",
description: "Re-run codeql scan",
prompt: `Load Skill({ skill: "codeql" }) and execute codeql analysis on changed files.
Output: Scan results - verify previous findings are resolved.
Required: Output must show "no findings" or all previous findings fixed.`
})
Task({
subagent_type: "reviewer",
description: "Re-run simplicity review",
prompt: `Focus: simplicity
Apply SIMPLICITY MODE checklist to changed files.
Output: VERDICT: PASS | NEEDS_SIMPLIFICATION with findings.`
})
// ... add other affected checks to the same message
Completion criteria: Review is ONLY marked completed when ALL of the following pass:
Repeat the fix→re-run cycle until all checks pass. Each iteration should dispatch all failing checks in parallel.
Mark Review completed when all checks pass with evidence.
Mark Verification in_progress.
Execution task: "Run verification commands"
Skill({ skill: "verification-before-completion" }) to load instructionsMark Verification completed.
Mark CI in_progress.
package.json exists at repository root. If not, substitute with shellcheck for .sh files and markdownlint for .md files. Document the substitution.bun run ci from repository root (or substitutes)Mark Integration in_progress.
package.json exists. If not, mark N/A with documented justification.bun run test:integration (if available)Execution task: "Run workflow-improver analysis"
Skill({ skill: "workflow-improver" }) to load instructionsCompletion: Task list must show ALL gates AND execution tasks completed with evidence before claiming done.
Skill({ skill: "planning workflow" })Skill({ skill: "ask-questions-if-underspecified" })mcp__context7__resolve-library-id then mcp__context7__query-docsPREFER Exa MCP over built-in WebSearch/WebFetch — Exa is faster, has better filtering, and richer results. USE Octocode MCP for GitHub content — Exa cannot crawl GitHub raw files; use octocode for repo content.
mcp__octocode__githubGetFileContentmcp__octocode__githubSearchCodemcp__octocode__githubViewRepoStructuremcp__octocode__githubSearchPullRequestsmcp__exa__web_search_examcp__exa__web_search_advanced_examcp__exa__get_code_context_examcp__exa__company_research_examcp__exa__linkedin_search_examcp__exa__deep_researcher_start then mcp__exa__deep_researcher_checkmcp__exa__crawling_examcp__exa__deep_search_exaSkill({ skill: "test-driven-development" })Skill({ skill: "executing-plans" })Skill({ skill: "subagent-driven-development" })Skill({ skill: "dispatching-parallel-agents" })Task({ subagent_type: ... })codex review CLI directlySkill({ skill: "code-simplifier" })Skill({ skill: "deslop" })Skill({ skill: "knip" })Skill({ skill: "verification-before-completion" })Skill({ skill: "rams" })Skill({ skill: "semgrep" })Skill({ skill: "codeql" })Skill({ skill: "differential-review" })Skill({ skill: "variant-analysis" })Skill({ skill: "sarif-parsing" })Skill({ skill: "sharp-edges" })Skill({ skill: "systematic-debugging" })Skill({ skill: "property-based-testing" })Skill({ skill: "agent-browser" })Skill({ skill: "doc-coauthoring" })Skill({ skill: "xlsx" })Skill({ skill: "pptx" })Skill({ skill: "writing-skills" })Skill({ skill: "claude-md-improver" })Skill({ skill: "guidelines-advisor" })Skill({ skill: "secure-workflow-guide" })Skill({ skill: "token-integration-analyzer" })Skill({ skill: "fuzzing-obstacles" })Skill({ skill: "vercel-react-best-practices" })mcp__tanstack__tanstack_search_docs or mcp__tanstack__tanstack_docmcp__tanstack__tanstack_list_libraries or mcp__tanstack__tanstack_ecosystemmcp__tanstack__createTanStackApplicationSkill({ skill: "typescript-advanced-types" })Skill({ skill: "better-auth-best-practices" })Skill({ skill: "create-auth-skill" })Skill({ skill: "supabase-postgres-best-practices" })Skill({ skill: "claude-automation-recommender" })Skill({ skill: "logging-best-practices" })Skill({ skill: "workflow-improver" })head, tail, less, or more when monitoring or checking command output| head -n X or | tail -n X to truncate output - these cause buffering problems--max-lines flags if the command supports themgit log -n 10 instead of git log | head -10)