← ClaudeAtlas

spectra-ingestlisted

Update an existing Spectra change from external context
jurislm/jurislm-tools · ★ 0 · AI & Automation · score 64
Install: claude install-skill jurislm/jurislm-tools
Update an existing Spectra change — from a plan file or conversation context. **Plan file support** is available when the tool has a plan directory (`~/.claude/plans/`). Otherwise, use conversation context to update artifacts. **Prerequisites**: This skill requires the `spectra` CLI. If any `spectra` command fails with "command not found" or similar, report the error and STOP. **Input**: Optionally specify a plan file path or name. - `/spectra-ingest ~/.claude/plans/agile-discovering-rocket.md` - `/spectra-ingest agile-discovering-rocket` - `/spectra-ingest` (use conversation context or auto-detect plan file) **Steps** 1. **Locate the requirement source** a. **Argument provided**: - Resolve the canonical plan root from `~/.claude/plans/` first. - If the input is a plain name (no `/` or `\\`, not absolute, and not prefixed with `~`), resolve it under the canonical plan root and append `.md` only if that candidate exists. - If the input is an explicit path, accept only an absolute path or a path prefixed with `~`; expand `~`, reject `..` path components, canonicalize the existing file, and require the canonical result to remain under the canonical plan root. Reject missing files and symlink targets that escape the plan root. - Use only the resolved canonical file as the plan source. Never prepend the plan root to an explicit path or read an uncanonicalized path. - If the resolved file exists → use it as the plan file source, proceed to Step 2 - If th