/trails-dev:building-trailsfrom trails-dev
Governance digest for contributors modifying the Trails framework itself — covers governing order, drift guard, evaluation hierarchy, and vocabulary discipline. Use when changing framework code, docs, or governance.
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.
Trails is built contract-first, and the contract for how Trails is worked on is itself layered and governed. This skill is the digest: the governing order, the drift guard, the scoped evaluation hierarchy, and the map of where truth lives. It points at the full sources rather than copying them — when this digest and a governing source disagree, the source wins.
docs/tenets.md; digest in the tenets skill): the constitutional layer. Where the repo drifts from the tenets, the repo changes.docs/adr/): the human-readable contracts for what Trails is and is not. Drafts are direction, not law.docs/lexicon.md): current framework language. Describe live reality with live terms; use the applicable typed transition registry and accepted release plan when moving vocabulary.docs/contributing/): language styleguide, code standards, Warden rules, codebase navigation, script graduation.AGENTS.md and the nearest scoped guidance: current commands, workflow, and discipline..agents/memory/decisions.md): prior rulings with their reasoning, for judging edge cases.The drift guard — for any proposed feature or fact, prefer the highest rung that honestly holds it:
If a change requires authoring information the framework already has, that is a framework bug. If authored information can drift from reality and nothing catches it, the feature needs redesign.
The evaluation hierarchy — when a recurring structural pattern starts demanding machinery, walk in order and stop at the first rung that fits: strengthen an existing primitive, codify a pattern, introduce a new primitive (ironclad justification only), broaden built-in capability (net win across the system, never a convenience in one spot). Most "new primitives" are an option on an existing surface one rung down.
The closed grammar governs module exports; methods and trail ids follow colloquial conventions; prose teaches with the live lexicon. Renames are cheap now (Regrade, governed transitions, committed evidence) — which raises the bar for speculative renames and lowers it for principled ones. Route word-level decisions through the target checkout's documented decision workflow; the project owner retains final ratification. Never leave a vocabulary change half-applied.
Feature work carries its distribution story: docs and examples, agent guidance, governance, release intent, migration path (AGENTS.md § Distribution-Ready Done). Internal-only work marks those surfaces not applicable visibly. A milestone is done when a usable end-to-end path exists, not when each part compiles.
trails skill.AGENTS.md § Wayfinder First).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub outfitter-dev/trails --plugin trails-dev14 skills in this plugin
/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.