Agent skill
project-workflow
Project development workflow patterns including Plan-Build-Review-Fix cycle and feature development processes.
Install this agent skill to your Project
npx add-skill https://github.com/az9713/claude-code-agentic-framework/tree/main/skills/project-workflow
SKILL.md
Project Workflow Skill
Overview
This skill defines the development workflow patterns for the Codebase Singularity framework, including the core Plan-Build-Review-Fix cycle and feature development processes.
Core Workflow: Plan-Build-Review-Fix
The foundational workflow for all development:
┌─────────────────────────────────────────────────────────────┐
│ │
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐│
│ │ PLAN │───►│ BUILD │───►│ REVIEW │───►│ FIX ││
│ └─────────┘ └─────────┘ └─────────┘ └────┬────┘│
│ ▲ │ │
│ │ Loop until │ │
│ └──────────── quality passes ◄──────────────┘ │
│ │
└─────────────────────────────────────────────────────────────┘
Phase 1: Plan
Command: /plan [feature]
Agent: planner
Activities:
- Understand requirements
- Analyze existing code
- Research solutions
- Design architecture
- Create implementation plan
Output: specs/[feature]-plan.md
Phase 2: Build
Command: /build
Agent: builder
Activities:
- Read implementation plan
- Create/modify files
- Write core logic
- Add error handling
- Create basic tests
Output: Working code + tests
Phase 3: Review
Command: /review
Agent: reviewer
Activities:
- Check code quality
- Verify logic correctness
- Security analysis
- Performance check
- Test coverage check
Output: specs/reviews/[date]-review.md
Phase 4: Fix
Command: /fix
Agent: fixer
Activities:
- Address review findings
- Fix issues by priority
- Verify fixes
- Re-run affected tests
Output: Fixed code + verification
Workflow Patterns
Feature Development
1. /prime # Load context
2. /plan # Design feature
3. /build # Implement
4. /review # Quality check
5. /fix # Address issues
6. [Repeat 4-5 until passing]
7. git commit # Save work
Bug Fix
1. /prime # Load context
2. [Investigate bug] # Understand issue
3. /plan bugfix # Plan the fix
4. /fix # Implement fix
5. /review # Verify fix
6. git commit # Save work
Refactoring
1. /prime # Load context
2. /review # Identify issues
3. /plan refactor # Plan changes
4. /build # Implement refactor
5. /review # Verify improvement
6. git commit # Save work
Complete Cycle Command
Command: /cycle [feature]
Runs the complete Plan-Build-Review-Fix cycle:
Step 1: Planning
├── Read requirements
├── Analyze codebase
├── Create plan
└── Get approval
Step 2: Building
├── Implement plan
├── Create tests
└── Show progress
Step 3: Reviewing
├── Quality check
├── Security check
└── Generate report
Step 4: Fixing (if needed)
├── Address findings
├── Verify fixes
└── Re-review
Step 5: Complete
├── Summary
├── Files changed
└── Next steps
Quality Gates
Before Building
- Plan approved
- Requirements clear
- Dependencies identified
- Approach validated
Before Committing
- All tests pass
- Review score ≥ 7/10
- No critical issues
- No security vulnerabilities
Before Release
- Feature complete
- Full test coverage
- Documentation updated
- Security audit passed
Agent Coordination
Single Agent Tasks
| Task | Agent |
|---|---|
| Create plan | planner |
| Write code | builder |
| Review code | reviewer |
| Fix issues | fixer |
| Write tests | test-writer |
| Fetch docs | doc-fetcher |
| Security check | security-auditor |
| Improve code | refactorer |
Multi-Agent Workflows
Feature Development:
planner → builder → test-writer → reviewer → fixer
Security Audit:
reviewer → security-auditor → fixer → reviewer
Documentation:
doc-fetcher → builder (docs) → reviewer
Workflow Commands Reference
| Command | Purpose |
|---|---|
/prime |
Initialize session |
/plan |
Create implementation plan |
/build |
Build from plan |
/review |
Review code quality |
/fix |
Fix review issues |
/cycle |
Complete workflow |
/orchestrate |
Multi-agent coordination |
/delegate |
Direct agent invocation |
Best Practices
Planning
- Be thorough but concise
- Consider edge cases early
- Plan for testing
- Identify risks upfront
Building
- Follow the plan
- Write clean code
- Test as you go
- Ask when unclear
Reviewing
- Be constructive
- Provide solutions
- Prioritize findings
- Acknowledge good work
Fixing
- Fix one issue at a time
- Verify each fix
- Don't introduce new issues
- Document changes
Workflow Troubleshooting
Plan Not Detailed Enough
- Ask for clarification
- Review similar features
- Break into smaller steps
Build Taking Too Long
- Break into smaller pieces
- Check for blockers
- Review plan scope
Review Finding Many Issues
- Don't panic
- Prioritize by severity
- Fix incrementally
- Learn from feedback
Fix Introducing New Issues
- Roll back changes
- Fix one at a time
- Increase test coverage
- Get second review
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
testing
Testing patterns, strategies, and best practices for comprehensive test coverage.
code-review
Code review checklist and best practices for thorough quality assessment.
git-workflow
Git workflow patterns for branching, commits, and pull requests following project conventions.
intent-analysis
Analyze and explain the intent behind AI tool calls. Use when you need to understand what an action will do, verify your interpretation is correct, or explain your reasoning to the user.
obsidian-vault
Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?