-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
Describe the bug
The brainstorming skill's design doc output (saved to
docs/plans/YYYY-MM-DD--design.md) often includes inline code blocks and code snippets
(Python, bash, etc.). Design docs should focus on ideas, architecture, and rationale — not
implementation details that belong in the implementation plan phase.
To Reproduce
- Start a new session and describe a feature to build
- Go through the brainstorming flow (clarifying questions → approach selection → design)
- Approve the design
- The skill writes the design doc to docs/plans/
- The resulting .md file contains code blocks (
python,bash, etc.) with
implementation snippets
Expected behavior
The design doc should only contain:
- Design ideas and architecture
- Component descriptions and data flow
- Trade-offs and rationale
- Success criteria
Code blocks and file paths should be deferred to the implementation plan (via the
writing-plans skill), not embedded in the design doc. File paths in design docs also go
stale when files are moved.
Additional context
The writing-plans skill already exists as the next step after brainstorming specifically for
implementation details. Having code in both the design doc and the implementation plan
creates duplication and makes design docs harder to read as high-level references.
A simple fix would be adding a rule to the "Presenting the design" section in
skills/brainstorming/SKILL.md: