Development Workflow Skill
Overview
This skill provides the staged workflow approach for QuickScale development. It defines the PLAN → CODE → REVIEW → TEST → COMPLETE workflow used across all development tasks.
Workflow Stages
code
┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌──────────┐ │ PLAN │────▶│ CODE │────▶│ REVIEW │────▶│ TEST │────▶│ COMPLETE │ │ │ │ │ │ │ │ │ │ │ │ Read │ │ Write │ │ Validate│ │ Run │ │ Document │ │ context │ │ code │ │ quality │ │ tests │ │ progress │ └─────────┘ └─────────┘ └─────────┘ └─────────┘ └──────────┘
Stage 1: PLAN
Reference File: docs/contrib/plan.md
Objectives
- •Understand task requirements
- •Identify files to modify
- •Confirm scope boundaries
- •Plan for testability
Actions
- •Read roadmap task section
- •Review decisions.md for IN/OUT scope
- •Check scaffolding.md for file locations
- •Identify deliverables from checklist
- •Plan minimal implementation approach
Checklist
- • Task requirements understood
- • Deliverables identified
- • Scope boundaries confirmed
- • Files to modify listed
- • No scope ambiguities
Exit Criteria
- •Clear understanding of what to implement
- •Files to modify identified
- •Implementation approach decided
Stage 2: CODE
Reference File: docs/contrib/code.md
Objectives
- •Implement functionality
- •Follow code quality principles
- •Stay within scope
Actions
- •Implement core functionality
- •Apply SOLID, DRY, KISS principles
- •Add type hints and docstrings
- •Run lint checks frequently
- •Keep changes minimal and focused
Skill Invocations
<!-- invoke-skill: code-principles --> <!-- invoke-skill: architecture-guidelines --> <!-- invoke-skill: task-focus -->Checklist
- • Core functionality implemented
- • SOLID principles applied
- • DRY - no code duplication
- • KISS - simple solutions
- • Type hints on public APIs
- • Docstrings on public functions
- • Lint passes:
./scripts/lint.sh
Exit Criteria
- •All deliverables implemented
- •Code compiles without errors
- •Initial lint passes
Stage 3: REVIEW
Reference File: docs/contrib/review.md
Objectives
- •Validate code quality
- •Verify scope compliance
- •Ensure architecture adherence
Actions
- •Self-review against code.md standards
- •Check scope compliance (task-focus)
- •Verify architecture compliance
- •Review documentation completeness
- •Fix any quality issues
Skill Invocations
<!-- invoke-skill: code-principles --> <!-- invoke-skill: documentation-standards --> <!-- invoke-skill: task-focus -->Checklist
- • Code principles verified
- • Architecture compliance checked
- • Scope compliance verified (no scope creep)
- • Documentation complete
- • Style consistent with codebase
Exit Criteria
- •All quality checks pass
- •No scope violations
- •Ready for testing
Stage 4: TEST
Reference File: docs/contrib/testing.md
Objectives
- •Write tests for new functionality
- •Verify tests pass
- •Ensure adequate coverage
Key Rule
Tests are written AFTER code review is complete (implementation-first approach).
Tests validate the logic established in CODE and REVIEW stages.
Actions
- •Write unit tests for new functionality
- •Add integration tests if required
- •Run full test suite
- •Check coverage meets thresholds (90% overall, 80% per file)
- •Run task-specific validation commands
Skill Invocations
<!-- invoke-skill: testing-standards -->Checklist
- • Tests written for new functionality
- • No global mocking contamination
- • Test isolation verified
- • Coverage ≥ 90% overall, ≥ 80% per file
- • All tests pass:
./scripts/test-all.sh - • Task validation commands pass
Exit Criteria
- •All tests pass
- •Coverage requirements met
- •Validation commands succeed
Stage 5: COMPLETE
Objectives
- •Document completion
- •Update tracking
- •Prepare for commit
Actions
- •Update roadmap checkboxes
- •Verify all deliverables complete
- •Final lint and test run
- •Stage changes for commit
Checklist
- • All roadmap items marked [x]
- • Final
./scripts/lint.shpasses - • Final
./scripts/test-all.shpasses - • Changes staged:
git add -p - • Ready for final review/commit
Exit Criteria
- •All success criteria met
- •Changes staged but not committed
- •Ready for final human review
Task Type Variants
| Task Type | Stages Used | Notes |
|---|---|---|
| Feature | All 5 | Full workflow |
| Bug Fix | CODE → REVIEW → TEST → COMPLETE | Skip PLAN for simple fixes |
| Documentation | PLAN → CODE → COMPLETE | Skip REVIEW, TEST |
| Refactoring | PLAN → CODE → REVIEW → COMPLETE | Skip TEST if no behavior change |
Stage Transition Rules
- •
Complete current stage before proceeding
- •Exit criteria must be met
- •Checklist items verified
- •
Backtracking allowed
- •If issues found in REVIEW → go back to CODE
- •If tests fail in TEST → go back to CODE
- •
No skipping (unless task type allows)
- •Each stage builds on previous
- •Skipping compromises quality
Invocation
When an agent invokes this skill:
- •Determine current stage
- •Verify previous stage completion
- •Apply stage-specific actions
- •Run stage checklist
- •Report stage status
Output Format
yaml
workflow_status:
current_stage: CODE
stages_completed: [PLAN]
stages_remaining: [CODE, REVIEW, TEST, COMPLETE]
stage_checklist:
PLAN:
completed: true
items:
- task_requirements_understood: true
- deliverables_identified: true
- scope_confirmed: true
CODE:
completed: false
items:
- core_functionality: in_progress
- solid_principles: pending
- lint_passes: pending
Related Skills
- •
task-focus- Scope discipline (used in PLAN, CODE, REVIEW) - •
code-principles- Code quality (used in CODE, REVIEW) - •
testing-standards- Test quality (used in TEST)