agent-briefing
Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…
Use when an approved design, specification or clear requirement exists for work that touches more than one file or behaviour, before any implementation code is written
Claude Code
$ npx -y skills add NoobyGains/godmode --skill task-planning --agent claude-code
Codex
$ npx skills add NoobyGains/godmode --skill task-planning -a codex -y
Cursor
$ npx skills add NoobyGains/godmode --skill task-planning -a cursor -y
Gemini CLI
$ npx skills add NoobyGains/godmode --skill task-planning -a gemini-cli -y
GitHub Copilot
$ npx skills add NoobyGains/godmode --skill task-planning -a github-copilot -y
OpenCode
$ npx skills add NoobyGains/godmode --skill task-planning -a opencode -y
Windsurf
$ npx skills add NoobyGains/godmode --skill task-planning -a windsurf -y
name: task-planning description: "Use when an approved design, specification or clear requirement exists for work that touches more than one file or behaviour, before any implementation code is written"
Write the implementation plan for a builder who has never seen this codebase or the conversation. They write good code once they know the exact interface and the exact test; what they cannot know is what was decided. **Put every decision in the plan: which files, which names and signatures, which values, which test proves each task, and which command shows it passed.**
NO IMPLEMENTATION WITHOUT A SAVED PLAN OF ATOMIC, VERIFIABLE TASKS
No exceptions. No workarounds. No shortcuts.
**Required:**
**Skip:**
Confirm before writing. If any item fails, go back to `godmode:intent-discovery` or ask the user one question.
1. The design is approved, and you have its path. 2. You can list every component that will change. 3. "Done" is defined by acceptance criteria, not impressions. 4. The stack is known, and every version and interface the plan relies on was verified with `godmode:grounding`. 5. You know how each piece will be tested.
1. **Scope check.** If the design covers independent subsystems, write one plan per subsystem; each plan must produce working, testable software on its own. 2. **Map the files.** List every file to create, modify or delete and the one responsibility of each. Follow the codebase's existing layout (`godmode:codebase-conventions`). Prefer small focused files; files that change together live together. 3. **Cut the tasks.** A task is the smallest unit with its own test cycle that a reviewer could reject while approving its neighbour. Fold setup and config into the task that needs them. Each task ends with something testable. 4. **Write the steps.** Each step is one action of 2-5 minutes with a checkable result: write the failing test; run it and see it fail; write the minimal code; run it and see it pass; commit. 5. **Write what decides, not what transcribes.** A plan is the set of decisions the builder cannot make alone. A test step carries the test as code, with the design's exact values in its assertions. A code step carries the exact signature (name, parameters, return type), the file it lives in and the values the design pins; the builder writes the body. A body appears only for an algorithm the signature and tests do not determine, or for exact copy the design fixes. Every command states its expected output. Every path is exact, with line ranges for modifications. A plan several times longer than the design it implements has written the program, not planned it. 6. **Self-review the plan** against the checklist below and fix the gaps. 7. **Save** to `docs/plans/YYYY-MM-DD-<feature>.md` and commit it (the user's preferred location overrides this). 8. **Hand off** with a recommended execution mode (see Handoff).
Every plan opens with:
# <Feature> Implementation Plan > For the executing agent: use godmode:inline-execution or godmode:delegated-execution > to run this plan task by task. Steps use checkboxes for tracking. **Goal:** <one sentence> **Design:** docs/plans/YYYY-MM-DD-<topic>-design.md **Architecture:** <two or three sentences> **Stack:** <languages, frameworks, key libraries with versions> ## Global Constraints <Project-wide requirements copied verbatim from the design: version floors, dependency limits, naming rules, platform requirements. Every task implicitly includes this section.> ## Review Focus <The five input classes or failure modes the design implies but no task's tests exercise that are most likely to bite a user: one line each, naming the input and the behaviour a reasonable person expects, most likely first. The design's silence on an input is not permission for it to break the program. Each line's test is then pinned to the task that owns the code.> ## Sources <Each external fact the plan relies on: URL and date checked.> ## File Map | File | Action | Responsibility |
### Task N: <component>
**Files:**
- Create: `src/exact/path/file.ts`
- Modify: `src/exact/path/existing.ts:40-62`
- Test: `tests/exact/path/file.test.ts`
**Covers:** acceptance criteria 2 and 3 from the design.
**Interfaces:**
- Consumes: `loadConfig(): Config` from Task 1 (`src/config.ts`)
- Produces: `parseDuration(s: string): number` in `src/duration.ts`; Task 4 calls it
- [ ] **Step 1: Write the failing test**
```ts
import { parseDuration } from '../src/duration';
test('parses minutes', () => {
expect(parseDuration('5m')).toBe(300);
});Run: `npx vitest run tests/duration.test.ts` Expected: FAIL, "parseDuration is not a function"
Accept `<digits>m` only and return minutes times 60; throw `Error("bad duration: <input>")` on anything else. The builder writes the body.
Run: `npx vitest run tests/duration.test.ts` Expected: PASS, 1 test
git add src/duration.ts tests/duration.test.ts git commit -m "feat: parse minute durations"
## Self-Review Checklist
- Every path is exact; every modification has a line range or an anchor.
- Every step lets the builder write exactly one reasonable thing. A line that decides nothing ("add validation here", "similar to Task 2") is a gap; a body theEngineering discipline for AI coding agents: question the request, verify against current docs, plan, build test-first on the cheapest capable model, review with a second model family, prove it before saying done. One repo for Claude Code, Codex, Antigravity, Cursor, Gemini CLI and OpenCode.
Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…
Use when a task, feature or bug fix is implemented and before it is committed, merged or handed back to the user, and when the…
Use when about to add or change code in an existing codebase: a new file, module, route, component, service, test, migration,…
Use when about to say that work is done, fixed, passing, working, deployed or ready, before committing, opening or merging a pull…
Use when a reviewed change is about to land on a shared branch, be released or be deployed, and when the user asks for a second…
Use when a written implementation plan is ready to execute in the current session and its tasks are mostly independent, so each…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration