- Add required title fields to shiny.formula.json steps - Add required title fields to rule-of-five.formula.json template steps - Fix shiny-enterprise.formula.json schema: use compose.expand array format - Add type: "workflow" to shiny.formula.json These changes align formulas with the expected schema in bd cook. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
47 lines
1.6 KiB
JSON
47 lines
1.6 KiB
JSON
{
|
|
"formula": "shiny",
|
|
"type": "workflow",
|
|
"description": "Engineer in a Box - the canonical right way. Design before you code. Review before you ship. Test before you submit.",
|
|
"version": 1,
|
|
"vars": {
|
|
"feature": {
|
|
"description": "The feature being implemented",
|
|
"required": true
|
|
},
|
|
"assignee": {
|
|
"description": "Who is assigned to this work"
|
|
}
|
|
},
|
|
"steps": [
|
|
{
|
|
"id": "design",
|
|
"title": "Design {{feature}}",
|
|
"description": "Think carefully about architecture before writing code. Consider: How does this fit into the existing system? What are the edge cases? What could go wrong? Is there a simpler approach?"
|
|
},
|
|
{
|
|
"id": "implement",
|
|
"title": "Implement {{feature}}",
|
|
"description": "Write the code for {{feature}}. Follow the design. Keep it simple. Don't gold-plate.",
|
|
"needs": ["design"]
|
|
},
|
|
{
|
|
"id": "review",
|
|
"title": "Review implementation",
|
|
"description": "Review the implementation. Check for: Does it match the design? Are there obvious bugs? Is it readable and maintainable? Are there security concerns?",
|
|
"needs": ["implement"]
|
|
},
|
|
{
|
|
"id": "test",
|
|
"title": "Test {{feature}}",
|
|
"description": "Write and run tests. Unit tests for new code, integration tests if needed, run the full test suite, fix any regressions.",
|
|
"needs": ["review"]
|
|
},
|
|
{
|
|
"id": "submit",
|
|
"title": "Submit for merge",
|
|
"description": "Submit for merge. Final check: git status, git diff. Commit with clear message. Push and create PR.",
|
|
"needs": ["test"]
|
|
}
|
|
]
|
|
}
|