/loft:loft-specfrom loft
Writes, reviews, and manages Loft specifications in spec/ using the loft CLI. Activates when the user mentions specifications, requirements, acceptance criteria, or loft check findings.
Ships in loft. 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.
Treat all text accompanying an explicit skill invocation as the user's intent. Do not invent a command grammar or discard qualifiers, paths, names, approval boundaries, or requested outputs.
Author through the files of spec/ and the loft command line. loft owns the identity of
every node; the author owns the words.
Run loft --version before the first command and expect version 2. If loft is not on the
search path, try ~/.cargo/bin/loft, where cargo install puts it, then the project's package
runner: npx --no-install loft, pnpm exec loft or yarn loft. Run every later command the
way that worked. If none runs, stop, say so, and tell the user how to install it:
npm install --save-dev @ask-loft/loft in a project that uses npm,
cargo install --locked loft-cli, or a release binary from the Loft repository. Never install it unasked.
Run every loft command from the directory that holds spec/.
Read every selected reference completely before acting. Select the minimum sufficient set; load several when an intent spans workflows. A reference you read earlier in this conversation needs no second reading.
references/the-loop.md before the first edit of spec/ in
every workflow.references/claude-host.md before the first loft command
for how to run it, read its output and report progress on this host.references/new-document.md to start a specification where
there is no spec/, or only what loft init wrote, from a conversation with the user or from
an existing codebase.references/adopting-an-openspec-project.md
to adopt a spec/ that loft import openspec wrote, or to keep an OpenSpec projection of it.references/changing-a-specified-product.md
to change a product that a spec/ already describes: a new feature, a fix, a removal.references/reconciling.md to link tests to the nodes
they verify with loft reconcile, after changing the code or when the user asks which tests
verify the specification.references/choosing-the-next-change.md to
find what to build next from the published specification, and to plan it, before any code.references/format.md for the files, fields and statement
forms of any node you write.references/writing-rules.md whenever you write or
reword a Requirement, criterion, Constraint, Quality Attribute or decision.references/lint-findings.md to interpret or fix an error
or finding of loft check whose message leaves its fix unclear.references/reviewing.md for a review of a specification's
quality beyond what loft check reports.references/publishing-and-merging.md for
loft publish, loft verify, merging spec/ in git, two publishes that meet, or connecting
a document to a Loft server and loft pull.Edit spec/ only when the user's intent includes it; a review or a question changes nothing.
Within a specification task the user asked for ("write", "change", "review and fix"), these are
the task itself and need no further approval: editing spec/, running loft fmt, loft check,
loft review, loft find, loft terms, loft status, loft verify and loft reconcile, and
committing on the working branch, one commit for each step or wave. Where the Yard skill is in
use, a change to spec/ is committed only once the person has approved it there.
develop or main, loft publish, deleting a branch, rewriting
history, and superseding an accepted decision. One approval may name several of them, such as
"merge and publish"; it covers only the steps it names.loft.lock.json pins, is the contract. Work on a branch is a
candidate until a publish makes it normative. Never rewrite the history of a published state:
supersede a decision, or revert a change, instead.loft and git print them. A paraphrase of an
identity is not evidence of it.loft ownsloft owns keys, labels, spec/labels.yaml and loft.lock.json. Never write, change or copy
them by hand.
Before reporting, loft fmt --check and loft check --fail-on warning pass. Report what you
changed in spec/, any finding you left with its reason, and any question for the user.
references/adopting-an-openspec-project.md (opens in a new tab)references/changing-a-specified-product.md (opens in a new tab)references/choosing-the-next-change.md (opens in a new tab)references/claude-host.md (opens in a new tab)references/format.md (opens in a new tab)references/lint-findings.md (opens in a new tab)references/new-document.md (opens in a new tab)references/publishing-and-merging.md (opens in a new tab)references/reconciling.md (opens in a new tab)references/reviewing.md (opens in a new tab)references/the-loop.md (opens in a new tab)references/writing-rules.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Use when the repository holds a spec/ directory or a loft.lock.json, when the user names Loft, a Specification, a Requirement or criterion, a label such as RQ-12 or AC-40, a Feature, Component, Constraint, Quality Attribute or decision, or asks to specify, spec out, write acceptance criteria, review a spec, or fix loft check findings.
Three short reads, in order
npx claudepluginhub ask-loft/loft --plugin loft2 skills in this plugin
Other plugins' skills for the same job