Technical Writing Craft Weapon: Install, Source and Security

Technical Writing Craft Weapon

Published by jzferrell26 in dm-skills

No known issues1 installs

What this skill does

Writing docs well -- the Diataxis framework (tutorial / how-to / reference / explanation), inverted-pyramid prose structure, scannable headings, code-example discipline, the "what does the reader already know?" reader-lens, ghostwriting vs voice consistency, and the docs-as-code review workflow. Distinct from docs-site-guardian (which owns the platform); this weapon owns the craft of writing. Use when the user says "review this document", "is this doc well-written", "audit this page", "write a t

Add Technical Writing Craft Weapon to your agent

Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.

Install with a prompt

Paste this into a compatible coding agent:

add this skill "technical-writing-craft-weapon" from https://github.com/jzferrell26/dm-skills

Install with the CLI

Run this command in a controlled environment after reviewing the repository:

npx skills add https://github.com/jzferrell26/dm-skills --skill technical-writing-craft-weapon

Skill instructions

technical-writing-craft Weapon

The craft knowledge base for technical-writing-craft-guardian. Encodes the Diataxis framework, inverted-pyramid prose structure, code-example discipline, voice and tone principles, the reader-lens diagnostic, ghostwriting discipline, and the docs-as-code review workflow.

Read first: guides/00-diataxis.md -- the organizing framework everything else hangs from.


When this weapon applies

Trigger on any request where the question is how well is this written, not which platform hosts it or where does this doc live:

  • "Review this documentation page"
  • "Is this tutorial well-structured?"
  • "Audit my API reference for clarity"
  • "Apply Diataxis to this doc"
  • "Ghostwrite a how-to guide for X"
  • "My docs PR needs a writing review"
  • "Rewrite this introduction"
  • "Why does this page feel confusing?"

Do NOT trigger for: platform selection (docs-site-guardian), folder structure decisions (library-guardian), API spec enrichment (api-docs-guardian), or SEO metadata (seo-aeo-guardian). Surface the correct Guardian and step aside when requests fall outside the craft boundary.


The review workflow (8 steps)

When reviewing a document:

  1. Classify the Diataxis mode. See guides/00-diataxis.md. Every document must have one primary mode. Flag mode-mixing before reviewing prose.
  2. Audit the opening sentence. Inverted pyramid: most important fact first. See guides/01-inverted-pyramid.md.
  3. Review headings for scanability. Imperative verbs for how-tos, noun phrases for reference, question forms for explanation. See guides/01-inverted-pyramid.md.
  4. Evaluate every code example. Apply the code-example checklist from templates/code-example-checklist.md. See guides/02-code-example-discipline.md.
  5. Check voice and tone. Active voice, second person for procedural, present tense for reference. See guides/03-voice-and-tone.md. If a house style is supplied, enforce that instead.
  6. Apply the reader lens. Prerequisites stated? Jargon defined on first use? Concepts introduced before used? See guides/04-reader-lens.md.
  7. Complete the scorecard. Fill in templates/scorecard.md. Rate each of the six criteria (Diataxis mode, inverted pyramid, code discipline, voice/tone, reader lens, structural completeness) as Pass / Warn / Fail.
  8. Produce findings report. Severity-tagged findings (Blocker / Suggestion / Nit) with specific rewrite proposals for each Blocker. See templates/review-report.md for the output format.

The ghostwriting workflow (3 steps)

When asked to write rather than review:

  1. Clarify mode, reader, and voice. Confirm the Diataxis mode and the target reader's knowledge level. If a style guide is provided, read it. See guides/05-ghostwriting.md.
  2. Draft in the correct mode. Tutorials follow a learning-narrative arc. How-tos are imperative, goal-oriented, and step-sequential. Reference is complete and neutral. Explanation is discursive and understanding-oriented. Do not mix.
  3. Self-review before delivering. Apply the full 8-step review workflow to your own draft. Surface any Blocker findings and fix them. Deliver a clean draft, not a draft with inline review comments.

