Is your feature request related to a problem? Please describe.
The Pi coding agent (@earendil-works/pi-coding-agent) is an actively-used harness that APM currently has no target for. Pi users therefore have no manifest/lockfile/upgrade story for their agent context (skills, prompt templates) — the exact gap APM exists to close for every other harness (Copilot, Claude, Cursor, OpenCode, Codex, Gemini, Windsurf, Kiro, Grok, Antigravity).
Describe the solution you'd like
Add pi as a first-class APM target, following the existing opencode/kiro/codex pattern — one TARGET_CAPABILITIES entry plus one KNOWN_TARGETS profile, no new classes.
Pi's loadable project resources (verified against the shipped dist/core/resource-loader.js and dist/config.js):
- skills → converge on the cross-tool
.agents/skills/<name>/SKILL.md (Pi natively reads both .pi/skills/ and .agents/skills/); user scope ~/.pi/agent/skills/.
- commands → Pi prompt templates (
/name slash commands) → .pi/prompts/<name>.md, reusing the shared claude_command transformer (Pi's description/argument-hint frontmatter and $1/$@/$ARGUMENTS substitution match Claude commands).
- instructions → compile-only (Pi reads
AGENTS.md → compile_family="agents").
- No
agents primitive — Pi has no native agent-definition directory (sub-agents are an extension capability), so no frontmatter transform is required.
- No
hooks. MCP wiring deferred to a follow-up.
Project root .pi/, user scope ~/.pi/agent/, auto-detected on a .pi/ directory, included in --target all.
Describe alternatives you've considered
- Explicit-only target (like
antigravity/grok-cloud): rejected — Pi is a mainstream harness with a stable .pi/ config dir, so first-class auto-detection is appropriate.
- A dedicated Pi agent-frontmatter transformer (like OpenCode's): unnecessary, because Pi deploys no agent files.
Additional context
Implementation is ready and opened as PR #2907 (skills + prompt-templates target, tests mirroring kiro/opencode, docs updated, all unit + integration tests green). This issue tracks the feature request that PR resolves.
Is your feature request related to a problem? Please describe.
The Pi coding agent (
@earendil-works/pi-coding-agent) is an actively-used harness that APM currently has no target for. Pi users therefore have no manifest/lockfile/upgrade story for their agent context (skills, prompt templates) — the exact gap APM exists to close for every other harness (Copilot, Claude, Cursor, OpenCode, Codex, Gemini, Windsurf, Kiro, Grok, Antigravity).Describe the solution you'd like
Add
pias a first-class APM target, following the existing opencode/kiro/codex pattern — oneTARGET_CAPABILITIESentry plus oneKNOWN_TARGETSprofile, no new classes.Pi's loadable project resources (verified against the shipped
dist/core/resource-loader.jsanddist/config.js):.agents/skills/<name>/SKILL.md(Pi natively reads both.pi/skills/and.agents/skills/); user scope~/.pi/agent/skills/./nameslash commands) →.pi/prompts/<name>.md, reusing the sharedclaude_commandtransformer (Pi'sdescription/argument-hintfrontmatter and$1/$@/$ARGUMENTSsubstitution match Claude commands).AGENTS.md→compile_family="agents").agentsprimitive — Pi has no native agent-definition directory (sub-agents are an extension capability), so no frontmatter transform is required.hooks. MCP wiring deferred to a follow-up.Project root
.pi/, user scope~/.pi/agent/, auto-detected on a.pi/directory, included in--target all.Describe alternatives you've considered
antigravity/grok-cloud): rejected — Pi is a mainstream harness with a stable.pi/config dir, so first-class auto-detection is appropriate.Additional context
Implementation is ready and opened as PR #2907 (skills + prompt-templates target, tests mirroring kiro/opencode, docs updated, all unit + integration tests green). This issue tracks the feature request that PR resolves.