Loading...
Loading...
Design composable agentic primitives for flexible workflows. Use when creating reusable workflow building blocks, designing SDLC primitives, or building agent operations that can be combined in different ways.
npx skill4agent add melodic-software/claude-code-plugins composable-primitives"The secret of tactical agentic coding is that it's not about the software developer lifecycle at all. It's about composable agentic primitives you can use to solve any engineering problem class."
| Primitive | Purpose | Input | Output |
|---|---|---|---|
| Classify | Categorize input | Issue/task | Classification |
| Plan | Create implementation spec | Issue | Plan file |
| Build | Implement the plan | Plan file | Code changes |
| Test | Validate functionality | Code changes | Pass/fail |
| Review | Validate alignment | Spec + code | Issue list |
| Patch | Fix specific issues | Issue description | Targeted fix |
| Document | Generate documentation | Code changes | Doc files |
| Ship | Deploy to production | Validated code | Deployed state |
| Branch | Create isolated context | Classification | Branch name |
| Commit | Save checkpoint | Changes | Commit hash |
| Problem Class | Primitives |
|---|---|
| Chore | Classify -> Build -> Test -> Ship |
| Bug | Classify -> Plan -> Build -> Test -> Review -> Ship |
| Feature | Full SDLC |
| Hotfix | Patch -> Test -> Ship |
| Documentation | Document -> Review -> Ship |
Plan -> Build -> [Test GATE] -> Review -> [Review GATE] -> ShipClassify -> Plan -> Build -> Test -> Review -> Document -> ShipClassify -> Plan -> Build -> Test -> Review -> Document -> Ship
| |
[GATE] [GATE]Classify -> Patch -> Test -> ShipReview -> Patch -> Test -> ShipClassify -> Plan -> [Compliance Review] -> Build -> Test ->
[Security Scan] -> Review -> Document -> [Approval] -> ShipBuild -> Test -> Ship (no planning for small changes)## Workflow Composition
**Problem Class:** {type}
**Entry Trigger:** {trigger}
**Exit Criteria:** {criteria}
### Primitives Selected
1. Classify - Categorize the task
2. Plan - Create implementation spec
3. Build - Implement changes
4. Test - Validate functionality
5. Ship - Deploy to production
### Composition Flow
### Validation Gates
- After Test: Abort if tests fail
- After Review: Optional based on confidence
### Customizations
- [Organization-specific additions]