create-agentic-app 1.1.53 → 1.1.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/package.json +1 -1
  2. package/template/.agents/skills/checkpoint/SKILL.md +75 -0
  3. package/template/.agents/skills/create-spec/SKILL.md +132 -0
  4. package/template/.agents/skills/create-spec/references/action-required-template.md +53 -0
  5. package/template/.agents/skills/create-spec/references/readme-template.md +53 -0
  6. package/template/.agents/skills/create-spec/references/requirements-template.md +54 -0
  7. package/template/.agents/skills/create-spec/references/task-template.md +79 -0
  8. package/template/.agents/skills/implement-feature/SKILL.md +189 -0
  9. package/template/.agents/skills/implement-feature/references/coder-prompt-template.md +46 -0
  10. package/template/.agents/skills/implement-feature/references/fix-prompt-template.md +38 -0
  11. package/template/.agents/skills/implement-feature/references/review-prompt-template.md +50 -0
  12. package/template/.agents/skills/review-pr/SKILL.md +97 -0
  13. package/template/.claude/skills/checkpoint/SKILL.md +75 -0
  14. package/template/.claude/skills/create-spec/SKILL.md +132 -0
  15. package/template/.claude/skills/create-spec/references/action-required-template.md +53 -0
  16. package/template/.claude/skills/create-spec/references/readme-template.md +53 -0
  17. package/template/.claude/skills/create-spec/references/requirements-template.md +54 -0
  18. package/template/.claude/skills/create-spec/references/task-template.md +79 -0
  19. package/template/.claude/skills/implement-feature/SKILL.md +189 -0
  20. package/template/.claude/skills/implement-feature/references/coder-prompt-template.md +46 -0
  21. package/template/.claude/skills/implement-feature/references/fix-prompt-template.md +38 -0
  22. package/template/.claude/skills/implement-feature/references/review-prompt-template.md +50 -0
  23. package/template/.claude/skills/review-pr/SKILL.md +97 -0
  24. package/template/AGENTS.md +32 -47
  25. package/template/skills-lock.json +0 -60
  26. package/template/.agents/skills/brainstorming/SKILL.md +0 -164
  27. package/template/.agents/skills/brainstorming/scripts/frame-template.html +0 -214
  28. package/template/.agents/skills/brainstorming/scripts/helper.js +0 -88
  29. package/template/.agents/skills/brainstorming/scripts/server.cjs +0 -354
  30. package/template/.agents/skills/brainstorming/scripts/start-server.sh +0 -148
  31. package/template/.agents/skills/brainstorming/scripts/stop-server.sh +0 -56
  32. package/template/.agents/skills/brainstorming/spec-document-reviewer-prompt.md +0 -49
  33. package/template/.agents/skills/brainstorming/visual-companion.md +0 -287
  34. package/template/.agents/skills/dispatching-parallel-agents/SKILL.md +0 -182
  35. package/template/.agents/skills/executing-plans/SKILL.md +0 -70
  36. package/template/.agents/skills/finishing-a-development-branch/SKILL.md +0 -200
  37. package/template/.agents/skills/receiving-code-review/SKILL.md +0 -213
  38. package/template/.agents/skills/requesting-code-review/SKILL.md +0 -105
  39. package/template/.agents/skills/requesting-code-review/code-reviewer.md +0 -146
  40. package/template/.agents/skills/subagent-driven-development/SKILL.md +0 -277
  41. package/template/.agents/skills/subagent-driven-development/code-quality-reviewer-prompt.md +0 -26
  42. package/template/.agents/skills/subagent-driven-development/implementer-prompt.md +0 -113
  43. package/template/.agents/skills/subagent-driven-development/spec-reviewer-prompt.md +0 -61
  44. package/template/.agents/skills/systematic-debugging/CREATION-LOG.md +0 -119
  45. package/template/.agents/skills/systematic-debugging/SKILL.md +0 -296
  46. package/template/.agents/skills/systematic-debugging/condition-based-waiting-example.ts +0 -158
  47. package/template/.agents/skills/systematic-debugging/condition-based-waiting.md +0 -115
  48. package/template/.agents/skills/systematic-debugging/defense-in-depth.md +0 -122
  49. package/template/.agents/skills/systematic-debugging/find-polluter.sh +0 -63
  50. package/template/.agents/skills/systematic-debugging/root-cause-tracing.md +0 -169
  51. package/template/.agents/skills/systematic-debugging/test-academic.md +0 -14
  52. package/template/.agents/skills/systematic-debugging/test-pressure-1.md +0 -58
  53. package/template/.agents/skills/systematic-debugging/test-pressure-2.md +0 -68
  54. package/template/.agents/skills/systematic-debugging/test-pressure-3.md +0 -69
  55. package/template/.agents/skills/test-driven-development/SKILL.md +0 -371
  56. package/template/.agents/skills/test-driven-development/testing-anti-patterns.md +0 -299
  57. package/template/.agents/skills/using-superpowers/SKILL.md +0 -117
  58. package/template/.agents/skills/using-superpowers/references/codex-tools.md +0 -100
  59. package/template/.agents/skills/using-superpowers/references/copilot-tools.md +0 -52
  60. package/template/.agents/skills/using-superpowers/references/gemini-tools.md +0 -33
  61. package/template/.agents/skills/verification-before-completion/SKILL.md +0 -139
  62. package/template/.agents/skills/writing-plans/SKILL.md +0 -152
  63. package/template/.agents/skills/writing-plans/plan-document-reviewer-prompt.md +0 -49
  64. package/template/.claude/commands/checkpoint.md +0 -37
  65. package/template/.claude/commands/continue-feature.md +0 -425
  66. package/template/.claude/commands/create-spec.md +0 -180
  67. package/template/.claude/commands/publish-to-github.md +0 -304
  68. package/template/.claude/commands/review-pr.md +0 -54
  69. package/template/.claude/skills/brainstorming/SKILL.md +0 -164
  70. package/template/.claude/skills/brainstorming/scripts/frame-template.html +0 -214
  71. package/template/.claude/skills/brainstorming/scripts/helper.js +0 -88
  72. package/template/.claude/skills/brainstorming/scripts/server.cjs +0 -354
  73. package/template/.claude/skills/brainstorming/scripts/start-server.sh +0 -148
  74. package/template/.claude/skills/brainstorming/scripts/stop-server.sh +0 -56
  75. package/template/.claude/skills/brainstorming/spec-document-reviewer-prompt.md +0 -49
  76. package/template/.claude/skills/brainstorming/visual-companion.md +0 -287
  77. package/template/.claude/skills/dispatching-parallel-agents/SKILL.md +0 -182
  78. package/template/.claude/skills/executing-plans/SKILL.md +0 -70
  79. package/template/.claude/skills/finishing-a-development-branch/SKILL.md +0 -200
  80. package/template/.claude/skills/receiving-code-review/SKILL.md +0 -213
  81. package/template/.claude/skills/requesting-code-review/SKILL.md +0 -105
  82. package/template/.claude/skills/requesting-code-review/code-reviewer.md +0 -146
  83. package/template/.claude/skills/subagent-driven-development/SKILL.md +0 -277
  84. package/template/.claude/skills/subagent-driven-development/code-quality-reviewer-prompt.md +0 -26
  85. package/template/.claude/skills/subagent-driven-development/implementer-prompt.md +0 -113
  86. package/template/.claude/skills/subagent-driven-development/spec-reviewer-prompt.md +0 -61
  87. package/template/.claude/skills/systematic-debugging/CREATION-LOG.md +0 -119
  88. package/template/.claude/skills/systematic-debugging/SKILL.md +0 -296
  89. package/template/.claude/skills/systematic-debugging/condition-based-waiting-example.ts +0 -158
  90. package/template/.claude/skills/systematic-debugging/condition-based-waiting.md +0 -115
  91. package/template/.claude/skills/systematic-debugging/defense-in-depth.md +0 -122
  92. package/template/.claude/skills/systematic-debugging/find-polluter.sh +0 -63
  93. package/template/.claude/skills/systematic-debugging/root-cause-tracing.md +0 -169
  94. package/template/.claude/skills/systematic-debugging/test-academic.md +0 -14
  95. package/template/.claude/skills/systematic-debugging/test-pressure-1.md +0 -58
  96. package/template/.claude/skills/systematic-debugging/test-pressure-2.md +0 -68
  97. package/template/.claude/skills/systematic-debugging/test-pressure-3.md +0 -69
  98. package/template/.claude/skills/test-driven-development/SKILL.md +0 -371
  99. package/template/.claude/skills/test-driven-development/testing-anti-patterns.md +0 -299
  100. package/template/.claude/skills/using-superpowers/SKILL.md +0 -117
  101. package/template/.claude/skills/using-superpowers/references/codex-tools.md +0 -100
  102. package/template/.claude/skills/using-superpowers/references/copilot-tools.md +0 -52
  103. package/template/.claude/skills/using-superpowers/references/gemini-tools.md +0 -33
  104. package/template/.claude/skills/verification-before-completion/SKILL.md +0 -139
  105. package/template/.claude/skills/writing-plans/SKILL.md +0 -152
  106. package/template/.claude/skills/writing-plans/plan-document-reviewer-prompt.md +0 -49
  107. package/template/.cursor/rules/project-rules.mdc +0 -6
