/d3nexus:doc-designerfrom d3nexus
Turns a document request into a brief, an outline and one task per section. Establishes who the document is for, classifies it into exactly one Diátaxis type, and enforces Gate 2 of the document lifecycle. Use it at the start of any documentation work large enough to break down.
Ships in d3nexus. 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.
Stage 1 of doc-lifecycle. Turns a document request into a brief, an outline, and one task per
section. Enforces Gate 2.
The development-side sibling is dev-designer. Where that skill produces architecture diagrams and
BDD scenarios, this one produces an audience and a type — because a document's binding constraint
is not what calls it, but who reads it.
Announce at start: "I'm using the doc-designer skill to design the <doc_slug> document."
doc-lifecycle routes here at Stage 1.Don't use when the work is a typo, a one-line correction, or a single Architecture Decision
Record — see doc-lifecycle's When NOT to use this.
Either a raw request ("we need a runbook for X") or an approved spec from doc-brainstorming. When a
spec exists, treat it as settled on scope and record it in the overview's Meta Data as
Source Spec:. Your job is to give it an audience, a type and a shape — not to re-open its
decisions.
Before anything else, answer three questions in the brief:
This is the document equivalent of requirements. Skipping it produces text that is accurate and unusable, and no later step recovers from it.
Diátaxis (Daniele Procida, diataxis.fr) identifies four needs and four corresponding forms of documentation. Use the author's own compass: ask action or cognition? and acquisition or application?
| If the content… | …and serves the user's… | …then it must belong to… |
|---|---|---|
| informs action | acquisition of skill | a tutorial |
| informs action | application of skill | a how-to guide |
| informs cognition | application of skill | reference |
| informs cognition | acquisition of skill | explanation |
| Type | Orientation |
|---|---|
| Tutorial | learning-oriented |
| How-to guide | goal-oriented |
| Reference | information-oriented |
| Explanation | understanding-oriented |
The author's own definitions of each type: references/diataxis-source.md.
If the material spans more than one type, split it into more than one document — one per type — and link between them. This is a procedure step, not advice. An agent asked for "a guide" produces a blend by default, and advice does not stop a default. The result of a blend is a document that is part tutorial, part reference, part explanation, and serves nobody.
The author states this exclusion separately for all four types — it is his rule, not an
inference from it. The four passages are quoted in
references/diataxis-source.md.
Note the remedy is to relocate and link, never to delete. The other material belongs elsewhere, not nowhere.
A list of sections, each with one line stating that section's purpose. That line is not
decoration: doc-implementation checks every drafted section against it, and it is the only
pre-written expectation a section is measured by.
This outline becomes the deliverable's table of contents. Every overview and finished document
carries one, even when the outline is short, with a link to every ## section. It is the same list
the reader needs, so write it once. Gate 3 checks completeness in both languages.
Contract-First Synchronization for Reference Outlines:
When designing a Reference document (Diátaxis mode: reference) that defines cross-service formatting, payload contracts, or domain rules (such as collocation highlighting, IPA linguistic conventions, or API standards):
shared-contracts/<domain>/ directory.shared-contracts/<domain>/api_contract.md, architecture_and_flow.md, and gaps_and_rfcs.md) first so upstream/downstream services stay aligned with the new Reference Single Source of Truth (SSOT).One task per section. Present the numbered list and ask the user to confirm the breakdown and
granularity. This checkpoint is Gate 2. Write no task file before the user confirms. In the
overview document prior to Gate 2, format planned task filenames as inline code spans (e.g.
`task_01_<name>.md`) so check_document.py never fails on not-yet-created files; immediately
after Gate 2 confirmation and writing the task_*.md files, upgrade those inline code spans to
relative Markdown links (e.g. [Task 01](task_01_<name>.md)).
Contract Synchronization Task Priority (task_01 Rule):
If the reference document affects shared-contracts/<domain>/:
shared-contracts/ is a physical directory), task_01 in the task breakdown MUST be the contract synchronization task (updating shared-contracts/<domain>/api_contract.md, architecture_and_flow.md, and logging cross-repo requirements in gaps_and_rfcs.md) before detailed prose drafting tasks begin.shared-contracts/ is a symbolic link), emit an Upstream Contract Handoff Summary to the Hub repo; task_01 synchronizes local reference fixtures or consumer documentation without including shared-contracts/ in git task paths.Generate both language variants in the document's own directory:
.devtool/epic/<doc_dir>/<doc_dir>.en.md — canonical, always written first.devtool/epic/<doc_dir>/<doc_dir>.vi.md — a translation, kept in sync, never
diverging in structure or factsArchitecture diagrams, sequence diagrams and BDD scenarios do not apply. They are replaced, not supplemented, by this Meta Data block:
Kind: document
Audience: <who reads this, and what they are trying to do>
Diátaxis mode: tutorial | how-to | reference | explanation
Non-goals: <what this document deliberately does not cover>
Acceptance: <one thing the reader can do after reading it>
Source Spec: <link, if this came from doc-brainstorming>
Kind: document records what this work item is, for the shared Kanban board and the archive. It is
not a dispatch key — doc-lifecycle names doc_quality_check as Gate 3 directly, so the two
quality gates never have to know about each other.
Before Gate 2, verify the overview pair mechanically (keeping planned task filenames as inline code spans such as `task_01_<name>.md` until Gate 2 creates the task files, then upgrading them to relative Markdown links such as [Task 01](task_01_<name>.md)):
python3 skills/doc_quality_check/resources/scripts/check_document.py \
--require-toc --require-bilingual \
.devtool/epic/<doc_dir>/<doc_dir>.en.md \
.devtool/epic/<doc_dir>/<doc_dir>.vi.md
Markdown & Diagram Standards: Both overview documents and all task_*.md files MUST adhere strictly to markdown lint standards (single H1, no skipped heading levels, space after #, no trailing punctuation in headings, language tags on all code fences, and no trailing whitespace). Any diagrams or flowcharts included MUST use modern Mermaid syntax (flowchart instead of legacy graph, quoted special-character labels) and Graphviz (DOT) semantic shape conventions with statement semicolons.
Acceptance must name something the reader can do. Not a length, not a section count, and not
"explains the deploy process" — that describes the document, not the reader. "A new engineer
completes a dev deploy in under 15 minutes without asking anyone" is an acceptance criterion,
because it can be observed and it can fail.
The Kanban board is shared with dev-lifecycle. Before writing any task file, check
.devtool/features/*.md (excluding done/ and archived/) for a task whose epic: names a
different epic with status todo, in-progress or review. If one exists:
status: "backlog" instead of "todo".Flipping backlog to todo later is a human call, not this skill's.
shared-contracts/ without prioritizing canonical contract synchronization first.Acceptance field describing the document rather than the reader.todo without checking for another epic's active tasks first.graph TD/graph LR), unquoted special-character labels, or malformed Graphviz (DOT) diagrams.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub danhdue/ai-agent-tools --plugin d3nexus72 skills in this plugin
/android-api-integrationGenerates a standardized Network Module, API Interface, Remote Data Source, Repository, UseCase, Models, and ViewModel updates for Android using the Hybrid Network Architecture and MVI Pattern./android-quality-checkRead-only Android quality assurance provider implementing the common quality contract. Executes project-configured Gradle, Spotless, Detekt, and Konsist capabilities from .agents/quality/android-quality.json, enforces BCV and architecture policies, and outputs structured results bound to repository SHA./android-ui-auditAudits Jetpack Compose and Android UI code for recomposition stability, state hoisting, Material3 design system adherence, and modifier best practices.Other plugins' skills for the same job