/d3nexus:doc-implementationfrom d3nexus
Drafts an approved document outline section by section — one worktree, one commit per section, the outline kept truthful. Hands the draft to doc_quality_check at Gate 3 and holds Gate 4 for sign-off. Use it at Stage 2 of the document lifecycle.
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.
None: SKILL.md is the whole skill.
Stage 2 of doc-lifecycle. Drafts an approved outline section by section.
Core principle: one worktree, one section at a time, one commit per section, the outline stays truthful.
Announce at start: "I'm using the doc-implementation skill to draft the <doc_slug> document."
Exactly as in dev-implementation, and for the same reason — read both off disk, never derive one
from the other:
| Placeholder | What it is | Worked example |
|---|---|---|
<doc_dir> | The directory name on disk | onboarding_guide (underscores) |
<doc_slug> | The epic: value in task frontmatter | onboarding-guide (hyphens) |
doc-lifecycle routes here at Stage 2, after Gate 2..devtool/epic/<doc_dir>/<doc_dir>.en.md exists with Kind: document, and one or more
.devtool/features/task_*.md carry that document's epic: value.Don't use when the outline does not exist yet (run doc-designer first), or the work is one
section a reviewer would not gate (edit it directly).
This skill reuses dev-implementation's Kanban scripts unchanged:
skills/dev-implementation/resources/scripts/sync_task_status.pyskills/dev-implementation/resources/scripts/compute_execution_order.pyStatus, ordering and archival behave identically for both kinds of work, so .devtool/features/
stays one board rather than two. Forking these scripts would double the maintenance surface for no
behavioural gain. If a script needs changing, change it once, in dev-implementation.
Read in full: the canonical <doc_dir>.en.md (never the .vi.md for decisions — it is a synced
translation), every task_*.md whose epic: matches <doc_slug>, and any source spec the Meta
Data links to. Note the declared audience, Diátaxis mode and Acceptance criterion; all
three are checked at Gate 3.
Sections are drafted in outline order unless a task file's prose says otherwise. There is no
dependency calculation to run: prose sections do not block one another the way code does, and
compute_execution_order.py is only needed when task files declare blockers.
Create one worktree for the whole document, with an explicit base ref:
git worktree add .worktrees/<doc_dir> -b doc/<doc_slug> <base_ref>
There is no build to bootstrap.
For each section, in order:
python3 skills/dev-implementation/resources/scripts/sync_task_status.py task <task_id> in-progress
flowchart (never legacy graph), quote labels with special characters ()/[]/{}/:, and avoid trailing semicolons.python3 skills/dev-implementation/resources/scripts/sync_task_status.py task <task_id> done
git add -A && git commit -m "[DOC_NAME] <section title>"
No test suite runs here. Not unit tests, not integration tests, not a native build. There is
nothing to run, and running the development gates on prose would produce a green light that means
nothing. Gate 3 is doc_quality_check, at Phase 4.
A test gives a unit a pre-written expectation it can fail against. For a section, that expectation
already exists: the one-line purpose doc-designer wrote for it in the outline.
After drafting, read the section against that line. There are exactly two outcomes:
There is no third outcome. "Close enough" is not one, and neither is leaving the outline stale because the draft is better than the plan.
When Phase 2 changed the outline, sync both <doc_dir>.en.md and <doc_dir>.vi.md before the
next section starts, and commit that separately:
git commit -m "[DOC_NAME] Sync outline after <section title>"
Keeping it out of the section's own commit is what keeps git log readable as one-commit-per-section.
Once every section is done, run doc_quality_check on both published language variants: the refusal
rule, bilingual-pair check, complete table-of-contents check, Diátaxis conformance and the content
audit. Its mechanical command MUST include both flags and both files:
python3 skills/doc_quality_check/resources/scripts/check_document.py \
--require-toc --require-bilingual <document>.en.md <document>.vi.md
Do not run quality_check — it verifies code, shares nothing with this path, and would report on
checks that do not apply.
On any failure, fix and re-run in full. A 🟢 assembled from a partial re-run is not a 🟢.
With Gate 3 green, stop calling tools. Leave every completed task in .devtool/features/done/
so the board is inspectable, present the draft and the doc_quality_check verdict, and wait:
"The
<doc_slug>document is drafted anddoc_quality_checkis 🟢. All sections are visible in the DONE column. Please review the document. Reply to proceed with branch finishing and archival."
Only an explicit approval advances. A change request routes back to Phase 2.
After Gate 4, invoke finishing-a-development-branch. Its pre-finish hook archives the completed
tasks into .devtool/epic/<doc_dir>/.
Then place the finished document where it belongs — docs/, a README, a skill's references/.
A deliverable left in .devtool/ has not shipped.
doc_quality_check because "it is only prose".dev-implementation's..devtool/.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