You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .claude/skills/doc-author/SKILL.md
+19-10Lines changed: 19 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: doc-author
3
-
description: End-to-end technical writing orchestrator. Accepts any input — Jira tasks, feature specs, verbal descriptions, or dev task descriptions — and drives the full documentation lifecycle from planning through polished draft. Coordinates writing-planner, editor, product-manager, and snippet-master skills. Use when you need to plan and write documentation, not just review or plan separately. Triggers include write docs for, document this feature, create documentation, doc task, write an article about, document this change.
3
+
description: Use when documentation needs to be planned and written end-to-end — from a Jira task, feature spec, or verbal description through to a polished draft. Not for review-only or planning-only tasks.
4
4
---
5
5
6
6
# Doc Author - Technical Writing Orchestrator
@@ -25,9 +25,13 @@ If the input is too vague to determine what changed, who it affects, or where it
25
25
26
26
## Workflow
27
27
28
-
### Phase 1: Plan — Use `writing-planner`
28
+
> **Rule:** Each phase invokes a sub-skill via the Skill tool. Never substitute your own knowledge for an invoked skill — trust the skill's output and build on it.
29
29
30
-
Invoke the `writing-planner` skill with the user's input. The writing-planner will:
30
+
### Phase 1: Plan — `writing-planner`
31
+
32
+
**REQUIRED SUB-SKILL:** Use the Skill tool to invoke `writing-planner`.
33
+
34
+
The writing-planner will:
31
35
1. Parse the input and extract what changed
32
36
2. Research affected articles and existing content
33
37
3. Assess documentation scope (small / medium / large)
@@ -43,22 +47,26 @@ Invoke the `writing-planner` skill with the user's input. The writing-planner wi
43
47
44
48
After approval, ask the user: "Ready to start drafting, or do you want to adjust anything first?"
45
49
46
-
### Phase 2: Draft — Use `editor`
50
+
### Phase 2: Draft — `editor`
47
51
48
-
Invoke the `editor` skill in **write mode** with the approved plan as input. The editor will:
52
+
**REQUIRED SUB-SKILL:** Use the Skill tool to invoke `editor` in **write mode**.
53
+
54
+
Pass the approved plan as input. The editor will:
49
55
1. Research existing patterns in neighboring articles
50
56
2. Write content following STE rules, Astro/MDX conventions, and the approved plan
51
57
3. Self-review the draft against its checklist
52
58
53
59
**Your role in this phase:**
54
60
- Pass the approved plan from Phase 1 to the editor
55
61
- Skip the editor's own planning phases (Phases 1-3) since the writing-planner already produced the plan — go straight to writing (Phase 4) and self-review (Phase 5)
56
-
- If the draft requires code snippets, invoke the `snippet-master` skill to create them. See "Code snippets" below.
62
+
- If the draft requires code snippets, use the Skill tool to invoke `snippet-master`. See "Code snippets" below.
57
63
- Present the draft to the user
58
64
59
-
### Phase 3: Product Review — Use `product-manager`
65
+
### Phase 3: Product Review — `product-manager`
66
+
67
+
**REQUIRED SUB-SKILL:** Use the Skill tool to invoke `product-manager`.
60
68
61
-
Invoke the `product-manager` skill to review the draft. The product-manager will evaluate:
69
+
The product-manager will evaluate:
62
70
1. Value clarity and positioning
63
71
2. Persona-based usage (developer, PM, marketer)
64
72
3. Technical accuracy of Adapty concepts
@@ -99,10 +107,11 @@ If user feedback at any phase contradicts a skill's instructions, evaluate wheth
99
107
100
108
**When updating a skill:**
101
109
1. Tell the user what you're about to change and why
102
-
2. Read the current skill file
110
+
2. Read the current skill file using the Read tool (do NOT use `@` syntax)
103
111
3. Make a targeted edit — don't rewrite the whole skill
104
112
4. Show the user the change
105
113
5. If the change affects a reference file (e.g., `adapty-product-knowledge.md`), update that file instead of the main SKILL.md
114
+
6. For non-trivial skill changes (new sections, structural changes, behavior changes), use the Skill tool to invoke `superpowers:writing-skills` to guide the update properly
106
115
107
116
## Orchestration Rules
108
117
@@ -123,4 +132,4 @@ If the writing-planner assesses a "small update" but the user's feedback keeps e
123
132
For tasks affecting multiple articles, the writing-planner will produce a multi-article plan with execution order. Follow that order. Draft each article separately through Phases 2-4, completing one before starting the next (unless the user prefers parallel drafting).
124
133
125
134
### Code snippets
126
-
When the plan or draft calls for code snippets, invoke the `snippet-master` skill to create them. The snippet-master handles SDK code across all 7 platforms (iOS, Android, React Native, Flutter, Unity, Kotlin Multiplatform, Capacitor) — don't write snippets yourself.
135
+
When the plan or draft calls for code snippets, use the Skill tool to invoke `snippet-master`. **REQUIRED SUB-SKILL:**`snippet-master` handles SDK code across all 7 platforms (iOS, Android, React Native, Flutter, Unity, Kotlin Multiplatform, Capacitor) — don't write snippets yourself.
0 commit comments