FABER Phase 3 - Implements solution from specification with autonomous execution and deep planning
Implements solutions from specifications with autonomous execution, completing one phase entirely without stopping. Triggers when executing build phase with a spec containing phased tasks.
/plugin marketplace add fractary/claude-plugins/plugin install fractary-faber@fractaryThis skill inherits all available tools. When active, it can use any tool Claude has access to.
templates/progress-comment.md.templateworkflow/basic.mdworkflow/cloud.mdworkflow/phase-checkpoint.mdYou receive full workflow context including Frame and Architect results. Specs are structured into phases, and you implement one phase per session for optimal context management.
Key Philosophy: Think deeply, plan thoroughly, execute completely. No premature stops. </CONTEXT>
<CRITICAL_RULES>
<AUTONOMY_GUIDANCE>
Claude has a tendency to:
These behaviors are explicitly prohibited in the Build skill. The spec already defines what to build - your job is to execute the current phase completely.
Context Provided:
{
"work_id": "abc12345",
"work_type": "/feature",
"retry_count": 0,
"retry_context": "",
"current_phase": "phase-1",
"frame": {"work_item_title": "...", "branch_name": "..."},
"architect": {"spec_file": "...", "key_decisions": [...]},
"session_summary": null
}
Phase Context:
current_phase: Which spec phase to implement (e.g., "phase-1", "phase-2")session_summary: Summary from previous session (if resuming)
</INPUTS>
See workflow/basic.md for detailed implementation steps.
┌─────────────────────────────────────────────────────────┐
│ BUILD SKILL EXECUTION │
├─────────────────────────────────────────────────────────┤
│ │
│ 1. PLAN (Extended Thinking) │
│ ├─ Read spec and current phase │
│ ├─ Identify all tasks │
│ ├─ Determine file changes needed │
│ └─ Document complete plan │
│ │
│ 2. EXECUTE (Autonomous) │
│ ├─ Implement task 1 → commit │
│ ├─ Implement task 2 → commit │
│ ├─ ... │
│ └─ Implement task N → commit │
│ │
│ 3. CHECKPOINT (Phase Complete) │
│ ├─ Update spec (mark phase complete) │
│ ├─ Final commit if needed │
│ ├─ Post issue comment with progress │
│ └─ Create session summary │
│ │
│ 4. RETURN (Signal faber-manager) │
│ └─ Phase complete, ready for next or evaluate │
│ │
└─────────────────────────────────────────────────────────┘
</WORKFLOW>
<OUTPUTS>
Return Build results using the **standard FABER response format**.
See: plugins/faber/docs/RESPONSE-FORMAT.md for complete specification.
Success Response (Phase Complete):
{
"status": "success",
"message": "Build phase completed - phase-1 implementation committed successfully",
"details": {
"phase": "build",
"spec_phase": "phase-1",
"commits": ["sha1", "sha2"],
"files_changed": ["file1.py", "file2.ts"],
"tasks_completed": 4,
"retry_count": 0,
"next_phase": "phase-2",
"recommend_session_end": true
},
"session_summary": {
"accomplished": ["Created SKILL.md", "Updated workflow"],
"decisions": ["Used pattern X for Y"],
"files_changed": ["file1.py", "file2.ts"],
"remaining_phases": ["phase-2", "phase-3"]
}
}
Success Response (All Phases Complete):
{
"status": "success",
"message": "Build phase completed - all spec phases implemented",
"details": {
"phase": "build",
"spec_phase": "phase-3",
"commits": ["sha1"],
"files_changed": ["file3.py"],
"tasks_completed": 2,
"retry_count": 0,
"next_phase": null,
"recommend_session_end": false
}
}
Warning Response (phase completed with minor issues):
{
"status": "warning",
"message": "Build phase completed with warnings",
"details": {
"phase": "build",
"spec_phase": "phase-1",
"commits": ["sha1"],
"files_changed": ["file1.py"],
"retry_count": 0,
"next_phase": "phase-2"
},
"warnings": [
"Deprecated API usage detected in file1.py",
"TODO comments remain in implementation"
],
"warning_analysis": "Implementation is complete but uses deprecated patterns that should be addressed",
"suggested_fixes": [
"Update API calls to use new interface",
"Resolve TODO comments before release"
]
}
Failure Response:
{
"status": "failure",
"message": "Build phase failed - implementation could not be completed",
"details": {
"phase": "build",
"spec_phase": "phase-1",
"retry_count": 1
},
"errors": [
"Type error in file1.py: Expected str, got int",
"Import error: Module 'xyz' not found"
],
"error_analysis": "Implementation failed due to type mismatches and missing dependencies",
"suggested_fixes": [
"Fix type annotation on line 45 of file1.py",
"Add 'xyz' to requirements.txt and run pip install"
]
}
</OUTPUTS>
<DOCUMENTATION>
## Start/End Messages
Start:
🔨 STARTING: Build Skill (Phase: phase-1)
Work ID: #262
Spec: /specs/WORK-00262-default-build-skill.md
───────────────────────────────────────
Creating implementation plan...
End:
✅ COMPLETED: Build Skill (Phase: phase-1)
Tasks completed: 4/4
Commits: 3
Files changed: 5
───────────────────────────────────────
Next: Phase complete. faber-manager will handle session lifecycle.
</DOCUMENTATION>
<TESTING>
## Testing Strategy
The build skill can be manually tested by:
Create a test issue with phases:
/work:issue-create "Test: Build skill autonomy" --type feature
Run FABER workflow to Architect phase:
/faber run <work_id> --phases frame,architect
Verify spec has phase structure:
### Phase N: sections**Status**: ⬜ Not Started indicators- [ ] task checkboxesRun Build phase:
/faber run <work_id> --phases build
Verify build behavior:
After build completes, verify checkpoint actions:
# Check spec was updated
grep "✅ Complete" specs/WORK-*-test.md
# Check session summary was created
ls -la .fractary/plugins/faber/runs/*/session-summaries/
# Check progress comment was posted
gh issue view <work_id> --comments
Test resilience by simulating failures:
Read-only spec file:
chmod 444 specs/WORK-*-test.md
# Run build - should complete with warning
No git repository:
# Run from non-git directory
# Commit action should skip gracefully
Network offline:
# Disable network
# Comment post should fail with warning, build continues
Test cross-session context:
/faber run <work_id> --resumeVerify sanitization works:
# Test with special characters in work item title
# Title: "Test `injection` $(whoami) attempt"
# Should be sanitized to safe string
# Test with long phase names
# Should be truncated to max length
Areas for automated testing:
| Component | Test Type | Priority |
|---|---|---|
| Input sanitization | Unit test | High |
| Phase name validation | Unit test | High |
| Checkpoint error handling | Integration test | Medium |
| Session summary generation | Integration test | Medium |
| Context reconstitution | Integration test | Medium |
| Spec-updater operations | Unit test | High |
Build skill is working correctly when:
This Build skill implements solutions from specifications with autonomous execution, supporting the one-phase-per-session model for optimal context management.
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.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.