/trails-dev:trails-editorialfrom trails-dev
Drafts and reviews Trails documentation, ADRs, READMEs, release notes, examples, and agent guidance using a single editorial workflow. Covers task scoping, source-of-truth loading, drafting, and five-dimension review.
Ships in trails-dev. 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.
Use one workflow for drafting and reviewing Trails prose. The governing sources stay in the Trails checkout; this skill carries the method and a small set of worked craft samples, not a second copy of the project doctrine.
Identify the target, document type, audience, current source of truth, and whether the task is read-only or may write. If no target is named, choose the smallest target supported by the conversation or current diff.
Classify the document before writing:
When working in the Trails repository, read only the owners needed for the target:
AGENTS.md and the nearest scoped guidance.docs/tenets.md, accepted ADRs, and docs/lexicon.md when doctrine or vocabulary is material.docs/contributing/language-styleguide.md for current contributor prose rules.docs/contributing/code-standards.md for code and example shape.assets/SAMPLES.md when worked prose examples would help.Do not treat generated copies under .agents, .claude, plugin, or plugins as authoring sources. Outside the Trails checkout, ask for or locate the target checkout before claiming repository facts.
Review the target across five dimensions.
Overview or Background only when a required template calls for them.trail, implementation, topo, compose, surface, resource, layer, derive, and render with their current project meanings.docs/ section; keep agent guidance in canonical Skillset source.Choose the smallest check that proves the target. Common read-only checks are:
bun run docs:links
bun run docs:wrap-check
bun scripts/adr.ts check
bun run plugin:metadata:check
bun run skillset:check
git diff --check
bun scripts/adr.ts map writes ADR map artifacts. Run it only when the task is authorized to update those artifacts, then inspect and stage its exact output. bun run skillset:sync also writes managed outputs and locks; edit canonical .skillset source first and inspect the generated diff.
For technical claims, run a focused test or command. Do not run a broad gate only to make the report look complete.
Classify review findings:
When writes are authorized, fix P0-P2 and nearby useful P3 findings, rerun the focused checks, and repeat. For a read-only task, report the smallest exact change that would resolve each finding.
Finish with ready, ready with nits, needs fixes, blocked, or wrong target, followed by reviewed files, changes, checks, remaining risks, and the next action.
State: ready | ready with nits | needs fixes | blocked | wrong target
Reviewed:
- path
Findings:
- [P2] path:line - Issue and smallest fix.
Changed:
- path - Summary.
Verification:
- command - pass | fail | not run, with evidence.
Remaining:
- Risk, decision, or follow-up.
Next:
- Exact next action.
What SKILL.md sets; muted values are Claude Code's defaults
14 skills in this plugin
/building-trailsThe working-on-Trails doctrine digest — what governs the framework, the decision tools for framework work, and where truth lives. Use at the start of any session that changes Trails itself (framework code, docs, vocabulary, governance), when orienting a new agent or persona, or when deciding which governing source answers a question. Not for building apps with Trails; the trails skill covers consuming the framework./regrade-loopRun a Trails Regrade migration loop with dry-run discovery, occurrence judgment, safe apply, verification, ledger capture, and per-cycle resume./tenetsTrails framework design tenets — the foundational beliefs, promises, primitives, and patterns that govern the framework. Use when evaluating architectural decisions, reviewing feature proposals, checking alignment with framework principles, or when tenets, principles, or design philosophy are mentioned./trails-adrsAuthor, update, and manage Trails ADRs. Use when creating new ADRs, promoting drafts to accepted, updating the ADR index, renaming or renumbering ADRs, or when the user mentions ADR, architecture decision, or decision record./trails-derive-from-sourceUse when a Trails change derives framework facts, derived views, rule data, or surface metadata. Helps agents find authoritative owner exports and avoid shadow registries, duplicated maps, and canonical-source indirection./trails-discriminate-unionCompatibility entry for older public-union review prompts. Use Trails Warden's public-output discriminant rule and the building-trails owner-first workflow.npx claudepluginhub outfitter-dev/trails --plugin trails-dev