pi-workflow
por kai-tw
Coding Agents & IDEsResumo
Workflow orchestration for Pi's task management, self-improvement, and code quality standards.
Descrição
O que esta skill faz
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.
Quando usá-la
- 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
Exemplo de fluxo de trabalho
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
Instalação
clawhub install kai-tw/pi-workflowExecute o comando da CLI ou cole o prompt no Claude Code, Cursor, Codex ou no agente de código que você usa.