Herdr UI
Herdr의 TUI가 뛰어나며, 창을 통해 추가되는 기능
Prism transforms complex coding tasks into focused, quality work through specialized agents and systematic documentation.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
A structured 4-phase development workflow for Claude Code
Research → Plan → Implement → Validate
Prism transforms complex coding tasks into focused, quality work through specialized agents and systematic documentation. Rather than jumping straight into code, Prism guides AI through deliberate phases—researching the codebase, creating approved plans, implementing with verification, and validating against success criteria.README 전문 보기 ↗A structured 4-phase development workflow for Claude Code
Research → Plan → Implement → Validate
Prism transforms complex coding tasks into focused, quality work through specialized agents and systematic documentation. Rather than jumping straight into code, Prism guides AI through deliberate phases—researching the codebase, creating approved plans, implementing with verification, and validating against success criteria.
Key Features:
# Add the marketplace
/plugin marketplace add TheDigitalGriot/prism
# Install the plugin
/plugin install prism@prism-marketplace
claude --plugin-dir /path/to/prism-plugin
claude-fable-5-1), the gated escalation tier. Lower floors if you do not use Fable: v2.1.219 for Opus 5 (the routine ceiling), v2.1.197 for Sonnet 5, v2.1.217 for the deterministic subagent caps, v2.1.154 for native EnterWorktree/ExitWorktree support, and v2.1.111 for effort: xhigh skills (prism-brainstorm, prism-plan, prism-prd, prism-design, prism-subagent, prism-iterate). v2.1.80+ required for brainstorm active wake mode. Run claude update if on an older version.graph-navigator agent, blast-radius analysis in prism-plan, structural validation in prism-validate, graph verification in spectrum). Without it, all graph steps no-op gracefully. Verify: codebase-memory-mcp --version (should return 0.6.0+).digital-griot-mcp MCP server (the shared Griot wake channel behind the visual companion wake mode). Install: npm install -g bun or curl -fsSL https://bun.sh/install | bash.spectrum.sh JSON parsing. Install: brew install jq (macOS) or apt install jq (Linux).spectrum (uses sonnet[1m] for 1M context autonomous execution). Pro users require usage credits for 1M context.Say "help me build [feature]" or "implement [task]" to trigger the full Prism workflow.
| Command | Purpose |
|---|---|
/prism:prism | Main orchestrator - routes to appropriate phase |
/prism:prism-research | Research phase - document codebase |
/prism:prism-plan | Create implementation plan |
/prism:prism-implement | Execute approved plan |
/prism:prism-validate | Verify implementation against plan |
/prism:prism-iterate | Update plan based on feedback |
/prism:spectrum | Autonomous story execution (used with spectrum.sh) |
/prism:prism-spectrum | Deprecation alias -> spectrum (still resolves) |
/prism:prism-debug | Debug investigation with parallel agents |
/prism:prism-subagent | Same-session subagent execution with two-stage review |
/prism:prism-dispatch | Route a task to the right execution model |
/prism:prism-decompose | Convert an approved plan into executable stories |
/prism:prism-finish | Wrap a branch — cleanup, PR description, handoff |
/prism:prism-init | Scaffold the .prism/ directory in a project |
The end-of-cycle arc. prism-closing-ceremony runs the whole sequence in one pass.
| Skill | Purpose |
|---|---|
/prism:prism-closing-ceremony | Review & Audit gate → bookend → docs-update → release, fail-fast |
/prism:prism-bookend | Analyze commits, propose the semver bump, update the doc snapshot |
/prism:prism-docs-update | Sync the VitePress site from a PRISM-DOCUMENTATION-*.md snapshot |
/prism:prism-release | Build all artifacts, commit, tag, push, publish the GitHub release |
/prism:prism-sideload | Build a Cowork sideload zip |
/prism:prism-eval | Run skill evals against a version snapshot |
| Skill | Purpose |
|---|---|
/prism:griot-agent-architect | The plugin- and agent-architecture gold standard — manifests, components, model config (alias: /prism:cl-plugin-structure, still resolves) |
/prism:fragment-sync | Reconcile Fragment's scaffolder to the current Prism standard |
/prism:spectrum-architect | Build ICM workspaces + headless stage contracts |
/prism:icm-architect | Deprecation alias -> spectrum-architect (still resolves) |
/prism:prism-gavel | Decision cockpit — the browser-driven gavel surface |
/prism:prism-brand | Brand matrix and identity work |
/prism:prism-capture | Capture a session into structured .prism/ artifacts |
/prism:prism-verify | Browser verification via Playwright |
/prism:prism-visual-docs | Visual documentation generation |
/prism:prism-codex-plan-sync | Sync plans across the Codex surface |
For large features with 10+ changes, use Spectrum-style iterative execution:
# 1. Create and approve a plan
/prism:prism-plan
# 2. Decompose plan into atomic stories
/prism:decompose_plan
# 3. Run autonomous execution
./scripts/spectrum.sh
Spectrum spawns fresh Claude sessions in a loop, executing one story per iteration with quality gates. Memory persists through files, not AI context.
| Command | Purpose |
|---|---|
/prism:spectrum | Single-story execution (called by spectrum.sh) |
/prism:decompose_plan | Convert plan into stories.json |
Investigate issues during implementation or when quality gates fail:
| Command | Purpose |
|---|---|
/prism:prism-debug | Spawn parallel debug investigation agents |
Debug automatically integrates with Spectrum - when quality gates fail, investigation runs before retry.
These skills orchestrate document generation commands with workflow integration:
| Command | Purpose | Invokes |
|---|---|---|
/prism:prism-prd | Generate PRD with workflow context | /generate_prd |
/prism:prism-visual-docs | Generate UX documentation | /generate_user_flows, /generate_tech_spec |
Standalone commands for generating project documentation:
| Command | Purpose |
|---|---|
/prism:generate_prd | Generate Product Requirements Document |
/prism:generate_tech_spec | Generate Technical Specification |
/prism:generate_user_flows | Generate User Flows & wireframes |
/prism:generate_pricing | Generate MVP pricing proposal |
| Command | Purpose |
|---|---|
/prism:commit | Git commit workflow |
/prism:describe_pr | Generate PR description |
/prism:create_handoff | Create session handoff document |
/prism:resume_handoff | Resume from handoff |
/prism:worktree | Set up git worktree |
/prism:review-setup | Set up PR review environment |
/prism:retroactive | Create ticket/PR after work done |
User Request
│
▼
┌──────────────────┐
│ SKILLS │ Auto-discovered based on context
│ (Orchestrators) │ Invoke commands & agents
└────────┬─────────┘
▼
┌──────────────────┐
│ COMMANDS │ User-invocable via /command
│ (Operations) │ Single-file focused prompts
└────────┬─────────┘
▼
┌──────────────────┐
│ AGENTS │ Specialized workers via Task()
│ (Specialists) │ Research, analysis, pattern finding
└──────────────────┘
┌─────────────┐ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ prism-prd │────▶│ research │────▶│ plan │────▶│ implement │
│ (Optional) │ │ │ │ │ │ │
└─────────────┘ └─────────────┘ └─────────────┘ └──────┬──────┘
│ │
▼ ┌──────┴──────┐
┌─────────────┐ │ │
│ visual-docs │ ▼ ▼
│ (Optional) │ ┌───────────┐ ┌───────────┐
└─────────────┘ │ Manual │ │ Spectrum │
│ Path │ │ Path │
└─────┬─────┘ └─────┬─────┘
│ │
└──────┬──────┘
▼
┌─────────────┐
│ validate │
└──────┬──────┘
│
▼
┌─────────────┐
│ iterate │
│ (if needed) │
└─────────────┘
┌─────────────────────────────────────────────────────────────┐
│ spectrum.sh (Bash Loop) │
│ │
│ for iteration in 1..MAX_ITERATIONS; do │
│ claude --skill spectrum │
│ if output contains "<promise>COMPLETE</promise>" │
│ break │
│ done │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Fresh Claude Session (per iteration) │
│ │
│ 1. Load state from files (stories.json, progress.md) │
│ 2. Pick highest priority incomplete story │
│ 3. Implement story │
│ 4. Run quality gates (typecheck, lint, test) │
│ 5. If fail → auto-debug → retry signal │
│ 6. If pass → commit → update state → continue signal │
└─────────────────────────────────────────────────────────────┘
Skills orchestrate commands for document generation:
Skills (Orchestrators) Commands (Generators)
───────────────────── ────────────────────
prism-prd ──────────────▶ /generate_prd
prism-visual-docs ──────────────▶ /generate_user_flows
──────────────▶ /generate_tech_spec
(standalone) ──────────────▶ /generate_pricing
| Agent | Purpose | Model |
|---|---|---|
codebase-locator | Find WHERE code lives | haiku |
codebase-analyzer | Understand HOW code works | opus |
codebase-pattern-finder | Find patterns to model after | sonnet |
prism-locator | Find existing docs in .prism/ | haiku |
prism-analyzer | Extract insights from docs | opus |
web-search-researcher | Research external docs/APIs | sonnet |
| Agent | Purpose | Model |
|---|---|---|
log-investigator | Analyze logs for errors | haiku |
state-investigator | Check app state and config | haiku |
git-investigator | Analyze git history | haiku |
The two-stage review pair used by prism-subagent and the closing ceremony.
| Agent | Purpose | Model |
|---|---|---|
spec-reviewer | Stage 1 — does the diff match the story exactly? | sonnet |
quality-reviewer | Stage 2 — architecture, testing, maintainability | sonnet |
browser-verifier | Screenshots + console-error assertions via Playwright | haiku |
visual-regression-grader | Judge a visual diff: regression vs intentional | sonnet |
graph-navigator | Structural queries over the code graph | haiku |
Agents declare aliases (
opus/sonnet/haiku), never pinned model IDs, so a family roll-forward never requires touching agent frontmatter. See Model Assignment.
All research agents follow this philosophy:
Plans always separate:
npm test, make check)Plans are contracts:
Prism uses a .prism/ directory for persistent documentation:
project/
└── .prism/
├── stories/ # Task definitions
│ └── stories.json # Story definitions and status
├── shared/ # Committed to repo
│ ├── research/ # YYYY-MM-DD-topic.md
│ ├── plans/ # YYYY-MM-DD-feature.md (PRDs, specs, flows)
│ ├── validation/ # YYYY-MM-DD-report.md
│ ├── handoffs/ # Session handoff docs
│ ├── prs/ # PR descriptions
│ ├── spectrum/ # Execution state
│ │ └── progress.md # Accumulated learnings
│ ├── ref/ # Reference materials
│ └── docs/ # Project documentation
└── local/ # Gitignored, per-developer
Initialize with:
python skills/prism/scripts/init_prism.py
For autonomous multi-story execution:
# 1. Create a plan
/prism:prism-plan "Add user authentication"
# 2. Decompose into stories
/prism:decompose_plan .prism/shared/plans/2026-02-04-auth.md
# 3. Run autonomous execution
./scripts/spectrum.sh
# Custom iteration limit (default: 50)
SPECTRUM_MAX_ITERATIONS=20 ./scripts/spectrum.sh
# Verbose output
SPECTRUM_VERBOSE=true ./scripts/spectrum.sh
# Custom stories file
./scripts/spectrum.sh path/to/stories.json
stories.json and progress.mdMIT