跳到正文
TakoAPI
返回技能列表

pi-workflow

由 kai-tw 提供

Coding Agents & IDEs
319下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Workflow orchestration for Pi's task management, self-improvement, and code quality standards.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

User asks: Fix the authentication bug causing 401 errors on the /api/profile endpoint

智能体
  1. 1

    Enter plan mode and write a spec to tasks/todo.md listing investigation steps and acceptance criteria

  2. 2

    Check logs, error messages, and failing tests autonomously to identify the root cause

  3. 3

    Implement the minimal fix, touching only the necessary code paths

  4. 4

    Run tests and verify the endpoint returns 200 with valid credentials

  5. 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

安装

clawhub install kai-tw/pi-workflow

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接