wtf-p 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +338 -0
- package/bin/install.js +358 -0
- package/bin/uninstall.js +485 -0
- package/commands/wtfp/analyze-bib.md +326 -0
- package/commands/wtfp/check-refs.md +205 -0
- package/commands/wtfp/create-outline.md +275 -0
- package/commands/wtfp/discuss-section.md +71 -0
- package/commands/wtfp/export-latex.md +216 -0
- package/commands/wtfp/help.md +342 -0
- package/commands/wtfp/insert-section.md +130 -0
- package/commands/wtfp/list-assumptions.md +109 -0
- package/commands/wtfp/map-project.md +197 -0
- package/commands/wtfp/new-paper.md +443 -0
- package/commands/wtfp/pause-writing.md +145 -0
- package/commands/wtfp/plan-revision.md +180 -0
- package/commands/wtfp/plan-section.md +247 -0
- package/commands/wtfp/polish-prose.md +177 -0
- package/commands/wtfp/progress.md +325 -0
- package/commands/wtfp/remove-section.md +147 -0
- package/commands/wtfp/research-gap.md +235 -0
- package/commands/wtfp/resume-writing.md +142 -0
- package/commands/wtfp/review-section.md +409 -0
- package/commands/wtfp/submit-milestone.md +211 -0
- package/commands/wtfp/write-section.md +273 -0
- package/package.json +40 -0
- package/write-the-f-paper/references/checkpoints.md +213 -0
- package/write-the-f-paper/references/continuation-format.md +223 -0
- package/write-the-f-paper/references/git-integration.md +241 -0
- package/write-the-f-paper/references/imrad-structure.md +212 -0
- package/write-the-f-paper/references/length-estimation.md +148 -0
- package/write-the-f-paper/references/plan-format.md +361 -0
- package/write-the-f-paper/references/principles.md +158 -0
- package/write-the-f-paper/references/questioning.md +132 -0
- package/write-the-f-paper/references/research-pitfalls.md +208 -0
- package/write-the-f-paper/templates/config.json +30 -0
- package/write-the-f-paper/templates/context.md +179 -0
- package/write-the-f-paper/templates/continue-here.md +142 -0
- package/write-the-f-paper/templates/data-inventory.md +142 -0
- package/write-the-f-paper/templates/discovery.md +146 -0
- package/write-the-f-paper/templates/issues.md +59 -0
- package/write-the-f-paper/templates/manuscript.md +253 -0
- package/write-the-f-paper/templates/narrative-arc.md +227 -0
- package/write-the-f-paper/templates/outline.md +274 -0
- package/write-the-f-paper/templates/phase-prompt.md +348 -0
- package/write-the-f-paper/templates/prior-drafts.md +204 -0
- package/write-the-f-paper/templates/project-context/argument-structure.md +267 -0
- package/write-the-f-paper/templates/project-context/bibliography.md +152 -0
- package/write-the-f-paper/templates/project-context/gaps.md +122 -0
- package/write-the-f-paper/templates/project-context/imrad.md +140 -0
- package/write-the-f-paper/templates/project-context/peer-review.md +152 -0
- package/write-the-f-paper/templates/project-context/style-guide.md +198 -0
- package/write-the-f-paper/templates/project-context/tools.md +170 -0
- package/write-the-f-paper/templates/project.md +185 -0
- package/write-the-f-paper/templates/research.md +384 -0
- package/write-the-f-paper/templates/review-comments.md +253 -0
- package/write-the-f-paper/templates/revision-issues.md +169 -0
- package/write-the-f-paper/templates/roadmap.md +187 -0
- package/write-the-f-paper/templates/section-archive.md +178 -0
- package/write-the-f-paper/templates/section-context.md +114 -0
- package/write-the-f-paper/templates/section.md +128 -0
- package/write-the-f-paper/templates/state.md +244 -0
- package/write-the-f-paper/templates/summary.md +277 -0
- package/write-the-f-paper/venues/acm-cs.yaml +102 -0
- package/write-the-f-paper/venues/arxiv-ml.yaml +103 -0
- package/write-the-f-paper/venues/ieee-cs.yaml +100 -0
- package/write-the-f-paper/venues/nature.yaml +81 -0
- package/write-the-f-paper/venues/thesis-chapter.yaml +101 -0
- package/write-the-f-paper/workflows/create-outline.md +462 -0
- package/write-the-f-paper/workflows/create-outline.wcn.md +194 -0
- package/write-the-f-paper/workflows/discuss-section.md +249 -0
- package/write-the-f-paper/workflows/discuss-section.wcn.md +63 -0
- package/write-the-f-paper/workflows/execute-section.md +704 -0
- package/write-the-f-paper/workflows/execute-section.wcn.md +219 -0
- package/write-the-f-paper/workflows/list-assumptions.md +183 -0
- package/write-the-f-paper/workflows/list-assumptions.wcn.md +42 -0
- package/write-the-f-paper/workflows/lit-review-phase.md +281 -0
- package/write-the-f-paper/workflows/lit-review-phase.wcn.md +92 -0
- package/write-the-f-paper/workflows/map-project.md +359 -0
- package/write-the-f-paper/workflows/map-project.wcn.md +73 -0
- package/write-the-f-paper/workflows/plan-section.md +409 -0
- package/write-the-f-paper/workflows/plan-section.wcn.md +236 -0
- package/write-the-f-paper/workflows/research-gap.md +469 -0
- package/write-the-f-paper/workflows/research-gap.wcn.md +119 -0
- package/write-the-f-paper/workflows/resume-paper.md +274 -0
- package/write-the-f-paper/workflows/resume-paper.wcn.md +93 -0
- package/write-the-f-paper/workflows/review-section.md +329 -0
- package/write-the-f-paper/workflows/review-section.wcn.md +91 -0
- package/write-the-f-paper/workflows/submit-draft.md +368 -0
- package/write-the-f-paper/workflows/submit-draft.wcn.md +69 -0
- package/write-the-f-paper/workflows/transition.md +375 -0
- package/write-the-f-paper/workflows/transition.wcn.md +113 -0
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wtfp:help
|
|
3
|
+
description: Show available WTF-P commands and usage guide
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<objective>
|
|
7
|
+
Display the complete WTF-P command reference.
|
|
8
|
+
|
|
9
|
+
Output ONLY the reference content below. Do NOT add:
|
|
10
|
+
|
|
11
|
+
- Project-specific analysis
|
|
12
|
+
- Git status or file context
|
|
13
|
+
- Next-step suggestions
|
|
14
|
+
- Any commentary beyond the reference
|
|
15
|
+
</objective>
|
|
16
|
+
|
|
17
|
+
<reference>
|
|
18
|
+
# WTF-P Command Reference
|
|
19
|
+
|
|
20
|
+
**WTF-P** (Write The F***ing Paper) creates hierarchical writing plans optimized for solo academic writing with Claude Code.
|
|
21
|
+
|
|
22
|
+
## Quick Start
|
|
23
|
+
|
|
24
|
+
1. `/wtfp:new-paper` - Initialize a new paper with vision
|
|
25
|
+
2. `/wtfp:create-outline` - Create document outline and sections
|
|
26
|
+
3. `/wtfp:plan-section <number>` - Create detailed plan for a section
|
|
27
|
+
4. `/wtfp:write-section <path>` - Execute the writing plan
|
|
28
|
+
|
|
29
|
+
## Core Workflow
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
Initialization -> Outlining -> Planning -> Writing -> Review
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Paper Initialization
|
|
36
|
+
|
|
37
|
+
**`/wtfp:new-paper`**
|
|
38
|
+
Initialize new paper project with deep context gathering.
|
|
39
|
+
|
|
40
|
+
- Creates `.planning/PROJECT.md` (paper vision and requirements)
|
|
41
|
+
- Creates `.planning/config.json` (workflow mode)
|
|
42
|
+
- Creates structure docs (argument-map, outline, narrative-arc)
|
|
43
|
+
- Asks about paper type, target venue, core argument
|
|
44
|
+
- Commits initialization files to git
|
|
45
|
+
|
|
46
|
+
Usage: `/wtfp:new-paper`
|
|
47
|
+
|
|
48
|
+
**`/wtfp:create-outline`**
|
|
49
|
+
Create section roadmap and state tracking for initialized paper.
|
|
50
|
+
|
|
51
|
+
- Creates `.planning/ROADMAP.md` (section breakdown)
|
|
52
|
+
- Creates `.planning/STATE.md` (writing memory)
|
|
53
|
+
- Creates `.planning/sections/` directories
|
|
54
|
+
- Establishes word budget per section
|
|
55
|
+
|
|
56
|
+
Usage: `/wtfp:create-outline`
|
|
57
|
+
|
|
58
|
+
**`/wtfp:map-project`**
|
|
59
|
+
Map existing source materials for brownfield writing projects.
|
|
60
|
+
|
|
61
|
+
- Indexes existing literature, data, and prior drafts
|
|
62
|
+
- Creates `.planning/sources/` with organized references
|
|
63
|
+
- Covers: literature.md, data.md, prior-drafts.md
|
|
64
|
+
- Use before `/wtfp:new-paper` on existing writing projects
|
|
65
|
+
|
|
66
|
+
Usage: `/wtfp:map-project`
|
|
67
|
+
|
|
68
|
+
### Section Planning
|
|
69
|
+
|
|
70
|
+
**`/wtfp:discuss-section <number>`**
|
|
71
|
+
Help articulate your vision for a section before planning.
|
|
72
|
+
|
|
73
|
+
- Captures how you imagine this section working
|
|
74
|
+
- Creates CONTEXT.md with your vision, essentials, and boundaries
|
|
75
|
+
- Use when you have ideas about how something should read/feel
|
|
76
|
+
|
|
77
|
+
Usage: `/wtfp:discuss-section 2`
|
|
78
|
+
|
|
79
|
+
**`/wtfp:research-gap <number>`**
|
|
80
|
+
Comprehensive literature/domain research for a section.
|
|
81
|
+
|
|
82
|
+
- Discovers standard approaches, key citations, gaps
|
|
83
|
+
- Creates RESEARCH.md with "how experts write this" knowledge
|
|
84
|
+
- Use for literature reviews, methodology justification, etc.
|
|
85
|
+
|
|
86
|
+
Usage: `/wtfp:research-gap 3`
|
|
87
|
+
|
|
88
|
+
**`/wtfp:list-assumptions <number>`**
|
|
89
|
+
See what Claude is planning to write before it starts.
|
|
90
|
+
|
|
91
|
+
- Shows Claude's intended approach for a section
|
|
92
|
+
- Lets you course-correct if Claude misunderstood your vision
|
|
93
|
+
- No files created - conversational output only
|
|
94
|
+
|
|
95
|
+
Usage: `/wtfp:list-assumptions 3`
|
|
96
|
+
|
|
97
|
+
**`/wtfp:plan-section <number>`**
|
|
98
|
+
Create detailed writing plan for a specific section.
|
|
99
|
+
|
|
100
|
+
- Generates `.planning/sections/XX-section-name/XX-YY-PLAN.md`
|
|
101
|
+
- Breaks section into concrete writing tasks
|
|
102
|
+
- Includes verification criteria and word targets
|
|
103
|
+
- Multiple plans per section supported (XX-01, XX-02, etc.)
|
|
104
|
+
|
|
105
|
+
Usage: `/wtfp:plan-section 1`
|
|
106
|
+
Result: Creates `.planning/sections/01-introduction/01-01-PLAN.md`
|
|
107
|
+
|
|
108
|
+
### Writing Execution
|
|
109
|
+
|
|
110
|
+
**`/wtfp:write-section <path>`**
|
|
111
|
+
Execute a PLAN.md file directly.
|
|
112
|
+
|
|
113
|
+
- Writes section content following the plan
|
|
114
|
+
- Creates SUMMARY.md after completion
|
|
115
|
+
- Updates STATE.md with word counts and progress
|
|
116
|
+
- Supports three modes: Co-Author, Scaffold, Reviewer
|
|
117
|
+
|
|
118
|
+
Usage: `/wtfp:write-section .planning/sections/01-introduction/01-01-PLAN.md`
|
|
119
|
+
|
|
120
|
+
### Outline Management
|
|
121
|
+
|
|
122
|
+
**`/wtfp:add-section <description>`**
|
|
123
|
+
Add new section to end of current structure.
|
|
124
|
+
|
|
125
|
+
- Appends to ROADMAP.md
|
|
126
|
+
- Uses next sequential number
|
|
127
|
+
- Updates section directory structure
|
|
128
|
+
|
|
129
|
+
Usage: `/wtfp:add-section "Add limitations subsection"`
|
|
130
|
+
|
|
131
|
+
**`/wtfp:insert-section <after> <description>`**
|
|
132
|
+
Insert urgent section between existing sections.
|
|
133
|
+
|
|
134
|
+
- Creates intermediate section (e.g., 3.1 between 3 and 4)
|
|
135
|
+
- Useful for discovered gaps that must be addressed
|
|
136
|
+
- Maintains section ordering
|
|
137
|
+
|
|
138
|
+
Usage: `/wtfp:insert-section 3 "Add methodology detail"`
|
|
139
|
+
Result: Creates Section 3.1
|
|
140
|
+
|
|
141
|
+
**`/wtfp:remove-section <number>`**
|
|
142
|
+
Remove a future section and renumber subsequent sections.
|
|
143
|
+
|
|
144
|
+
- Deletes section directory and all references
|
|
145
|
+
- Renumbers all subsequent sections to close the gap
|
|
146
|
+
- Only works on future (unwritten) sections
|
|
147
|
+
- Git commit preserves historical record
|
|
148
|
+
|
|
149
|
+
Usage: `/wtfp:remove-section 7`
|
|
150
|
+
|
|
151
|
+
### Review & Revision
|
|
152
|
+
|
|
153
|
+
**`/wtfp:review-section [number]`**
|
|
154
|
+
User acceptance testing of written sections.
|
|
155
|
+
|
|
156
|
+
- Runs 3-layer verification (Citation, Coherence, Rubric)
|
|
157
|
+
- Identifies issues needing revision
|
|
158
|
+
- Creates ISSUES.md if problems found
|
|
159
|
+
|
|
160
|
+
Usage: `/wtfp:review-section 2`
|
|
161
|
+
|
|
162
|
+
**`/wtfp:plan-revision <plan>`**
|
|
163
|
+
Create fix plan from review issues.
|
|
164
|
+
|
|
165
|
+
- Reads ISSUES.md for the section
|
|
166
|
+
- Creates targeted revision plan
|
|
167
|
+
- Addresses specific reviewer/verification comments
|
|
168
|
+
|
|
169
|
+
Usage: `/wtfp:plan-revision 02-01`
|
|
170
|
+
|
|
171
|
+
### Progress Tracking
|
|
172
|
+
|
|
173
|
+
**`/wtfp:progress`**
|
|
174
|
+
Check writing status and intelligently route to next action.
|
|
175
|
+
|
|
176
|
+
- Shows visual progress bar and word count
|
|
177
|
+
- Summarizes recent work from SUMMARY files
|
|
178
|
+
- Displays current position and what's next
|
|
179
|
+
- Offers to execute next plan or create it if missing
|
|
180
|
+
|
|
181
|
+
Usage: `/wtfp:progress`
|
|
182
|
+
|
|
183
|
+
### Session Management
|
|
184
|
+
|
|
185
|
+
**`/wtfp:resume-writing`**
|
|
186
|
+
Resume work from previous session with full context restoration.
|
|
187
|
+
|
|
188
|
+
- Reads STATE.md for writing context
|
|
189
|
+
- Shows current position and recent progress
|
|
190
|
+
- Offers next actions based on project state
|
|
191
|
+
|
|
192
|
+
Usage: `/wtfp:resume-writing`
|
|
193
|
+
|
|
194
|
+
**`/wtfp:pause-writing`**
|
|
195
|
+
Create context handoff when pausing work mid-section.
|
|
196
|
+
|
|
197
|
+
- Creates .continue-here file with current state
|
|
198
|
+
- Updates STATE.md session continuity section
|
|
199
|
+
- Captures in-progress work context
|
|
200
|
+
|
|
201
|
+
Usage: `/wtfp:pause-writing`
|
|
202
|
+
|
|
203
|
+
### Export & Submission
|
|
204
|
+
|
|
205
|
+
**`/wtfp:export-latex`**
|
|
206
|
+
Export paper to LaTeX format.
|
|
207
|
+
|
|
208
|
+
- Generates .tex file from markdown sections
|
|
209
|
+
- Creates references.bib from literature index
|
|
210
|
+
- Applies journal/conference template
|
|
211
|
+
- Outputs to paper/ directory
|
|
212
|
+
|
|
213
|
+
Usage: `/wtfp:export-latex`
|
|
214
|
+
|
|
215
|
+
**`/wtfp:submit-milestone <version>`**
|
|
216
|
+
Archive completed submission round.
|
|
217
|
+
|
|
218
|
+
- Creates MILESTONES.md entry with stats
|
|
219
|
+
- Archives full details to milestones/ directory
|
|
220
|
+
- Prepares workspace for revision round
|
|
221
|
+
|
|
222
|
+
Usage: `/wtfp:submit-milestone "initial-submission"`
|
|
223
|
+
|
|
224
|
+
### Issue Management
|
|
225
|
+
|
|
226
|
+
**`/wtfp:consider-gaps`**
|
|
227
|
+
Review deferred issues and gaps.
|
|
228
|
+
|
|
229
|
+
- Analyzes all open issues against current draft
|
|
230
|
+
- Identifies resolved issues (can close)
|
|
231
|
+
- Identifies urgent gaps (should address now)
|
|
232
|
+
- Identifies natural fits for upcoming sections
|
|
233
|
+
|
|
234
|
+
Usage: `/wtfp:consider-gaps`
|
|
235
|
+
|
|
236
|
+
### Utility Commands
|
|
237
|
+
|
|
238
|
+
**`/wtfp:help`**
|
|
239
|
+
Show this command reference.
|
|
240
|
+
|
|
241
|
+
## Files & Structure
|
|
242
|
+
|
|
243
|
+
```
|
|
244
|
+
.planning/
|
|
245
|
+
├── PROJECT.md # Paper vision
|
|
246
|
+
├── ROADMAP.md # Section breakdown
|
|
247
|
+
├── STATE.md # Writing memory & progress
|
|
248
|
+
├── ISSUES.md # Deferred enhancements
|
|
249
|
+
├── config.json # Workflow mode & settings
|
|
250
|
+
├── structure/ # Document structure
|
|
251
|
+
│ ├── argument-map.md # Claim → Evidence → Conclusion
|
|
252
|
+
│ ├── outline.md # Section skeleton
|
|
253
|
+
│ └── narrative-arc.md # Story structure
|
|
254
|
+
├── sources/ # Source materials
|
|
255
|
+
│ ├── literature.md # Bibliography index
|
|
256
|
+
│ ├── data.md # Figures, tables, evidence
|
|
257
|
+
│ └── prior-drafts.md # Existing material to incorporate
|
|
258
|
+
├── grant/ # Grant-specific (if applicable)
|
|
259
|
+
│ ├── specific-aims.md # Goal hierarchy
|
|
260
|
+
│ ├── budget.md # Budget structure
|
|
261
|
+
│ └── reviewer-framing.md # Why fund this
|
|
262
|
+
└── sections/
|
|
263
|
+
├── 01-introduction/
|
|
264
|
+
│ ├── 01-01-PLAN.md
|
|
265
|
+
│ └── 01-01-SUMMARY.md
|
|
266
|
+
└── 02-methods/
|
|
267
|
+
├── 02-01-PLAN.md
|
|
268
|
+
└── 02-01-SUMMARY.md
|
|
269
|
+
|
|
270
|
+
paper/ # Output files
|
|
271
|
+
├── paper.tex # LaTeX output
|
|
272
|
+
├── paper.md # Markdown output
|
|
273
|
+
├── references.bib # Bibliography
|
|
274
|
+
└── figures/ # Figure files
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
## Writing Modes
|
|
278
|
+
|
|
279
|
+
Claude adapts its role per section:
|
|
280
|
+
|
|
281
|
+
**Co-Author Mode**
|
|
282
|
+
- Claude drafts, you refine
|
|
283
|
+
- Best for: Initial drafts, methods, boilerplate
|
|
284
|
+
|
|
285
|
+
**Scaffold Mode**
|
|
286
|
+
- Claude outlines, you write
|
|
287
|
+
- Best for: Arguments, results interpretation
|
|
288
|
+
|
|
289
|
+
**Reviewer Mode**
|
|
290
|
+
- You write, Claude critiques
|
|
291
|
+
- Best for: Abstract, discussion, conclusions
|
|
292
|
+
|
|
293
|
+
## Verification Layers
|
|
294
|
+
|
|
295
|
+
**1. Citation Check (Mechanical)**
|
|
296
|
+
- All claims have citations
|
|
297
|
+
- Citations formatted correctly
|
|
298
|
+
- No broken references
|
|
299
|
+
|
|
300
|
+
**2. Argument Coherence (Logical)**
|
|
301
|
+
- Claims follow from evidence
|
|
302
|
+
- No logical contradictions
|
|
303
|
+
- Flow between paragraphs
|
|
304
|
+
|
|
305
|
+
**3. Rubric Check (Requirements)**
|
|
306
|
+
- All required sections present
|
|
307
|
+
- Word/page limits met
|
|
308
|
+
- Formatting requirements met
|
|
309
|
+
|
|
310
|
+
## Common Workflows
|
|
311
|
+
|
|
312
|
+
**Starting a new paper:**
|
|
313
|
+
|
|
314
|
+
```
|
|
315
|
+
/wtfp:new-paper
|
|
316
|
+
/wtfp:create-outline
|
|
317
|
+
/wtfp:plan-section 1
|
|
318
|
+
/wtfp:write-section .planning/sections/01-introduction/01-01-PLAN.md
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
**Resuming work after a break:**
|
|
322
|
+
|
|
323
|
+
```
|
|
324
|
+
/wtfp:progress # See where you left off and continue
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
**Handling reviewer comments:**
|
|
328
|
+
|
|
329
|
+
```
|
|
330
|
+
/wtfp:import-reviews # Import reviewer comments
|
|
331
|
+
/wtfp:plan-revision # Plan fixes
|
|
332
|
+
/wtfp:write-section # Execute revisions
|
|
333
|
+
/wtfp:respond-reviews # Generate response doc
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
## Getting Help
|
|
337
|
+
|
|
338
|
+
- Read `.planning/PROJECT.md` for paper vision
|
|
339
|
+
- Read `.planning/STATE.md` for current context
|
|
340
|
+
- Check `.planning/ROADMAP.md` for section status
|
|
341
|
+
- Run `/wtfp:progress` to check where you're at
|
|
342
|
+
</reference>
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wtfp:insert-section
|
|
3
|
+
description: Insert urgent section between existing sections
|
|
4
|
+
argument-hint: "<after> <description>"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Write
|
|
9
|
+
- AskUserQuestion
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
<objective>
|
|
13
|
+
Insert a new section between existing sections as a decimal phase.
|
|
14
|
+
|
|
15
|
+
Creates intermediate section (e.g., 3.1 between sections 3 and 4).
|
|
16
|
+
|
|
17
|
+
Useful for discovered gaps that must be addressed mid-draft.
|
|
18
|
+
|
|
19
|
+
Maintains section ordering without renumbering.
|
|
20
|
+
</objective>
|
|
21
|
+
|
|
22
|
+
<process>
|
|
23
|
+
|
|
24
|
+
<step name="parse">
|
|
25
|
+
**Parse arguments:**
|
|
26
|
+
|
|
27
|
+
Expect: `<after> <description>`
|
|
28
|
+
- after: Section number to insert after (e.g., 3)
|
|
29
|
+
- description: Brief description of new section
|
|
30
|
+
|
|
31
|
+
Example: `/wtfp:insert-section 3 "Add methodology validation subsection"`
|
|
32
|
+
</step>
|
|
33
|
+
|
|
34
|
+
<step name="verify">
|
|
35
|
+
**Verify project exists:**
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
[ ! -f .planning/ROADMAP.md ] && echo "ERROR: No roadmap found. Run /wtfp:create-outline first" && exit 1
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Check that "after" section exists in ROADMAP.md.
|
|
42
|
+
</step>
|
|
43
|
+
|
|
44
|
+
<step name="determine_number">
|
|
45
|
+
**Determine new section number:**
|
|
46
|
+
|
|
47
|
+
Check for existing decimal sections after the target:
|
|
48
|
+
- If 3.1 doesn't exist → new section is 3.1
|
|
49
|
+
- If 3.1 exists but 3.2 doesn't → new section is 3.2
|
|
50
|
+
- Continue until finding available slot
|
|
51
|
+
</step>
|
|
52
|
+
|
|
53
|
+
<step name="confirm">
|
|
54
|
+
**Confirm with user:**
|
|
55
|
+
|
|
56
|
+
Use AskUserQuestion:
|
|
57
|
+
- header: "Insert Section"
|
|
58
|
+
- question: "Insert Section [X.Y]: [description] after Section [X]?"
|
|
59
|
+
- options:
|
|
60
|
+
- "Yes, create it" — Insert the section
|
|
61
|
+
- "Different position" — Let me specify another location
|
|
62
|
+
- "Cancel" — Don't insert
|
|
63
|
+
|
|
64
|
+
</step>
|
|
65
|
+
|
|
66
|
+
<step name="create">
|
|
67
|
+
**Create section:**
|
|
68
|
+
|
|
69
|
+
1. Create directory:
|
|
70
|
+
```bash
|
|
71
|
+
mkdir -p ".planning/sections/[XX.Y]-[section-name-slug]"
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
2. Update ROADMAP.md:
|
|
75
|
+
- Insert new section entry after section [X]
|
|
76
|
+
- Include goal, word target, status
|
|
77
|
+
|
|
78
|
+
3. Update STATE.md if needed.
|
|
79
|
+
|
|
80
|
+
</step>
|
|
81
|
+
|
|
82
|
+
<step name="commit">
|
|
83
|
+
```bash
|
|
84
|
+
git add .planning/ROADMAP.md .planning/sections/
|
|
85
|
+
git commit -m "$(cat <<'EOF'
|
|
86
|
+
docs: insert Section [X.Y] - [name]
|
|
87
|
+
|
|
88
|
+
[Description]
|
|
89
|
+
|
|
90
|
+
Inserted between Section [X] and Section [X+1]
|
|
91
|
+
EOF
|
|
92
|
+
)"
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
</step>
|
|
96
|
+
|
|
97
|
+
<step name="done">
|
|
98
|
+
**Present completion:**
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
Section inserted:
|
|
102
|
+
|
|
103
|
+
- Section [X.Y]: [Name]
|
|
104
|
+
- Directory: .planning/sections/[XX.Y]-[name]/
|
|
105
|
+
- ROADMAP.md updated
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
## ▶ Next Up
|
|
110
|
+
|
|
111
|
+
**Plan new section** — create writing plan
|
|
112
|
+
|
|
113
|
+
`/wtfp:plan-section [X.Y]`
|
|
114
|
+
|
|
115
|
+
<sub>`/clear` first → fresh context window</sub>
|
|
116
|
+
|
|
117
|
+
---
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
</step>
|
|
121
|
+
|
|
122
|
+
</process>
|
|
123
|
+
|
|
124
|
+
<success_criteria>
|
|
125
|
+
- [ ] New section number determined (no conflicts)
|
|
126
|
+
- [ ] Directory created
|
|
127
|
+
- [ ] ROADMAP.md updated with new section
|
|
128
|
+
- [ ] Ordering preserved
|
|
129
|
+
- [ ] Committed to git
|
|
130
|
+
</success_criteria>
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wtfp:list-assumptions
|
|
3
|
+
description: See what Claude is planning to write before it starts
|
|
4
|
+
argument-hint: "[section]"
|
|
5
|
+
allowed-tools:
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Show Claude's intended approach for a section before planning begins.
|
|
12
|
+
|
|
13
|
+
Lets you course-correct if Claude misunderstood your vision.
|
|
14
|
+
|
|
15
|
+
No files created - conversational output only.
|
|
16
|
+
</objective>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
|
|
20
|
+
<step name="verify">
|
|
21
|
+
**Verify project exists:**
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
[ ! -f .planning/PROJECT.md ] && echo "ERROR: No project found. Run /wtfp:new-paper first" && exit 1
|
|
25
|
+
[ ! -f .planning/ROADMAP.md ] && echo "ERROR: No outline found. Run /wtfp:create-outline first" && exit 1
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
</step>
|
|
29
|
+
|
|
30
|
+
<step name="load">
|
|
31
|
+
**Load all relevant context:**
|
|
32
|
+
|
|
33
|
+
- Read PROJECT.md for paper vision
|
|
34
|
+
- Read ROADMAP.md for section goal
|
|
35
|
+
- Read argument-map.md for relevant claims
|
|
36
|
+
- Read outline.md for structure expectations
|
|
37
|
+
- Read narrative-arc.md for story context
|
|
38
|
+
- Read any prior SUMMARY.md files
|
|
39
|
+
- Check for CONTEXT.md or RESEARCH.md in section directory
|
|
40
|
+
</step>
|
|
41
|
+
|
|
42
|
+
<step name="present">
|
|
43
|
+
**Present assumptions in 5 areas:**
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
# Assumptions for Section [N]: [Name]
|
|
47
|
+
|
|
48
|
+
## 1. Content Approach
|
|
49
|
+
Based on the section goal and argument map, I plan to:
|
|
50
|
+
- [Main point 1]
|
|
51
|
+
- [Main point 2]
|
|
52
|
+
- [Main point 3]
|
|
53
|
+
|
|
54
|
+
Key claims I'll develop:
|
|
55
|
+
- [Claim from argument-map]
|
|
56
|
+
- [Claim from argument-map]
|
|
57
|
+
|
|
58
|
+
## 2. Structure
|
|
59
|
+
I'm planning to organize this section as:
|
|
60
|
+
1. [Opening approach]
|
|
61
|
+
2. [Body structure]
|
|
62
|
+
3. [Closing approach]
|
|
63
|
+
|
|
64
|
+
Word allocation:
|
|
65
|
+
- [Part 1]: ~[X] words
|
|
66
|
+
- [Part 2]: ~[Y] words
|
|
67
|
+
- [Part 3]: ~[Z] words
|
|
68
|
+
|
|
69
|
+
## 3. Writing Mode
|
|
70
|
+
Based on the section type, I recommend:
|
|
71
|
+
- Mode: [Co-Author/Scaffold/Reviewer]
|
|
72
|
+
- Reason: [Why this mode fits]
|
|
73
|
+
|
|
74
|
+
## 4. Dependencies
|
|
75
|
+
This section relies on:
|
|
76
|
+
- Prior sections: [What must be established first]
|
|
77
|
+
- Citations needed: [Key references]
|
|
78
|
+
- Evidence: [Data/figures to reference]
|
|
79
|
+
|
|
80
|
+
This section sets up:
|
|
81
|
+
- Following sections: [What this enables]
|
|
82
|
+
|
|
83
|
+
## 5. Potential Challenges
|
|
84
|
+
I anticipate:
|
|
85
|
+
- [Challenge 1]: [How I'd address it]
|
|
86
|
+
- [Challenge 2]: [How I'd address it]
|
|
87
|
+
|
|
88
|
+
## Questions for You
|
|
89
|
+
- [Any clarifications needed]
|
|
90
|
+
- [Decisions that need your input]
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
**Does this match your vision?**
|
|
95
|
+
- If yes: Run `/wtfp:plan-section [section]`
|
|
96
|
+
- If concerns: Tell me what to adjust
|
|
97
|
+
- If major changes: Run `/wtfp:discuss-section [section]`
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
</step>
|
|
101
|
+
|
|
102
|
+
</process>
|
|
103
|
+
|
|
104
|
+
<success_criteria>
|
|
105
|
+
- [ ] All 5 assumption areas covered
|
|
106
|
+
- [ ] Based on actual project context
|
|
107
|
+
- [ ] Clear path to course-correct
|
|
108
|
+
- [ ] No files created (conversational only)
|
|
109
|
+
</success_criteria>
|