/lazyspec:scaffoldfrom lazyspec
Creates a new document shell with frontmatter and links, then hands the body back to the human to fill in. Use when starting a new document at the most manual authorship level.
Ships in lazyspec. 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.
CREATE THE SHELL, HAND THE BODY BACK
Do NOT write the document body. Scaffold creates the file, frontmatter, and links, then surfaces the type's intent and section guidance for the human to fill in.
Read the target type's config from `lazyspec config --json` before creating anything; the type is a parameter, never assumed.
- Do NOT hand-edit document files to create or link them. Use `lazyspec create` (seed with `--body`) and `lazyspec link`. To change body content, use `lazyspec update --body` -- for EVERY store, filesystem included. (Scaffold itself writes no body; it hands that back to the human.)
- Do NOT edit a document you haven't read. Always `lazyspec show --json` or `Read` first.
- Do NOT skip the workflow pipeline. Respect the configured DAG -- type boundaries come from the `edges` table and from nothing else; honor every edge.
Set body at creation: `lazyspec create "" --body "content"`. Change it later: `lazyspec update <ID> --body "content"`. Prefer `--body` over any direct file edit, for ALL stores (filesystem and github-issues alike).
GitHub-issues docs additionally: never edit `.lazyspec/cache/` mirrors (read-only); always reference docs by shorthand ID (e.g. STORY-095), not cache paths.
</BODY-CONTENT>
Always run lazyspec help <subcommand> before using unfamiliar commands. Always pass --json. Read type, relation and lifecycle facts from the CLI, never from .lazyspec/ graph files directly. On failure, check --help before retrying.
The authorship order is scaffold < co-write < generate. A type's authorship value in config (human, assisted, generated) is the ceiling -- the highest verb permitted for that type.
Scaffold is the floor of that order, so it is permitted on every authorship value. Scaffold never refuses on ceiling grounds. Even a type whose ceiling is human can be scaffolded; that is exactly the manual case scaffold exists for.
lazyspec config --json -- read the target <type> entry: its intent (what the doc is for), its authorship ceiling (for confirmation only -- scaffold proceeds regardless), and the section guidance available from its template. parent_type decides containment only -- the directory this type's documents live under and the store backend they share -- and declares no link.lazyspec status --json -- see what already exists and locate the parent document to link to.lazyspec context --json -- understand the chain around the user's current position so the new document lands in the right place.lazyspec create <type> "<title>" --author <name>, where <type> is the parameter read from config (e.g. in the shipped default config a type named rfc, but never assume that name -- read it).edges rows whose from admits this type. A row reads child-to-parent, so the new document sits on the from side: the row's via is the relation to pass to lazyspec link, and its to names the types a target document may be. lazyspec link <new-id> <via> <target-id>, with <via> read off the row -- never bake a relation name into the call. Take the type vocabulary from types; a "*" filters rather than lists, so never expand one into a type name. When no row admits this type, or no document of a type its to admits exists, link nothing and say so.intent from config and the per-section <!-- guidance --> comments from the scaffolded body. Tell the human these are the sections to fill in.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jkaloger/lazyspec --plugin lazyspec12 skills in this plugin
/advanceUse when moving a document to its next status along the type's lifecycle DAG, maintaining links across the transition./configure-typeUse when adding a new custom document type to a lazyspec project. Interviews the user to co-author the type's methodology -- intent, authorship, lifecycle, relations -- then writes its enriched template and `[[types]]` config via the config-write CLI. One type per run./co-writeUse when drafting a document of a configured type collaboratively -- AI proposes a draft body, the human edits, iterate -- up to the type's authorship ceiling./create-auditUse when running a criteria-based review (health check, security audit, accessibility review, pen test, bug bash, spec compliance). Creates an Audit document with findings and presents them to the user for triage./executeUse when carrying out the work a delivery document describes -- building against its task breakdown and acceptance criteria in one pass./generateUse when authoring a full document body of a configured type from context -- AI writes the complete body, then asks for review -- only permitted when the type's authorship ceiling is `generated`.Other plugins' skills for the same job