Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Create zero-context implementation plans with bite-sized tasks — use for multi-step feature planning
.claude/skills/hashgraph-online-skill-writing-plans/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 11% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 233% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 115% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 296% | 0% |
> Host: Codex CLI — This skill was designed for Claude Code and adapted for Codex. > Cross-reference commands use installed skill names in Codex rather than /octo:* slash commands. > Use the active Codex shell and subagent tools. Do not claim a provider, model, or host subagent is available until the current session exposes it. > For host tool equivalents, see skills/blocks/codex-host-adapter.md.
When this skill is invoked, you MUST produce a full implementation plan following the structure below. You are PROHIBITED from:
The user asked for a plan, not an implementation. Write the plan first.
Your first output line MUST be: 🐙 **CLAUDE OCTOPUS ACTIVATED** - Implementation Planning
Write comprehensive implementation plans assuming the engineer has zero context for the codebase and questionable taste.
Document everything: which files to touch, complete code, how to test, how to verify.
Principles: DRY. YAGNI. TDD. Frequent commits.
markdown# [Feature Name] Implementation Plan **Goal:** [One sentence describing what this builds] **Architecture:** [2-3 sentences about approach] **Tech Stack:** [Key technologies/libraries] **Estimated Time:** [X tasks × 5 min = Y minutes] ## Prerequisites - [ ] [Any setup needed before starting] - [ ] [Dependencies to install] - [ ] [Files that must exist]
Each task is ONE action (2-5 minutes):
| Good (Single Action) | Bad (Multiple Actions) | |---------------------|------------------------| | "Write the failing test" | "Write tests and implement" | | "Run test to verify it fails" | "Make it work" | | "Implement minimal code to pass" | "Add the feature" | | "Commit with message" | "Finish the feature" |
markdown### Task N: [Component Name] **Files:** - Create: `exact/path/to/new-file.ts` - Modify: `exact/path/to/existing.ts` (lines 45-67) - Test: `tests/exact/path/to/test.spec.ts` **Step 1: Write failing test**
// tests/exact/path/to/test.spec.ts describe('ComponentName', () => { it('should do specific thing', () => { const result = functionName(input); expect(result).toBe(expected); }); });
**Step 2: Run test to verify it fails**
npm test tests/exact/path/to/test.spec.ts
Expected output:FAIL: expected 'expected' but got undefined
**Step 3: Implement minimal code**
// exact/path/to/new-file.ts export function functionName(input: InputType): OutputType { // Minimal implementation return expected; }
**Step 4: Run test to verify it passes**
npm test tests/exact/path/to/test.spec.ts
Expected output:PASS: 1/1 tests passed
**Step 5: Commit**
git add tests/exact/path/to/test.spec.ts exact/path/to/new-file.ts git commit -m "feat(component): add specific functionality"
markdown### Task 3: Add Email Validation **Files:** - Create: `src/validators/email.ts` - Test: `tests/validators/email.spec.ts` **Step 1: Write failing test**
// tests/validators/email.spec.ts import { validateEmail } from '../src/validators/email';
describe('validateEmail', () => { it('returns error for empty email', () => { const result = validateEmail(''); expect(result).toEqual({ valid: false, error: 'Email required' }); });
it('returns error for invalid format', () => { const result = validateEmail('not-an-email'); expect(result).toEqual({ valid: false, error: 'Invalid email format' }); });
it('returns valid for correct email', () => { const result = validateEmail('user@example.com'); expect(result).toEqual({ valid: true }); }); });
**Step 2: Run test to verify it fails**
npm test tests/validators/email.spec.ts
Expected: `Cannot find module '../src/validators/email'`
**Step 3: Implement minimal code**
// src/validators/email.ts interface ValidationResult { valid: boolean; error?: string; }
export function validateEmail(email: string): ValidationResult { if (!email || !email.trim()) { return { valid: false, error: 'Email required' }; }
const emailRegex = /^^\s@]+@^\s@]+\.^\s@]+$/; if (!emailRegex.test(email)) { return { valid: false, error: 'Invalid email format' }; }
return { valid: true }; }
**Step 4: Run test to verify it passes**
npm test tests/validators/email.spec.ts
Expected: `PASS: 3/3 tests passed`
**Step 5: Commit**
git add src/validators/email.ts tests/validators/email.spec.ts git commit -m "feat(validators): add email validation with tests"
After creating a plan, offer execution options:
markdown## Execution Options **1. Sequential (this session)** Execute tasks one by one with verification between each. **2. Parallel (octopus tangle)** Use Claude Octopus to parallelize independent tasks:
${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh tangle "Execute implementation plan for feature]"
**3. Full workflow (octopus embrace)**
Research → Define → Implement → Deliver:${HOME}/.claude-octopus/plugin/scripts/orchestrate.sh embrace "Implement feature] per plan"
Claude Octopus uses session-aware plan storage. Plans are automatically saved to:
~/.claude-octopus/plans/${CLAUDE_SESSION_ID}/YYYY-MM-DD-feature-name.mdThis integrates with Claude Code's plansDirectory setting. To customize:
json// settings.json { "plansDirectory": "~/.claude-octopus/plans" }
For project-local plans, save to docs/plans/:
bashmkdir -p docs/plans # docs/plans/2026-01-17-user-authentication.md
| Mistake | Fix | |---------|-----| | "Add the validation" | Show exact code | | "Update the tests" | Show exact test code | | "In the config file" | config/app.config.ts line 23 | | "Run the tests" | npm test path/to/specific.spec.ts | | Large tasks (30+ min) | Break into 2-5 min steps | | No verification | Add "Run X, expect Y" |
| Scenario | Use Plan? | |----------|-----------| | Multi-step feature (3+ tasks) | Yes | | Simple bug fix (1 task) | No, just do it | | Uncertain scope | Yes (clarifies thinking) | | Delegation to subagent | Yes (zero-context execution) | | Complex refactoring | Yes | | Config change | No |
Plan exists → Engineer with zero context can execute
Otherwise → Not a complete planExact paths. Complete code. Verification steps. No assumptions.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 33,160 | 31,682 | -4% | 1 | 1 | 0% | 7,469 | 8,285 | +11% | 0 | 0 | — |
case-14 | fail→pass | 13,155 | 12,246 | -7% | 1 | 1 | 0% | 1,462 | 4,865 | +233% | 0 | 0 | — |
case-07 | fail→fail | 12,479 | 9,859 | -21% | 1 | 1 | 0% | 1,412 | 3,020 | +114% | 0 | 0 | — |
case-08 | pass→pass | 15,365 | 14,462 | -6% | 1 | 1 | 0% | 1,871 | 4,056 | +117% | 0 | 0 | — |
case-09 | pass→pass | 23,260 | 12,961 | -44% | 1 | 1 | 0% | 5,357 | 4,976 | -7% | 0 | 0 | — |
case-02 | fail→pass | 42,224 | 30,184 | -29% | 1 | 1 | 0% | 8,259 | 7,468 | -10% | 0 | 0 | — |
case-03 | fail→fail | 22,237 | 38,062 | +71% | 1 | 1 | 0% | 4,721 | 8,221 | +74% | 0 | 0 | — |
case-04 | pass→fail | 10,287 | 16,465 | +60% | 1 | 1 | 0% | 1,028 | 2,891 | +181% | 0 | 0 | — |
case-05 | pass→fail | 10,200 | 13,980 | +37% | 1 | 1 | 0% | 851 | 2,761 | +224% | 0 | 0 | — |
case-06 | fail→fail | 4,046 | 15,811 | +291% | 1 | 1 | 0% | 225 | 2,600 | +1056% | 0 | 0 | — |
case-10 | pass→pass | 9,896 | 13,063 | +32% | 1 | 1 | 0% | 1,772 | 3,621 | +104% | 0 | 0 | — |
case-11 | fail→pass | 15,088 | 14,832 | -2% | 1 | 1 | 0% | 2,010 | 4,320 | +115% | 0 | 0 | — |
case-12 | fail→pass | 14,839 | 19,485 | +31% | 1 | 1 | 0% | 1,670 | 6,605 | +296% | 0 | 0 | — |
case-13 | fail→pass | 15,581 | 22,637 | +45% | 1 | 1 | 0% | 2,493 | 7,461 | +199% | 0 | 0 | — |
case-15 | pass→pass | 16,675 | 7,929 | -52% | 1 | 1 | 0% | 2,090 | 3,700 | +77% | 0 | 0 | — |
case-16 | fail→pass | 14,897 | 7,061 | -53% | 1 | 1 | 0% | 1,790 | 3,724 | +108% | 0 | 0 | — |
case-17 | fail→pass | 18,655 | 13,956 | -25% | 1 | 1 | 0% | 2,656 | 5,042 | +90% | 0 | 0 | — |
case-18 | fail→pass | 23,577 | 19,475 | -17% | 1 | 1 | 0% | 4,692 | 6,422 | +37% | 0 | 0 | — |
case-19 | fail→pass | 11,410 | 18,928 | +66% | 1 | 1 | 0% | 2,086 | 6,644 | +219% | 0 | 0 | — |
case-20 | fail→pass | 7,989 | 13,864 | +74% | 1 | 1 | 0% | 1,396 | 4,359 | +212% | 0 | 0 | — |
case-21 | fail→pass | 7,572 | 4,790 | -37% | 1 | 1 | 0% | 1,284 | 2,971 | +131% | 0 | 0 | — |
case-22 | pass→pass | 17,803 | 20,950 | +18% | 1 | 1 | 0% | 2,149 | 5,714 | +166% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 19 counted toward the lift figure. The other 3 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +45 percentage points is the difference between those two pass rates over the 19 comparable cases. 2 cases got worse with the skill loaded, and they are included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.