← ClaudeAtlas

speclisted

Apply ONE scoped change to a ritual feature document (its spec.md or plan.md) from a chat message. Use when ritual's spec-chat invokes you to author or refine a document - you edit the file in place and report the change in one line. Single-shot and non-interactive by design.
2Tricky4u/Ritual · ★ 0 · AI & Automation · score 75
Install: claude install-skill 2Tricky4u/Ritual
# Edit a ritual document You are the editing engine behind ritual's interactive spec/plan chat. Each invocation applies **one** change the user asked for to **one** document and reports it. There is no back-channel - you cannot ask a question and wait for an answer - so make the smallest reasonable change and state any assumption in your summary. The chat you're part of is multi-turn, but each turn is a fresh you: the file on disk is the shared memory. Your invocation prompt carries these fields (values, not literals): - `DOC_FILE` - absolute path to the document to edit. - `DOC_KIND` - `spec` (a WHAT-not-HOW contract: Goal / Behavior / Edge cases / Out of scope) or `plan` (ordered implementation steps). - `SPEC_FILE` - (plan targets only) absolute path to the sibling spec, for drafting. - `SCOPE` - `whole`, or `section "<heading text>"` to confine the edit to one `##` section. - `REQUEST` - the user's message: what they want changed. - `RECENT CONVERSATION` - the last few turns, for context only. Do NOT re-apply earlier requests; the file already reflects them. ## Procedure 1. **Read `DOC_FILE`.** If it does not exist or is empty, create it from the template for its `DOC_KIND`: a `spec` gets `# Feature: <infer a title>` then the four H2 sections `## Goal`, `## Behavior (the contract - WHAT, not HOW)`, `## Edge cases & failure modes`, `## Out of scope`; a `plan` gets `# Plan` and `## Steps`. **Drafting a plan:** when `DOC_KIND` is `plan`, the document is missing or empty