Critical directives

  • Classify Diataxis mode before offering any prose feedback. Mode-mixing is the root cause of most documentation confusion. Fixing prose before fixing structure wastes both parties' time. Source: research/external/01-diataxis-framework-overview.md.
  • Never produce a vague finding. Every Blocker must include a specific rewrite proposal. "Improve the introduction" is not a finding; "Rewrite the opening sentence to lead with the user outcome rather than the feature description" is. Source: Command Brief SUBAGENT CRITICAL DIRECTIVES.
  • Respect the supplied style guide; do not impose Guild defaults when a house style exists. Source: Command Brief.
  • Do not recommend platform changes, folder moves, or metadata edits. Those concerns belong to peer Guardians.
  • In ghostwriting mode, self-review before delivering. The Guardian must apply its own rubric to its own output.

Guides (read in this order for a new review)

  1. guides/00-diataxis.md -- the four modes, the compass metaphor, mode-mixing diagnosis, when to split.
  2. guides/01-inverted-pyramid.md -- prose structure, F-pattern reading, the three-layer model, headings as summaries.
  3. guides/02-code-example-discipline.md -- runnable, correct, preceded, annotated, consistent. The full checklist.
  4. guides/03-voice-and-tone.md -- active voice, second person, present tense, imperative mood. Guild defaults and house-style override.
  5. guides/04-reader-lens.md -- prerequisites, jargon glossing, progressive disclosure, every-page-is-page-one.
  6. guides/05-ghostwriting.md -- mode selection, voice matching, style guide adherence, self-review discipline.
  7. guides/06-docs-as-code-review.md -- docs PR review workflow, the writing-quality checklist for inline review mode.
  8. guides/07-scorecard.md -- how to fill in the scorecard and severity-tag findings.

Templates

  • templates/scorecard.md -- blank scorecard table; fill one per review session.
  • templates/code-example-checklist.md -- Yes/No checklist for every code block in a document.
  • templates/review-report.md -- the output format: scorecard + findings + rewrites.
  • templates/ghostwrite-brief.md -- intake form for ghostwriting requests.

Examples

  • examples/01-mode-mixing-diagnosis.md -- a real-mode-mixing document, the classification step, and the structural fix before prose review.
  • examples/02-code-example-before-after.md -- a code block that fails the checklist, the findings, and the corrected version.

Reports

  • reports/README.md -- the report shape and how findings accumulate over time.

Peer Guardians (scope boundaries)

ConcernGuardian
Platform selection (Docusaurus, Mintlify, Starlight)docs-site-guardian
Folder structure, knowledge-base organization, PRDslibrary-guardian
OpenAPI spec enrichment, SDK docsapi-docs-guardian
SEO metadata, schema markup, AI Overviewsseo-aeo-guardian
README files (specialized subset)readme-writing-guardian

When a request touches one of those concerns, name the correct Guardian and step aside. Do not attempt to own adjacent domains.


Forged by weapon-forge from technical-writing-craft-guardian-command-brief.md and research/. Part of the Guild AI Tools Factory by Mario Aldayuz a.k.a @thenotoriousllama.

Files included

  • examples/01-mode-mixing-diagnosis.md
  • examples/02-code-example-before-after.md
  • guides/00-diataxis.md
  • guides/01-inverted-pyramid.md
  • guides/02-code-example-discipline.md
  • guides/03-voice-and-tone.md
  • guides/04-reader-lens.md
  • guides/05-ghostwriting.md
  • guides/06-docs-as-code-review.md
  • guides/07-scorecard.md
  • README.md
  • reports/README.md
  • research/external/01-diataxis-framework-overview.md
  • research/external/02-diataxis-four-modes-deep.md
  • research/external/03-google-developer-style-guide.md
  • research/external/04-inverted-pyramid-technical-docs.md
  • research/external/05-docs-as-code-workflow.md
  • research/external/06-code-example-discipline.md
  • research/external/07-stripe-docs-approach.md
  • research/external/08-vale-linter-prose-quality.md
  • research/external/09-write-the-docs-community.md
  • research/external/10-every-page-is-page-one.md
  • research/index.md
  • research/internal/01-command-brief-summary.md
  • research/research-plan.md
  • research/research-summary.md
  • SKILL.md
  • templates/code-example-checklist.md
  • templates/ghostwrite-brief.md
  • templates/review-report.md
  • templates/scorecard.md