用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill workflow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | workflow |
| description | | Use when this capability is needed. |
STOP! Before implementing ANYTHING, you MUST:
CREATE A PLAN using TodoWrite tool:
- List EXACT workflow commands to use
- List SPECIFIC skills to load
- List FILES to create/modify
- List TESTS to run for validation
SHOW THE PLAN to the user:
"Here's my workflow plan:
1. /intent-audit to analyze gaps
2. Load ux-design skill for multi-panel UI
3. /gap to create GAP-A-XXX entries
4. /improve --severity=critical
5. /verify to validate fixes
Shall I proceed with this plan?"
EXECUTE STEP-BY-STEP (MANDATORY):
CRITICAL: The plan is NOT self-executing. You MUST:
NEVER jump straight into coding without a plan!
The workflow AUTOMATICALLY detects project state:
# Automatic check when user requests features:
if [ -f "docs/intent/product-intent.md" ] && \
[ -f "docs/ux/user-journeys.md" ] && \
[ -f "docs/architecture/system-design.md" ]; then
# ITERATION MODE (default for existing projects)
echo "📊 Existing project detected - using iteration mode"
else
# STANDARD MODE (for new projects)
echo "🆕 New project - using standard workflow"
fi
No need to ask - just use the right mode:
Should I create an iteration plan? [Y/n]
**User can override but explain consequences:**
⚠️ Standard mode will redesign from scratch
Are you sure you want standard mode? [y/N]
### Planning Verification Checklist
Before proceeding with ANY implementation, verify:
- [ ] TodoWrite plan created with specific workflow steps?
- [ ] Plan shown to user for approval?
- [ ] Each step maps to a workflow command or skill?
- [ ] State tracking configured in CLAUDE.md?
- [ ] Tests identified for validation?
- [ ] No direct code writing without workflow commands?
**If any item unchecked → STOP and create proper plan first!**
## CRITICAL: Real Validation Required
**YOU HAVE THE BASH TOOL. USE IT.**
This workflow ONLY works if you:
1. **Run actual tests** - Use Bash tool to execute `npm test`
2. **Start actual servers** - Use Bash tool to run `npm run dev`
3. **Check actual results** - Show real output, not assumptions
4. **Fail when broken** - If tests fail, say so
**NEVER** say:
- "Tests would pass"
- "Should work"
- "Implementation successful"
**ALWAYS** say:
- "Running tests now..." [then actually run them]
- "Test results: [actual output]"
- "Tests failed with: [actual error]"
## Overview
This skill provides orchestration logic for greenfield and brownfield development workflows. Claude automatically loads this skill when managing project phases.
## 🔄 ITERATION WORKFLOW (Most Common - Enhancing Existing Projects)
**CRITICAL: When adding features to existing projects, ALWAYS show this plan:**
```markdown
# Iteration Plan: [Your Enhancement]
## 📊 DETECTED STATE
✓ Existing L1 artifacts found
✓ Using ITERATION mode
## 🚨 PHASE 1: REGENERATE L1 ARTIFACTS (EXECUTE THESE TASKS!)
### 1.1 Intent v2.0
- Task: intent-guardian --evolve
- Creates: /docs/intent/product-intent-v2.0.md
- **ACTION: Use Task tool with subagent_type="general-purpose" and prompt="Load the intent-guardian skill and use it in EVOLVE mode to create product-intent-v2.0.md"**
### 1.2 UX v2.0
- Task: ux-architect --evolve
- Creates: /docs/ux/user-journeys-v2.0.md
- **ACTION: Use Task tool with subagent_type="general-purpose" and prompt="Load the ux-design skill and use it in EVOLVE mode to create user-journeys-v2.0.md"**
### 1.3 Architecture v2.0
- Task: agentic-architect --evolve
- Creates: /docs/architecture/system-design-v2.0.md
- **ACTION: Use Task tool with subagent_type="general-purpose" and prompt="Load the architecture skill and use it in EVOLVE mode to create system-design-v2.0.md"**
## PHASE 2: IMPLEMENTATION
[Rest of plan...]
User should NEVER have to ask if L1 artifacts will be updated!
CRITICAL: After user approves the plan, you MUST execute it:
User: "yes" or "proceed" or "go ahead"
Claude: "Starting Phase 1: Regenerating L1 artifacts..."
[ACTUALLY USE TASK TOOL HERE - Don't just say you will!]
Task tool invocation #1:
- subagent_type: "general-purpose"
- prompt: "Load intent-guardian skill, use EVOLVE mode to update product-intent.md to v2.0 with [specific enhancement]"
[WAIT FOR TASK TO COMPLETE]
✓ Created product-intent-v2.0.md
Task tool invocation #2:
- subagent_type: "general-purpose"
- prompt: "Load ux-design skill, use EVOLVE mode to update user-journeys.md to v2.0 with [specific enhancement]"
[CONTINUE WITH ALL TASKS IN PLAN]
Common mistake: Showing the plan but not executing it. The plan is a TODO list, not self-executing code!
Intent → UX → Architecture → Planning → L2
When: Starting new project or capturing requirements
Actions:
intent-guardian/docs/intent/product-intent.mdl1.intent.status = completeContinue to: UX Design
When: After intent complete
Actions:
ux-design/docs/ux/user-journeys.mdl1.ux.status = completeContinue to: Architecture
When: After UX complete
Actions:
architecture/docs/architecture/system-design.mdl1.architecture.status = completeContinue to: Planning
When: After architecture complete
Actions:
planning/docs/plans/implementation-order.md/docs/plans/features/l1.planning.status = completeContinue to: L2 Building
Backend → (review) → Frontend → (review) → Tests → Validate → Complete
Actions:
backendnpm test -- backend/
# Show REAL output, not hypothetical
l2.features[name].backend = completeContinue to: Frontend
Actions:
frontendl2.features[name].frontend = completeContinue to: Testing
Actions:
testingl2.features[name].tests = completeContinue to: Validation
Actions:
validationContinue to: Next feature or project complete
NEW! For v2.0+ enhancements to existing systems
Triggered when:
Load State → Analyze Impact → Evolve Docs → Delta Analysis → Incremental Implementation
# Load existing documentation versions
cat docs/intent/product-intent.md # v1.0 promises
cat docs/ux/user-journeys.md # v1.0 journeys
cat docs/architecture/system-design.md # v1.0 architecture
grep "features:" CLAUDE.md # Completed features
Analyze enhancement compatibility:
Output: Compatibility report with risk assessment
Create v2.0 documents that EXTEND v1.0:
# Intent v2.0
## Existing Promises (v1.0)
[Keep all existing promises]
## New Promises (v2.0)
[Add new promises]
## Evolution Notes
- What changed and why
- Backward compatibility notes
Same pattern for UX v2.0 and Architecture v2.0
Identify precise changes:
delta_analysis:
new_promises: [P8, P9]
modified_journeys: [checkout, profile]
new_components: [ai_service, suggestion_engine]
deprecated: []
preserved: 85%
breaking_changes: none
Create iteration gaps (GAP-I-XXX):
/gap --iteration "v1.0 to v2.0"
# Creates GAP-I-001, GAP-I-002, etc.
Implement incrementally:
/improve GAP-I-001 # Highest priority first
/verify GAP-I-001 # Verify no regression
Ensure both old AND new work:
workflow:
mode: iteration
version: "1.0 → 2.0"
iteration:
base_version: "1.0"
target_version: "2.0"
compatibility: maintained
preserved_percentage: 85
new_promises: [P8, P9]
iteration_gaps: [GAP-I-001, GAP-I-002]
status: in_progress
Analyze → Infer State → Ask User → Continue
Actions:
brownfieldTriggered when: User says "add [feature]", "change [thing]", "also need"
Actions:
change-analysisTriggered when: "error", "crash", "bug", "broken", "doesn't work"
Actions:
Triggered when: "page doesn't work", "button broken", "UI issue", "layout wrong"
Actions:
Quality reminders are injected automatically by hooks:
PostToolUse hook detects Write/Edit and reminds to run code-reviewer subagent
Stop hook reminds to check:
Every workflow action MUST update state in CLAUDE.md immediately:
Read current state first:
grep -A 20 "workflow:" CLAUDE.md
Update after EVERY action:
State includes execution details:
workflow:
phase: L1|L2
status: in_progress|paused|complete
last_command: "/gap"
last_command_output: "Created 5 gaps"
pending_steps:
- "/improve --severity=critical"
- "/verify"
Always update CLAUDE.md state after significant actions:
workflow:
phase: L1|L2
status: in_progress|paused|complete
l1:
intent: {status: pending|in_progress|complete}
ux: {status: pending|in_progress|complete}
architecture: {status: pending|in_progress|complete}
planning: {status: pending|in_progress|complete}
l2:
current_feature: string
features:
feature_name:
backend: pending|in_progress|complete
frontend: pending|in_progress|complete
tests: pending|in_progress|complete
validation: pending|in_progress|complete
Load these skills as needed:
| Skill | Use For |
|---|---|
intent-guardian | Capturing user promises and requirements |
ux-design | Designing user experience and applying design principles |
architecture | System design and module architecture |
planning | Creating implementation plans and build order |
backend | Implementing APIs, database, services |
frontend | Implementing UI components with design principles |
testing | Writing comprehensive test coverage |
validation | Validating promises are kept (acceptance testing) |
brownfield | Analyzing existing codebases |
change-analysis | Assessing impact of change requests |
gap-analysis | Finding issues in existing code |
debugging | General debugging strategies |
code-quality | Code review criteria and standards |
project-ops | Project setup, sync, docs, verification |
Invoke these for isolated tasks:
| Subagent | Use For |
|---|---|
code-reviewer | Read-only code review (isolated context) |
debugger | Isolated debugging sessions |
ui-debugger | UI debugging with browser automation |
Converted and distributed by TomeVault — claim your Tome and manage your conversions.