wtf-p 0.1.0 → 0.3.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 +215 -230
- package/bin/commands/doctor.js +100 -0
- package/bin/commands/install-logic.js +235 -0
- package/bin/commands/list.js +88 -0
- package/bin/commands/status.js +85 -0
- package/bin/commands/update.js +50 -0
- package/bin/install.js +157 -309
- package/bin/lib/manifest.js +41 -0
- package/bin/lib/utils.js +338 -0
- package/bin/lib/wcn-compiler.js +226 -0
- package/bin/uninstall.js +202 -206
- package/core/write-the-f-paper/references/github-contrib.md +216 -0
- package/core/write-the-f-paper/templates/posters/basic.md +34 -0
- package/core/write-the-f-paper/templates/slides/basic.md +31 -0
- package/package.json +14 -4
- package/vendors/claude/.claude-plugin/plugin.json +12 -0
- package/vendors/claude/commands/wtfp/contribute.md +278 -0
- package/vendors/claude/commands/wtfp/create-poster.md +42 -0
- package/vendors/claude/commands/wtfp/create-slides.md +41 -0
- package/{commands → vendors/claude/commands}/wtfp/help.md +28 -0
- package/vendors/claude/commands/wtfp/report-bug.md +131 -0
- package/vendors/claude/commands/wtfp/request-feature.md +160 -0
- package/vendors/claude/skills/wtfp/echarts/SKILL.md +47 -0
- package/vendors/claude/skills/wtfp/marp/SKILL.md +49 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/references/checkpoints.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/references/continuation-format.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/references/git-integration.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/references/imrad-structure.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/references/length-estimation.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/references/plan-format.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/references/principles.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/references/questioning.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/references/research-pitfalls.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/config.json +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/context.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/continue-here.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/data-inventory.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/discovery.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/issues.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/manuscript.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/narrative-arc.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/outline.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/phase-prompt.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/prior-drafts.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/project-context/argument-structure.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/project-context/bibliography.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/project-context/gaps.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/project-context/imrad.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/project-context/peer-review.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/project-context/style-guide.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/project-context/tools.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/project.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/research.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/review-comments.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/revision-issues.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/roadmap.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/section-archive.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/section-context.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/section.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/state.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/templates/summary.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/venues/acm-cs.yaml +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/venues/arxiv-ml.yaml +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/venues/ieee-cs.yaml +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/venues/nature.yaml +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/venues/thesis-chapter.yaml +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/create-outline.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/create-outline.wcn.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/discuss-section.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/discuss-section.wcn.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/execute-section.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/execute-section.wcn.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/list-assumptions.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/list-assumptions.wcn.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/lit-review-phase.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/lit-review-phase.wcn.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/map-project.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/map-project.wcn.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/plan-section.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/plan-section.wcn.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/research-gap.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/research-gap.wcn.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/resume-paper.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/resume-paper.wcn.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/review-section.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/review-section.wcn.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/submit-draft.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/submit-draft.wcn.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/transition.md +0 -0
- /package/{write-the-f-paper → core/write-the-f-paper}/workflows/transition.wcn.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/analyze-bib.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/check-refs.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/create-outline.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/discuss-section.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/export-latex.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/insert-section.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/list-assumptions.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/map-project.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/new-paper.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/pause-writing.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/plan-revision.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/plan-section.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/polish-prose.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/progress.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/remove-section.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/research-gap.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/resume-writing.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/review-section.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/submit-milestone.md +0 -0
- /package/{commands → vendors/claude/commands}/wtfp/write-section.md +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: wtfp:help
|
|
3
3
|
description: Show available WTF-P commands and usage guide
|
|
4
|
+
allowed-tools: []
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
<objective>
|
|
@@ -14,6 +15,7 @@ Output ONLY the reference content below. Do NOT add:
|
|
|
14
15
|
- Any commentary beyond the reference
|
|
15
16
|
</objective>
|
|
16
17
|
|
|
18
|
+
<process>
|
|
17
19
|
<reference>
|
|
18
20
|
# WTF-P Command Reference
|
|
19
21
|
|
|
@@ -333,10 +335,36 @@ Claude adapts its role per section:
|
|
|
333
335
|
/wtfp:respond-reviews # Generate response doc
|
|
334
336
|
```
|
|
335
337
|
|
|
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
|
+
|
|
336
360
|
## Getting Help
|
|
337
361
|
|
|
338
362
|
- Read `.planning/PROJECT.md` for paper vision
|
|
339
363
|
- Read `.planning/STATE.md` for current context
|
|
340
364
|
- Check `.planning/ROADMAP.md` for section status
|
|
341
365
|
- Run `/wtfp:progress` to check where you're at
|
|
366
|
+
- Report bugs: `/wtfp:report-bug`
|
|
367
|
+
- Request features: `/wtfp:request-feature`
|
|
368
|
+
- GitHub: https://github.com/akougkas/wtf-p
|
|
342
369
|
</reference>
|
|
370
|
+
</process>
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wtfp:report-bug
|
|
3
|
+
description: Report a bug in WTF-P via GitHub issue
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- AskUserQuestion
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Help the user report a bug in WTF-P by creating a well-formatted GitHub issue.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<context>
|
|
15
|
+
@~/.claude/write-the-f-paper/references/github-contrib.md
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
|
|
20
|
+
## Step 1: Verify GitHub CLI
|
|
21
|
+
|
|
22
|
+
Check if `gh` is authenticated:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
gh auth status 2>&1
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
If not authenticated, inform the user:
|
|
29
|
+
> To create GitHub issues, you need to authenticate the GitHub CLI.
|
|
30
|
+
> Run: `gh auth login`
|
|
31
|
+
> Then try this command again.
|
|
32
|
+
|
|
33
|
+
## Step 2: Gather Bug Information
|
|
34
|
+
|
|
35
|
+
Use AskUserQuestion to collect bug details:
|
|
36
|
+
|
|
37
|
+
**Question 1: Bug Category**
|
|
38
|
+
- Header: "Bug Type"
|
|
39
|
+
- Options:
|
|
40
|
+
- "Command fails" - A /wtfp:* command doesn't work as expected
|
|
41
|
+
- "Installation issue" - Problems with npx wtf-p install/uninstall
|
|
42
|
+
- "Workflow error" - Writing workflow produces wrong output
|
|
43
|
+
- "Documentation gap" - Docs are missing or incorrect
|
|
44
|
+
|
|
45
|
+
**Question 2: Bug Description**
|
|
46
|
+
- Header: "Description"
|
|
47
|
+
- Options:
|
|
48
|
+
- "Let me describe it" - User provides description
|
|
49
|
+
- "Help me articulate" - Claude helps user describe the bug
|
|
50
|
+
|
|
51
|
+
If user needs help articulating, ask follow-up questions:
|
|
52
|
+
- What were you trying to do?
|
|
53
|
+
- What happened instead?
|
|
54
|
+
- What did you expect to happen?
|
|
55
|
+
|
|
56
|
+
## Step 3: Gather Environment Info
|
|
57
|
+
|
|
58
|
+
Automatically collect:
|
|
59
|
+
```bash
|
|
60
|
+
npx wtf-p --version 2>/dev/null || echo "Not installed via npx"
|
|
61
|
+
node --version
|
|
62
|
+
uname -s 2>/dev/null || echo "Unknown OS"
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Step 4: Collect Reproduction Steps
|
|
66
|
+
|
|
67
|
+
Ask user:
|
|
68
|
+
- What command or action triggered the bug?
|
|
69
|
+
- Can you reproduce it consistently?
|
|
70
|
+
- Any error messages? (ask to paste them)
|
|
71
|
+
|
|
72
|
+
## Step 5: Draft the Issue
|
|
73
|
+
|
|
74
|
+
Create a draft and show it to the user:
|
|
75
|
+
|
|
76
|
+
```markdown
|
|
77
|
+
## Bug Description
|
|
78
|
+
[From user input]
|
|
79
|
+
|
|
80
|
+
## Steps to Reproduce
|
|
81
|
+
1. [Step 1]
|
|
82
|
+
2. [Step 2]
|
|
83
|
+
3. [What happened vs expected]
|
|
84
|
+
|
|
85
|
+
## Environment
|
|
86
|
+
- WTF-P version: [collected]
|
|
87
|
+
- Node.js version: [collected]
|
|
88
|
+
- OS: [collected]
|
|
89
|
+
|
|
90
|
+
## Additional Context
|
|
91
|
+
[Error messages, logs, screenshots mentioned]
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
## Step 6: Confirm and Create
|
|
95
|
+
|
|
96
|
+
Ask user to confirm:
|
|
97
|
+
- "Create this issue?" with options: Yes / Edit first / Cancel
|
|
98
|
+
|
|
99
|
+
If confirmed, create the issue:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
gh issue create \
|
|
103
|
+
--repo akougkas/wtf-p \
|
|
104
|
+
--title "bug: [SHORT_TITLE]" \
|
|
105
|
+
--body "$(cat <<'EOF'
|
|
106
|
+
[FULL_BODY_HERE]
|
|
107
|
+
EOF
|
|
108
|
+
)" \
|
|
109
|
+
--label "bug"
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Step 7: Report Success
|
|
113
|
+
|
|
114
|
+
Show the user:
|
|
115
|
+
- Issue URL (from gh output)
|
|
116
|
+
- Issue number
|
|
117
|
+
- What happens next (maintainer will review)
|
|
118
|
+
|
|
119
|
+
</process>
|
|
120
|
+
|
|
121
|
+
<error-handling>
|
|
122
|
+
|
|
123
|
+
**gh not installed**: Direct user to https://cli.github.com/
|
|
124
|
+
|
|
125
|
+
**gh not authenticated**: Guide through `gh auth login`
|
|
126
|
+
|
|
127
|
+
**Network error**: Save draft locally, retry later
|
|
128
|
+
|
|
129
|
+
**Permission denied**: User may need to fork first for external contributors
|
|
130
|
+
|
|
131
|
+
</error-handling>
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wtfp:request-feature
|
|
3
|
+
description: Request a new feature for WTF-P via GitHub issue
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- AskUserQuestion
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<objective>
|
|
11
|
+
Help the user request a new feature for WTF-P by creating a well-formatted GitHub issue.
|
|
12
|
+
</objective>
|
|
13
|
+
|
|
14
|
+
<context>
|
|
15
|
+
@~/.claude/write-the-f-paper/references/github-contrib.md
|
|
16
|
+
</context>
|
|
17
|
+
|
|
18
|
+
<process>
|
|
19
|
+
|
|
20
|
+
## Step 1: Verify GitHub CLI
|
|
21
|
+
|
|
22
|
+
Check if `gh` is authenticated:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
gh auth status 2>&1
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
If not authenticated, inform the user:
|
|
29
|
+
> To create GitHub issues, you need to authenticate the GitHub CLI.
|
|
30
|
+
> Run: `gh auth login`
|
|
31
|
+
> Then try this command again.
|
|
32
|
+
|
|
33
|
+
## Step 2: Understand the Feature Request
|
|
34
|
+
|
|
35
|
+
Use AskUserQuestion to understand what the user wants:
|
|
36
|
+
|
|
37
|
+
**Question 1: Feature Category**
|
|
38
|
+
- Header: "Category"
|
|
39
|
+
- Options:
|
|
40
|
+
- "New command" - A new /wtfp:* slash command
|
|
41
|
+
- "Workflow enhancement" - Improve existing writing workflow
|
|
42
|
+
- "Installation/CLI" - Improve npx wtf-p experience
|
|
43
|
+
- "Template/Format" - New venue template or output format
|
|
44
|
+
- "Integration" - Connect with other tools (Zotero, Overleaf, etc.)
|
|
45
|
+
|
|
46
|
+
**Question 2: Complexity**
|
|
47
|
+
- Header: "Scope"
|
|
48
|
+
- Options:
|
|
49
|
+
- "Small tweak" - Minor change to existing behavior
|
|
50
|
+
- "New capability" - Add something that doesn't exist
|
|
51
|
+
- "Major feature" - Significant new functionality
|
|
52
|
+
|
|
53
|
+
## Step 3: Gather Feature Details
|
|
54
|
+
|
|
55
|
+
Based on category, ask targeted questions:
|
|
56
|
+
|
|
57
|
+
**For new command:**
|
|
58
|
+
- What should `/wtfp:new-command` do?
|
|
59
|
+
- When would you use it in your writing workflow?
|
|
60
|
+
- What inputs does it need? What outputs?
|
|
61
|
+
|
|
62
|
+
**For workflow enhancement:**
|
|
63
|
+
- Which workflow needs improvement?
|
|
64
|
+
- What's missing or frustrating?
|
|
65
|
+
- How should it work differently?
|
|
66
|
+
|
|
67
|
+
**For templates/formats:**
|
|
68
|
+
- Which venue or format?
|
|
69
|
+
- Do you have example requirements?
|
|
70
|
+
|
|
71
|
+
## Step 4: Explore Use Case
|
|
72
|
+
|
|
73
|
+
Ask user:
|
|
74
|
+
- What problem does this solve for you?
|
|
75
|
+
- How often would you use this?
|
|
76
|
+
- Have you tried any workarounds?
|
|
77
|
+
|
|
78
|
+
## Step 5: Check for Duplicates
|
|
79
|
+
|
|
80
|
+
Search existing issues:
|
|
81
|
+
```bash
|
|
82
|
+
gh issue list --repo akougkas/wtf-p --search "[KEYWORDS]" --limit 5
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
If similar issues exist, show them to the user and ask:
|
|
86
|
+
- "These similar issues exist. Should we add to one of these, or create a new issue?"
|
|
87
|
+
|
|
88
|
+
## Step 6: Draft the Feature Request
|
|
89
|
+
|
|
90
|
+
Create a draft:
|
|
91
|
+
|
|
92
|
+
```markdown
|
|
93
|
+
## Feature Description
|
|
94
|
+
[Clear description of the feature]
|
|
95
|
+
|
|
96
|
+
## Use Case
|
|
97
|
+
[Why this is needed, what problem it solves]
|
|
98
|
+
|
|
99
|
+
## Proposed Solution
|
|
100
|
+
[How it should work, with examples]
|
|
101
|
+
|
|
102
|
+
### Example Usage
|
|
103
|
+
```
|
|
104
|
+
/wtfp:new-command
|
|
105
|
+
> [Expected interaction]
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## Alternatives Considered
|
|
109
|
+
[Other approaches, if discussed]
|
|
110
|
+
|
|
111
|
+
## Additional Context
|
|
112
|
+
[Related features, prior art, mockups]
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Step 7: Offer Implementation Path
|
|
116
|
+
|
|
117
|
+
Ask user:
|
|
118
|
+
- Header: "Next Step"
|
|
119
|
+
- Options:
|
|
120
|
+
- "Create issue only" - Submit as feature request for maintainers
|
|
121
|
+
- "I'll implement it" - Create issue + guide through PR process
|
|
122
|
+
- "Help me implement" - Claude assists with implementation
|
|
123
|
+
|
|
124
|
+
If user wants to implement, transition to `/wtfp:contribute` workflow.
|
|
125
|
+
|
|
126
|
+
## Step 8: Create the Issue
|
|
127
|
+
|
|
128
|
+
If confirmed:
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
gh issue create \
|
|
132
|
+
--repo akougkas/wtf-p \
|
|
133
|
+
--title "feat: [SHORT_TITLE]" \
|
|
134
|
+
--body "$(cat <<'EOF'
|
|
135
|
+
[FULL_BODY_HERE]
|
|
136
|
+
EOF
|
|
137
|
+
)" \
|
|
138
|
+
--label "enhancement"
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
## Step 9: Report Success
|
|
142
|
+
|
|
143
|
+
Show the user:
|
|
144
|
+
- Issue URL
|
|
145
|
+
- Issue number
|
|
146
|
+
- Encourage voting/commenting to show interest
|
|
147
|
+
- If they want to implement: next steps
|
|
148
|
+
|
|
149
|
+
</process>
|
|
150
|
+
|
|
151
|
+
<tips>
|
|
152
|
+
|
|
153
|
+
**Good feature requests include:**
|
|
154
|
+
- Specific use case (not just "it would be nice")
|
|
155
|
+
- Example of how it would work
|
|
156
|
+
- Explanation of why existing features don't solve this
|
|
157
|
+
|
|
158
|
+
**Signal boost:** Encourage users to share the issue link with others who might want the feature. More reactions = higher priority.
|
|
159
|
+
|
|
160
|
+
</tips>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wtfp-echarts
|
|
3
|
+
description: Generate publication-quality charts using Apache ECharts
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# ECharts Generator Skill
|
|
11
|
+
|
|
12
|
+
Use this skill to create charts from data for papers, posters, or slides.
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
Generate an HTML file with ECharts configuration.
|
|
17
|
+
|
|
18
|
+
### Example Template
|
|
19
|
+
```html
|
|
20
|
+
<!DOCTYPE html>
|
|
21
|
+
<html>
|
|
22
|
+
<head>
|
|
23
|
+
<meta charset="utf-8">
|
|
24
|
+
<script src="https://cdn.jsdelivr.net/npm/echarts@5.4.3/dist/echarts.min.js"></script>
|
|
25
|
+
</head>
|
|
26
|
+
<body>
|
|
27
|
+
<div id="main" style="width: 800px;height:600px;"></div>
|
|
28
|
+
<script type="text/javascript">
|
|
29
|
+
var myChart = echarts.init(document.getElementById('main'));
|
|
30
|
+
var option = {
|
|
31
|
+
title: { text: 'ECharts Example' },
|
|
32
|
+
tooltip: {},
|
|
33
|
+
xAxis: { data: ["A", "B", "C", "D"] },
|
|
34
|
+
yAxis: {},
|
|
35
|
+
series: [{ name: 'Sales', type: 'bar', data: [5, 20, 36, 10] }]
|
|
36
|
+
};
|
|
37
|
+
myChart.setOption(option);
|
|
38
|
+
</script>
|
|
39
|
+
</body>
|
|
40
|
+
</html>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Strategy
|
|
44
|
+
1. Receive data and chart requirements.
|
|
45
|
+
2. Generate ECharts configuration object.
|
|
46
|
+
3. Inject into HTML template.
|
|
47
|
+
4. User can open HTML in browser to view/export.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: wtfp-marp
|
|
3
|
+
description: Compile Markdown+CSS to HTML posters or PDF slides using Marp CLI
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Marp Compiler Skill
|
|
11
|
+
|
|
12
|
+
Use this skill to compile Markdown presentations or posters to HTML or PDF.
|
|
13
|
+
|
|
14
|
+
## Commands
|
|
15
|
+
|
|
16
|
+
### Compile to HTML (recommended for posters)
|
|
17
|
+
```bash
|
|
18
|
+
npx @marp-team/marp-cli input.md -o output.html
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Compile to PDF (recommended for slides)
|
|
22
|
+
```bash
|
|
23
|
+
npx @marp-team/marp-cli input.md -o output.pdf
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
### With custom theme
|
|
27
|
+
```bash
|
|
28
|
+
npx @marp-team/marp-cli input.md --theme theme.css -o output.pdf
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Marp Markdown Format
|
|
32
|
+
|
|
33
|
+
Marp uses extended Markdown. Slides are separated by `---`.
|
|
34
|
+
|
|
35
|
+
Example:
|
|
36
|
+
```markdown
|
|
37
|
+
---
|
|
38
|
+
marp: true
|
|
39
|
+
theme: default
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
# Slide 1
|
|
43
|
+
Content
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
# Slide 2
|
|
48
|
+
More content
|
|
49
|
+
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{write-the-f-paper → core/write-the-f-paper}/templates/project-context/bibliography.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/{write-the-f-paper → core/write-the-f-paper}/templates/project-context/peer-review.md
RENAMED
|
File without changes
|
/package/{write-the-f-paper → core/write-the-f-paper}/templates/project-context/style-guide.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|