@mohammadhprp/system-prompt 0.12.2 → 0.12.3

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 (117) hide show
  1. package/framework/commands/README.md +1 -1
  2. package/framework/commands/review.md +1 -1
  3. package/framework/mcps/README.md +0 -1
  4. package/framework/plugins/ponytail/README.md +0 -1
  5. package/framework/plugins/ponytail/capabilities.md +1 -1
  6. package/framework/references/standards/api.md +0 -1
  7. package/framework/references/standards/architecture.md +0 -1
  8. package/framework/references/standards/database.md +0 -1
  9. package/framework/references/standards/debugging.md +0 -1
  10. package/framework/references/standards/documentation.md +0 -1
  11. package/framework/references/standards/logging.md +0 -1
  12. package/framework/references/standards/naming.md +0 -1
  13. package/framework/references/standards/observability.md +0 -1
  14. package/framework/references/standards/performance.md +0 -1
  15. package/framework/references/standards/pull-requests.md +0 -1
  16. package/framework/references/standards/security.md +0 -1
  17. package/framework/references/standards/testing.md +0 -1
  18. package/framework/skills/README.md +1 -12
  19. package/framework/skills/improve/SKILL.md +1 -3
  20. package/framework/skills/improve/examples.md +1 -1
  21. package/framework/skills/laravel-best-practices/SKILL.md +56 -216
  22. package/framework/skills/laravel-best-practices/references/architecture.md +1 -1
  23. package/framework/skills/laravel-best-practices/references/checklist.md +139 -0
  24. package/framework/skills/laravel-best-practices/references/eloquent.md +4 -2
  25. package/framework/skills/laravel-best-practices/references/infer-conventions.md +97 -0
  26. package/framework/skills/laravel-best-practices/references/pest-testing.md +47 -18
  27. package/framework/skills/laravel-best-practices/references/security.md +1 -1
  28. package/framework/skills/laravel-best-practices/references/style.md +1 -1
  29. package/framework/skills/laravel-best-practices/references/tailwindcss.md +0 -1
  30. package/package.json +1 -1
  31. package/src/catalog.js +1 -13
  32. package/framework/mcps/notion-mcp/README.md +0 -57
  33. package/framework/mcps/notion-mcp/capabilities.md +0 -118
  34. package/framework/mcps/notion-mcp/configs/opencode.json +0 -9
  35. package/framework/mcps/notion-mcp/install.md +0 -70
  36. package/framework/mcps/notion-mcp/troubleshooting.md +0 -95
  37. package/framework/skills/brainstorming/SKILL.md +0 -159
  38. package/framework/skills/brainstorming/examples.md +0 -49
  39. package/framework/skills/brainstorming/scripts/frame-template.html +0 -213
  40. package/framework/skills/brainstorming/scripts/helper.js +0 -167
  41. package/framework/skills/brainstorming/scripts/server.cjs +0 -723
  42. package/framework/skills/brainstorming/scripts/start-server.sh +0 -209
  43. package/framework/skills/brainstorming/scripts/stop-server.sh +0 -120
  44. package/framework/skills/brainstorming/visual-companion.md +0 -291
  45. package/framework/skills/code-review/SKILL.md +0 -72
  46. package/framework/skills/code-review/examples.md +0 -31
  47. package/framework/skills/codenavi/SKILL.md +0 -306
  48. package/framework/skills/codenavi/examples.md +0 -33
  49. package/framework/skills/codenavi/references/coding-principles.md +0 -143
  50. package/framework/skills/codenavi/references/notebook-spec.md +0 -171
  51. package/framework/skills/create-adr/SKILL.md +0 -429
  52. package/framework/skills/create-adr/examples.md +0 -35
  53. package/framework/skills/design/SKILL.md +0 -399
  54. package/framework/skills/design/examples.md +0 -34
  55. package/framework/skills/great-interface/SKILL.md +0 -43
  56. package/framework/skills/great-interface/references/animations.md +0 -205
  57. package/framework/skills/great-interface/references/better-accessibility.md +0 -106
  58. package/framework/skills/great-interface/references/better-colors.md +0 -100
  59. package/framework/skills/great-interface/references/better-interface.md +0 -132
  60. package/framework/skills/great-interface/references/better-layout.md +0 -76
  61. package/framework/skills/great-interface/references/better-typography.md +0 -157
  62. package/framework/skills/great-interface/references/better-ui.md +0 -107
  63. package/framework/skills/great-interface/references/better-writing.md +0 -109
  64. package/framework/skills/great-interface/references/choosing-fonts.md +0 -64
  65. package/framework/skills/great-interface/references/color-formats.md +0 -90
  66. package/framework/skills/great-interface/references/color-usage.md +0 -118
  67. package/framework/skills/great-interface/references/contrast.md +0 -79
  68. package/framework/skills/great-interface/references/css-cheat-sheet.md +0 -65
  69. package/framework/skills/great-interface/references/details-and-accessibility.md +0 -119
  70. package/framework/skills/great-interface/references/enter-exit.md +0 -147
  71. package/framework/skills/great-interface/references/explain-interface.md +0 -126
  72. package/framework/skills/great-interface/references/find-the-effect.md +0 -94
  73. package/framework/skills/great-interface/references/focus-and-keyboard.md +0 -131
  74. package/framework/skills/great-interface/references/forms.md +0 -84
  75. package/framework/skills/great-interface/references/from-an-image.md +0 -55
  76. package/framework/skills/great-interface/references/grouping-and-alignment.md +0 -123
  77. package/framework/skills/great-interface/references/hit-areas.md +0 -94
  78. package/framework/skills/great-interface/references/icon-transitions.md +0 -102
  79. package/framework/skills/great-interface/references/icons.md +0 -110
  80. package/framework/skills/great-interface/references/interface-review.md +0 -148
  81. package/framework/skills/great-interface/references/motion-and-zoom.md +0 -79
  82. package/framework/skills/great-interface/references/no-browser.md +0 -73
  83. package/framework/skills/great-interface/references/palette-generation.md +0 -104
  84. package/framework/skills/great-interface/references/palette-structure.md +0 -76
  85. package/framework/skills/great-interface/references/performance.md +0 -88
  86. package/framework/skills/great-interface/references/picker.md +0 -76
  87. package/framework/skills/great-interface/references/read-the-system.md +0 -178
  88. package/framework/skills/great-interface/references/removed-signals.md +0 -38
  89. package/framework/skills/great-interface/references/review-format.md +0 -46
  90. package/framework/skills/great-interface/references/scope-resolution.md +0 -88
  91. package/framework/skills/great-interface/references/screen-readers.md +0 -101
  92. package/framework/skills/great-interface/references/semantics-and-aria.md +0 -84
  93. package/framework/skills/great-interface/references/spacing-and-adaptivity.md +0 -159
  94. package/framework/skills/great-interface/references/spacing-and-sizing.md +0 -121
  95. package/framework/skills/great-interface/references/surfaces.md +0 -219
  96. package/framework/skills/great-interface/references/token-naming.md +0 -97
  97. package/framework/skills/great-interface/references/variable-fonts-and-opentype.md +0 -105
  98. package/framework/skills/great-interface/references/variant.md +0 -104
  99. package/framework/skills/great-interface/references/wrapping-and-punctuation.md +0 -55
  100. package/framework/skills/learning-opportunities/SKILL.md +0 -140
  101. package/framework/skills/learning-opportunities/examples.md +0 -34
  102. package/framework/skills/learning-opportunities/references/PRINCIPLES.md +0 -42
  103. package/framework/skills/notion-mcp/SKILL.md +0 -57
  104. package/framework/skills/notion-mcp/examples.md +0 -31
  105. package/framework/skills/notion-mcp/references/comments.md +0 -112
  106. package/framework/skills/notion-mcp/references/databases.md +0 -193
  107. package/framework/skills/notion-mcp/references/pages.md +0 -235
  108. package/framework/skills/spec-driven-eval/SKILL.md +0 -341
  109. package/framework/skills/spec-driven-eval/examples.md +0 -35
  110. package/framework/skills/spec-driven-eval/references/quickstart.md +0 -118
  111. package/framework/skills/spec-driven-eval/references/reference.md +0 -295
  112. package/framework/skills/technical-design-doc-creator/README.md +0 -411
  113. package/framework/skills/technical-design-doc-creator/SKILL.md +0 -1484
  114. package/framework/skills/technical-design-doc-creator/examples.md +0 -35
  115. package/framework/skills/web-design-guidelines/SKILL.md +0 -65
  116. package/framework/skills/web-design-guidelines/examples.md +0 -32
  117. package/framework/skills/web-design-guidelines/references/guideline.md +0 -174
