writing-compound
Capture learnings from successful writing to improve future work
Transform a topic or brief into a researched outline with sources
$ npx -y skills add robertguss/claude-code-toolkit --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/writing-planContext preview
What this command does when you run it.
Transform a topic or brief into a researched outline with sources
name: writing:plan description: Transform a topic or brief into a researched outline with sources argument-hint: "[topic, brief, or idea]"
Transform a topic or brief into a comprehensive research package and structured outline.
<topic> #$ARGUMENTS </topic>
This command executes the **research and planning phase** of the writing workflow: 1. Clarify the brief (what, who, why) 2. Parallel research (sources, audience, competitors) 3. Two-gate assessment (material sufficiency, message clarity) 4. Create structured outline with hooks
Before any research, answer these questions:
1. **What's the argument?** - The specific point to make (not just the topic) 2. **Who's the reader?** - Specific audience, not "everyone" 3. **What should they do after?** - The call to action
If the input is vague, use AskUserQuestion to clarify:
Questions to ask: - "What's the specific angle or argument? (Not just the topic, but your take)" - "Who specifically are you writing for?" - "What should readers do after reading?" - "What channel? (blog, newsletter, social, documentation)" - "Target length? (short: <1000 words, medium: 1000-2500, long: 2500+)"
Only proceed when you have clear answers.
Launch three research agents simultaneously:
Task source-researcher: "Research sources for: [topic] Find: - Primary sources (original research, data) - Expert perspectives - Supporting statistics - Concrete examples Return structured source list with quotes and reliability ratings." Task source-researcher: "Analyze the target audience for: [topic] Determine: - What they already know - Their emotional state - Their goals and objections - The action they should take Return audience profile." Task source-researcher: "Analyze competitor content for: [topic] Find: - Top existing pieces on this topic - Their angles and approaches - Gaps and weaknesses - Differentiation opportunities Return competitive analysis."
Ask: "Could I write this without inventing facts?"
**Pass criteria:**
**If fails:** Return to research with specific gaps identified.
Ask: "Do I know the specific point to make?"
**Pass criteria:**
**If fails:** Clarify the angle before proceeding.
Using the structure-architect agent patterns:
Create 3-5 hook options:
Present options to user with recommendation.
## Outline: [Title] ### Hook (0-50 words) [Actual opening text or close approximation] ### Section 1: [Title] (~X words) **Purpose**: [What this accomplishes] **Key points**: - Point 1 - Point 2 **Source needed**: [Specific source from research] **Transition**: [How to move to next section] ### Section 2: [Title] (~X words) [Continue pattern...] ### Conclusion (~X words) **Summary**: [Key takeaway restated] **CTA**: [Specific action] **Final line**: [Memorable closer] --- **Total estimated length**: X words **Reading time**: X minutes
Create in `drafts/[slug]/`:
drafts/
└── [slug]/
├── outline.md # The structured outline
├── research.md # Combined research package
└── sources.md # Source list with citationsAfter creating the outline, use AskUserQuestion:
**Question**: "Outline ready at `drafts/[slug]/outline.md`. What next?"
**Options**: 1. **Deepen research** - Get more sources on specific sections 2. **Review outline** - Get structural feedback before drafting 3. **Start drafting** - Run `/writing:draft drafts/[slug]/outline.md` 4. **Adjust angle** - Refine the thesis or approach
Before completing:
Extend Claude Code with specialized workflows, automatic formatting, and better defaults. Skills give Claude domain expertise—brainstorming methods, documentation generation, book writing pipelines.
Repo: robertguss/claude-code-toolkit
Capture learnings from successful writing to improve future work