wtf-p 0.3.0 → 0.5.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/README.md +146 -208
- package/bin/commands/doctor.js +88 -2
- package/bin/commands/install-logic.js +127 -36
- package/bin/commands/status.js +22 -4
- package/bin/commands/update.js +5 -4
- package/bin/install.js +66 -26
- package/bin/lib/analyze-impact.js +105 -0
- package/bin/lib/bib-format.js +161 -0
- package/bin/lib/bib-index.js +104 -0
- package/bin/lib/checkpoint.js +183 -0
- package/bin/lib/citation-fetcher.js +299 -0
- package/bin/lib/citation-ranker.js +133 -0
- package/bin/lib/context-primer.js +214 -0
- package/bin/lib/manifest.js +80 -2
- package/bin/lib/scholar-lookup.js +188 -0
- package/bin/lib/semantic-scholar.js +184 -0
- package/bin/lib/utils.js +22 -1
- package/bin/uninstall.js +270 -111
- package/core/write-the-f-paper/references/agent-model-matrix.md +62 -0
- package/core/write-the-f-paper/references/checkpoints.md +160 -9
- package/core/write-the-f-paper/references/context-fidelity.md +153 -0
- package/core/write-the-f-paper/references/deviation-rules.md +150 -0
- package/core/write-the-f-paper/references/git-integration.md +80 -0
- package/core/write-the-f-paper/references/orchestrator-pattern.md +167 -0
- package/core/write-the-f-paper/references/planning-config.md +135 -0
- package/core/write-the-f-paper/references/ui-brand.md +186 -0
- package/core/write-the-f-paper/templates/UAT.md +80 -0
- package/core/write-the-f-paper/templates/base-prefs.yaml +42 -0
- package/core/write-the-f-paper/templates/config.json +31 -5
- package/core/write-the-f-paper/workflows/create-outline.wcn.md +1 -1
- package/core/write-the-f-paper/workflows/execute-outline.md +163 -0
- package/core/write-the-f-paper/workflows/execute-outline.wcn.md +73 -0
- package/core/write-the-f-paper/workflows/execute-section.wcn.md +141 -169
- package/core/write-the-f-paper/workflows/plan-section.wcn.md +96 -103
- package/core/write-the-f-paper/workflows/research-gap.md +27 -3
- package/core/write-the-f-paper/workflows/research-gap.wcn.md +18 -1
- package/core/write-the-f-paper/workflows/verify-work.md +251 -0
- package/core/write-the-f-paper/workflows/verify-work.wcn.md +74 -0
- package/package.json +19 -7
- package/vendors/claude/.claude-plugin/plugin.json +2 -2
- package/vendors/claude/agents/wtfp/argument-verifier.md +189 -0
- package/vendors/claude/agents/wtfp/citation-expert.md +45 -0
- package/vendors/claude/agents/wtfp/citation-formatter.md +42 -0
- package/vendors/claude/agents/wtfp/coherence-checker.md +167 -0
- package/vendors/claude/agents/wtfp/outliner.md +259 -0
- package/vendors/claude/agents/wtfp/plan-checker.md +249 -0
- package/vendors/claude/agents/wtfp/prose-polisher.md +166 -0
- package/vendors/claude/agents/wtfp/research-synthesizer.md +215 -0
- package/vendors/claude/agents/wtfp/section-planner.md +364 -0
- package/vendors/claude/agents/wtfp/section-reviewer.md +182 -0
- package/vendors/claude/agents/wtfp/section-writer.md +312 -0
- package/vendors/claude/commands/wtfp/add-todo.md +108 -0
- package/vendors/claude/commands/wtfp/analyze-bib.md +60 -249
- package/vendors/claude/commands/wtfp/audit-milestone.md +286 -0
- package/vendors/claude/commands/wtfp/check-refs.md +60 -131
- package/vendors/claude/commands/wtfp/check-todos.md +152 -0
- package/vendors/claude/commands/wtfp/checkpoint.md +105 -0
- package/vendors/claude/commands/wtfp/contribute.md +1 -1
- package/vendors/claude/commands/wtfp/create-outline.md +109 -195
- package/vendors/claude/commands/wtfp/create-poster.md +1 -1
- package/vendors/claude/commands/wtfp/create-slides.md +1 -1
- package/vendors/claude/commands/wtfp/discuss-section.md +1 -1
- package/vendors/claude/commands/wtfp/execute-outline.md +257 -0
- package/vendors/claude/commands/wtfp/export-latex.md +1 -1
- package/vendors/claude/commands/wtfp/help.md +174 -280
- package/vendors/claude/commands/wtfp/insert-section.md +1 -1
- package/vendors/claude/commands/wtfp/list-assumptions.md +1 -1
- package/vendors/claude/commands/wtfp/map-project.md +35 -124
- package/vendors/claude/commands/wtfp/new-paper.md +88 -362
- package/vendors/claude/commands/wtfp/pause-writing.md +1 -1
- package/vendors/claude/commands/wtfp/plan-milestone-gaps.md +255 -0
- package/vendors/claude/commands/wtfp/plan-revision.md +1 -1
- package/vendors/claude/commands/wtfp/plan-section.md +165 -190
- package/vendors/claude/commands/wtfp/polish-prose.md +66 -118
- package/vendors/claude/commands/wtfp/progress.md +82 -254
- package/vendors/claude/commands/wtfp/quick.md +107 -0
- package/vendors/claude/commands/wtfp/remove-section.md +1 -1
- package/vendors/claude/commands/wtfp/report-bug.md +1 -1
- package/vendors/claude/commands/wtfp/request-feature.md +1 -1
- package/vendors/claude/commands/wtfp/research-gap.md +138 -151
- package/vendors/claude/commands/wtfp/resume-writing.md +1 -1
- package/vendors/claude/commands/wtfp/review-section.md +55 -333
- package/vendors/claude/commands/wtfp/settings.md +197 -0
- package/vendors/claude/commands/wtfp/submit-milestone.md +248 -99
- package/vendors/claude/commands/wtfp/update.md +112 -0
- package/vendors/claude/commands/wtfp/verify-work.md +254 -0
- package/vendors/claude/commands/wtfp/write-section.md +144 -180
- package/vendors/claude/mcp/research-server/package.json +13 -0
- package/vendors/claude/mcp/research-server/src/index.js +133 -0
- package/vendors/gemini/agents/wtfp/argument-verifier.md +184 -0
- package/vendors/gemini/agents/wtfp/citation-expert.md +41 -0
- package/vendors/gemini/agents/wtfp/citation-formatter.md +38 -0
- package/vendors/gemini/agents/wtfp/coherence-checker.md +162 -0
- package/vendors/gemini/agents/wtfp/outliner.md +252 -0
- package/vendors/gemini/agents/wtfp/plan-checker.md +244 -0
- package/vendors/gemini/agents/wtfp/prose-polisher.md +158 -0
- package/vendors/gemini/agents/wtfp/research-synthesizer.md +205 -0
- package/vendors/gemini/agents/wtfp/section-planner.md +355 -0
- package/vendors/gemini/agents/wtfp/section-reviewer.md +175 -0
- package/vendors/gemini/agents/wtfp/section-writer.md +304 -0
- package/vendors/gemini/commands/wtfp/add-todo.toml +102 -0
- package/vendors/gemini/commands/wtfp/analyze-bib.toml +126 -0
- package/vendors/gemini/commands/wtfp/audit-milestone.toml +278 -0
- package/vendors/gemini/commands/wtfp/check-refs.toml +123 -0
- package/vendors/gemini/commands/wtfp/check-todos.toml +145 -0
- package/vendors/gemini/commands/wtfp/checkpoint.toml +96 -0
- package/vendors/gemini/commands/wtfp/contribute.toml +269 -0
- package/vendors/gemini/commands/wtfp/create-outline.toml +180 -0
- package/vendors/gemini/commands/wtfp/create-poster.toml +36 -0
- package/vendors/gemini/commands/wtfp/create-slides.toml +35 -0
- package/vendors/gemini/commands/wtfp/discuss-section.toml +62 -0
- package/vendors/gemini/commands/wtfp/execute-outline.toml +247 -0
- package/vendors/gemini/commands/wtfp/export-latex.toml +209 -0
- package/vendors/gemini/commands/wtfp/help.toml +184 -0
- package/vendors/gemini/commands/wtfp/insert-section.toml +123 -0
- package/vendors/gemini/commands/wtfp/list-assumptions.toml +104 -0
- package/vendors/gemini/commands/wtfp/map-project.toml +99 -0
- package/vendors/gemini/commands/wtfp/new-paper.toml +160 -0
- package/vendors/gemini/commands/wtfp/pause-writing.toml +140 -0
- package/vendors/gemini/commands/wtfp/plan-milestone-gaps.toml +249 -0
- package/vendors/gemini/commands/wtfp/plan-revision.toml +171 -0
- package/vendors/gemini/commands/wtfp/plan-section.toml +212 -0
- package/vendors/gemini/commands/wtfp/polish-prose.toml +114 -0
- package/vendors/gemini/commands/wtfp/progress.toml +145 -0
- package/vendors/gemini/commands/wtfp/quick.toml +96 -0
- package/vendors/gemini/commands/wtfp/remove-section.toml +140 -0
- package/vendors/gemini/commands/wtfp/report-bug.toml +126 -0
- package/vendors/gemini/commands/wtfp/request-feature.toml +155 -0
- package/vendors/gemini/commands/wtfp/research-gap.toml +214 -0
- package/vendors/gemini/commands/wtfp/resume-writing.toml +136 -0
- package/vendors/gemini/commands/wtfp/review-section.toml +121 -0
- package/vendors/gemini/commands/wtfp/settings.toml +191 -0
- package/vendors/gemini/commands/wtfp/submit-milestone.toml +351 -0
- package/vendors/gemini/commands/wtfp/update.toml +107 -0
- package/vendors/gemini/commands/wtfp/verify-work.toml +245 -0
- package/vendors/gemini/commands/wtfp/write-section.toml +228 -0
- package/vendors/opencode/agents/wtfp/argument-verifier.md +184 -0
- package/vendors/opencode/agents/wtfp/citation-expert.md +41 -0
- package/vendors/opencode/agents/wtfp/citation-formatter.md +38 -0
- package/vendors/opencode/agents/wtfp/coherence-checker.md +162 -0
- package/vendors/opencode/agents/wtfp/outliner.md +252 -0
- package/vendors/opencode/agents/wtfp/plan-checker.md +244 -0
- package/vendors/opencode/agents/wtfp/prose-polisher.md +158 -0
- package/vendors/opencode/agents/wtfp/research-synthesizer.md +205 -0
- package/vendors/opencode/agents/wtfp/section-planner.md +355 -0
- package/vendors/opencode/agents/wtfp/section-reviewer.md +175 -0
- package/vendors/opencode/agents/wtfp/section-writer.md +304 -0
- package/vendors/opencode/commands/wtfp/add-todo.md +103 -0
- package/vendors/opencode/commands/wtfp/analyze-bib.md +127 -0
- package/vendors/opencode/commands/wtfp/audit-milestone.md +279 -0
- package/vendors/opencode/commands/wtfp/check-refs.md +124 -0
- package/vendors/opencode/commands/wtfp/check-todos.md +146 -0
- package/vendors/opencode/commands/wtfp/checkpoint.md +97 -0
- package/vendors/opencode/commands/wtfp/contribute.md +266 -0
- package/vendors/opencode/commands/wtfp/create-outline.md +181 -0
- package/vendors/opencode/commands/wtfp/create-poster.md +37 -0
- package/vendors/opencode/commands/wtfp/create-slides.md +36 -0
- package/vendors/opencode/commands/wtfp/discuss-section.md +63 -0
- package/vendors/opencode/commands/wtfp/execute-outline.md +248 -0
- package/vendors/opencode/commands/wtfp/export-latex.md +210 -0
- package/vendors/opencode/commands/wtfp/help.md +185 -0
- package/vendors/opencode/commands/wtfp/insert-section.md +124 -0
- package/vendors/opencode/commands/wtfp/list-assumptions.md +105 -0
- package/vendors/opencode/commands/wtfp/map-project.md +100 -0
- package/vendors/opencode/commands/wtfp/new-paper.md +161 -0
- package/vendors/opencode/commands/wtfp/pause-writing.md +141 -0
- package/vendors/opencode/commands/wtfp/plan-milestone-gaps.md +250 -0
- package/vendors/opencode/commands/wtfp/plan-revision.md +174 -0
- package/vendors/opencode/commands/wtfp/plan-section.md +214 -0
- package/vendors/opencode/commands/wtfp/polish-prose.md +115 -0
- package/vendors/opencode/commands/wtfp/progress.md +146 -0
- package/vendors/opencode/commands/wtfp/quick.md +97 -0
- package/vendors/opencode/commands/wtfp/remove-section.md +141 -0
- package/vendors/opencode/commands/wtfp/report-bug.md +127 -0
- package/vendors/opencode/commands/wtfp/request-feature.md +156 -0
- package/vendors/opencode/commands/wtfp/research-gap.md +215 -0
- package/vendors/opencode/commands/wtfp/resume-writing.md +137 -0
- package/vendors/opencode/commands/wtfp/review-section.md +123 -0
- package/vendors/opencode/commands/wtfp/settings.md +192 -0
- package/vendors/opencode/commands/wtfp/submit-milestone.md +352 -0
- package/vendors/opencode/commands/wtfp/update.md +108 -0
- package/vendors/opencode/commands/wtfp/verify-work.md +246 -0
- package/vendors/opencode/commands/wtfp/write-section.md +228 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: wtfp:help
|
|
3
|
-
description: Show
|
|
3
|
+
description: Show all WTF-P commands and how to use them
|
|
4
4
|
allowed-tools: []
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -19,300 +19,217 @@ Output ONLY the reference content below. Do NOT add:
|
|
|
19
19
|
<reference>
|
|
20
20
|
# WTF-P Command Reference
|
|
21
21
|
|
|
22
|
-
**WTF-P** (Write The F***ing Paper)
|
|
22
|
+
**WTF-P** (Write The F***ing Paper) gives you 36 commands for writing academic papers, proposals, presentations, and posters. You describe your research. WTF-P breaks it into sections you can plan, write, and review one at a time — tracking everything across sessions so you never lose context.
|
|
23
23
|
|
|
24
|
-
##
|
|
24
|
+
## Happy Path
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
2. `/wtfp:create-outline` - Create document outline and sections
|
|
28
|
-
3. `/wtfp:plan-section <number>` - Create detailed plan for a section
|
|
29
|
-
4. `/wtfp:write-section <path>` - Execute the writing plan
|
|
26
|
+
New here? These five commands are the core loop. Run them in order:
|
|
30
27
|
|
|
31
|
-
|
|
28
|
+
| Step | Command | What it does |
|
|
29
|
+
|------|---------|-------------|
|
|
30
|
+
| 1 | `/wtfp:new-paper` | Start a new paper with guided interview and setup |
|
|
31
|
+
| 2 | `/wtfp:create-outline` | Build section outline, argument map, and word budgets |
|
|
32
|
+
| 3 | `/wtfp:plan-section 1` | Create detailed writing plan for a section |
|
|
33
|
+
| 4 | `/wtfp:write-section` | Write a section by executing its plan |
|
|
34
|
+
| 5 | `/wtfp:review-section 1` | Review section for citations, coherence, and requirements |
|
|
32
35
|
|
|
33
|
-
|
|
34
|
-
Initialization -> Outlining -> Planning -> Writing -> Review
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
### Paper Initialization
|
|
38
|
-
|
|
39
|
-
**`/wtfp:new-paper`**
|
|
40
|
-
Initialize new paper project with deep context gathering.
|
|
41
|
-
|
|
42
|
-
- Creates `.planning/PROJECT.md` (paper vision and requirements)
|
|
43
|
-
- Creates `.planning/config.json` (workflow mode)
|
|
44
|
-
- Creates structure docs (argument-map, outline, narrative-arc)
|
|
45
|
-
- Asks about paper type, target venue, core argument
|
|
46
|
-
- Commits initialization files to git
|
|
47
|
-
|
|
48
|
-
Usage: `/wtfp:new-paper`
|
|
49
|
-
|
|
50
|
-
**`/wtfp:create-outline`**
|
|
51
|
-
Create section roadmap and state tracking for initialized paper.
|
|
52
|
-
|
|
53
|
-
- Creates `.planning/ROADMAP.md` (section breakdown)
|
|
54
|
-
- Creates `.planning/STATE.md` (writing memory)
|
|
55
|
-
- Creates `.planning/sections/` directories
|
|
56
|
-
- Establishes word budget per section
|
|
57
|
-
|
|
58
|
-
Usage: `/wtfp:create-outline`
|
|
59
|
-
|
|
60
|
-
**`/wtfp:map-project`**
|
|
61
|
-
Map existing source materials for brownfield writing projects.
|
|
36
|
+
Repeat steps 3-5 for each section. Run `/wtfp:progress` anytime to see where you are and what to do next.
|
|
62
37
|
|
|
63
|
-
|
|
64
|
-
- Creates `.planning/sources/` with organized references
|
|
65
|
-
- Covers: literature.md, data.md, prior-drafts.md
|
|
66
|
-
- Use before `/wtfp:new-paper` on existing writing projects
|
|
38
|
+
## All Commands
|
|
67
39
|
|
|
68
|
-
|
|
40
|
+
### Setup
|
|
69
41
|
|
|
70
|
-
|
|
42
|
+
| Command | Description |
|
|
43
|
+
|---------|-------------|
|
|
44
|
+
| `/wtfp:new-paper` | Start a new paper with guided interview and setup |
|
|
45
|
+
| `/wtfp:create-outline` | Build section outline, argument map, and word budgets |
|
|
46
|
+
| `/wtfp:map-project` | Index existing drafts, data, and references for a project |
|
|
71
47
|
|
|
72
|
-
|
|
73
|
-
|
|
48
|
+
```
|
|
49
|
+
/wtfp:new-paper # Answer questions about your research, get PROJECT.md
|
|
50
|
+
/wtfp:create-outline # Produces ROADMAP.md, argument-map, narrative-arc
|
|
51
|
+
/wtfp:map-project # Got existing files? Index them first, then new-paper
|
|
52
|
+
```
|
|
74
53
|
|
|
75
|
-
|
|
76
|
-
- Creates CONTEXT.md with your vision, essentials, and boundaries
|
|
77
|
-
- Use when you have ideas about how something should read/feel
|
|
54
|
+
### Planning
|
|
78
55
|
|
|
79
|
-
|
|
56
|
+
| Command | Description |
|
|
57
|
+
|---------|-------------|
|
|
58
|
+
| `/wtfp:discuss-section [N]` | Discuss your vision for a section before planning it |
|
|
59
|
+
| `/wtfp:research-gap [N]` | Research literature and domain knowledge for a section |
|
|
60
|
+
| `/wtfp:list-assumptions [N]` | Preview intended approach for a section before writing |
|
|
61
|
+
| `/wtfp:plan-section [N]` | Create detailed writing plan for a section |
|
|
80
62
|
|
|
81
|
-
|
|
82
|
-
|
|
63
|
+
```
|
|
64
|
+
/wtfp:discuss-section 2 # Talk through your vision before committing to a plan
|
|
65
|
+
/wtfp:research-gap 3 # Find key citations and standard approaches
|
|
66
|
+
/wtfp:list-assumptions 3 # See what Claude intends — course-correct early
|
|
67
|
+
/wtfp:plan-section 1 # Creates .planning/sections/01-intro/01-01-PLAN.md
|
|
68
|
+
```
|
|
83
69
|
|
|
84
|
-
|
|
85
|
-
- Creates RESEARCH.md with "how experts write this" knowledge
|
|
86
|
-
- Use for literature reviews, methodology justification, etc.
|
|
70
|
+
### Writing
|
|
87
71
|
|
|
88
|
-
|
|
72
|
+
| Command | Description |
|
|
73
|
+
|---------|-------------|
|
|
74
|
+
| `/wtfp:write-section <path>` | Write a section by executing its plan |
|
|
75
|
+
| `/wtfp:execute-outline` | Write all sections in parallel, then check coherence |
|
|
76
|
+
| `/wtfp:quick <task>` | Run a small writing fix without full planning overhead |
|
|
89
77
|
|
|
90
|
-
|
|
91
|
-
|
|
78
|
+
```
|
|
79
|
+
/wtfp:write-section .planning/sections/01-introduction/01-01-PLAN.md
|
|
80
|
+
/wtfp:execute-outline # Writes all sections by wave, checks coherence after
|
|
81
|
+
/wtfp:quick "add citation for Smith2023 in methods"
|
|
82
|
+
```
|
|
92
83
|
|
|
93
|
-
|
|
94
|
-
- Lets you course-correct if Claude misunderstood your vision
|
|
95
|
-
- No files created - conversational output only
|
|
84
|
+
### Review and Revision
|
|
96
85
|
|
|
97
|
-
|
|
86
|
+
| Command | Description |
|
|
87
|
+
|---------|-------------|
|
|
88
|
+
| `/wtfp:review-section [N]` | Review section for citations, coherence, and requirements |
|
|
89
|
+
| `/wtfp:verify-work [N]` | Test a written section against its plan, one check at a time |
|
|
90
|
+
| `/wtfp:plan-revision [N]` | Create revision plan from review issues |
|
|
91
|
+
| `/wtfp:polish-prose [N]` | Improve clarity, flow, and academic voice in written prose |
|
|
98
92
|
|
|
99
|
-
|
|
100
|
-
|
|
93
|
+
```
|
|
94
|
+
/wtfp:review-section 2 # Runs citation, coherence, and rubric checks
|
|
95
|
+
/wtfp:verify-work 2 # Walk through acceptance tests one at a time
|
|
96
|
+
/wtfp:plan-revision 02-01 # Turn ISSUES.md into a fix plan
|
|
97
|
+
/wtfp:polish-prose 2 # Kill AI-speak, tighten prose, adjust voice
|
|
98
|
+
```
|
|
101
99
|
|
|
102
|
-
|
|
103
|
-
- Breaks section into concrete writing tasks
|
|
104
|
-
- Includes verification criteria and word targets
|
|
105
|
-
- Multiple plans per section supported (XX-01, XX-02, etc.)
|
|
100
|
+
### Citations
|
|
106
101
|
|
|
107
|
-
|
|
108
|
-
|
|
102
|
+
| Command | Description |
|
|
103
|
+
|---------|-------------|
|
|
104
|
+
| `/wtfp:analyze-bib` | Analyze bibliography and map citations to sections |
|
|
105
|
+
| `/wtfp:check-refs` | Audit BibTeX for missing, duplicate, or broken references |
|
|
109
106
|
|
|
110
|
-
|
|
107
|
+
```
|
|
108
|
+
/wtfp:analyze-bib # Deep analysis — maps each reference to sections
|
|
109
|
+
/wtfp:check-refs # Finds missing keys, duplicates, broken entries
|
|
110
|
+
```
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
Execute a PLAN.md file directly.
|
|
112
|
+
### Progress and Sessions
|
|
114
113
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
-
|
|
114
|
+
| Command | Description |
|
|
115
|
+
|---------|-------------|
|
|
116
|
+
| `/wtfp:progress` | Show writing progress and suggest next step |
|
|
117
|
+
| `/wtfp:pause-writing` | Save current progress so you can resume later |
|
|
118
|
+
| `/wtfp:resume-writing` | Resume writing from a previous session |
|
|
119
|
+
| `/wtfp:checkpoint <save/restore/list>` | Save, restore, or list paper state snapshots |
|
|
119
120
|
|
|
120
|
-
|
|
121
|
+
```
|
|
122
|
+
/wtfp:progress # Visual progress bar + intelligent next action
|
|
123
|
+
/wtfp:pause-writing # Creates .continue-here with full context
|
|
124
|
+
/wtfp:resume-writing # Reads STATE.md, shows where you left off
|
|
125
|
+
/wtfp:checkpoint save draft-1 # Git-tagged snapshot you can restore later
|
|
126
|
+
/wtfp:checkpoint list # Show all checkpoints
|
|
127
|
+
```
|
|
121
128
|
|
|
122
129
|
### Outline Management
|
|
123
130
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
-
|
|
128
|
-
- Uses next sequential number
|
|
129
|
-
- Updates section directory structure
|
|
130
|
-
|
|
131
|
-
Usage: `/wtfp:add-section "Add limitations subsection"`
|
|
132
|
-
|
|
133
|
-
**`/wtfp:insert-section <after> <description>`**
|
|
134
|
-
Insert urgent section between existing sections.
|
|
135
|
-
|
|
136
|
-
- Creates intermediate section (e.g., 3.1 between 3 and 4)
|
|
137
|
-
- Useful for discovered gaps that must be addressed
|
|
138
|
-
- Maintains section ordering
|
|
139
|
-
|
|
140
|
-
Usage: `/wtfp:insert-section 3 "Add methodology detail"`
|
|
141
|
-
Result: Creates Section 3.1
|
|
142
|
-
|
|
143
|
-
**`/wtfp:remove-section <number>`**
|
|
144
|
-
Remove a future section and renumber subsequent sections.
|
|
145
|
-
|
|
146
|
-
- Deletes section directory and all references
|
|
147
|
-
- Renumbers all subsequent sections to close the gap
|
|
148
|
-
- Only works on future (unwritten) sections
|
|
149
|
-
- Git commit preserves historical record
|
|
150
|
-
|
|
151
|
-
Usage: `/wtfp:remove-section 7`
|
|
152
|
-
|
|
153
|
-
### Review & Revision
|
|
154
|
-
|
|
155
|
-
**`/wtfp:review-section [number]`**
|
|
156
|
-
User acceptance testing of written sections.
|
|
157
|
-
|
|
158
|
-
- Runs 3-layer verification (Citation, Coherence, Rubric)
|
|
159
|
-
- Identifies issues needing revision
|
|
160
|
-
- Creates ISSUES.md if problems found
|
|
161
|
-
|
|
162
|
-
Usage: `/wtfp:review-section 2`
|
|
163
|
-
|
|
164
|
-
**`/wtfp:plan-revision <plan>`**
|
|
165
|
-
Create fix plan from review issues.
|
|
166
|
-
|
|
167
|
-
- Reads ISSUES.md for the section
|
|
168
|
-
- Creates targeted revision plan
|
|
169
|
-
- Addresses specific reviewer/verification comments
|
|
131
|
+
| Command | Description |
|
|
132
|
+
|---------|-------------|
|
|
133
|
+
| `/wtfp:insert-section <after> <desc>` | Insert a new section between existing sections |
|
|
134
|
+
| `/wtfp:remove-section [N]` | Remove an unwritten section and renumber the rest |
|
|
170
135
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
**`/wtfp:progress`**
|
|
176
|
-
Check writing status and intelligently route to next action.
|
|
177
|
-
|
|
178
|
-
- Shows visual progress bar and word count
|
|
179
|
-
- Summarizes recent work from SUMMARY files
|
|
180
|
-
- Displays current position and what's next
|
|
181
|
-
- Offers to execute next plan or create it if missing
|
|
182
|
-
|
|
183
|
-
Usage: `/wtfp:progress`
|
|
184
|
-
|
|
185
|
-
### Session Management
|
|
186
|
-
|
|
187
|
-
**`/wtfp:resume-writing`**
|
|
188
|
-
Resume work from previous session with full context restoration.
|
|
189
|
-
|
|
190
|
-
- Reads STATE.md for writing context
|
|
191
|
-
- Shows current position and recent progress
|
|
192
|
-
- Offers next actions based on project state
|
|
193
|
-
|
|
194
|
-
Usage: `/wtfp:resume-writing`
|
|
195
|
-
|
|
196
|
-
**`/wtfp:pause-writing`**
|
|
197
|
-
Create context handoff when pausing work mid-section.
|
|
198
|
-
|
|
199
|
-
- Creates .continue-here file with current state
|
|
200
|
-
- Updates STATE.md session continuity section
|
|
201
|
-
- Captures in-progress work context
|
|
136
|
+
```
|
|
137
|
+
/wtfp:insert-section 3 "Add methodology detail" # Creates Section 3.1
|
|
138
|
+
/wtfp:remove-section 7 # Deletes and renumbers
|
|
139
|
+
```
|
|
202
140
|
|
|
203
|
-
|
|
141
|
+
### Export and Submission
|
|
204
142
|
|
|
205
|
-
|
|
143
|
+
| Command | Description |
|
|
144
|
+
|---------|-------------|
|
|
145
|
+
| `/wtfp:export-latex` | Export paper to LaTeX with bibliography and formatting |
|
|
146
|
+
| `/wtfp:audit-milestone` | Run pre-submission checks on sections, citations, and word counts |
|
|
147
|
+
| `/wtfp:plan-milestone-gaps` | Create fix plans for gaps found by audit-milestone |
|
|
148
|
+
| `/wtfp:submit-milestone <version>` | Archive a completed draft or submission version |
|
|
206
149
|
|
|
207
|
-
|
|
208
|
-
|
|
150
|
+
```
|
|
151
|
+
/wtfp:export-latex # Generates .tex + references.bib in paper/
|
|
152
|
+
/wtfp:audit-milestone # 5-check pre-submission audit → MILESTONE-AUDIT.md
|
|
153
|
+
/wtfp:plan-milestone-gaps # Reads audit, creates fix plans for each gap
|
|
154
|
+
/wtfp:submit-milestone "initial-submission" # Archives to milestones/
|
|
155
|
+
```
|
|
209
156
|
|
|
210
|
-
|
|
211
|
-
- Creates references.bib from literature index
|
|
212
|
-
- Applies journal/conference template
|
|
213
|
-
- Outputs to paper/ directory
|
|
157
|
+
### Presentations and Posters
|
|
214
158
|
|
|
215
|
-
|
|
159
|
+
| Command | Description |
|
|
160
|
+
|---------|-------------|
|
|
161
|
+
| `/wtfp:create-slides` | Generate presentation slides from paper content |
|
|
162
|
+
| `/wtfp:create-poster` | Generate academic poster from paper content |
|
|
216
163
|
|
|
217
|
-
|
|
218
|
-
|
|
164
|
+
```
|
|
165
|
+
/wtfp:create-slides # Marp-based markdown slides from your paper
|
|
166
|
+
/wtfp:create-poster # Academic poster layout from key sections
|
|
167
|
+
```
|
|
219
168
|
|
|
220
|
-
|
|
221
|
-
- Archives full details to milestones/ directory
|
|
222
|
-
- Prepares workspace for revision round
|
|
169
|
+
### Todos
|
|
223
170
|
|
|
224
|
-
|
|
171
|
+
| Command | Description |
|
|
172
|
+
|---------|-------------|
|
|
173
|
+
| `/wtfp:add-todo <description>` | Capture a quick note or task without breaking your flow |
|
|
174
|
+
| `/wtfp:check-todos` | Review pending todos and act on, defer, or dismiss each |
|
|
225
175
|
|
|
226
|
-
|
|
176
|
+
```
|
|
177
|
+
/wtfp:add-todo "Check whether Smith2024 contradicts our methodology claim"
|
|
178
|
+
/wtfp:check-todos # Walk through each — act, defer, dismiss, or done
|
|
179
|
+
```
|
|
227
180
|
|
|
228
|
-
|
|
229
|
-
Review deferred issues and gaps.
|
|
181
|
+
### Settings and Utilities
|
|
230
182
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
183
|
+
| Command | Description |
|
|
184
|
+
|---------|-------------|
|
|
185
|
+
| `/wtfp:settings` | View and edit project settings interactively |
|
|
186
|
+
| `/wtfp:update` | Check for updates and install newer version |
|
|
187
|
+
| `/wtfp:help` | Show all WTF-P commands and how to use them |
|
|
235
188
|
|
|
236
|
-
|
|
189
|
+
### Contributing
|
|
237
190
|
|
|
238
|
-
|
|
191
|
+
| Command | Description |
|
|
192
|
+
|---------|-------------|
|
|
193
|
+
| `/wtfp:report-bug` | Report a bug via GitHub issue |
|
|
194
|
+
| `/wtfp:request-feature` | Request a new feature via GitHub issue |
|
|
195
|
+
| `/wtfp:contribute` | Walk through contributing code to WTF-P via pull request |
|
|
239
196
|
|
|
240
|
-
|
|
241
|
-
Show this command reference.
|
|
197
|
+
## Files and Structure
|
|
242
198
|
|
|
243
|
-
|
|
199
|
+
WTF-P creates a `.planning/` directory in your project:
|
|
244
200
|
|
|
245
201
|
```
|
|
246
202
|
.planning/
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
paper/ # Output files
|
|
273
|
-
├── paper.tex # LaTeX output
|
|
274
|
-
├── paper.md # Markdown output
|
|
275
|
-
├── references.bib # Bibliography
|
|
276
|
-
└── figures/ # Figure files
|
|
203
|
+
PROJECT.md Paper vision and requirements
|
|
204
|
+
ROADMAP.md Section breakdown with status
|
|
205
|
+
STATE.md Writing progress and session context
|
|
206
|
+
config.json Project settings
|
|
207
|
+
structure/
|
|
208
|
+
argument-map.md Claims mapped to evidence and sections
|
|
209
|
+
outline.md Section structure and word budgets
|
|
210
|
+
narrative-arc.md Story flow across sections
|
|
211
|
+
sources/
|
|
212
|
+
literature.md Bibliography index
|
|
213
|
+
data.md Figures, tables, evidence
|
|
214
|
+
prior-drafts.md Existing material to incorporate
|
|
215
|
+
sections/
|
|
216
|
+
01-introduction/
|
|
217
|
+
01-01-PLAN.md Writing plan
|
|
218
|
+
01-01-SUMMARY.md Completion record
|
|
219
|
+
02-methods/
|
|
220
|
+
02-01-PLAN.md
|
|
221
|
+
02-01-SUMMARY.md
|
|
222
|
+
|
|
223
|
+
paper/ Written output
|
|
224
|
+
paper.md Assembled paper
|
|
225
|
+
paper.tex LaTeX output (after export)
|
|
226
|
+
references.bib Bibliography
|
|
227
|
+
figures/ Figure files
|
|
277
228
|
```
|
|
278
229
|
|
|
279
|
-
## Writing Modes
|
|
280
|
-
|
|
281
|
-
Claude adapts its role per section:
|
|
282
|
-
|
|
283
|
-
**Co-Author Mode**
|
|
284
|
-
- Claude drafts, you refine
|
|
285
|
-
- Best for: Initial drafts, methods, boilerplate
|
|
286
|
-
|
|
287
|
-
**Scaffold Mode**
|
|
288
|
-
- Claude outlines, you write
|
|
289
|
-
- Best for: Arguments, results interpretation
|
|
290
|
-
|
|
291
|
-
**Reviewer Mode**
|
|
292
|
-
- You write, Claude critiques
|
|
293
|
-
- Best for: Abstract, discussion, conclusions
|
|
294
|
-
|
|
295
|
-
## Verification Layers
|
|
296
|
-
|
|
297
|
-
**1. Citation Check (Mechanical)**
|
|
298
|
-
- All claims have citations
|
|
299
|
-
- Citations formatted correctly
|
|
300
|
-
- No broken references
|
|
301
|
-
|
|
302
|
-
**2. Argument Coherence (Logical)**
|
|
303
|
-
- Claims follow from evidence
|
|
304
|
-
- No logical contradictions
|
|
305
|
-
- Flow between paragraphs
|
|
306
|
-
|
|
307
|
-
**3. Rubric Check (Requirements)**
|
|
308
|
-
- All required sections present
|
|
309
|
-
- Word/page limits met
|
|
310
|
-
- Formatting requirements met
|
|
311
|
-
|
|
312
230
|
## Common Workflows
|
|
313
231
|
|
|
314
232
|
**Starting a new paper:**
|
|
315
|
-
|
|
316
233
|
```
|
|
317
234
|
/wtfp:new-paper
|
|
318
235
|
/wtfp:create-outline
|
|
@@ -320,51 +237,28 @@ Claude adapts its role per section:
|
|
|
320
237
|
/wtfp:write-section .planning/sections/01-introduction/01-01-PLAN.md
|
|
321
238
|
```
|
|
322
239
|
|
|
323
|
-
**Resuming
|
|
240
|
+
**Resuming after a break:**
|
|
241
|
+
```
|
|
242
|
+
/wtfp:progress
|
|
243
|
+
```
|
|
324
244
|
|
|
245
|
+
**Reviving a stalled project with existing files:**
|
|
325
246
|
```
|
|
326
|
-
/wtfp:
|
|
247
|
+
/wtfp:map-project
|
|
248
|
+
/wtfp:new-paper
|
|
327
249
|
```
|
|
328
250
|
|
|
329
251
|
**Handling reviewer comments:**
|
|
330
|
-
|
|
331
252
|
```
|
|
332
|
-
/wtfp:
|
|
333
|
-
/wtfp:
|
|
334
|
-
/wtfp:write-section # Execute revisions
|
|
335
|
-
/wtfp:respond-reviews # Generate response doc
|
|
253
|
+
/wtfp:plan-revision 02-01
|
|
254
|
+
/wtfp:write-section .planning/sections/02-methods/02-01-PLAN.md
|
|
336
255
|
```
|
|
337
256
|
|
|
338
|
-
## Contributing to WTF-P
|
|
339
|
-
|
|
340
|
-
Found a bug or want a new feature? Use these commands:
|
|
341
|
-
|
|
342
|
-
**`/wtfp:report-bug`**
|
|
343
|
-
Report a bug via GitHub issue.
|
|
344
|
-
- Guides you through describing the problem
|
|
345
|
-
- Collects environment info automatically
|
|
346
|
-
- Creates well-formatted issue with `gh` CLI
|
|
347
|
-
|
|
348
|
-
**`/wtfp:request-feature`**
|
|
349
|
-
Request a new feature via GitHub issue.
|
|
350
|
-
- Helps articulate what you need and why
|
|
351
|
-
- Checks for duplicate requests
|
|
352
|
-
- Can lead into implementation if desired
|
|
353
|
-
|
|
354
|
-
**`/wtfp:contribute`**
|
|
355
|
-
Guide through contributing code via Pull Request.
|
|
356
|
-
- Fork → Branch → Implement → Test → PR workflow
|
|
357
|
-
- Works for new commands, bug fixes, docs
|
|
358
|
-
- Follows project conventions automatically
|
|
359
|
-
|
|
360
257
|
## Getting Help
|
|
361
258
|
|
|
362
|
-
-
|
|
363
|
-
-
|
|
364
|
-
-
|
|
365
|
-
- Run `/wtfp:progress` to check where you're at
|
|
366
|
-
- Report bugs: `/wtfp:report-bug`
|
|
367
|
-
- Request features: `/wtfp:request-feature`
|
|
259
|
+
- `/wtfp:progress` — See where you are and what to do next
|
|
260
|
+
- `/wtfp:report-bug` — Report a bug
|
|
261
|
+
- `/wtfp:request-feature` — Request a feature
|
|
368
262
|
- GitHub: https://github.com/akougkas/wtf-p
|
|
369
263
|
</reference>
|
|
370
264
|
</process>
|