@@ -1,70 +0,0 @@
1
- # Notion MCP Installation
2
-
3
- ## Requirements
4
-
5
- - A Notion workspace with appropriate permissions.
6
- - An MCP-compatible AI client that supports remote HTTP MCP servers (Streamable HTTP or SSE).
7
- - No local infrastructure — the server is hosted by Notion at `https://mcp.notion.com/mcp`.
8
-
9
- ## Configuration
10
-
11
- Notion MCP is a remote Streamable HTTP server — no local command or install needed. Authentication uses OAuth, completed interactively on first use.
12
-
13
- | Field | Value |
14
- | --- | --- |
15
- | Server name | `notion` |
16
- | Transport type | Streamable HTTP (recommended) |
17
- | URL | `https://mcp.notion.com/mcp` |
18
-
19
- ### Config file examples
20
-
21
- Use the examples in [`configs/`](./configs/) as client-specific starting points:
22
-
23
- | Client | Example | Typical location |
24
- | --- | --- | --- |
25
- | OpenCode | [`configs/opencode.json`](./configs/opencode.json) | OpenCode MCP configuration. |
26
-
27
- ### OpenCode
28
-
29
- Copy [`configs/opencode.json`](./configs/opencode.json) into your OpenCode project root or user config directory and restart the OpenCode agent. When you use a Notion tool for the first time, complete the OAuth flow to connect your workspace.
30
-
31
- ### For clients that only support local stdio servers
32
-
33
- Some MCP clients only support local stdio servers. Use the [mcp-remote](https://www.npmjs.com/package/mcp-remote) bridge to connect:
34
-
35
- ```json
36
- {
37
- "mcpServers": {
38
- "notion": {
39
- "command": "npx",
40
- "args": ["-y", "mcp-remote", "https://mcp.notion.com/mcp"]
41
- }
42
- }
43
- }
44
- ```
45
-
46
- ## Verification
47
-
48
- After configuring and restarting your AI client, use a Notion tool for the first time to trigger the OAuth flow.
49
-
50
- Recommended first prompt:
51
-
52
- ```
53
- Fetch "self" to see which workspace and user this Notion connection is for.
54
- ```
55
-
56
- ## Updating
57
-
58
- Notion MCP is hosted by Notion — no update steps needed. The latest version is always available at `https://mcp.notion.com/mcp`.
59
-
60
- ## Uninstalling
61
-
62
- Remove the `notion` MCP entry from AI client configuration files. Optionally, clear the OAuth connection in your Notion workspace: **Settings → Connections → Notion MCP**.
63
-
64
- ## Common Issues
65
-
66
- - **Authentication fails**: make sure you complete the OAuth flow when prompted. Try disconnecting and reconnecting in the tool's MCP settings.
67
- - **Permission errors**: check that you have the correct permissions in the Notion workspace for the pages or databases you're trying to access.
68
- - **Client does not support remote servers**: use the `mcp-remote` bridge as a stdio wrapper to connect to the remote server.
69
- - **Tool not found**: some clients prefix tools with `notion-`. For OpenAI-based clients (ChatGPT), `notion-fetch` and `notion-search` may appear as `fetch` and `search`.
70
- - **Rate limited**: standard API limits apply (180 requests/min average, 30 requests/min for search). Prompt the agent to reduce parallel operations.
@@ -1,95 +0,0 @@
1
- # Notion MCP Troubleshooting
2
-
3
- ## Connection fails
4
-
5
- **Problem**
6
-
7
- The AI client reports that `notion` cannot connect.
8
-
9
- **Cause**
10
-
11
- The client does not support remote HTTP MCP servers, or the URL is misconfigured.
12
-
13
- **Solution**
14
-
15
- - Verify the URL is `https://mcp.notion.com/mcp` (Streamable HTTP) or `https://mcp.notion.com/sse` (SSE).
16
- - If your client only supports local stdio servers, use the `mcp-remote` bridge: `npx -y mcp-remote https://mcp.notion.com/mcp`.
17
- - Check the client's documentation for how to add a remote MCP server.
18
-
19
- ## Authentication fails
20
-
21
- **Problem**
22
-
23
- The connection succeeds but tools return authentication errors.
24
-
25
- **Cause**
26
-
27
- The OAuth flow was not completed or the token has expired.
28
-
29
- **Solution**
30
-
31
- - Make sure you complete the OAuth flow when prompted by the client.
32
- - Try disconnecting and reconnecting. Look for a "Clear authentication" or "Disconnect" option in the client's MCP settings.
33
- - Re-add the MCP server to trigger a fresh OAuth flow.
34
-
35
- ## Permission errors
36
-
37
- **Problem**
38
-
39
- Tools return 403 or "not found" errors.
40
-
41
- **Cause**
42
-
43
- The authenticated user does not have access to the requested page, database, or workspace.
44
-
45
- **Solution**
46
-
47
- - Verify you have the correct permissions in the Notion workspace.
48
- - Check that the page or database is shared with your user or team.
49
- - Use `notion-get-teams` to confirm which teams you can access.
50
-
51
- ## Tool requires Notion AI
52
-
53
- **Problem**
54
-
55
- `notion-search`, `notion-query-data-sources`, `notion-query-database-view`, or `notion-query-meeting-notes` return an upgrade prompt.
56
-
57
- **Cause**
58
-
59
- These tools require a Business plan or higher with Notion AI.
60
-
61
- **Solution**
62
-
63
- - Upgrade your workspace plan to Business or Enterprise with Notion AI enabled.
64
- - Use `notion-fetch` and standard page reading as an alternative.
65
-
66
- ## Rate limited
67
-
68
- **Problem**
69
-
70
- Tools return 429 Too Many Requests errors.
71
-
72
- **Cause**
73
-
74
- API rate limits exceeded: 180 requests/min (general), 30 requests/min (search).
75
-
76
- **Solution**
77
-
78
- - Prompt the agent to reduce the number of parallel tool calls.
79
- - Space out requests — the time between sequential agent steps often keeps usage under the limit.
80
- - Wait before retrying.
81
-
82
- ## Tool names differ in OpenAI clients
83
-
84
- **Problem**
85
-
86
- `notion-fetch` or `notion-search` tools are missing in ChatGPT.
87
-
88
- **Cause**
89
-
90
- OpenAI clients strip the `notion-` prefix — tools appear as `fetch` and `search`.
91
-
92
- **Solution**
93
-
94
- - Use `fetch` and `search` as the tool names in prompts for ChatGPT.
95
- - Other tools retain the `notion-` prefix.
@@ -1,159 +0,0 @@
1
- ---
2
- name: brainstorming
3
- description: "You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation."
4
- ---
5
-
6
- # Brainstorming Ideas Into Designs
7
-
8
- Help turn ideas into fully formed designs and specs through natural collaborative dialogue.
9
-
10
- Start by understanding the current project context, then ask questions one at a time to refine the idea. Once you understand what you're building, present the design and get user approval.
11
-
12
- <HARD-GATE>
13
- Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action until you have presented a design and the user has approved it. This applies to EVERY project regardless of perceived simplicity.
14
- </HARD-GATE>
15
-
16
- ## Anti-Pattern: "This Is Too Simple To Need A Design"
17
-
18
- Every project goes through this process. A todo list, a single-function utility, a config change — all of them. "Simple" projects are where unexamined assumptions cause the most wasted work. The design can be short (a few sentences for truly simple projects), but you MUST present it and get approval.
19
-
20
- ## Checklist
21
-
22
- You MUST create a task for each of these items and complete them in order:
23
-
24
- 1. **Explore project context** — check files, docs, recent commits
25
- 2. **Offer the visual companion just-in-time** — NOT upfront. The first time a question would genuinely be clearer shown than described, offer it then (its own message); on approval its browser tab opens for you. If no visual question ever arises, never offer it. See the Visual Companion section below.
26
- 3. **Ask clarifying questions** — one at a time, understand purpose/constraints/success criteria
27
- 4. **Propose 2-3 approaches** — with trade-offs and your recommendation
28
- 5. **Present design** — in sections scaled to their complexity, get user approval after each section
29
- 6. **Write design doc** — save to `outputs/specs/YYYY-MM-DD-<topic>-design.md` and commit
30
- 7. **Spec self-review** — quick inline check for placeholders, contradictions, ambiguity, scope (see below)
31
- 8. **User reviews written spec** — ask user to review the spec file before proceeding
32
- 9. **Transition to implementation** — invoke writing-plans skill to create implementation plan
33
-
34
- ## Process Flow
35
-
36
- ```dot
37
- digraph brainstorming {
38
- "Explore project context" [shape=box];
39
- "Ask clarifying questions" [shape=box];
40
- "Propose 2-3 approaches" [shape=box];
41
- "Present design sections" [shape=box];
42
- "User approves design?" [shape=diamond];
43
- "Write design doc" [shape=box];
44
- "Spec self-review\n(fix inline)" [shape=box];
45
- "User reviews spec?" [shape=diamond];
46
- "Invoke writing-plans skill" [shape=doublecircle];
47
-
48
- "Explore project context" -> "Ask clarifying questions";
49
- "Ask clarifying questions" -> "Propose 2-3 approaches";
50
- "Propose 2-3 approaches" -> "Present design sections";
51
- "Present design sections" -> "User approves design?";
52
- "User approves design?" -> "Present design sections" [label="no, revise"];
53
- "User approves design?" -> "Write design doc" [label="yes"];
54
- "Write design doc" -> "Spec self-review\n(fix inline)";
55
- "Spec self-review\n(fix inline)" -> "User reviews spec?";
56
- "User reviews spec?" -> "Write design doc" [label="changes requested"];
57
- "User reviews spec?" -> "Invoke writing-plans skill" [label="approved"];
58
- }
59
- ```
60
-
61
- **The terminal state is invoking writing-plans.** Do NOT invoke frontend-design, mcp-builder, or any other implementation skill. The ONLY skill you invoke after brainstorming is writing-plans.
62
-
63
- ## The Process
64
-
65
- **Understanding the idea:**
66
-
67
- - Check out the current project state first (files, docs, recent commits)
68
- - Before asking detailed questions, assess scope: if the request describes multiple independent subsystems (e.g., "build a platform with chat, file storage, billing, and analytics"), flag this immediately. Don't spend questions refining details of a project that needs to be decomposed first.
69
- - If the project is too large for a single spec, help the user decompose into sub-projects: what are the independent pieces, how do they relate, what order should they be built? Then brainstorm the first sub-project through the normal design flow. Each sub-project gets its own spec → plan → implementation cycle.
70
- - For appropriately-scoped projects, ask questions one at a time to refine the idea
71
- - Prefer multiple choice questions when possible, but open-ended is fine too
72
- - Only one question per message - if a topic needs more exploration, break it into multiple questions
73
- - Focus on understanding: purpose, constraints, success criteria
74
-
75
- **Exploring approaches:**
76
-
77
- - Propose 2-3 different approaches with trade-offs
78
- - Present options conversationally with your recommendation and reasoning
79
- - Lead with your recommended option and explain why
80
-
81
- **Presenting the design:**
82
-
83
- - Once you believe you understand what you're building, present the design
84
- - Scale each section to its complexity: a few sentences if straightforward, up to 200-300 words if nuanced
85
- - Ask after each section whether it looks right so far
86
- - Cover: architecture, components, data flow, error handling, testing
87
- - Be ready to go back and clarify if something doesn't make sense
88
-
89
- **Design for isolation and clarity:**
90
-
91
- - Break the system into smaller units that each have one clear purpose, communicate through well-defined interfaces, and can be understood and tested independently
92
- - For each unit, you should be able to answer: what does it do, how do you use it, and what does it depend on?
93
- - Can someone understand what a unit does without reading its internals? Can you change the internals without breaking consumers? If not, the boundaries need work.
94
- - Smaller, well-bounded units are also easier for you to work with - you reason better about code you can hold in context at once, and your edits are more reliable when files are focused. When a file grows large, that's often a signal that it's doing too much.
95
-
96
- **Working in existing codebases:**
97
-
98
- - Explore the current structure before proposing changes. Follow existing patterns.
99
- - Where existing code has problems that affect the work (e.g., a file that's grown too large, unclear boundaries, tangled responsibilities), include targeted improvements as part of the design - the way a good developer improves code they're working in.
100
- - Don't propose unrelated refactoring. Stay focused on what serves the current goal.
101
-
102
- ## After the Design
103
-
104
- **Documentation:**
105
-
106
- - Write the validated design (spec) to `outputs/specs/YYYY-MM-DD-<topic>-design.md`
107
- - (User preferences for spec location override this default)
108
- - Use elements-of-style:writing-clearly-and-concisely skill if available
109
- - Commit the design document to git
110
-
111
- **Spec Self-Review:**
112
- After writing the spec document, look at it with fresh eyes:
113
-
114
- 1. **Placeholder scan:** Any "TBD", "TODO", incomplete sections, or vague requirements? Fix them.
115
- 2. **Internal consistency:** Do any sections contradict each other? Does the architecture match the feature descriptions?
116
- 3. **Scope check:** Is this focused enough for a single implementation plan, or does it need decomposition?
117
- 4. **Ambiguity check:** Could any requirement be interpreted two different ways? If so, pick one and make it explicit.
118
-
119
- Fix any issues inline. No need to re-review — just fix and move on.
120
-
121
- **User Review Gate:**
122
- After the spec review loop passes, ask the user to review the written spec before proceeding:
123
-
124
- > "Spec written and committed to `<path>`. Please review it and let me know if you want to make any changes before we start writing out the implementation plan."
125
-
126
- Wait for the user's response. If they request changes, make them and re-run the spec review loop. Only proceed once the user approves.
127
-
128
- **Implementation:**
129
-
130
- - Invoke the writing-plans skill to create a detailed implementation plan
131
- - Do NOT invoke any other skill. writing-plans is the next step.
132
-
133
- ## Key Principles
134
-
135
- - **One question at a time** - Don't overwhelm with multiple questions
136
- - **Multiple choice preferred** - Easier to answer than open-ended when possible
137
- - **YAGNI ruthlessly** - Remove unnecessary features from all designs
138
- - **Explore alternatives** - Always propose 2-3 approaches before settling
139
- - **Incremental validation** - Present design, get approval before moving on
140
- - **Be flexible** - Go back and clarify when something doesn't make sense
141
-
142
- ## Visual Companion
143
-
144
- A browser-based companion for showing mockups, diagrams, and visual options during brainstorming. Available as a tool — not a mode. Accepting the companion means it's available for questions that benefit from visual treatment; it does NOT mean every question goes through the browser.
145
-
146
- **Offering the companion (just-in-time):** Do NOT offer it upfront. Wait until a question would genuinely be clearer shown than told — a real mockup / layout / diagram question, not merely a UI *topic*. The first time that happens, offer it then, as its own message:
147
- > "This next part might be easier if I show you — I can put together mockups, diagrams, and comparisons in a browser tab as we go. It's still new and can be token-intensive. Want me to? I'll open it for you."
148
-
149
- **This offer MUST be its own message.** Only the offer — no clarifying question, summary, or other content. Wait for the user's response. If they accept, start the server with `--open` so their browser opens to the first screen automatically. If they decline, continue text-only and don't offer again unless they raise it.
150
-
151
- **Per-question decision:** Even after the user accepts, decide FOR EACH QUESTION whether to use the browser or the terminal. The test: **would the user understand this better by seeing it than reading it?**
152
-
153
- - **Use the browser** for content that IS visual — mockups, wireframes, layout comparisons, architecture diagrams, side-by-side visual designs
154
- - **Use the terminal** for content that is text — requirements questions, conceptual choices, tradeoff lists, A/B/C/D text options, scope decisions
155
-
156
- A question about a UI topic is not automatically a visual question. "What does personality mean in this context?" is a conceptual question — use the terminal. "Which wizard layout works better?" is a visual question — use the browser.
157
-
158
- If they agree to the companion, read the detailed guide before proceeding:
159
- `skills/brainstorming/visual-companion.md`
@@ -1,49 +0,0 @@
1
- # Spec Document Reviewer Prompt Template
2
-
3
- Use this template when dispatching a spec document reviewer subagent.
4
-
5
- **Purpose:** Verify the spec is complete, consistent, and ready for implementation planning.
6
-
7
- **Dispatch after:** Spec document is written to outputs/specs/
8
-
9
- ```
10
- Subagent (general-purpose):
11
- description: "Review spec document"
12
- prompt: |
13
- You are a spec document reviewer. Verify this spec is complete and ready for planning.
14
-
15
- **Spec to review:** [SPEC_FILE_PATH]
16
-
17
- ## What to Check
18
-
19
- | Category | What to Look For |
20
- |----------|------------------|
21
- | Completeness | TODOs, placeholders, "TBD", incomplete sections |
22
- | Consistency | Internal contradictions, conflicting requirements |
23
- | Clarity | Requirements ambiguous enough to cause someone to build the wrong thing |
24
- | Scope | Focused enough for a single plan — not covering multiple independent subsystems |
25
- | YAGNI | Unrequested features, over-engineering |
26
-
27
- ## Calibration
28
-
29
- **Only flag issues that would cause real problems during implementation planning.**
30
- A missing section, a contradiction, or a requirement so ambiguous it could be
31
- interpreted two different ways — those are issues. Minor wording improvements,
32
- stylistic preferences, and "sections less detailed than others" are not.
33
-
34
- Approve unless there are serious gaps that would lead to a flawed plan.
35
-
36
- ## Output Format
37
-
38
- ## Spec Review
39
-
40
- **Status:** Approved | Issues Found
41
-
42
- **Issues (if any):**
43
- - [Section X]: [specific issue] - [why it matters for planning]
44
-
45
- **Recommendations (advisory, do not block approval):**
46
- - [suggestions for improvement]
47
- ```
48
-
49
- **Reviewer returns:** Status, Issues (if any), Recommendations
@@ -1,213 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <title>Brainstorming</title>
6
- <style>
7
- /*
8
- * BRAINSTORM COMPANION FRAME TEMPLATE
9
- *
10
- * This template provides a consistent frame with:
11
- * - OS-aware light/dark theming
12
- * - Header branding and connection status
13
- * - Scrollable main content area
14
- * - CSS helpers for common UI patterns
15
- *
16
- * Content is injected via placeholder comment in #frame-content.
17
- */
18
-
19
- * { box-sizing: border-box; margin: 0; padding: 0; }
20
- html, body { height: 100%; overflow: hidden; }
21
-
22
- /* ===== THEME VARIABLES ===== */
23
- :root {
24
- --bg-primary: #f5f5f7;
25
- --bg-secondary: #ffffff;
26
- --bg-tertiary: #e5e5e7;
27
- --border: #d1d1d6;
28
- --text-primary: #1d1d1f;
29
- --text-secondary: #86868b;
30
- --text-tertiary: #aeaeb2;
31
- --accent: #0071e3;
32
- --accent-hover: #0077ed;
33
- --success: #34c759;
34
- --warning: #ff9f0a;
35
- --error: #ff3b30;
36
- --selected-bg: #e8f4fd;
37
- --selected-border: #0071e3;
38
- }
39
-
40
- @media (prefers-color-scheme: dark) {
41
- :root {
42
- --bg-primary: #1d1d1f;
43
- --bg-secondary: #2d2d2f;
44
- --bg-tertiary: #3d3d3f;
45
- --border: #424245;
46
- --text-primary: #f5f5f7;
47
- --text-secondary: #86868b;
48
- --text-tertiary: #636366;
49
- --accent: #0a84ff;
50
- --accent-hover: #409cff;
51
- --selected-bg: rgba(10, 132, 255, 0.15);
52
- --selected-border: #0a84ff;
53
- }
54
- }
55
-
56
- body {
57
- font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
58
- background: var(--bg-primary);
59
- color: var(--text-primary);
60
- display: flex;
61
- flex-direction: column;
62
- line-height: 1.5;
63
- }
64
-
65
- /* ===== FRAME STRUCTURE ===== */
66
- .brand { display: flex; align-items: center; min-width: 0; overflow: hidden; color: var(--text-secondary); line-height: 1; }
67
- .brand a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; min-width: 0; max-width: 100%; line-height: 1; }
68
- .brand-copy { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1; transform: translateY(-1px); }
69
- .brand-logo { display: block; height: 1em; width: auto; max-width: 180px; flex-shrink: 0; filter: invert(1); }
70
- @media (prefers-color-scheme: dark) {
71
- .brand-logo { filter: none; }
72
- }
73
- .status { font-size: 0.7rem; color: var(--status-color, var(--success)); display: flex; align-items: center; gap: 0.4rem; justify-self: end; white-space: nowrap; line-height: 1; }
74
- .status::before { content: ''; width: 6px; height: 6px; background: var(--status-color, var(--success)); border-radius: 50%; }
75
-
76
- .main { flex: 1; overflow-y: auto; }
77
- #frame-content { padding: 2rem; min-height: 100%; }
78
-
79
- .header {
80
- background: var(--bg-secondary);
81
- border-bottom: 1px solid var(--border);
82
- padding: 0.5rem 1.5rem;
83
- flex-shrink: 0;
84
- display: grid;
85
- grid-template-columns: minmax(0, 1fr) auto;
86
- align-items: center;
87
- gap: 1rem;
88
- min-height: 42px;
89
- }
90
- .header .brand { justify-self: start; width: 100%; font-size: 0.75rem; line-height: 1; }
91
- .header .status { grid-column: 2; line-height: 1; }
92
- .header span {
93
- font-size: 0.75rem;
94
- color: var(--text-secondary);
95
- }
96
- .header .selected-text {
97
- color: var(--accent);
98
- font-weight: 500;
99
- }
100
-
101
- /* ===== TYPOGRAPHY ===== */
102
- h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
103
- h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
104
- .subtitle { color: var(--text-secondary); margin-bottom: 1.5rem; }
105
- .section { margin-bottom: 2rem; }
106
- .label { font-size: 0.7rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
107
-
108
- /* ===== OPTIONS (for A/B/C choices) ===== */
109
- .options { display: flex; flex-direction: column; gap: 0.75rem; }
110
- .option {
111
- background: var(--bg-secondary);
112
- border: 2px solid var(--border);
113
- border-radius: 12px;
114
- padding: 1rem 1.25rem;
115
- cursor: pointer;
116
- transition: all 0.15s ease;
117
- display: flex;
118
- align-items: flex-start;
119
- gap: 1rem;
120
- }
121
- .option:hover { border-color: var(--accent); }
122
- .option.selected { background: var(--selected-bg); border-color: var(--selected-border); }
123
- .option .letter {
124
- background: var(--bg-tertiary);
125
- color: var(--text-secondary);
126
- width: 1.75rem; height: 1.75rem;
127
- border-radius: 6px;
128
- display: flex; align-items: center; justify-content: center;
129
- font-weight: 600; font-size: 0.85rem; flex-shrink: 0;
130
- }
131
- .option.selected .letter { background: var(--accent); color: white; }
132
- .option .content { flex: 1; }
133
- .option .content h3 { font-size: 0.95rem; margin-bottom: 0.15rem; }
134
- .option .content p { color: var(--text-secondary); font-size: 0.85rem; margin: 0; }
135
-
136
- /* ===== CARDS (for showing designs/mockups) ===== */
137
- .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
138
- .card {
139
- background: var(--bg-secondary);
140
- border: 1px solid var(--border);
141
- border-radius: 12px;
142
- overflow: hidden;
143
- cursor: pointer;
144
- transition: all 0.15s ease;
145
- }
146
- .card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
147
- .card.selected { border-color: var(--selected-border); border-width: 2px; }
148
- .card-image { background: var(--bg-tertiary); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; }
149
- .card-body { padding: 1rem; }
150
- .card-body h3 { margin-bottom: 0.25rem; }
151
- .card-body p { color: var(--text-secondary); font-size: 0.85rem; }
152
-
153
- /* ===== MOCKUP CONTAINER ===== */
154
- .mockup {
155
- background: var(--bg-secondary);
156
- border: 1px solid var(--border);
157
- border-radius: 12px;
158
- overflow: hidden;
159
- margin-bottom: 1.5rem;
160
- }
161
- .mockup-header {
162
- background: var(--bg-tertiary);
163
- padding: 0.5rem 1rem;
164
- font-size: 0.75rem;
165
- color: var(--text-secondary);
166
- border-bottom: 1px solid var(--border);
167
- }
168
- .mockup-body { padding: 1.5rem; }
169
-
170
- /* ===== SPLIT VIEW (side-by-side comparison) ===== */
171
- .split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
172
- @media (max-width: 700px) { .split { grid-template-columns: 1fr; } }
173
-
174
- /* ===== PROS/CONS ===== */
175
- .pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
176
- .pros, .cons { background: var(--bg-secondary); border-radius: 8px; padding: 1rem; }
177
- .pros h4 { color: var(--success); font-size: 0.85rem; margin-bottom: 0.5rem; }
178
- .cons h4 { color: var(--error); font-size: 0.85rem; margin-bottom: 0.5rem; }
179
- .pros ul, .cons ul { margin-left: 1.25rem; font-size: 0.85rem; color: var(--text-secondary); }
180
- .pros li, .cons li { margin-bottom: 0.25rem; }
181
-
182
- /* ===== PLACEHOLDER (for mockup areas) ===== */
183
- .placeholder {
184
- background: var(--bg-tertiary);
185
- border: 2px dashed var(--border);
186
- border-radius: 8px;
187
- padding: 2rem;
188
- text-align: center;
189
- color: var(--text-tertiary);
190
- }
191
-
192
- /* ===== INLINE MOCKUP ELEMENTS ===== */
193
- .mock-nav { background: var(--accent); color: white; padding: 0.75rem 1rem; display: flex; gap: 1.5rem; font-size: 0.9rem; }
194
- .mock-sidebar { background: var(--bg-tertiary); padding: 1rem; min-width: 180px; }
195
- .mock-content { padding: 1.5rem; flex: 1; }
196
- .mock-button { background: var(--accent); color: white; border: none; padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.85rem; }
197
- .mock-input { background: var(--bg-primary); border: 1px solid var(--border); border-radius: 6px; padding: 0.5rem; width: 100%; }
198
- </style>
199
- </head>
200
- <body>
201
- <div class="header">
202
- <!-- BRANDING -->
203
- <div class="status">Connecting…</div>
204
- </div>
205
-
206
- <div class="main">
207
- <div id="frame-content">
208
- <!-- CONTENT -->
209
- </div>
210
- </div>
211
-
212
- </body>
213
- </html>