Files
android-client/.agents/skills/using-superpowers/references/pi-tools.md
AndyChen1024 f240682281 chore(skills): 引入 agent skills 与锁文件
- superpowers(14 个):流程纪律(brainstorming/TDD/debug/review 等)
- mobile-android-design:Compose + Material 3 设计实现
- android-clean-architecture:分层/UseCase/Repository/Hilt/Room
- compose-multiplatform-patterns / kotlin-coroutines-flows:KMP 与协程
- skills-lock.json:可复现锁文件;陈旧副本 agent/ 加入 .gitignore
2026-09-04 20:48:07 +08:00

17 lines
1.2 KiB
Markdown

# Pi Tool Mapping
Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Pi these resolve to the tools below.
| Action skills request | Pi equivalent |
| --- | --- |
| Dispatch a subagent (`Subagent (general-purpose):` template) | Use an installed subagent tool such as `subagent` from `pi-subagents` if available |
| Task tracking ("create a todo", "mark complete") | Use an installed todo/task tool if available, otherwise track tasks in the plan or `TODO.md` |
## Subagents
Pi core does not ship a standard subagent tool. The `pi-subagents` package is a strong optional companion and provides a `subagent` tool with single-agent, chain, parallel, async, forked-context, and resume/status workflows. If no subagent tool is available, do not fabricate `Task` calls; execute sequentially in the current session or explain that the optional subagent capability is not installed.
## Task lists
Pi core does not ship a standard task-list tool. If a todo/task extension is installed, use its documented tool. Otherwise use Superpowers plan files, checklists in Markdown, or a repo-local `TODO.md` for task tracking. Older Superpowers docs may refer to `TodoWrite`; treat that as the task-tracking action above.