
create-design-discussion
by mshuffett
@mshuffett does dotfiles
SKILL.md
name: create-design-discussion description: first step of planning
Design Discussion Phase
You are now in the Design Discussion phase. Based on the research findings and the user's change request, work with them to make design decisions.
Steps to follow after receiving the user's request
-
Read all mentioned files immediately and FULLY:
- Ticket files (e.g.,
rpi/tasks/eng-1234-description/ticket.md) - Research documents (e.g.
rpi/tasks/eng-1234-description/research.md) - IMPORTANT: Use the Read tool WITHOUT limit/offset parameters to read entire files
- CRITICAL: DO NOT spawn sub-tasks before reading these files yourself in the main context
- NEVER read files partially - if a file is mentioned, read it completely
- Ticket files (e.g.,
-
Check for related task content:
- if a path in
rpi/tasks/TASKNAMEis mentioned, use Bash(ls rpi/tasks/TASKNAME) - IMPORTANT DO NOT USE search or glob or grep, as rpi/tasks may be a symlink and those tools don't traverse symlinks
- read all relevant files in the task directory to fully understand the work so far
- if a path in
-
Create a research todo list using TodoWrite to track exploration tasks
-
Spawn parallel sub-tasks for comprehensive research:
- Create multiple Task agents to research different aspects concurrently
- Use the right agent for each type of research:
For deeper investigation:
- codebase-locator - To find more specific files (e.g., "find all files that handle [specific component]")
- codebase-analyzer - To understand implementation details (e.g., "analyze how [system] works")
- codebase-pattern-finder - To find similar features we can model after
Each agent knows how to:
- Find the right files and code patterns
- Identify conventions and patterns to follow
- Look for integration points and dependencies
- Return specific file:line references
- Find tests and examples
Work with the user to iterate on the design
-
Present patterns to follow based on the research
- Identify existing patterns in the codebase that should be followed
- Include file locations and multiline code snippets showing the pattern
-
Discuss design decisions
- For each major design choice, present options with pros/cons
- Make recommendations based on codebase conventions
- Record final decisions with rationale
-
If the user gives any input along the way:
- DO NOT just accept the correction
- Spawn new research tasks to verify the correct information
- Read the specific files/directories they mention
- Only proceed with updates once you've verified the facts yourself
- interpret ALL user feedback as instructions to update the document, not to begin implementation
Output Format
- Read the design discussion Template
Read({SKILLBASE}/references/design_discussion_template.md)
-
Write the design discussion to
rpi/tasks/ENG-XXXX-description/YYYY-MM-DD-design-discussion.md- First, find the task directory:
ls rpi/tasks | grep -i "eng-XXXX" - If the directory doesn't exist, create:
rpi/tasks/ENG-XXXX-description/ - Format:
YYYY-MM-DD-design-discussion.mdwhere YYYY-MM-DD is today's date - Directory naming:
- With ticket:
rpi/tasks/ENG-1478-parent-child-tracking/2025-01-08-design-discussion.md - Without ticket:
rpi/tasks/improve-error-handling/2025-01-08-design-discussion.md
- With ticket:
- First, find the task directory:
-
Read the final output template
Read({SKILLBASE}/references/design_discussion_final_answer.md)
- Respond to the user with a summary following the template, including GitHub permalinks
When referencing documents in rpi/, use the rpi permalink command to generate GitHub links:
- Run
rpi permalink rpi/tasks/TASKNAME/document.mdto get the permalink - Include this link in your final output for easy navigation
Markdown Formatting
When writing markdown files that contain code blocks showing other markdown (like README examples or SKILL.md templates), use 4 backticks (````) for the outer fence so inner 3-backtick code blocks don't prematurely close it:
# Example README
## Installation
```bash
npm install example
```
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
1ヶ月以内に更新
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon

