workflow
3
总安装量
3
周安装量
#59842
全站排名
安装命令
npx skills add https://github.com/zfael/brn --skill workflow
Agent 安装分布
opencode
3
codex
3
github-copilot
3
gemini-cli
3
kimi-cli
2
Skill 文档
Development Workflow Orchestrator
Guides the complete development cycle: Ticket â Planning â Coding â Review â PR.
Workflow Overview
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â DEVELOPMENT WORKFLOW â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤
â 1. INITIATE â
â âââ Select ticket â Clone repo â Create worktree â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤
â 2. PLAN â
â âââ Understand requirements â Create implementation plan â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤
â 3. CODE â
â âââ Implement â Test â Iterate â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤
â 4. REVIEW â
â âââ Self-review â Fix issues â Validate â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤
â 5. SHIP â
â âââ Create PR â Update ticket â Clean up worktree â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
Phase 1: Initiate
Start work on a JIRA ticket:
# 1. List your tickets
npx tsx skills/jira/scripts/list_tickets.ts
# 2. Get ticket details
npx tsx skills/jira/scripts/get_ticket.ts PROJ-123
# 3. Clone repo if needed
./skills/git-worktree/scripts/clone_repo.sh https://github.com/org/repo.git
# 4. Create worktree for the ticket
./skills/git-worktree/scripts/create_worktree.sh repo PROJ-123-feature-name
# 5. Update ticket status
npx tsx skills/jira/scripts/update_ticket.ts PROJ-123 "In Progress"
# 6. Navigate to worktree
cd ~/dev/<workspace>/repo-worktrees/PROJ-123-feature-name
Phase 2: Plan
Create an implementation plan before coding:
- Read the ticket thoroughly – Understand requirements, acceptance criteria
- Research the codebase – Find related code, understand patterns
- Create plan document – Write to
PLAN.mdin the worktree:
# PROJ-123: Feature Name
## Requirements
- [ ] Requirement 1
- [ ] Requirement 2
## Approach
1. Step one
2. Step two
## Files to Modify
- `src/module/file.ts` - Add X
- `src/tests/file.test.ts` - Add tests
## Open Questions
- Q1?
- Get plan approval – Review with stakeholder if needed
Phase 3: Code
Implement the solution:
- Follow the plan – Work through requirements systematically
- Commit frequently – Small, atomic commits with clear messages
- Write tests – Unit tests for new code
- Run tests – Ensure nothing is broken
# Commit format
git commit -m "feat(module): description [PROJ-123]"
Phase 4: Review
Self-review before creating PR:
Code Review Checklist
- Functionality – Does it work as expected?
- Tests – Are there adequate tests?
- Edge cases – Are edge cases handled?
- Error handling – Are errors handled gracefully?
- Performance – Any obvious performance issues?
- Security – Any security concerns?
- Documentation – Are complex parts documented?
- Style – Does it follow project conventions?
Run Reviews
# Run linter
npm run lint
# Run tests
npm test
# Run type check
npm run typecheck
Phase 5: Ship
Create PR and close the loop:
# 1. Push branch
git push origin PROJ-123-feature-name
# 2. Create PR
npx tsx skills/github/scripts/create_pr.ts org/repo PROJ-123-feature-name main "feat: Add feature [PROJ-123]"
# 3. Add PR link to ticket
npx tsx skills/jira/scripts/add_comment.ts PROJ-123 "PR created: https://github.com/org/repo/pull/XXX"
# 4. Update ticket status
npx tsx skills/jira/scripts/update_ticket.ts PROJ-123 "Code Review"
# 5. After merge, clean up
./skills/git-worktree/scripts/remove_worktree.sh repo PROJ-123-feature-name
Detailed Guides
- Planning Workflow – Detailed planning process
- Coding Workflow – Coding best practices
- Review Workflow – Review checklist and process