pi-workflow
kai-tw tarafından
Coding Agents & IDEsÖzet
Workflow orchestration for Pi's task management, self-improvement, and code quality standards.
Açıklama
Bu Beceri Ne Yapar
Structured workflow system for task planning, bug fixing, and self-improvement. Covers plan-first task management, subagent delegation, and a lessons capture system with metadata that tracks recurring mistake patterns. Designed for AI agents working on multi-step or architectural tasks.
The structured lessons format with recurrence tracking and priority metadata catches repeated mistakes that plain task lists or ad-hoc notes miss.
Ne Zaman Kullanılır
- Starting a new project with a written spec before writing any code
- Logging a correction after a mistake to prevent it from recurring
- Fixing a reported bug autonomously without asking the user for steps
- Tracking command failures and API errors across sessions for diagnosis
- Running verification gates before marking a task complete
Örnek İş Akışı
User asks: Fix the authentication bug causing 401 errors on the /api/profile endpoint
- 1
Enter plan mode and write a spec to tasks/todo.md listing investigation steps and acceptance criteria
- 2
Check logs, error messages, and failing tests autonomously to identify the root cause
- 3
Implement the minimal fix, touching only the necessary code paths
- 4
Run tests and verify the endpoint returns 200 with valid credentials
- 5
Update tasks/lessons.md with a structured lesson entry if a correction was made during the process
Bug fixed and verified against acceptance criteria, lessons logged with Priority, Area, and Pattern-Key metadata for future reference
Kurulum
clawhub install kai-tw/pi-workflowCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.