Use when rendering the Next Steps footer after any spectre command, suggesting next actions, or when users need guidance on which SPECTRE command to run.
Guides users through the SPECTRE workflow by suggesting appropriate next commands after each action.
/plugin marketplace add codename-inc/spectre/plugin install spectre@spectreThis skill inherits all available tools. When active, it can use any tool Claude has access to.
The single reference for how to use SPECTRE — for both humans and agents.
SPECTRE exists because ambiguity is death for AI coding agents. When scope, UX, and plans are vague, you rely on the LLM to fill in the blanks — and that's how you end up with spaghetti code, conflicts, and AI slop.
SPECTRE uses structured workflows that generate canonical docs — scope documents, UX specs, technical plans, task breakdowns — so you and your agent are aligned on exactly what's being built before a single line of code is written.
The better the inputs, the better the outputs. SPECTRE makes it easy to provide great inputs.
SPECTRE is essentially rapid waterfall: specificity up front → working code → iterate.
AI agents are 10x better at working around working existing code. That's why they're great at refactors — they have an established baseline. SPECTRE gets you to working code faster, then you iterate.
# In Claude Code
/plugin marketplace add Codename-Inc/spectre
/plugin install spectre@codename
/spectre:scope
That's it. Start with scope, follow the prompts, and SPECTRE will guide you through the rest. Every command ends with "Next Steps" suggestions — you never have to remember what to run next.
SPECTRE accumulates context across sessions:
/config/spectre:handoff before session ends or when context window is getting full/clear — next session auto-loads your progress/spectre:forget when switching gears to start freshScope → Plan → Execute → Clean → Test → Rebase → Evaluate
| Phase | Command | What It Does |
|---|---|---|
| Scope | /spectre:scope | Define requirements, constraints, what's IN and OUT |
| Plan | /spectre:plan | Research codebase, create implementation plan + tasks |
| Execute | /spectre:execute | Parallel subagent development in waves |
| Clean | /spectre:clean | Remove dead code, fix duplication, lint |
| Test | /spectre:test | Risk-aware test coverage (not brute-force 100%) |
| Rebase | /spectre:rebase | Safe merge preparation with conflict handling |
| Evaluate | /spectre:evaluate | Architecture review + knowledge capture |
You can use any command standalone — they don't require running in order.
This is how the creator of SPECTRE uses it daily:
/spectre:scope — Get crisp on what's in/out. Non-negotiable unless it's a one-liner.
/spectre:ux_spec first for user flows and components/spectre:plan — Build a well-researched technical design or task set
/spectre:handoff for a fresh context window/spectre:execute — Parallel subagents work through the tasks
/spectre:handoff again for clean contextManual testing + fixes — Test the feature yourself
/plan mode for small fixes/spectre:fix for structured debugging of tough bugs/spectre:scope cycle/spectre:handoff liberally to keep context clean/spectre:sweep — Commit accumulated changes with lint + test
/spectre:clean then /spectre:test — Deep cleanup and risk-aware testing
/spectre:rebase — Rebase onto parent branch, prepare for merge
/spectre:evaluate — Architecture review + capture knowledge for future sessions
Merge/PR — Address PR comments, get it checked in
For small/medium changes (1-5 tasks):
/spectre:quick_dev
Lightweight scope + plan that gets you to execution fast.
| Command | When to Use |
|---|---|
/spectre:scope | Starting any new feature — interactive scoping with IN/OUT boundaries |
/spectre:kickoff | High-ambiguity projects — includes web research for best practices |
/spectre:research | Need deep codebase understanding before planning |
/spectre:ux_spec | UI-heavy features that need screen layouts, user flows, component states |
| Command | When to Use |
|---|---|
/spectre:plan | Unified entry — researches, assesses complexity, routes to right workflow |
/spectre:create_plan | Complex work needing architectural design before tasking |
/spectre:create_tasks | Requirements/plan ready to become concrete tasks |
/spectre:plan_review | Sanity check a plan/task list for over-engineering |
| Command | When to Use |
|---|---|
/spectre:execute | Tasks exist, ready for coordinated multi-agent parallel execution |
/spectre:code_review | Implementation complete, ready for in-depth review |
/spectre:validate | Verify implementation against original scope requirement-by-requirement |
/spectre:create_test_guide | Generate manual QA checklist based on features and risks |
| Command | When to Use |
|---|---|
/spectre:clean | Deep cleanup — dead code, duplication, artifacts |
/spectre:sweep | Light pass — lint, test, descriptive commits for accumulated changes |
| Command | When to Use |
|---|---|
/spectre:test | After changes — analyzes risk tiers (P0-P3), writes behavioral tests |
| Command | When to Use |
|---|---|
/spectre:rebase | Rebase working branch onto target with conflict handling |
| Command | When to Use |
|---|---|
/spectre:evaluate | Full evaluate — architecture review (background) + knowledge capture |
/spectre:learn | Just capture knowledge from this session |
/spectre:architecture_review | Just run the architecture review |
/spectre:recall {query} | Find and load existing knowledge |
| Command | When to Use |
|---|---|
/spectre:handoff | Save session state — end of session, context full, switching gears |
/spectre:forget | Clear memory, archive logs, start fresh |
/spectre:fix | Structured debugging for tough bugs |
/spectre:quick_dev | Lightweight scope + plan for small/medium tasks |
Starting a feature?
-> /spectre:scope (always start here unless it's trivial)
Feature has complex UI?
-> /spectre:ux_spec after scope, before plan
High ambiguity / new project?
-> /spectre:kickoff (includes web research)
Need to understand code first?
-> /spectre:research
Have scope, need plan?
-> /spectre:plan (auto-routes based on complexity)
Have tasks, ready to build?
-> /spectre:execute
Code complete, need review?
-> /spectre:code_review then /spectre:validate
Accumulated uncommitted changes?
-> /spectre:sweep (light) or /spectre:clean (deep)
Need test coverage?
-> /spectre:test
Ready to merge?
-> /spectre:rebase
Feature done?
-> /spectre:evaluate (review + learn)
Ending session?
-> /spectre:handoff
Switching contexts?
-> /spectre:forget
Bug to fix?
-> /spectre:fix
Small task, skip ceremony?
-> /spectre:quick_dev
SPECTRE dispatches these automatically — you don't need to call them directly. But @spectre:web-research is useful for ad-hoc web research (like mini deep-research).
| Agent | Purpose | Model |
|---|---|---|
@spectre:dev | Implementation with MVP focus | sonnet |
@spectre:analyst | Understand how code works | haiku |
@spectre:finder | Find where code lives | haiku |
@spectre:patterns | Find reusable patterns | sonnet |
@spectre:web-research | Web research | sonnet |
@spectre:tester | Test automation | sonnet |
@spectre:reviewer | Independent code review | opus |
@spectre:sync | Session memory consolidation | haiku |
SPECTRE generates these documents in docs/tasks/{branch_name}/:
| Document | Generated By | Purpose |
|---|---|---|
concepts/scope.md | /spectre:scope | What's IN and OUT |
specs/ux.md | /spectre:ux_spec | User flows, components, interactions |
specs/plan.md | /spectre:create_plan | Technical design and phasing |
specs/tasks.md | /spectre:create_tasks | Concrete tasks with acceptance criteria |
reviews/code_review.md | /spectre:code_review | Severity-based code review findings |
validation/validation_gaps.md | /spectre:validate | Gaps between scope and implementation |
testing/*_test_guide.md | /spectre:create_test_guide | Manual QA checklists |
session_logs/*_handoff.json | /spectre:handoff | Session state snapshots |
Keep these checked into git — they're the context in context engineering.
Always render a 60-column ASCII box footer at the end of command output.
╔══════════════════════════════════════════════════════════╗
║ NEXT STEPS ║
╠══════════════════════════════════════════════════════════╣
║ Phase: {phase} | {status} | {blockers} ║
╟──────────────────────────────────────────────────────────╢
║ Next — {concise recommendation; 1–2 lines max} ║
║ ║
║ Options: ║
║ - {/spectre:command or action} — {why} ║
║ - {/spectre:command or action} — {why} ║
║ - {/spectre:command or action} — {why} ║
║ … up to 5 total; max 2 manual actions ║
║ ║
║ Reply — {only if textual reply expected} ║
╚══════════════════════════════════════════════════════════╝
Active — work in progress, no blockersPending Input — awaiting user decision/confirmationBlocked — external dependency or unresolved issueOn Hold — paused, waiting for external factorComplete — phase finished successfully/spectre: prefix╟──────╢ between status and next rowsCRITICAL:
/spectre: prefix (e.g., /spectre:scope, /spectre:execute)Correct:
/spectre:scope — Interactive feature scoping
/spectre:execute — Parallel agent execution
Run manual tests — Execute test guide checklist
Incorrect:
/scope — Missing spectre: prefix
/run tests — Not a slash command
/commit — Does not exist
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.