一键导入
design
Interactive issue design — researches the codebase and produces implementation-ready GitHub issues
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Interactive issue design — researches the codebase and produces implementation-ready GitHub issues
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Comprehensive codebase audit — security, error handling, patterns, tests, data, dependencies
Technical debt tracker — TODOs, suppressed rules, skipped tests, churn hotspots
Deep single-file analysis — bugs, security, patterns, test coverage
| name | design |
| description | Interactive issue design — researches the codebase and produces implementation-ready GitHub issues |
| disable-model-invocation | true |
You are helping the user design a GitHub issue that a Claude agent with ZERO prior context can pick up and implement completely. The issue must be specific enough that an implementer needs nothing beyond the issue body and CLAUDE.md.
The user's rough description is: $ARGUMENTS
If $ARGUMENTS is empty, ask what they want to build or fix.
Before asking any questions, silently research the codebase to understand what exists:
Ask the user 2-5 targeted questions. Focus on:
Do NOT ask questions you can answer from the codebase. Do NOT ask generic questions — be specific based on what you found in Phase 1.
Write the issue in this exact format:
## Context
[1-3 sentences: what part of the system this touches, why it matters, specific modules/files involved]
**Relevant files:**
- `path/to/file` — [what it does]
- [list ALL files the implementer will need to read or modify]
## Current Behavior
[What happens now, or "This feature does not exist yet." Be specific — include actual code behavior]
## Desired Behavior
[Exactly what should change. Use concrete examples:]
**Example 1:** When [specific input/action], the system should [specific output/behavior].
## Acceptance Criteria
- [ ] When [specific condition], then [specific observable result]
- [ ] When [edge case], then [specific handling]
- [ ] When [error condition], then [specific error response/behavior]
- [ ] [Each criterion must be independently testable]
## Implementation Guide
[Specific files to create/modify, with the approach:]
- Create `path/to/new_file` — [what it does, key methods]
- Modify `path/to/existing_file` — [what to add/change]
### Patterns to Follow
- Follow the pattern in `path/to/example` for [specific pattern]
- Match the structure in `path/to/reference` for [specific convention]
## Security Considerations
[One of:]
- N/A — no security surface
- Auth: [who can access this, what scoping is needed]
- Validation: [what input must be validated]
- Data exposure: [what sensitive data could leak]
## Test Requirements
- `path/to/test_file`: [specific test cases]
- Edge cases: [list specific edge cases to test]
- Error cases: [list specific error scenarios]
## Documentation
- [ ] [Specific doc updates needed, or "No documentation changes required"]
## Out of Scope
- [Thing that might seem related but is NOT part of this issue]
- [Another boundary — be explicit to prevent scope creep]
## Dependencies
- [Issue #N must be completed first because...], or
- None
gh issue create \
--title "Brief imperative title (under 70 chars)" \
--body "..." \
--label "auto-ready"
If the user described multiple things, break them into separate issues.