spectre-capture
Capture durable project decisions, accepted corrections, verified reusable patterns or gotchas, disproved guidance, and changed…
Internal initializer for a missing Spectre feature root. Invoke only from a standalone workflow with no confirmed managed root. Do NOT invoke for existing roots, orchestrated calls missing a root, or direct user requests.
$ npx -y skills add joenandez/spectre --skill spectre-feature-root --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/spectre-feature-rootContext preview
The summary Claude sees to decide when to auto-load this skill.
Internal initializer for a missing Spectre feature root. Invoke only from a standalone workflow with no confirmed managed root. Do NOT invoke for existing roots, orchestrated calls missing a root, or direct user requests.
name: "spectre-feature-root" description: "Internal initializer for a missing Spectre feature root. Invoke only from a standalone workflow with no confirmed managed root. Do NOT invoke for existing roots, orchestrated calls missing a root, or direct user requests." user-invocable: false
Create a canonical root with no naming/reuse gate.
Work/name hint; `KIND=feature|bug` (default `feature`); repo-relative candidate; write authority.
Read exact candidates/ignore state only; never select existing work.
Return `FEATURE`, repo-relative `FEATURE_ROOT`, warnings. DONE: valid root, neutral marker, tenancy, no phase artifact.
1. Use an explicit caller candidate/descendant. Reject absolute, traversal, symlink-escaping, or unmanaged paths. 2. Otherwise derive a concise kebab name and choose the first free `.spectre/{features|bugs}/<name>[-N]/` per `KIND`. Never inspect or offer existing roots, ask whether to reuse one, present naming options, or wait for approval; suffixes resolve collisions. 3. Create `feature.json` containing only `schema_version`, `created_at`, `feature`, and repo-relative `feature_root`; no lifecycle, alias, branch, or absolute path. 4. Unless `.spectre/` is ignored, preserve `.spectre/.gitignore`; require literal `manifest.json`, `bin/`, `handoffs/`, `!features/`, `!bugs/`, plus `evidence/`, `checkpoints/`, `runs/`, `markers/`, `working_set.json`, `cleanup_summary.md`, `execution_state.md`, `reviews/task_review_attempt.json`, `reviews/task_review_safety.json` under both `features/**/` and `bugs/**/`. Specs/research/decisions/reviews/proof stay trackable. Never edit root `.gitignore`; warn on local-only matches. 5. Write only root initialization.
Return values/warnings; caller owns routing.
Unsafe candidate/escape, marker/root conflict, or insufficient write authority. Naming ambiguity or collision never escalates.
SPECTRE is an Agentic Engineering workflow for Claude Code and Codex designed to help you do ONE THING more, faster, and with higher quality.
Capture durable project decisions, accepted corrections, verified reusable patterns or gotchas, disproved guidance, and changed…
Run final adversarial review through a pinned high-effort opposing runtime with one native fallback. Use at the final boundary to…
Generate a grounded draft pull request from the actual diff and open it via gh. Use when wrapping up a branch or writing a PR…
Assess and repair a project's Spectre knowledge, work history, tags, and retrieval quality through primary-led decisions,…
Execute tasks/plans with checks/reviews/proof. Use after planning/resume. Not for planning, unplanned fixes, or pruning.
Internal diagnosis engine for the Spectre Fix workflow. Use only when invoked by spectre-fix to investigate a reported bug and…