agent-workflow
2
总安装量
2
周安装量
#63439
全站排名
安装命令
npx skills add https://github.com/kiraneswaran/engineering-skills --skill agent-workflow
Agent 安装分布
opencode
2
gemini-cli
2
claude-code
2
github-copilot
2
codex
2
kimi-cli
2
Skill 文档
Agent Workflow
Golden Rules
Follow this three-phase approach for all non-trivial work:
- PLAN â Design solution â Document approach â WAIT FOR EXPLICIT APPROVAL
- IMPLEMENT â Code ONLY what was approved â STOP when agreed scope is complete
- REVIEW â Verify results â Suggest improvements â Return to PLAN phase
Critical Violations to Avoid
- DON'T DO THIS:
User: "Can you add authentication?"
AI: [Immediately starts coding without discussion]
+ DO THIS INSTEAD:
User: "Can you add authentication?"
AI: "Let me design a solution first. Key decisions needed:
- OAuth 2.0 vs local authentication?
- JWT tokens vs session-based?
- User data storage location?
Let's agree on the approach before I write any code."
Why This Matters:
- Skipping planning â Wasted time, wrong solutions, scope creep
- Implementing unplanned features â Breaking existing code, technical debt
- Not stopping after agreed scope â Confusion, frustration, rework
Complexity Levels
| Level | Type | Workflow | Example |
|---|---|---|---|
| 1 | Simple | Direct implementation â Quick review | Fix typo, simple bug fix |
| 2 | Moderate | Brief plan â QA â Implement â Review | Add new function |
| 3 | Complex | Full Plan â Creative â QA â Implement â Review | Multi-file feature |
| 4 | Architectural | Detailed Plan â Creative (mandatory) â QA â Implement â Review | Major refactoring |
Phase 1: Planning
You MUST NOT begin implementation until:
- User has explicitly approved the plan
- All clarifying questions have been answered
- The scope is clearly defined and agreed upon
Process:
- Analyze the request – understand scope, constraints, requirements
- Check existing code – look for patterns and reusable components
- Design the solution – propose approach with alternatives
- WAIT FOR APPROVAL – present plan and await confirmation
Key Questions:
- What is the simplest solution that meets requirements?
- Can we reuse existing code or patterns?
- What are the security implications?
- How will this be tested?
Phase 2: Implementation
Implementation Gate Checks:
- Explicit user approval received
- QA Validation passed (Level 2+ tasks)
- Creative Phase completed (Level 3-4 tasks)
Constraints:
- Implement only what was planned
- Make incremental changes
- Don’t refactor unrelated code
- Don’t add features not in the plan
Phase 3: Review
Process:
- Review implemented changes – verify they match the plan
- Check for issues – security, bugs, edge cases
- Suggest improvements – but DON’T implement them yet
- Identify cleanup opportunities
- Propose next steps
Quick Commands
- “Plan this:” â Enter Planning phase
- “QA” â Run QA Validation (interrupts any process)
- “Implement:” â Enter Implementation phase
- “Review:” â Enter Review phase
- “What’s the status?” â Check current phase
Audit Requirements
For audit requirements including no remote writes, checkpoint management, and audit reports, see references/audit-requirements.md.
For detailed context management and QA validation, see references/context-management.md.