/lazyspec:co-writefrom lazyspec
Collaboratively drafts documents of configured types by proposing a draft body for human editing and iteration. Respects authorship ceilings from lazyspec config.
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.
PROPOSE A DRAFT, THE HUMAN EDITS, ITERATE
Do NOT proceed when the target type's `authorship` ceiling is `human` -- that type tops out at scaffold. Read the ceiling from `lazyspec config --json` and refuse, naming the ceiling.
Co-write proposes a draft for human editing; it does not finalise a body unilaterally.
- Do NOT hand-edit document files. The CLI is the only writer: `lazyspec create` (seed with `--body`), `lazyspec link`, and `lazyspec update --body` to change body content. This holds for EVERY store, filesystem included.
- 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 is the ceiling.
Co-write is the middle rung. It is permitted when the type's authorship is assisted or generated.
Refuse when the type's authorship is human. Read the ceiling from lazyspec config --json and report it. Refusal text reads the ceiling out of config -- there is no hardcoded type-to-ceiling table:
Type
<type>is human-authored (ceiling = scaffold); drop to /scaffold.
where <type> and the ceiling are the actual values read from config for that run.
lazyspec config --json -- read the target <type>: its intent, its authorship ceiling (gate the verb on this), section guidance from its template, and the relation names in relationships. 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 -- locate the parent document to link to.lazyspec context --json -- understand the chain around the user's position.Scaffold, interview, then propose:
lazyspec create <type> "<title>" --author <name>, then lazyspec link <new-id> <relation> <parent-id> using the configured relation when a parent exists.config --json / parent docs / @ref targets, explore and answer it yourself instead of asking. Continue until every open branch the type's intent and section guidance imply is resolved -- do not start the draft with unresolved decisions.
2.1 Propose 2-3 designs per unknown Never propose only one option, always provide a range of design iterations/options to choose.intent and section guidance from config, incorporating the interview answers. Do not write verbose prose, only outline a summary of the key design/decisions made during the interview into the document.lazyspec update <id>.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./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`./lazyUse as the entry point for any work, including reported bugs, defects, and unexpected behaviour. Reads the configured DAG and the user's position, then dispatches the right verb -- advancing within the current document automatically but stopping at type boundaries.Other plugins' skills for the same job