Skip to content

Commit 9103c7e

Browse files
committed
Merge branch 'localization' into develop
# Conflicts: # src/content/docs/version-3.0/autopilot.mdx # src/layouts/DocsLayout.astro
2 parents 8ca1245 + 35e2677 commit 9103c7e

117 files changed

Lines changed: 4356 additions & 3735 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/skills/doc-author/SKILL.md

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
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.
44
---
55

66
# 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
2525

2626
## Workflow
2727

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.
2929
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:
3135
1. Parse the input and extract what changed
3236
2. Research affected articles and existing content
3337
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
4347

4448
After approval, ask the user: "Ready to start drafting, or do you want to adjust anything first?"
4549

46-
### Phase 2: Draft — Use `editor`
50+
### Phase 2: Draft — `editor`
4751

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:
4955
1. Research existing patterns in neighboring articles
5056
2. Write content following STE rules, Astro/MDX conventions, and the approved plan
5157
3. Self-review the draft against its checklist
5258

5359
**Your role in this phase:**
5460
- Pass the approved plan from Phase 1 to the editor
5561
- 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.
5763
- Present the draft to the user
5864

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`.
6068

61-
Invoke the `product-manager` skill to review the draft. The product-manager will evaluate:
69+
The product-manager will evaluate:
6270
1. Value clarity and positioning
6371
2. Persona-based usage (developer, PM, marketer)
6472
3. Technical accuracy of Adapty concepts
@@ -99,10 +107,11 @@ If user feedback at any phase contradicts a skill's instructions, evaluate wheth
99107

100108
**When updating a skill:**
101109
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)
103111
3. Make a targeted edit — don't rewrite the whole skill
104112
4. Show the user the change
105113
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
106115

107116
## Orchestration Rules
108117

@@ -123,4 +132,4 @@ If the writing-planner assesses a "small update" but the user's feedback keeps e
123132
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).
124133

125134
### 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

Comments
 (0)