build-workflow
About
This build-workflow skill is exclusively orchestrated by cc10x-orchestrator for build tasks. It follows a functionality-first approach by understanding user/admin/system flows before implementing features, then sequentially invokes component-builder, code-reviewer, and integration-verifier. Use it when the orchestrator detects build intent rather than calling it directly.
Documentation
Build Workflow - Functionality First
Functionality First Mandate
BEFORE building features, understand functionality:
-
What functionality needs to be built?
- What are the user flows?
- What are the admin flows?
- What are the system flows?
-
THEN build - Build features to implement that functionality
-
Use TDD - Apply TDD AFTER functionality is understood
TDD-driven implementation with review and integration verification, functionality-first approach.
Quick Start
Build features using TDD cycle after understanding functionality.
Example:
- Understand functionality: User uploads files (User Flow: select → upload → confirm)
- Phase 0: Complete functionality analysis
- TDD Cycle: Write failing test (RED) → Implement code (GREEN) → Refactor
- Invoke subagents: component-builder → code-reviewer → integration-verifier
- Verify: All tests pass, functionality works
Result: Feature built with TDD, functionality verified, code reviewed.
Requirements
Dependencies:
cc10x-orchestrator- Must be activated through orchestrator (do not use directly)test-driven-development- Required for TDD cyclecode-generation- Required for code implementationverification-before-completion- Required for completion verification
Prerequisites:
- Phase 0 (Functionality Analysis) completed via orchestrator
- Complexity assessment completed (score ≤2 to proceed)
- Project context understood
Tool Access:
- Required tools: Read, Grep, Glob, Task, Bash
- Task tool: Used to invoke subagents (component-builder, code-reviewer, integration-verifier)
Subagents:
- component-builder - Builds code components
- code-reviewer - Reviews code for issues
- integration-verifier - Verifies integration works
Process
For complete instructions, see plugins/cc10x/skills/cc10x-orchestrator/workflows/build.md.
Quick Reference
Decision Tree:
BUILD NEEDED?
│
├─ Understand Functionality First
│ ├─ User/Admin/System flows identified? → Continue
│ └─ Not identified? → STOP, complete functionality analysis first
│
├─ Complexity Check
│ ├─ Score <=2? → Continue
│ └─ Score >2? → STOP, break down into smaller components
│
├─ TDD Cycle (Per Component)
│ ├─ RED: Write failing test → Continue
│ ├─ GREEN: Make test pass → Continue
│ ├─ REFACTOR: Improve code → Continue
│ └─ Component complete? → Next component
│
├─ Review & Integration
│ ├─ code-reviewer → integration-verifier (sequential)
│ ├─ All checks pass? → Continue
│ └─ Issues found? → Fix and re-verify
│
└─ Verify
├─ Functionality works? → Complete
└─ Functionality broken? → Return to TDD cycle
- Gate: use orchestrator Complexity Rubric; confirm if score <=2
- Loop: RED -> GREEN -> REFACTOR; capture verification outputs
- Subagents: component-builder -> code-reviewer -> integration-verifier (sequential)
Output Format (REQUIRED)
MANDATORY TEMPLATE - Use exact structure from orchestrator:
# Build Report
## Executive Summary
[2-3 sentences summarizing components implemented, overall status, and key outcomes]
## Actions Taken
- Skills loaded: [list]
- Subagents invoked: [list]
- Components built: [list in order]
- Tools used: [list]
## Findings / Decisions
### Component Breakdown
For each component:
- **Component {name}**:
- TDD Cycle: RED → GREEN → REFACTOR (commands and exit codes)
- Key Changes: [file:line diffs summary]
- Tests Added: [list]
- Review Status: [approved/changes requested with details]
- Integration Status: [pass/fail with evidence]
### Reviews & Integration
- code-reviewer findings: [resolved/open with file:line]
- integration-verifier scenarios: [pass/fail with logs]
- Blocking Issues: [list if any]
- Tech Debt: [suggestions documented]
## Verification Summary
Scope: <components implemented>
Criteria: <all acceptance criteria>
Commands:
- <command> -> exit <code>
Evidence:
- <test output snippets>
- <coverage report if available>
- <build artifacts>
Risks / Follow-ups: <tech debt, suggestions, known issues>
## Recommendations / Next Steps
[Prioritized: Blocking issues first, then tech debt, then enhancements]
## Open Questions / Assumptions
[If any decisions need clarification or assumptions made]
Troubleshooting
Common Issues:
-
TDD cycle not followed
- Symptom: Code written without failing test first
- Cause: Skipped RED step in TDD cycle
- Fix: Delete code, write failing test first, verify it fails, then implement
- Prevention: Always follow RED → GREEN → REFACTOR cycle
-
Functionality analysis skipped
- Symptom: Building without understanding user/admin/system flows
- Cause: Skipped Phase 0 (Functionality Analysis)
- Fix: Complete functionality analysis first, then proceed
- Prevention: Never skip Phase 0
-
Subagents not invoked
- Symptom: Code written directly instead of using subagents
- Cause: Bypassed orchestrator subagent dispatch
- Fix: Use Task tool to invoke component-builder, code-reviewer, integration-verifier
- Prevention: Always invoke subagents through orchestrator
If issues persist:
- Verify Phase 0 (Functionality Analysis) was completed
- Check that TDD cycle was followed (RED → GREEN → REFACTOR)
- Ensure subagents were invoked, not bypassed
- Review workflow instructions in
workflows/build.md
Validation Checklist:
- Executive Summary present (2-3 sentences)
- Verification Summary includes all commands with exit codes
- All components documented with TDD cycle evidence
- Review feedback classified (blocking/important/suggestions)
- Integration status documented with evidence
- Recommendations prioritized
- All subagents/skills documented in Actions Taken
Quick Install
/plugin add https://github.com/romiluz13/cc10x/tree/main/build-workflowCopy and paste this command in Claude Code to install this skill
GitHub 仓库
Related Skills
sglang
MetaSGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.
langchain
MetaLangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.
Algorithmic Art Generation
MetaThis skill helps developers create algorithmic art using p5.js, focusing on generative art, computational aesthetics, and interactive visualizations. It automatically activates for topics like "generative art" or "p5.js visualization" and guides you through creating unique algorithms with features like seeded randomness, flow fields, and particle systems. Use it when you need to build reproducible, code-driven artistic patterns.
webapp-testing
TestingThis Claude Skill provides a Playwright-based toolkit for testing local web applications through Python scripts. It enables frontend verification, UI debugging, screenshot capture, and log viewing while managing server lifecycles. Use it for browser automation tasks but run scripts directly rather than reading their source code to avoid context pollution.
