draft-story
Skill2 starsChanged 6 months agoMITView on GitHub
Create new tickets from business requirements or design documents. Analyzes requirements, scans codebase, identifies gaps and open questions, and drafts complete refined tickets.
In this repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- improveSkill
- teamSkill
- ccf-architecture-contractSkill
- ccf-build-and-envSkill
- ccf-change-controlSkill
- ccf-debugging-playbookSkill
- ccf-doc-sync-campaignSkill
- ccf-dogfood-and-driftSkill
- ccf-domain-referenceSkill
- ccf-failure-archaeologySkill
- ccf-onboarding-tourSkill
- ccf-parity-playbookSkill
- ccf-release-and-installSkill
- ccf-testing-and-qaSkill
- improveSkill
- teamSkill
- add-referenceSkill
- ai-updateSkill
- app-blueprintSkill
- buildSkill
- check-readinessSkill
- deploySkill
- developSkill
- error-analyzeSkill
- factorySkill
- fetch-docsSkill
- generate-internal-appSkill
- impactSkill
- improveSkill
- indexSkill
- iterative-reviewSkill
- merge-resolveSkill
- mock-endpointSkill
- planSkill
- promoteSkill
- refine-storySkill
- scaffold-design-systemSkill
- searchSkill
- setupSkill
- teamSkill
- skill-nameSkill
- update-trackerSkill
- validateSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 9 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create complete, refined tickets from business requirements or design documents.
- Distinctive: line 34
Ask clarifying questions (Who, What, Why, When, Where)
- Distinctive: line 48
If doc covers multiple tickets, propose split and ask which to draft
- Distinctive: line 56
After surfacing open questions, do not stop:
- Distinctive: line 60
All resolved → ticket is implementation-ready.
- Distinctive: line 66
Every draft must include an Open Questions section.
- Very specific: line 79
Create docs/stories/TICKET-{id}/ (or DRAFT-{name}/) with:
- Distinctive: line 90
After drafting locally, sync to work item tracker.
- Very specific: line 102
Keep DRAFT-{name}/ folder.
- Very specific: line 110
No verbose Given/When/Then — go direct
- Distinctive: line 111
When sourced from a design doc, add section references for traceability
- Distinctive: line 116
When all open questions are resolved:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Draft Story
Create complete, refined tickets from business requirements or design documents. Write for a technical audience — direct, concise, specific identifiers over display names.
When to use this vs /refine-story:
/draft-story— New requirements or design document → create new tickets/refine-story— Existing ticket that needs improvement or gap analysis
Input Sources
1. Business Requirements (ad-hoc)
User describes a business need or feature request verbally. Follow the full interview process.
2. Design Documents (pasted or fetched)
User provides a structured design document. These typically include:
- Objective / Overview
- Open Questions
- Technical Design (data flows, endpoint specs, field mappings)
- Data Model Changes
- Business Logic
- Integration Details
Design docs may cover multiple tickets — propose how to split.
Process
From business requirements:
- User describes business need
- Ask clarifying questions (Who, What, Why, When, Where)
- Explore codebase for relevant patterns
- Fetch documentation using the
/fetch-docsskill pattern (resolve-library-id then get-library-docs) when the solution involves external dependencies — verify actual API capabilities before committing to a technical approach - Propose solution options if multiple approaches exist
- Draft complete ticket
- Present open questions for stakeholder follow-up
- Save to
docs/stories/TICKET-{id}/ordocs/stories/DRAFT-{name}/
From design documents:
- User provides design document content
- Parse all sections — identify scope, TBDs, and open questions
- Clarify architecture early: sync vs async, data flow direction
- Explore codebase to verify existing components
- Identify gaps: what the doc leaves unresolved
- If doc covers multiple tickets, propose split and ask which to draft
- Draft complete ticket with design doc section references
- Surface open questions — grouped by source (doc TBDs vs codebase gaps)
- Resolve open questions interactively — work through each one
- Save to
docs/stories/TICKET-{id}/ordocs/stories/DRAFT-{name}/
Open Question Resolution Loop (Step 9)
After surfacing open questions, do not stop:
- Present questions grouped by priority (blocking → important → nice-to-have)
- For each question: state recommendation, ask for decision, update ticket
- After all addressed:
- All resolved → ticket is implementation-ready. Mark as ready.
- Some deferred → mark as needs refinement. List deferred items clearly.
- An implementation-ready ticket can go straight to
/factory
Open Questions Output
Every draft must include an Open Questions section. Group by source:
- From the design doc — TBDs, explicitly listed questions
- From codebase analysis — naming conflicts, missing config, pattern mismatches
- From gap analysis — ambiguous rules, missing specs, unclear contracts
Each question must include:
- Reference to the source section
- Context — what the source says and why it's a problem
- Impact — what's blocked if unresolved
- Recommendation — suggested resolution with trade-offs
Story Documentation
Create docs/stories/TICKET-{id}/ (or DRAFT-{name}/) with:
| File | Content |
story.md | Full ticket with ACs, technical spec |
solutions-components.md | Components to change/create |
how-to-test.md | Test instructions |
manual-steps.md | Manual pre/post deployment steps (if needed) |
Tracker Sync
After drafting locally, sync to work item tracker.
Creating a new ticket
{{TRACKER_CREATE_TICKET}}
After creation:
- Extract new ticket ID from response
- Rename local folder:
DRAFT-{name}/→TICKET-{id}/ - Update
story.mdtitle - Confirm to user with link
If user declines sync
Keep DRAFT-{name}/ folder. Remind to create ticket later.
Writing Style
- Specific field/property mappings with identifiers
- Explicit values (enum values verified from source, not display names)
- Clear relationships with entity names
- Trigger conditions for automation
- No verbose Given/When/Then — go direct
- When sourced from a design doc, add section references for traceability
- Tables over paragraphs
Factory Pipeline Integration
When all open questions are resolved:
/draft-story (resolve everything)
→ Ticket marked "Ready for Sprint"
→ /factory TICKET-{id} (automated from here)Related Skills
/refine-story- Refine existing tickets/factory- End-to-end pipeline (next step after drafting)/check-readiness- Automated readiness validation/update-tracker- Push ticket content to tracker
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

