一键导入
package-pi-autoformat
Package-specific context for @gotgenes/pi-autoformat. Load when working on code, tests, or docs in packages/pi-autoformat/.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Package-specific context for @gotgenes/pi-autoformat. Load when working on code, tests, or docs in packages/pi-autoformat/.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Vitest mock patterns (vi.mock, vi.hoisted, vi.fn reset), TDD planning rules, and general test strategy. Load when writing or debugging tests.
Pre-completion protocol for implementation agents — gather context, dispatch the pre-completion-reviewer subagent, and handle its report before writing stage notes and recommending /ship-issue. Load at the end of /tdd-plan and /build-plan after all implementation steps are complete.
Package-specific context for @gotgenes/pi-permission-system. Load when working on code, tests, or docs in packages/pi-permission-system/.
TypeScript conventions, code design principles (SOLID, self-documenting code, file organization), structural design heuristics (dependency width, LoD, output arguments), pnpm rules, ES2024 target, Pi SDK patterns, and Biome/ESLint conflict workarounds. Load during implementation, refactoring, or code review.
Review a module's dependency and structural patterns for code smells. Use when adding a parameter to a shared interface, when a dependency bag grows past 5 fields, or when planning a refactoring that touches wiring between layers.
Heuristics and process for discovering structural improvements in a package. Load when planning a new improvement round — contains the smell taxonomy, analysis workflow, and prioritization framework distilled from 10 phases of pi-subagents refactoring.
| name | package-pi-autoformat |
| description | Package-specific context for @gotgenes/pi-autoformat. Load when working on code, tests, or docs in packages/pi-autoformat/. |
Pi extension that auto-formats files after agent edits so formatting does not fail late at commit time.
Read docs/plans/ before making architectural changes.
settings.json keys for package-specific behavior.~/.pi/agent/extensions/pi-autoformat/config.json.pi/extensions/pi-autoformat/config.jsonsettings.json without explicit discussion.schemas/pi-autoformat.schema.json, docs/configuration.md, README.md, and the TypeScript config loader aligned.Before implementing, understand:
Do not assume commit-time hooks are an acceptable primary formatting mechanism.