/deprecated:tech-docfrom deprecated
Deprecated, superseded by writing:ghostwrite (tech docs sourced from the repository). Formerly used to draft, review, and finish tutorials, how to guides, references, and explanations.
Ships in deprecated. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Deprecated. Superseded by
writing:ghostwrite, which drafts tech docs from the repository and the commands it runs. This copy is archived and no longer maintained.
Diátaxis-aware technical writing pipeline. Standalone, AND dispatched from the writing skill when the format is tutorial, how-to, reference, or explanation.
Use the host platform's equivalent tools without changing the workflow:
| Capability | Claude Code | Codex |
|---|---|---|
| Subagent dispatch | Agent tool | spawn_agent only when available and permitted. Otherwise run the phase inline. |
| Progress list | TaskCreate, TaskUpdate | update_plan |
| User questions | AskUserQuestion | Ask a concise direct question, or use the host structured question tool when available |
| File reads | Read | shell reads such as sed, rg, or equivalent file read tools |
| File writes and edits | Write, Edit | apply_patch or equivalent file edit tools |
| Shell | Bash | shell command tool |
Where this skill says "Agent tool", "TaskCreate", "TaskUpdate", "AskUserQuestion", "Read", "Write", "Edit", or "Bash", use the mapped host capability. When a platform cannot dispatch subagents for the current request, keep the same artifact boundaries and run each phase inline in the orchestrator.
State root is platform-specific. Claude Code uses ~/.claude/projects. Codex uses ${CODEX_HOME:-~/.codex}/projects when writable, otherwise create .codex-skill-state/ under the current working directory.
Resolve working directory in this order:
--dir ./path/to/project/intake.md, outline.md, schema.md, throughline.md, draft.md, critique.md, finishing-notes.md, treat the cwd as the working directory.<state-root>/<project-id>/tech-doc-skill-state.json. If an in-flight piece is recorded, offer to resume there.tech-doc/{slug}-{YYYY-MM-DD}/ in cwd.Resolution order:
--style-preset google|microsoft|househouse.Resolve to absolute path: <skill-install-path>/style-presets/<preset>/. Locate the skill install path by Glob-ing for **/tech-doc/SKILL.md under the active plugin directory and taking the parent. Validate: directory exists AND core.md inside the directory exists. If either is missing, fall back to house, warn once.
Surface in the first response: "Using style preset directory: {path}".
Resolution order:
--quadrant tutorial|how-to|reference|explanation. Confirmation question is still asked, mirroring pyramid's --mode handling.Surface in the first response: "Quadrant: {quadrant}. Style preset directory: {path}".
Scan the working directory for artifacts:
intake.md exists → intake completeoutline.md exists (tutorial/how-to/explanation) OR schema.md exists (reference) → outline completethroughline.md exists → throughline gate passeddraft.md exists → draft completecritique.md exists → panel completefinishing-notes.md exists → finishing has started or completedglossary.md exists → terminology-consistency pass has runDetermine the latest completed phase. Present: "I see you have completed phases X. Resume from {next phase}?". Offer phase-jump.
User can pre-empt with --phase X (X is one of intake, outline, throughline, draft, panel, finishing).
Use the progress list. Use this shape (varies by quadrant only in Phase 5 sub-task):
1. Phase 1: Intake (quadrant-specific)
2. Phase 2: Outline (or schema-fill for reference)
3. Phase 3: Throughline gate (≤10-word for tutorial/how-to/explanation; schema-completeness for reference)
4. Phase 4: Draft
5. Phase 5: Panel review
├── Critic: style-adherence
├── Critic: accessibility
├── Critic: inclusive-language
├── Critic: code-fidelity
├── Critic: future-features
├── Critic: quadrant-fit
├── Critic: admonitions
└── Critic: <task-orientation | completeness | steel-man> (gated by quadrant)
6. Phase 6: Finishing
├── AI-pattern detector
├── Style-enforcer-tech
└── Terminology-consistency
For phase-selectable runs, only the requested phases get tasks. Mark each in_progress when starting, completed when artifact verified.
Dispatch each phase agent via the host subagent tool when supported. The orchestrator injects context into the prompt template.
{OUTPUT_PATH} is always the working directory, never a file path. Each prompt file appends its own filename.**Dispatch:** header. Read the entire prompt file as text, perform placeholder substitution ({OUTPUT_PATH}, {STYLE_GUIDE_DIR}, {REVIEWER_FEEDBACK}, {YYYY-MM-DD}, {QUADRANT}, {LANGUAGE_OR_PLATFORM}, {AUDIENCE_SKILL_LEVEL}), pass the full result to the host subagent tool.{REVIEWER_FEEDBACK} is non-empty (re-dispatch on a failed gate), append: "Reviewer feedback is provided above. Read the existing artifact in the output directory, address the specific concerns, and update the file in place rather than starting fresh."{YYYY-MM-DD} resolves to today's date in ISO format.Dispatch per quadrant:
tutorial → intake-tutorial-prompt.mdhow-to → intake-how-to-prompt.mdreference → intake-reference-prompt.mdexplanation → intake-explanation-prompt.mdVerify intake.md exists. Mark task completed.
For tutorial/how-to/explanation: ask the writer to confirm a section skeleton, then write {OUTPUT_PATH}/outline.md using the template in Behavioral Guidelines below.
For reference: read intake.md for the declared schema type, copy the schema's required-fields skeleton from reference-schemas/<type>.md to {OUTPUT_PATH}/schema.md, and present to the user for confirmation.
Verify outline.md (tutorial/how-to/explanation) or schema.md (reference) exists. Mark task completed.
Orchestrator-only synchronous gate. No Agent dispatch.
For tutorial/how-to/explanation: ten-word compression gate. Phrasing per quadrant (see Behavioral Guidelines). Validate by splitting on whitespace and ignoring empty strings; ≤10 tokens passes. On failure, offer "RETURN TO OUTLINE" escape hatch to resume Phase 2 with the attempted throughline as reviewer feedback.
For reference: schema-completeness check. Read schema.md. If any required field is <unknown>, ask via AskUserQuestion: "Backfill the missing fields, or accept partial-reference disclosure (a 'Reference incomplete' note prepended to draft.md)?" Record gate result in throughline.md.
Write {OUTPUT_PATH}/throughline.md:
schema-complete or schema-partial-disclosure-accepted).Mark task completed.
Dispatch per quadrant:
tutorial → draft-tutorial-prompt.mdhow-to → draft-how-to-prompt.mdreference → draft-reference-prompt.mdexplanation → draft-explanation-prompt.mdVerify draft.md exists. Mark task completed.
Fan out: dispatch all critics in the active panel in parallel (single message with multiple Agent calls). Active panel by quadrant:
Each critic writes its own critique-<critic>.md. When all critics return, consolidate into {OUTPUT_PATH}/critique.md:
# Panel Critique
## Verdicts
| Critic | Verdict | Headline |
| --------------------------------------------- | ------------------------- | ------------------ |
| Style-adherence | <PASS / MINOR / CRITICAL> | <one-line summary> |
| Accessibility | ... | ... |
| Inclusive-language | ... | ... |
| Code-fidelity | ... | ... |
| Future-features | ... | ... |
| Quadrant-fit | ... | ... |
| Admonitions | ... | ... |
| <Task-orientation / Completeness / Steel-man> | ... | ... |
## Style-adherence
<full content of critique-style-adherence.md>
## Accessibility
<full content of critique-accessibility.md>
## Inclusive-language
<full content of critique-inclusive-language.md>
## Code-fidelity
<full content of critique-code-fidelity.md>
## Future-features
<full content of critique-future-features.md>
## Quadrant-fit
<full content of critique-quadrant-fit.md>
## Admonitions
<full content of critique-admonitions.md>
## <Gated critic name>
<full content of the gated critique file>
Match on first whitespace-delimited token of each critic's **Verdict:** line. Tokens: PASS, MINOR, CRITICAL.
critique.md injected as {REVIEWER_FEEDBACK}. Re-run the panel. Repeat up to 2 iterations. If still CRITICAL after 2, AskUserQuestion: "Continue to finishing or pause for manual intervention?"Mark phase task completed when verdict allows progression or user overrides.
Sequential, NOT parallel. Each pass updates the draft in place; later passes need the earlier passes' changes. Three passes in this order:
finishing/ai-pattern-detector.mdfinishing/style-enforcer-tech.mdfinishing/terminology-consistency.mdFor each pass: read prompt file, inject {OUTPUT_PATH}, {STYLE_GUIDE_DIR}, and {REVIEWER_FEEDBACK} (always empty for finishing passes), dispatch via the host subagent tool, verify the agent appended its log section to finishing-notes.md, mark sub-task completed.
After all three, present draft.md, glossary.md, and finishing-notes.md to the user. The piece is now ready for the writer's review.
Update state file. Working directory is the key under projects. Fields:
quadrantstyle_presetaudience_skill_levellanguage_or_platformglossary_path (absolute path to glossary.md)last_completed_phaselast_run_at (ISO timestamp)Present final draft and a summary of what each pass did.
mkdir -p.house, warn once.function.md) with one-line warning, or author free-form (no completeness critic gate).<!-- pseudocode --> HTML comment in snippet to suppress.<unknown> fields: surface at throughline gate; backfill or partial-reference disclosure.<state-root>/<project-id>/tech-doc-skill-state.json:
v1 state files ("version": 1) are forward-compatible: the style_preset field records a preset name (google / microsoft / house), not a path, so the orchestrator's resolution change (file to directory) does not break existing state files. New runs bump the version field to 2.
{
"version": 2,
"projects": {
"<absolute-working-directory>": {
"quadrant": "tutorial",
"style_preset": "house",
"audience_skill_level": "beginner",
"language_or_platform": "Python",
"glossary_path": "<absolute-path-or-null>",
"last_completed_phase": "draft",
"last_run_at": "2026-04-28T12:00:00Z"
}
}
}
Recognized values:
quadrant: tutorial, how-to, reference, explanation.style_preset: google, microsoft, house. Default house.audience_skill_level: beginner, intermediate, advanced. Defaults: tutorial → beginner, how-to → intermediate, reference → advanced, explanation → intermediate.Keyed by working directory.
Each preset is a directory under style-presets/ containing eight topic-scoped sidecar files plus SOURCES.md:
style-presets/<preset>/
core.md # voice, tone, person, tense, capitalization, punctuation, global-audience principles
wordlist.md # full word list, ~400 to 600 entries, four-column table grouped by category
procedures.md # step format, prerequisites, conditions, optional-step prefix, expected outputs
admonitions.md # severity tiers (Note, Tip, Important, Caution, Warning), usage rules, format
code-samples.md # placeholders, line length, output formatting, omission indicators, code-in-prose
links.md # link text rules, see-also placement, cross-references, anchors
numbers.md # numerals, units, dates, time, currency, ranges
api-reference.md # parameter naming, type notation, status codes, response shape, deprecation
SOURCES.md # source URLs, license, last-refreshed dates; for house, the merge policy
The orchestrator resolves the active preset directory once (per Step 2) and substitutes the absolute path as {STYLE_GUIDE_DIR} in every dispatched critic, draft, and finishing prompt. Each prompt then reads only the sidecars it needs from {STYLE_GUIDE_DIR}/<sidecar>.md.
The orchestrator does not enforce this. Each critic prompt declares its own loads from {STYLE_GUIDE_DIR}. This table is the human-readable reference.
| Critic / Pass | Quadrants | Sidecars (besides core.md) |
|---|---|---|
style-adherence | all | wordlist, procedures, code-samples, links, numbers, admonitions |
accessibility | all | links, code-samples |
inclusive-language | all | wordlist (filtered: section in inclusive/ableist/gendered/bias-free/culturally-narrow) |
code-fidelity | all | code-samples |
future-features | all | (none extra) |
quadrant-fit | all | (none extra) |
task-orientation | tutorial, how-to | procedures |
completeness | reference | procedures, api-reference |
steel-man | explanation | (none extra) |
admonitions | all | admonitions |
ai-pattern-detector (finishing) | all | (no preset reads) |
style-enforcer-tech (finishing) | all | wordlist (filtered: mechanical=yes), procedures |
terminology-consistency (finishing) | all | (no preset reads) |
All sidecar paths in the matrix are relative to {STYLE_GUIDE_DIR}. For example, style-adherence reads {STYLE_GUIDE_DIR}/wordlist.md, {STYLE_GUIDE_DIR}/procedures.md, and so on.
Each wordlist.md is a markdown file with a Categories list at the top declaring the fourteen canonical categories, followed by one section per category. Each category section is a four-column table:
| Term | Replacement | Mechanical | Notes |
Term: the word or phrase to flag.Replacement: the suggested alternative, or (drop) for words to remove.Mechanical: yes if literal substitution leaves a grammatical sentence in 99% of cases (style-enforcer-tech applies during finishing); no otherwise (style-adherence flags only).Notes: a paraphrased one-sentence explanation; preserves source guidance.The fourteen canonical categories: clarity, hedge-words, action-verbs, mouse-keyboard, login, web-internet, error-messages, direction, numbers-dates, inclusive, ableist, gendered, culturally-narrow, technical-jargon.
Quarterly cadence:
<preset>/SOURCES.md last-refreshed date.house/SOURCES.md last-merged date.Used in --phase flag and task list:
intake, outline, throughline, draft, panel, finishing.
--quadrant was passed.The Phase 2 outline for these three quadrants is a brief orchestrator-driven step. Format {OUTPUT_PATH}/outline.md:
# Outline
**Quadrant:** <quadrant>
## Section skeleton
1. <section heading>
2. <section heading>
...
## Notes
<one-paragraph rationale, optional>
Ask the writer to confirm or revise the skeleton. On revisions, regenerate.
critics/accessibility.md (opens in a new tab)critics/admonitions.md (opens in a new tab)critics/code-fidelity.md (opens in a new tab)critics/completeness.md (opens in a new tab)critics/future-features.md (opens in a new tab)critics/inclusive-language.md (opens in a new tab)critics/quadrant-fit.md (opens in a new tab)critics/steel-man.md (opens in a new tab)critics/style-adherence.md (opens in a new tab)critics/task-orientation.md (opens in a new tab)draft-explanation-prompt.md (opens in a new tab)draft-how-to-prompt.md (opens in a new tab)draft-reference-prompt.md (opens in a new tab)draft-tutorial-prompt.md (opens in a new tab)finishing/ai-pattern-detector.md (opens in a new tab)finishing/style-enforcer-tech.md (opens in a new tab)finishing/terminology-consistency.md (opens in a new tab)intake-explanation-prompt.md (opens in a new tab)intake-how-to-prompt.md (opens in a new tab)intake-reference-prompt.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub pgoell/pgoell-claude-tools --plugin deprecated24 skills in this plugin
/autopilotDeprecated and retired without replacement. Formerly autopilot for autonomous feature shipping from brainstorm to PR using .workbench/autopilot.md./brainstormingDeprecated and retired without replacement. Formerly used before creative work to grill the user toward a shared design concept through exhaustive sequential question and answer./copilotDeprecated and retired without replacement. Formerly used for semi-autonomous, human-in-the-loop feature shipping where the user drove the brainstorm and spec by hand and the agent automated the plan, implementation, docs, audit, and PR using .workbench/autopilot.md.