diff --git a/rules/common/development-workflow.md b/rules/common/development-workflow.md new file mode 100644 index 00000000..dd4aa321 --- /dev/null +++ b/rules/common/development-workflow.md @@ -0,0 +1,29 @@ +# Development Workflow + +> This file extends [common/git-workflow.md](./git-workflow.md) with the full feature development process that happens before git operations. + +The Feature Implementation Workflow describes the development pipeline: planning, TDD, code review, and then committing to git. + +## Feature Implementation Workflow + +1. **Plan First** + - Use **planner** agent to create implementation plan + - Identify dependencies and risks + - Break down into phases + +2. **TDD Approach** + - Use **tdd-guide** agent + - Write tests first (RED) + - Implement to pass tests (GREEN) + - Refactor (IMPROVE) + - Verify 80%+ coverage + +3. **Code Review** + - Use **code-reviewer** agent immediately after writing code + - Address CRITICAL and HIGH issues + - Fix MEDIUM issues when possible + +4. **Commit & Push** + - Detailed commit messages + - Follow conventional commits format + - See [git-workflow.md](./git-workflow.md) for commit message format and PR process diff --git a/rules/common/git-workflow.md b/rules/common/git-workflow.md index a32d0bc3..d57d9e28 100644 --- a/rules/common/git-workflow.md +++ b/rules/common/git-workflow.md @@ -1,7 +1,6 @@ # Git Workflow ## Commit Message Format - ``` : @@ -21,25 +20,5 @@ When creating PRs: 4. Include test plan with TODOs 5. Push with `-u` flag if new branch -## Feature Implementation Workflow - -1. **Plan First** - - Use **planner** agent to create implementation plan - - Identify dependencies and risks - - Break down into phases - -2. **TDD Approach** - - Use **tdd-guide** agent - - Write tests first (RED) - - Implement to pass tests (GREEN) - - Refactor (IMPROVE) - - Verify 80%+ coverage - -3. **Code Review** - - Use **code-reviewer** agent immediately after writing code - - Address CRITICAL and HIGH issues - - Fix MEDIUM issues when possible - -4. **Commit & Push** - - Detailed commit messages - - Follow conventional commits format +> For the full development process (planning, TDD, code review) before git operations, +> see [development-workflow.md](./development-workflow.md).