@@ -1,117 +0,0 @@
1
- ---
2
- name: using-superpowers
3
- description: Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions
4
- ---
5
-
6
- <SUBAGENT-STOP>
7
- If you were dispatched as a subagent to execute a specific task, skip this skill.
8
- </SUBAGENT-STOP>
9
-
10
- <EXTREMELY-IMPORTANT>
11
- If you think there is even a 1% chance a skill might apply to what you are doing, you ABSOLUTELY MUST invoke the skill.
12
-
13
- IF A SKILL APPLIES TO YOUR TASK, YOU DO NOT HAVE A CHOICE. YOU MUST USE IT.
14
-
15
- This is not negotiable. This is not optional. You cannot rationalize your way out of this.
16
- </EXTREMELY-IMPORTANT>
17
-
18
- ## Instruction Priority
19
-
20
- Superpowers skills override default system prompt behavior, but **user instructions always take precedence**:
21
-
22
- 1. **User's explicit instructions** (CLAUDE.md, GEMINI.md, AGENTS.md, direct requests) — highest priority
23
- 2. **Superpowers skills** — override default system behavior where they conflict
24
- 3. **Default system prompt** — lowest priority
25
-
26
- If CLAUDE.md, GEMINI.md, or AGENTS.md says "don't use TDD" and a skill says "always use TDD," follow the user's instructions. The user is in control.
27
-
28
- ## How to Access Skills
29
-
30
- **In Claude Code:** Use the `Skill` tool. When you invoke a skill, its content is loaded and presented to you—follow it directly. Never use the Read tool on skill files.
31
-
32
- **In Copilot CLI:** Use the `skill` tool. Skills are auto-discovered from installed plugins. The `skill` tool works the same as Claude Code's `Skill` tool.
33
-
34
- **In Gemini CLI:** Skills activate via the `activate_skill` tool. Gemini loads skill metadata at session start and activates the full content on demand.
35
-
36
- **In other environments:** Check your platform's documentation for how skills are loaded.
37
-
38
- ## Platform Adaptation
39
-
40
- Skills use Claude Code tool names. Non-CC platforms: see `references/copilot-tools.md` (Copilot CLI), `references/codex-tools.md` (Codex) for tool equivalents. Gemini CLI users get the tool mapping loaded automatically via GEMINI.md.
41
-
42
- # Using Skills
43
-
44
- ## The Rule
45
-
46
- **Invoke relevant or requested skills BEFORE any response or action.** Even a 1% chance a skill might apply means that you should invoke the skill to check. If an invoked skill turns out to be wrong for the situation, you don't need to use it.
47
-
48
- ```dot
49
- digraph skill_flow {
50
- "User message received" [shape=doublecircle];
51
- "About to EnterPlanMode?" [shape=doublecircle];
52
- "Already brainstormed?" [shape=diamond];
53
- "Invoke brainstorming skill" [shape=box];
54
- "Might any skill apply?" [shape=diamond];
55
- "Invoke Skill tool" [shape=box];
56
- "Announce: 'Using [skill] to [purpose]'" [shape=box];
57
- "Has checklist?" [shape=diamond];
58
- "Create TodoWrite todo per item" [shape=box];
59
- "Follow skill exactly" [shape=box];
60
- "Respond (including clarifications)" [shape=doublecircle];
61
-
62
- "About to EnterPlanMode?" -> "Already brainstormed?";
63
- "Already brainstormed?" -> "Invoke brainstorming skill" [label="no"];
64
- "Already brainstormed?" -> "Might any skill apply?" [label="yes"];
65
- "Invoke brainstorming skill" -> "Might any skill apply?";
66
-
67
- "User message received" -> "Might any skill apply?";
68
- "Might any skill apply?" -> "Invoke Skill tool" [label="yes, even 1%"];
69
- "Might any skill apply?" -> "Respond (including clarifications)" [label="definitely not"];
70
- "Invoke Skill tool" -> "Announce: 'Using [skill] to [purpose]'";
71
- "Announce: 'Using [skill] to [purpose]'" -> "Has checklist?";
72
- "Has checklist?" -> "Create TodoWrite todo per item" [label="yes"];
73
- "Has checklist?" -> "Follow skill exactly" [label="no"];
74
- "Create TodoWrite todo per item" -> "Follow skill exactly";
75
- }
76
- ```
77
-
78
- ## Red Flags
79
-
80
- These thoughts mean STOP—you're rationalizing:
81
-
82
- | Thought | Reality |
83
- |---------|---------|
84
- | "This is just a simple question" | Questions are tasks. Check for skills. |
85
- | "I need more context first" | Skill check comes BEFORE clarifying questions. |
86
- | "Let me explore the codebase first" | Skills tell you HOW to explore. Check first. |
87
- | "I can check git/files quickly" | Files lack conversation context. Check for skills. |
88
- | "Let me gather information first" | Skills tell you HOW to gather information. |
89
- | "This doesn't need a formal skill" | If a skill exists, use it. |
90
- | "I remember this skill" | Skills evolve. Read current version. |
91
- | "This doesn't count as a task" | Action = task. Check for skills. |
92
- | "The skill is overkill" | Simple things become complex. Use it. |
93
- | "I'll just do this one thing first" | Check BEFORE doing anything. |
94
- | "This feels productive" | Undisciplined action wastes time. Skills prevent this. |
95
- | "I know what that means" | Knowing the concept ≠ using the skill. Invoke it. |
96
-
97
- ## Skill Priority
98
-
99
- When multiple skills could apply, use this order:
100
-
101
- 1. **Process skills first** (brainstorming, debugging) - these determine HOW to approach the task
102
- 2. **Implementation skills second** (frontend-design, mcp-builder) - these guide execution
103
-
104
- "Let's build X" → brainstorming first, then implementation skills.
105
- "Fix this bug" → debugging first, then domain-specific skills.
106
-
107
- ## Skill Types
108
-
109
- **Rigid** (TDD, debugging): Follow exactly. Don't adapt away discipline.
110
-
111
- **Flexible** (patterns): Adapt principles to context.
112
-
113
- The skill itself tells you which.
114
-
115
- ## User Instructions
116
-
117
- Instructions say WHAT, not HOW. "Add X" or "Fix Y" doesn't mean skip workflows.
@@ -1,100 +0,0 @@
1
- # Codex Tool Mapping
2
-
3
- Skills use Claude Code tool names. When you encounter these in a skill, use your platform equivalent:
4
-
5
- | Skill references | Codex equivalent |
6
- |-----------------|------------------|
7
- | `Task` tool (dispatch subagent) | `spawn_agent` (see [Named agent dispatch](#named-agent-dispatch)) |
8
- | Multiple `Task` calls (parallel) | Multiple `spawn_agent` calls |
9
- | Task returns result | `wait` |
10
- | Task completes automatically | `close_agent` to free slot |
11
- | `TodoWrite` (task tracking) | `update_plan` |
12
- | `Skill` tool (invoke a skill) | Skills load natively — just follow the instructions |
13
- | `Read`, `Write`, `Edit` (files) | Use your native file tools |
14
- | `Bash` (run commands) | Use your native shell tools |
15
-
16
- ## Subagent dispatch requires multi-agent support
17
-
18
- Add to your Codex config (`~/.codex/config.toml`):
19
-
20
- ```toml
21
- [features]
22
- multi_agent = true
23
- ```
24
-
25
- This enables `spawn_agent`, `wait`, and `close_agent` for skills like `dispatching-parallel-agents` and `subagent-driven-development`.
26
-
27
- ## Named agent dispatch
28
-
29
- Claude Code skills reference named agent types like `superpowers:code-reviewer`.
30
- Codex does not have a named agent registry — `spawn_agent` creates generic agents
31
- from built-in roles (`default`, `explorer`, `worker`).
32
-
33
- When a skill says to dispatch a named agent type:
34
-
35
- 1. Find the agent's prompt file (e.g., `agents/code-reviewer.md` or the skill's
36
- local prompt template like `code-quality-reviewer-prompt.md`)
37
- 2. Read the prompt content
38
- 3. Fill any template placeholders (`{BASE_SHA}`, `{WHAT_WAS_IMPLEMENTED}`, etc.)
39
- 4. Spawn a `worker` agent with the filled content as the `message`
40
-
41
- | Skill instruction | Codex equivalent |
42
- |-------------------|------------------|
43
- | `Task tool (superpowers:code-reviewer)` | `spawn_agent(agent_type="worker", message=...)` with `code-reviewer.md` content |
44
- | `Task tool (general-purpose)` with inline prompt | `spawn_agent(message=...)` with the same prompt |
45
-
46
- ### Message framing
47
-
48
- The `message` parameter is user-level input, not a system prompt. Structure it
49
- for maximum instruction adherence:
50
-
51
- ```
52
- Your task is to perform the following. Follow the instructions below exactly.
53
-
54
- <agent-instructions>
55
- [filled prompt content from the agent's .md file]
56
- </agent-instructions>
57
-
58
- Execute this now. Output ONLY the structured response following the format
59
- specified in the instructions above.
60
- ```
61
-
62
- - Use task-delegation framing ("Your task is...") rather than persona framing ("You are...")
63
- - Wrap instructions in XML tags — the model treats tagged blocks as authoritative
64
- - End with an explicit execution directive to prevent summarization of the instructions
65
-
66
- ### When this workaround can be removed
67
-
68
- This approach compensates for Codex's plugin system not yet supporting an `agents`
69
- field in `plugin.json`. When `RawPluginManifest` gains an `agents` field, the
70
- plugin can symlink to `agents/` (mirroring the existing `skills/` symlink) and
71
- skills can dispatch named agent types directly.
72
-
73
- ## Environment Detection
74
-
75
- Skills that create worktrees or finish branches should detect their
76
- environment with read-only git commands before proceeding:
77
-
78
- ```bash
79
- GIT_DIR=$(cd "$(git rev-parse --git-dir)" 2>/dev/null && pwd -P)
80
- GIT_COMMON=$(cd "$(git rev-parse --git-common-dir)" 2>/dev/null && pwd -P)
81
- BRANCH=$(git branch --show-current)
82
- ```
83
-
84
- - `GIT_DIR != GIT_COMMON` → already in a linked worktree (skip creation)
85
- - `BRANCH` empty → detached HEAD (cannot branch/push/PR from sandbox)
86
-
87
- See `using-git-worktrees` Step 0 and `finishing-a-development-branch`
88
- Step 1 for how each skill uses these signals.
89
-
90
- ## Codex App Finishing
91
-
92
- When the sandbox blocks branch/push operations (detached HEAD in an
93
- externally managed worktree), the agent commits all work and informs
94
- the user to use the App's native controls:
95
-
96
- - **"Create branch"** — names the branch, then commit/push/PR via App UI
97
- - **"Hand off to local"** — transfers work to the user's local checkout
98
-
99
- The agent can still run tests, stage files, and output suggested branch
100
- names, commit messages, and PR descriptions for the user to copy.
@@ -1,52 +0,0 @@
1
- # Copilot CLI Tool Mapping
2
-
3
- Skills use Claude Code tool names. When you encounter these in a skill, use your platform equivalent:
4
-
5
- | Skill references | Copilot CLI equivalent |
6
- |-----------------|----------------------|
7
- | `Read` (file reading) | `view` |
8
- | `Write` (file creation) | `create` |
9
- | `Edit` (file editing) | `edit` |
10
- | `Bash` (run commands) | `bash` |
11
- | `Grep` (search file content) | `grep` |
12
- | `Glob` (search files by name) | `glob` |
13
- | `Skill` tool (invoke a skill) | `skill` |
14
- | `WebFetch` | `web_fetch` |
15
- | `Task` tool (dispatch subagent) | `task` (see [Agent types](#agent-types)) |
16
- | Multiple `Task` calls (parallel) | Multiple `task` calls |
17
- | Task status/output | `read_agent`, `list_agents` |
18
- | `TodoWrite` (task tracking) | `sql` with built-in `todos` table |
19
- | `WebSearch` | No equivalent — use `web_fetch` with a search engine URL |
20
- | `EnterPlanMode` / `ExitPlanMode` | No equivalent — stay in the main session |
21
-
22
- ## Agent types
23
-
24
- Copilot CLI's `task` tool accepts an `agent_type` parameter:
25
-
26
- | Claude Code agent | Copilot CLI equivalent |
27
- |-------------------|----------------------|
28
- | `general-purpose` | `"general-purpose"` |
29
- | `Explore` | `"explore"` |
30
- | Named plugin agents (e.g. `superpowers:code-reviewer`) | Discovered automatically from installed plugins |
31
-
32
- ## Async shell sessions
33
-
34
- Copilot CLI supports persistent async shell sessions, which have no direct Claude Code equivalent:
35
-
36
- | Tool | Purpose |
37
- |------|---------|
38
- | `bash` with `async: true` | Start a long-running command in the background |
39
- | `write_bash` | Send input to a running async session |
40
- | `read_bash` | Read output from an async session |
41
- | `stop_bash` | Terminate an async session |
42
- | `list_bash` | List all active shell sessions |
43
-
44
- ## Additional Copilot CLI tools
45
-
46
- | Tool | Purpose |
47
- |------|---------|
48
- | `store_memory` | Persist facts about the codebase for future sessions |
49
- | `report_intent` | Update the UI status line with current intent |
50
- | `sql` | Query the session's SQLite database (todos, metadata) |
51
- | `fetch_copilot_cli_documentation` | Look up Copilot CLI documentation |
52
- | GitHub MCP tools (`github-mcp-server-*`) | Native GitHub API access (issues, PRs, code search) |
@@ -1,33 +0,0 @@
1
- # Gemini CLI Tool Mapping
2
-
3
- Skills use Claude Code tool names. When you encounter these in a skill, use your platform equivalent:
4
-
5
- | Skill references | Gemini CLI equivalent |
6
- |-----------------|----------------------|
7
- | `Read` (file reading) | `read_file` |
8
- | `Write` (file creation) | `write_file` |
9
- | `Edit` (file editing) | `replace` |
10
- | `Bash` (run commands) | `run_shell_command` |
11
- | `Grep` (search file content) | `grep_search` |
12
- | `Glob` (search files by name) | `glob` |
13
- | `TodoWrite` (task tracking) | `write_todos` |
14
- | `Skill` tool (invoke a skill) | `activate_skill` |
15
- | `WebSearch` | `google_web_search` |
16
- | `WebFetch` | `web_fetch` |
17
- | `Task` tool (dispatch subagent) | No equivalent — Gemini CLI does not support subagents |
18
-
19
- ## No subagent support
20
-
21
- Gemini CLI has no equivalent to Claude Code's `Task` tool. Skills that rely on subagent dispatch (`subagent-driven-development`, `dispatching-parallel-agents`) will fall back to single-session execution via `executing-plans`.
22
-
23
- ## Additional Gemini CLI tools
24
-
25
- These tools are available in Gemini CLI but have no Claude Code equivalent:
26
-
27
- | Tool | Purpose |
28
- |------|---------|
29
- | `list_directory` | List files and subdirectories |
30
- | `save_memory` | Persist facts to GEMINI.md across sessions |
31
- | `ask_user` | Request structured input from the user |
32
- | `tracker_create_task` | Rich task management (create, update, list, visualize) |
33
- | `enter_plan_mode` / `exit_plan_mode` | Switch to read-only research mode before making changes |
@@ -1,139 +0,0 @@
1
- ---
2
- name: verification-before-completion
3
- description: Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
4
- ---
5
-
6
- # Verification Before Completion
7
-
8
- ## Overview
9
-
10
- Claiming work is complete without verification is dishonesty, not efficiency.
11
-
12
- **Core principle:** Evidence before claims, always.
13
-
14
- **Violating the letter of this rule is violating the spirit of this rule.**
15
-
16
- ## The Iron Law
17
-
18
- ```
19
- NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
20
- ```
21
-
22
- If you haven't run the verification command in this message, you cannot claim it passes.
23
-
24
- ## The Gate Function
25
-
26
- ```
27
- BEFORE claiming any status or expressing satisfaction:
28
-
29
- 1. IDENTIFY: What command proves this claim?
30
- 2. RUN: Execute the FULL command (fresh, complete)
31
- 3. READ: Full output, check exit code, count failures
32
- 4. VERIFY: Does output confirm the claim?
33
- - If NO: State actual status with evidence
34
- - If YES: State claim WITH evidence
35
- 5. ONLY THEN: Make the claim
36
-
37
- Skip any step = lying, not verifying
38
- ```
39
-
40
- ## Common Failures
41
-
42
- | Claim | Requires | Not Sufficient |
43
- |-------|----------|----------------|
44
- | Tests pass | Test command output: 0 failures | Previous run, "should pass" |
45
- | Linter clean | Linter output: 0 errors | Partial check, extrapolation |
46
- | Build succeeds | Build command: exit 0 | Linter passing, logs look good |
47
- | Bug fixed | Test original symptom: passes | Code changed, assumed fixed |
48
- | Regression test works | Red-green cycle verified | Test passes once |
49
- | Agent completed | VCS diff shows changes | Agent reports "success" |
50
- | Requirements met | Line-by-line checklist | Tests passing |
51
-
52
- ## Red Flags - STOP
53
-
54
- - Using "should", "probably", "seems to"
55
- - Expressing satisfaction before verification ("Great!", "Perfect!", "Done!", etc.)
56
- - About to commit/push/PR without verification
57
- - Trusting agent success reports
58
- - Relying on partial verification
59
- - Thinking "just this once"
60
- - Tired and wanting work over
61
- - **ANY wording implying success without having run verification**
62
-
63
- ## Rationalization Prevention
64
-
65
- | Excuse | Reality |
66
- |--------|---------|
67
- | "Should work now" | RUN the verification |
68
- | "I'm confident" | Confidence ≠ evidence |
69
- | "Just this once" | No exceptions |
70
- | "Linter passed" | Linter ≠ compiler |
71
- | "Agent said success" | Verify independently |
72
- | "I'm tired" | Exhaustion ≠ excuse |
73
- | "Partial check is enough" | Partial proves nothing |
74
- | "Different words so rule doesn't apply" | Spirit over letter |
75
-
76
- ## Key Patterns
77
-
78
- **Tests:**
79
- ```
80
- ✅ [Run test command] [See: 34/34 pass] "All tests pass"
81
- ❌ "Should pass now" / "Looks correct"
82
- ```
83
-
84
- **Regression tests (TDD Red-Green):**
85
- ```
86
- ✅ Write → Run (pass) → Revert fix → Run (MUST FAIL) → Restore → Run (pass)
87
- ❌ "I've written a regression test" (without red-green verification)
88
- ```
89
-
90
- **Build:**
91
- ```
92
- ✅ [Run build] [See: exit 0] "Build passes"
93
- ❌ "Linter passed" (linter doesn't check compilation)
94
- ```
95
-
96
- **Requirements:**
97
- ```
98
- ✅ Re-read plan → Create checklist → Verify each → Report gaps or completion
99
- ❌ "Tests pass, phase complete"
100
- ```
101
-
102
- **Agent delegation:**
103
- ```
104
- ✅ Agent reports success → Check VCS diff → Verify changes → Report actual state
105
- ❌ Trust agent report
106
- ```
107
-
108
- ## Why This Matters
109
-
110
- From 24 failure memories:
111
- - your human partner said "I don't believe you" - trust broken
112
- - Undefined functions shipped - would crash
113
- - Missing requirements shipped - incomplete features
114
- - Time wasted on false completion → redirect → rework
115
- - Violates: "Honesty is a core value. If you lie, you'll be replaced."
116
-
117
- ## When To Apply
118
-
119
- **ALWAYS before:**
120
- - ANY variation of success/completion claims
121
- - ANY expression of satisfaction
122
- - ANY positive statement about work state
123
- - Committing, PR creation, task completion
124
- - Moving to next task
125
- - Delegating to agents
126
-
127
- **Rule applies to:**
128
- - Exact phrases
129
- - Paraphrases and synonyms
130
- - Implications of success
131
- - ANY communication suggesting completion/correctness
132
-
133
- ## The Bottom Line
134
-
135
- **No shortcuts for verification.**
136
-
137
- Run the command. Read the output. THEN claim the result.
138
-
139
- This is non-negotiable.
@@ -1,152 +0,0 @@
1
- ---
2
- name: writing-plans
3
- description: Use when you have a spec or requirements for a multi-step task, before touching code
4
- ---
5
-
6
- # Writing Plans
7
-
8
- ## Overview
9
-
10
- Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
11
-
12
- Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well.
13
-
14
- **Announce at start:** "I'm using the writing-plans skill to create the implementation plan."
15
-
16
- **Context:** This should be run in a dedicated worktree (created by brainstorming skill).
17
-
18
- **Save plans to:** `docs/superpowers/plans/YYYY-MM-DD-<feature-name>.md`
19
- - (User preferences for plan location override this default)
20
-
21
- ## Scope Check
22
-
23
- If the spec covers multiple independent subsystems, it should have been broken into sub-project specs during brainstorming. If it wasn't, suggest breaking this into separate plans — one per subsystem. Each plan should produce working, testable software on its own.
24
-
25
- ## File Structure
26
-
27
- Before defining tasks, map out which files will be created or modified and what each one is responsible for. This is where decomposition decisions get locked in.
28
-
29
- - Design units with clear boundaries and well-defined interfaces. Each file should have one clear responsibility.
30
- - You reason best about code you can hold in context at once, and your edits are more reliable when files are focused. Prefer smaller, focused files over large ones that do too much.
31
- - Files that change together should live together. Split by responsibility, not by technical layer.
32
- - In existing codebases, follow established patterns. If the codebase uses large files, don't unilaterally restructure - but if a file you're modifying has grown unwieldy, including a split in the plan is reasonable.
33
-
34
- This structure informs the task decomposition. Each task should produce self-contained changes that make sense independently.
35
-
36
- ## Bite-Sized Task Granularity
37
-
38
- **Each step is one action (2-5 minutes):**
39
- - "Write the failing test" - step
40
- - "Run it to make sure it fails" - step
41
- - "Implement the minimal code to make the test pass" - step
42
- - "Run the tests and make sure they pass" - step
43
- - "Commit" - step
44
-
45
- ## Plan Document Header
46
-
47
- **Every plan MUST start with this header:**
48
-
49
- ```markdown
50
- # [Feature Name] Implementation Plan
51
-
52
- > **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
53
-
54
- **Goal:** [One sentence describing what this builds]
55
-
56
- **Architecture:** [2-3 sentences about approach]
57
-
58
- **Tech Stack:** [Key technologies/libraries]
59
-
60
- ---
61
- ```
62
-
63
- ## Task Structure
64
-
65
- ````markdown
66
- ### Task N: [Component Name]
67
-
68
- **Files:**
69
- - Create: `exact/path/to/file.py`
70
- - Modify: `exact/path/to/existing.py:123-145`
71
- - Test: `tests/exact/path/to/test.py`
72
-
73
- - [ ] **Step 1: Write the failing test**
74
-
75
- ```python
76
- def test_specific_behavior():
77
- result = function(input)
78
- assert result == expected
79
- ```
80
-
81
- - [ ] **Step 2: Run test to verify it fails**
82
-
83
- Run: `pytest tests/path/test.py::test_name -v`
84
- Expected: FAIL with "function not defined"
85
-
86
- - [ ] **Step 3: Write minimal implementation**
87
-
88
- ```python
89
- def function(input):
90
- return expected
91
- ```
92
-
93
- - [ ] **Step 4: Run test to verify it passes**
94
-
95
- Run: `pytest tests/path/test.py::test_name -v`
96
- Expected: PASS
97
-
98
- - [ ] **Step 5: Commit**
99
-
100
- ```bash
101
- git add tests/path/test.py src/path/file.py
102
- git commit -m "feat: add specific feature"
103
- ```
104
- ````
105
-
106
- ## No Placeholders
107
-
108
- Every step must contain the actual content an engineer needs. These are **plan failures** — never write them:
109
- - "TBD", "TODO", "implement later", "fill in details"
110
- - "Add appropriate error handling" / "add validation" / "handle edge cases"
111
- - "Write tests for the above" (without actual test code)
112
- - "Similar to Task N" (repeat the code — the engineer may be reading tasks out of order)
113
- - Steps that describe what to do without showing how (code blocks required for code steps)
114
- - References to types, functions, or methods not defined in any task
115
-
116
- ## Remember
117
- - Exact file paths always
118
- - Complete code in every step — if a step changes code, show the code
119
- - Exact commands with expected output
120
- - DRY, YAGNI, TDD, frequent commits
121
-
122
- ## Self-Review
123
-
124
- After writing the complete plan, look at the spec with fresh eyes and check the plan against it. This is a checklist you run yourself — not a subagent dispatch.
125
-
126
- **1. Spec coverage:** Skim each section/requirement in the spec. Can you point to a task that implements it? List any gaps.
127
-
128
- **2. Placeholder scan:** Search your plan for red flags — any of the patterns from the "No Placeholders" section above. Fix them.
129
-
130
- **3. Type consistency:** Do the types, method signatures, and property names you used in later tasks match what you defined in earlier tasks? A function called `clearLayers()` in Task 3 but `clearFullLayers()` in Task 7 is a bug.
131
-
132
- If you find issues, fix them inline. No need to re-review — just fix and move on. If you find a spec requirement with no task, add the task.
133
-
134
- ## Execution Handoff
135
-
136
- After saving the plan, offer execution choice:
137
-
138
- **"Plan complete and saved to `docs/superpowers/plans/<filename>.md`. Two execution options:**
139
-
140
- **1. Subagent-Driven (recommended)** - I dispatch a fresh subagent per task, review between tasks, fast iteration
141
-
142
- **2. Inline Execution** - Execute tasks in this session using executing-plans, batch execution with checkpoints
143
-
144
- **Which approach?"**
145
-
146
- **If Subagent-Driven chosen:**
147
- - **REQUIRED SUB-SKILL:** Use superpowers:subagent-driven-development
148
- - Fresh subagent per task + two-stage review
149
-
150
- **If Inline Execution chosen:**
151
- - **REQUIRED SUB-SKILL:** Use superpowers:executing-plans
152
- - Batch execution with checkpoints for review
@@ -1,49 +0,0 @@
1
- # Plan Document Reviewer Prompt Template
2
-
3
- Use this template when dispatching a plan document reviewer subagent.
4
-
5
- **Purpose:** Verify the plan is complete, matches the spec, and has proper task decomposition.
6
-
7
- **Dispatch after:** The complete plan is written.
8
-
9
- ```
10
- Task tool (general-purpose):
11
- description: "Review plan document"
12
- prompt: |
13
- You are a plan document reviewer. Verify this plan is complete and ready for implementation.
14
-
15
- **Plan to review:** [PLAN_FILE_PATH]
16
- **Spec for reference:** [SPEC_FILE_PATH]
17
-
18
- ## What to Check
19
-
20
- | Category | What to Look For |
21
- |----------|------------------|
22
- | Completeness | TODOs, placeholders, incomplete tasks, missing steps |
23
- | Spec Alignment | Plan covers spec requirements, no major scope creep |
24
- | Task Decomposition | Tasks have clear boundaries, steps are actionable |
25
- | Buildability | Could an engineer follow this plan without getting stuck? |
26
-
27
- ## Calibration
28
-
29
- **Only flag issues that would cause real problems during implementation.**
30
- An implementer building the wrong thing or getting stuck is an issue.
31
- Minor wording, stylistic preferences, and "nice to have" suggestions are not.
32
-
33
- Approve unless there are serious gaps — missing requirements from the spec,
34
- contradictory steps, placeholder content, or tasks so vague they can't be acted on.
35
-
36
- ## Output Format
37
-
38
- ## Plan Review
39
-
40
- **Status:** Approved | Issues Found
41
-
42
- **Issues (if any):**
43
- - [Task X, Step Y]: [specific issue] - [why it matters for implementation]
44
-
45
- **Recommendations (advisory, do not block approval):**
46
- - [suggestions for improvement]
47
- ```
48
-
49
- **Reviewer returns:** Status, Issues (if any), Recommendations
@@ -1,37 +0,0 @@
1
- ---
2
- description: Create commit with detailed comment
3
- ---
4
-
5
- Please create a comprehensive checkpoint commit with the following steps:
6
-
7
- 1. **Initialize Git if needed**: Run `git init` if git has not been instantiated for the project yet.
8
-
9
- 2. **Analyze all changes**:
10
- - Run `git status` to see all tracked and untracked files
11
- - Run `git diff` to see detailed changes in tracked files
12
- - Run `git log -5 --oneline` to understand the commit message style of this repository
13
-
14
- 3. **Stage everything**:
15
- - Add ALL tracked changes (modified and deleted files)
16
- - Add ALL untracked files (new files)
17
- - Use `git add -A` or `git add .` to stage everything
18
-
19
- 4. **Create a detailed commit message**:
20
- - **First line**: Write a clear, concise summary (50-72 chars) describing the primary change
21
- - Use imperative mood (e.g., "Add feature" not "Added feature")
22
- - Examples: "feat: add user authentication", "fix: resolve database connection issue", "refactor: improve API route structure"
23
- - **Body**: Provide a detailed description including:
24
- - What changes were made (list of key modifications)
25
- - Why these changes were made (purpose/motivation)
26
- - Any important technical details or decisions
27
- - Breaking changes or migration notes if applicable
28
- - **Footer**: Include co-author attribution as shown in the Git Safety Protocol
29
-
30
- 5. **Execute the commit**: Create the commit with the properly formatted message following this repository's conventions.
31
-
32
- IMPORTANT:
33
-
34
- - Do NOT skip any files - include everything
35
- - Make the commit message descriptive enough that someone reviewing the git log can understand what was accomplished
36
- - Follow the project's existing commit message conventions (check git log first)
37
- - Include the Claude Code co-author attribution in the commit message