notque/feature-lifecycle
|
npx skills add https://github.com/notque/vexjoy-agent --skill feature-lifecycle
Phase-gated feature workflow: DESIGN > PLAN > IMPLEMENT > VALIDATE > RELEASE. Each phase must pass its gate before the next begins.
Determine which phase to execute based on feature state:
.feature/ exists, check current phase: python3 ~/.claude/scripts/feature-state.py status
Route to the phase indicated by the state machine.
references/design.mdreferences/plan.mdreferences/implement.mdreferences/validate.md — run quality gate commands, do not reason about whether they would pass. Paste exit codes and output.references/release.mdreferences/pipeline.mdRead references/shared.md for directory structure, state management commands, context loading rules, and naming conventions. All state operations go through python3 ~/.claude/scripts/feature-state.py -- never manipulate state files directly.
DESIGN -> PLAN -> IMPLEMENT -> VALIDATE -> RELEASE
| | | | |
v v v v v
design.md plan.md impl.md report.md PR merged
Each phase produces an artifact consumed by the next. Skipping phases is not supported because downstream phases depend on artifacts from earlier phases.
| Signal | Load These Files | Why |
|---|---|---|
| Phase 1 DESIGN: idea to design document | design.md | Loads detailed guidance from design.md. |
| errors, error handling | error-handling.md | Loads detailed guidance from error-handling.md. |
| Phase 3 IMPLEMENT: dispatching task waves to domain agents | implement.md | Loads detailed guidance from implement.md. |
| running the full design-to-release pipeline | pipeline.md | Loads detailed guidance from pipeline.md. |
| Phase 2 PLAN: decomposing design into wave-ordered tasks | plan.md | Loads detailed guidance from plan.md. |
| Phase 5 RELEASE: PR merge, tagging, worktree cleanup | release.md | Loads detailed guidance from release.md. |
| feature state directory layout, naming, write protection | shared.md | Loads detailed guidance from shared.md. |
| Phase 4 VALIDATE: running quality gates | validate.md | Loads detailed guidance from validate.md. |
| Error | Cause | Solution |
|-------|-------|----------|
| Phase mismatch | User requests phase N but state is at phase M | Report current state, suggest correct next phase |
| Missing artifact | Previous phase did not produce expected output | Route back to previous phase |
| Gate failure | Phase requirements not met | Report what failed, suggest fixes |
| Task Signal | Load |
|-------------|------|
| Phase routing (design/plan/implement/validate/release) | Phase reference (design.md, plan.md, implement.md, validate.md, release.md) |
| End-to-end or full pipeline | references/pipeline.md |
| State commands, directory structure, naming | references/shared.md |
| Error, failure, blocked, gate fail, retry, deviation | references/error-handling.md |
references/design.md -- Design phase: explore requirements, discuss trade-offsreferences/plan.md -- Plan phase: break design into wave-ordered tasksreferences/implement.md -- Implement phase: dispatch tasks to domain agentsreferences/validate.md -- Validate phase: run quality gatesreferences/release.md -- Release phase: merge, tag, cleanupreferences/pipeline.md -- End-to-end orchestration across all phasesreferences/shared.md -- State conventions shared across all phasesreferences/error-handling.md -- Recovery patterns for phase errors, gate failures, agent dispatch failuresTake notque/feature-lifecycle from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.