execute
Skill11 starsChanged 2 months agoMITView on GitHub
Smart implementation — read a plan, execute step by step with auto-compilation, subagent dispatch for large tasks, and checkpoint-based resume.
- Deletes or force-pushes
35 other projects use a version of this.
Adopted by
Most recently taken up by
- crbnos/carbontheir own version, first seen Oct 4, 2026
- samirpatil2000/skillstheir own version, first seen Sep 26, 2026
- FabianoArthur/claude-code-kitchentheir own version, first seen Sep 25, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Sep 22, 2026
- chrislacey89/skillstheir own version, first seen Sep 18, 2026
- afaraha8403/balakittheir own version, first seen Sep 16, 2026
Used with
Projects with it also use blueprint, discover and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
WordPressSkillblueprint
Use when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing, validating schema keys, choosing steps/resources, and debugging Blueprint files. For only running or sharing a Playground environment, use wp-playground.
Also in 4 projects that use this
anombyte93Skilldiscover
Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.
Also in 3 projects that use this
MicrosoftSkillinit
Generate or update chat customization files for AI coding agents
Also in 5 projects that use this
agenticnotetakingSkillask
Query the bundled research knowledge graph for methodology guidance. Routes questions through a 3-tier knowledge base — WHY (research claims), HOW (guidance docs), WHAT IT LOOKS LIKE (domain examples) — plus structured reference documents. Returns research-backed answers grounded in specific claims with practical application to the user's system. Triggers on "/ask", "/ask [question]", "why does my system...", "how should I...".
Also in 3 projects that use this
AGMO-IncSkillbenchmark
Use to run benchmarks, save results to Obsidian vault, and detect regressions against a baseline. Triggers on "벤치마크", "benchmark", "성능 측정".
Also in 3 projects that use this
nicodianskSkillbrainstorm
Use when starting creative work - creating features, building components, adding functionality, or modifying behavior. Explores requirements through Socratic dialogue before any implementation.
Also in 5 projects that use this
Other versions35 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 35
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- crbnos/carbon★ 2.7ksame name
- ZaxbyHub/opencode-swarm★ 485same name
- Joonghyun-Lee-Frieren/oh-my-antigravity★ 212same name
- rickywo/Formic★ 41same name
- Dowwie/tasker★ 19same name
- Hassaan146/claude-skills★ 18same name
- samirpatil2000/skills★ 18same name
- Upsolve-Labs/upstack★ 17same name
- serbanghita/plan-critique-skills★ 13same name
25 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-testsSkill
- best-practiceSkill
- bootstrapSkill
- briefSkill
- changesSkill
- claude-code-reviewSkill
- claude-plan-reviewSkill
- codex-code-reviewSkill
- codex-plan-reviewSkill
- commit-pushSkill
- depsSkill
- design-researchSkill
- designSkill
- doc-driftSkill
- doc-syncSkill
- doc-tidySkill
- explainSkill
- full-briefSkill
- goSkill
- grandmaSkill
- planSkill
- post-design-reviewSkill
- self-reviewSkill
- tech-researchSkill
- testSkill
- timelineSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
36 rules. 0 are common, 22 are distinctive, and 14 are very specific to this project.
0
Common
Most of the 35 edited versions we read keep these.
22
Distinctive
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 7
Read a plan, execute it fully.
- Very specific: line 20
No arguments: detect the plan source from conversation or Docs/qq/
- Distinctive: line 30
Do NOT invent other bypass conditions: If you encounter an obstacle that seems to require skipping the worktree, fix the obstacle, don't …
- Distinctive: line 41
Verify plan is in git: If the plan file is untracked or has uncommitted changes:
- Distinctive: line 45
If dirty, commit it now:
- Very specific: line 62
Enter the worktree: call EnterWorktree with name: <slug>.
- Very specific: line 103
If it returns progress with status: "running" or "paused", resume from the first uncompleted step.
- Very specific: line 105
If empty, fall back to scanning the plan for checked boxes (- [x]) for backward compatibility.
- Distinctive: line 109
Read the plan. Read CLAUDE.md and AGENTS.md (if it exists).
- Distinctive: line 111
Before starting execution, read prior decisions for context:
- Distinctive: line 123
Use judgment for borderline cases.
- Very specific: line 140
Before writing any engine source code, run the preflight check.
- Very specific: line 154
After ready: true, do a test compile to verify the pipeline end-to-end:
- Distinctive: line 160
If this fails, diagnose and resolve before proceeding.
- Very specific: line 168
If the plan has a 跨切面接缝清单 (Cross-cutting Seams) section and .claude/seams.yml exists:
- Very specific: line 172
If the plan has no seam section or .claude/seams.yml is absent, skip (no regression).
- Distinctive: line 176
Follow existing project patterns.
- Distinctive: line 180
Always pass context inline in subagent prompts: Never ask subagents to read CLAUDE.md, AGENTS.md, or the plan file — paste the relevant …
- Distinctive: line 193
Dependency rule: Read the plan to identify which phases are sequential (have dependencies) vs.
- Very specific: line 207
Wait for all to complete → actively verify compilation: run qq-compile.sh --project "$PROJECT" and check exit code 0
- Distinctive: line 213
Key constraint: Do NOT parallelize phases that have interface dependencies.
- Distinctive: line 244
After each step completes:
- Distinctive: line 246
After implementing a step, quickly scan the files you wrote:
- Distinctive: line 250
If yes, fix them before checkpointing.
- Very specific: line 264
Always → /qq:claude-code-review (review first, then test)
- Very specific: line 265
If review already done → /qq:test
- Very specific: line 266
If test already done → /qq:commit-push
- Very specific: line 270
With
--auto: run qq-execute-checkpoint.py pipeline-advance --project . - Distinctive: line 275
Do not add features or abstractions beyond what the plan specifies
- Distinctive: line 277
If a step is significantly more complex than planned, note the deviation and continue
- Distinctive: line 278
If the plan is ambiguous or contradictory, use best judgment and note the decision
- Very specific: line 279
Test steps → prefer /qq:add-tests over hand-writing test files
- Distinctive: line 280
Every file must have COMPLETE implementation — no stubs, no skeleton classes, no "// TODO" comments
- Distinctive: line 281
Every method must have a full working body, not just a signature
- Distinctive: line 282
After implementing each step, re-read the file to verify completeness before moving on
- Distinctive: line 283
If a step's instruction is vague, write MORE code than seems necessary — thorough > minimal
“Common” is measured: kept by at least 6 in 10 of the 35 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Respond in the user's preferred language (detect from their recent messages, or fall back to the language setting in CLAUDE.md).
Read a plan, execute it fully. Execution is always automatic — never ask "proceed?" or "start?" during implementation. The user invoked execute; that IS the go-ahead.
Live Unity editing during execution: if a plan step needs to poke the live Unity Editor (inspect a component, modify a scene object, open or save a scene, run a menu item) instead of writing new C# code, use the project's channel (
shared/unity-live-state.md; the plan may already name it):
- Official Unity CLI (
Library/Pipeline/.unity-pipeline-portexists):unity command --project-path "$PWD" --json --no-banner <command> -- <params>— e.g.set_component_properties,set_serialized_field,open_scene,save_all,menu. Look parameters up first withunity command --project-path "$PWD" --query <keyword> --detail full --json; command map inshared/unity-cli-reference.md. This channel has no focus or dismiss-dialog endpoints and needs none (Unity keeps working in the background) — don't pass--focus true; when a call times out, followunity-cli-reference.md#recovery.- tykit (
Temp/tykit.json): the MCP tools (unity_query,unity_object,unity_assets,unity_physics) or direct HTTP, with/ping,/health,/focus-unityfor recovery — seeshared/tykit-reference.md.- Neither: do the step in code or assets instead, and note it.
Compile and tests still go through qq (auto-compile,
/qq:test) on every channel. Editor-state changes persist only once saved (save_all/ tykitsave-scene). Only fall back to code-writing for changes that need version control or compile-time validation. Never open or printLibrary/Pipeline/.unity-pipeline-port— it holds an eval token.
Arguments: $ARGUMENTS
- A file path to a plan/design document
--no-worktree: skip worktree guard--auto: after completion, auto-select and run the next workflow step instead of asking the user (includes push — user should be aware)- No arguments: detect the plan source from conversation or
Docs/qq/
1. Worktree Guard (strict — do NOT bypass)
Worktree isolation is non-negotiable for /qq:execute. Executing a multi-step plan directly on a shared branch pollutes main, blocks parallel work, and makes rollback surgical instead of trivial. You MUST enter a worktree unless one of these three conditions is explicitly met:
- You are already inside a git worktree (check with
git rev-parse --show-toplevel— if it matches.git/worktrees/<name>/in the output ofgit worktree list, you're in one). Skip to step 2. - The user passed
--no-worktreeas a literal flag in$ARGUMENTS. Not "semantically meant" — the exact token must be present. Agent-invented--no-worktree semanticsis forbidden. - The plan is trivially small (≤ 3 steps touching ≤ 3 files, and no .cs compilation). For anything larger, you need a worktree.
Do NOT invent other bypass conditions. If you encounter an obstacle that seems to require skipping the worktree, fix the obstacle, don't skip the safety check. Common obstacles and their correct fixes:
| Obstacle | ❌ Wrong reaction | ✅ Correct reaction |
| Plan file is untracked | "switching worktree loses plan → skip worktree" | git add <plan_file> && git commit -m "docs(plan): <slug>" → now plan is in git → enter worktree → plan is visible from worktree. |
| Uncommitted unrelated changes in working tree | "dirty tree → can't worktree → skip" | Commit them (if related to this plan) or stash them (if unrelated). Then enter worktree. If user wants to keep them dirty, they must pass --no-worktree explicitly. |
| Conversation has ephemeral state (open files, scratch edits) | "would lose context → skip" | Conversation state IS lost on worktree entry by design — that's the point of isolation. Re-load plan from disk in the new session. Do not skip for this reason. |
EnterWorktree tool unavailable | "no tool → skip" | Fall back to ${CLAUDE_PLUGIN_ROOT}/bin/qq-worktree.py create --name <slug>, tell the user to reopen in the new path, and stop. Don't proceed in the main dir. |
The procedure:
- Verify plan is in git. If the plan file is untracked or has uncommitted changes:
If dirty, commit it now:git status -- <plan_file>
Announce: "Committed plan doc before entering worktree so it's accessible from the new worktree."git add <plan_file> git commit -m "docs(plan): <slug> plan document" - Capture source state BEFORE creating the worktree (required for verification in step 5):
Remember these — you'll verify the new worktree inherits them.SOURCE_BRANCH=$(git rev-parse --abbrev-ref HEAD) SOURCE_HEAD=$(git rev-parse HEAD) echo "Source: $SOURCE_BRANCH @ $SOURCE_HEAD" - Derive a slug from the plan filename (lowercase, dashes, no extension).
- Enter the worktree: call
EnterWorktreewithname: <slug>. IfEnterWorktreeis unavailable, fall back to${CLAUDE_PLUGIN_ROOT}/bin/qq-worktree.py create --name <slug>(which uses current branch correctly by design), tell the user to reopen in the new path, and stop. CRITICAL: Verify the new worktree inherited the source branch's HEAD.
EnterWorktreeis documented as "based on HEAD" but in practice it sometimes creates the worktree branch from the repo's default branch (develop/main) instead of the current feature branch — silently losing your plan commit and any other recent commits. You MUST verify after everyEnterWorktreecall:WT_HEAD=$(git rev-parse HEAD) if git merge-base --is-ancestor "$SOURCE_HEAD" HEAD 2>/dev/null; then echo "✓ Worktree HEAD ($WT_HEAD) includes source HEAD ($SOURCE_HEAD)" else echo "✗ BUG: worktree HEAD ($WT_HEAD) does NOT include source HEAD ($SOURCE_HEAD)" echo " EnterWorktree branched from a different ref. Recovering..." # Hard-reset the new worktree branch to the source HEAD. # This works because the new worktree branch was just created and has no # commits of its own yet (worst case it had a single auto-generated commit). git reset --hard "$SOURCE_HEAD" echo " ✓ Reset worktree to $SOURCE_HEAD" fiWhy this matters: if you skip verification, the worktree's branch is silently rooted at develop. When you eventually
commit-pushand try to merge back, you'll be merging develop's history (zero source-branch commits) into your feature branch — losing the plan commit and any other source-branch context. Do not skip this verification. Cherry-pick is NOT a sufficient recovery — it brings over commits but the branch's merge-base is still wrong, which breaksgit diff source...HEAD-style scoping later.- Seed local runtime files in the new worktree (qq scripts, AGENTS.md, CLAUDE.md, .mcp.json, qq.yaml, baseline state, run records, AND the worktree.json metadata that registers it as qq-managed). Without this step,
EnterWorktree-created worktrees lackscripts/platform/detect.sh(every qq script call exits 127), and downstream consumers likecommit-pushType B closeout,qq-codex-exec--add-dirinjection, andqq-project-state.pyseeisManagedWorktree=false.${CLAUDE_PLUGIN_ROOT}/bin/qq-worktree.py seed-local-runtime --project . --source "<SOURCE_PROJECT>" - Seed runtime cache (Unity
Library/, etc.) in the new worktree. Now that step 6 has written.qq/state/worktree.jsonwithsourceWorktreePath, this command can resolve the source from metadata and persistruntimeCacheSeedstate back into the same file (soqq-project-stateandqq-doctorsee the seed completed). Pass NO--sourceflag — the metadata is now authoritative.${CLAUDE_PLUGIN_ROOT}/bin/qq-worktree.py seed-runtime-cache --project .
If you decide to skip the worktree under any condition above, state the exact reason in your first message (e.g. "Skipping worktree: user passed --no-worktree in arguments" / "Skipping worktree: already inside .git/worktrees/demo-loop" / "Skipping worktree: plan is 2 steps, 1 file, no compile"). Do NOT skip silently.
2. Locate Plan & Resume
Find the plan (user arg → conversation → Docs/qq/ scan → ask).
Resume check: Run:
qq-execute-checkpoint.py resume --project .If it returns progress with status: "running" or "paused", resume from the first uncompleted step. Report: "Resuming from step N (steps 1–M already complete)."
If empty, fall back to scanning the plan for checked boxes (- [x]) for backward compatibility.
3. Analyze & Start
Read the plan. Read CLAUDE.md and AGENTS.md (if it exists).
Before starting execution, read prior decisions for context:
qq-decisions.py summary --project .This shows what design and plan phases decided and why — use this context to make consistent implementation choices.
Do NOT write a new plan, enter plan mode, or save files to .claude/plans/. The plan already exists — your job is to execute it, not rewrite it.
Classify the plan:
- Small (≤8 steps touching ≤12 files): main agent executes directly, using subagents only for independent parallel files.
- Large (>8 steps or >12 files across >3 modules): main agent becomes a coordinator only — dispatch each phase/group as a subagent. Do NOT write implementation code in the main session.
Use judgment for borderline cases.
Output a brief summary to the user (plain text, not a file):
Executing: <plan name> (coordinator mode, N phases)
Phase 0: ... → Phase 1: ... → ...Then initialize checkpoint and begin immediately:
qq-execute-checkpoint.py save \
--project . --plan "<PLAN_PATH>" --step 0 --total <M> \
--mode <coordinator|direct> --phase "<FIRST_PHASE>" --status running3.5. Pre-flight: Engine Project Readiness
Before writing any engine source code, run the preflight check. Use the project_dir from qq-project-state.py output (§3) as $PROJECT — do not assume CWD is the project root.
qq-preflight.py --project "$PROJECT" --prettyPreflight only reports — it never writes into the project. Every blocker below is resolved by the user, not by a flag.
Interpret the output:
ready: true→ continue to §4.block_reason: "virgin_project"→ STOP immediately. Tell the user to open the project in the engine's editor (Unity Hub / Godot / Unreal), wait for import, then confirm. Save checkpoint with--status paused. Do NOT write any source files until the user confirms.- Any other
ready: false→ report themessageand stop.
After ready: true, do a test compile to verify the pipeline end-to-end:
qq-compile.sh --project "$PROJECT"If this fails, diagnose and resolve before proceeding.
Mechanical backstop: The
compile-gate-check.shPreToolUse hook independently blocks engine source writes whenLibrary/is missing (virgin project) or the last compile failed (the files with errors, the file that broke the build, files of types named in the errors, and new files stay editable, so fix those first; linked git worktrees are exempt from theLibrary/check). Even if you miss this pre-flight, the hook will catch it. But running preflight explicitly gives better diagnostics.
Why this matters: The auto-compile hook now sets a compile-gate on failure, but the gate only blocks the next edit — it cannot undo code you already wrote in a non-compiling state. Running preflight + test compile upfront catches issues before any code is written.
3.6. Seam Checklist Gate (跨切面接缝自检)
If the plan has a 跨切面接缝清单 (Cross-cutting Seams) section and .claude/seams.yml exists:
Before marking execution complete, run every grep command in that checklist (Grep tool / rg) and confirm each fan-out point is handled — either your diff edited it, or you can justify "no change needed". Do not finish with any "需改" seam row untouched in your diff. This catches the compile-clean-but-runtime-broken class of bug (added a WorkType / MonsterType / item but forgot a parallel switch / registration / CSV row). Any newly hit seam not yet in .claude/seams.yml → append it there.
If the plan has no seam section or .claude/seams.yml is absent, skip (no regression).
4. Execute
Follow existing project patterns.
Subagent context rule
Always pass context inline in subagent prompts. Never ask subagents to read CLAUDE.md, AGENTS.md, or the plan file — paste the relevant content directly. This saves tool calls and ensures subagents get exactly the context they need.
Small task execution
For each step, decide:
- Has dependencies on the previous step → write it yourself (main session)
- Independent files → dispatch parallel subagents
- Sequential chain (A→B→C) → execute sub-steps one by one; consider subagents for long chains (4+) to prevent context accumulation
Large task execution (coordinator mode)
The main agent writes zero implementation code. Execute phases in the order the plan specifies (which may not be numeric — e.g. Phase 9.1 before Phase 2).
Dependency rule: Read the plan to identify which phases are sequential (have dependencies) vs. parallel (independent). The plan typically indicates this explicitly (e.g. "Phase 3 + Phase 4 parallel").
Sequential phases (downstream depends on upstream interfaces):
For each phase:
- Dispatch → implementation subagent
- Compile → actively verify compilation succeeded. The auto-compile hook sets a compile-gate on failure, but always run
qq-compile.sh --project "$PROJECT"explicitly and check exit code 0. If fails: dispatch fix subagent (max 3 rounds, then--status paused) - Review → dispatch review subagent to check behavior correctness (compilation only catches type errors, not logic bugs like "triggers on every hit instead of only on kill")
- Fix → if Critical/Moderate: dispatch fix subagent, re-compile
- Checkpoint →
qq-execute-checkpoint.py save - THEN next dependent phase
Parallel phases (independent, no shared interfaces):
- Dispatch all parallel implementation subagents simultaneously
- Wait for all to complete → actively verify compilation: run
qq-compile.sh --project "$PROJECT"and check exit code 0 - Dispatch review subagents for each (can be parallel)
- Fix issues if any
- Checkpoint all completed phases
- THEN next group
Key constraint: Do NOT parallelize phases that have interface dependencies. If Phase B uses interfaces defined in Phase A, Phase A must pass review before Phase B starts.
For truly large module-crossing refactors (10+ files, 3+ independent modules), consider dispatching subagents with isolation: "worktree" to avoid file conflicts.
Implementation subagent context — pass inline:
- The phase steps from the plan (only this phase, not the full plan)
- Interfaces/contracts created by completed phases (paste the actual code)
- CLAUDE.md and AGENTS.md rules
Review subagent context — pass inline:
- The phase steps (what was supposed to be implemented)
- The actual code that was written (read the changed files, paste key sections)
- Interfaces from prior phases
Review prompt:
"Review the changes made in [PHASE_NAME] for behavior correctness. Compilation already passed — focus on logic errors that the compiler cannot catch:
- Are event triggers conditional on the right state? (e.g. only on kill, not every hit)
- Is state stored on the right lifecycle object? (e.g. persistent data on DontDestroyOnLoad singletons, not scene-scoped objects)
- Are edge cases handled? (null checks at system boundaries, empty collections) Report findings as [Critical] / [Moderate] / [Minor]. Be concise."
Checkpoint command (this is NOT optional — it is a fixed workflow step):
qq-execute-checkpoint.py save \
--project . --plan "<PLAN_PATH>" --step <N> --total <M> \
--mode <MODE> --phase "<PHASE_NAME>" --step-title "<STEP_TITLE_TEXT>"This atomically updates .qq/state/execute-progress.json AND the plan file checkbox. Do NOT Edit the plan file separately.
Small task checkpoint
After each step completes:
- Completeness check:
After implementing a step, quickly scan the files you wrote:
- Are there any empty method bodies?
- Are there any
throw new NotImplementedException()or// TODOmarkers? - Does every MonoBehaviour have the lifecycle methods it needs? If yes, fix them before checkpointing.
- Compile — actively verify compilation: run
qq-compile.sh --project "$PROJECT"and check exit code 0. The auto-compile hook sets a compile-gate on failure, but explicit verification catches issues immediately. Fix before proceeding. If unfixable after 3 attempts, save--status pausedand stop. - Checkpoint — same command as above.
5. Completion
Clear the checkpoint:
qq-execute-checkpoint.py clear --project .Summarize: what was implemented, deviations from plan, issues resolved.
Without --auto: recommend next step, wait for user:
- Always →
/qq:claude-code-review(review first, then test) - If review already done →
/qq:test - If test already done →
/qq:commit-push
Do NOT recommend /qq:commit-push as the first next step. The order is always: review → test → commit-push.
With --auto: run qq-execute-checkpoint.py pipeline-advance --project . --completed-skill "/qq:execute" --next-skill "/qq:claude-code-review", then take the full path automatically:
/qq:claude-code-review → /qq:test → /qq:commit-push
Rules
- Do not add features or abstractions beyond what the plan specifies
- Each .cs save triggers auto-compilation — never skip this
- If a step is significantly more complex than planned, note the deviation and continue
- If the plan is ambiguous or contradictory, use best judgment and note the decision
- Test steps → prefer
/qq:add-testsover hand-writing test files - Every file must have COMPLETE implementation — no stubs, no skeleton classes, no "// TODO" comments
- Every method must have a full working body, not just a signature
- After implementing each step, re-read the file to verify completeness before moving on
- If a step's instruction is vague, write MORE code than seems necessary — thorough > minimal
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

