Feature/spec kit add pi coding agent pullrequest#1853
Open
mrGreazly wants to merge 3 commits intogithub:mainfrom
Open
Feature/spec kit add pi coding agent pullrequest#1853mrGreazly wants to merge 3 commits intogithub:mainfrom
mrGreazly wants to merge 3 commits intogithub:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds first-class support for the Pi Coding Agent in Spec Kit, aligning Pi’s command location with its prompt-template model while keeping the rest of the agent ecosystem (skills install, context update scripts, and release packaging) consistent.
Changes:
- Register the
piagent in runtime/extension agent configs to use.pi/promptswith Markdown +$ARGUMENTS. - Extend skills installation tests + agent consistency tests to cover Pi’s prompts/skills paths and release-script integration.
- Update docs and automation (context update scripts, release packaging, devcontainer setup) to include Pi.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
src/specify_cli/__init__.py |
Adds pi to AGENT_CONFIG with .pi/ + prompts subdir and CLI requirement. |
src/specify_cli/agents.py |
Registers pi in CommandRegistrar.AGENT_CONFIGS as .pi/prompts markdown commands. |
tests/test_extensions.py |
Verifies pi command registrar mapping (.pi/prompts, markdown, $ARGUMENTS, .md). |
tests/test_ai_skills.py |
Adds Pi skills-dir resolution test and installs skills from .pi/prompts. |
tests/test_agent_config_consistency.py |
Adds cross-file consistency checks ensuring Pi is wired through configs + scripts + help text. |
scripts/bash/update-agent-context.sh |
Adds Pi to supported agent list and routes Pi updates through AGENTS.md. |
scripts/powershell/update-agent-context.ps1 |
Adds Pi to ValidateSet and agent routing; updates help/usage text. |
.github/workflows/scripts/create-release-packages.sh |
Adds Pi to packaging matrix and outputs .pi/prompts templates. |
.github/workflows/scripts/create-release-packages.ps1 |
Adds Pi to packaging matrix and outputs .pi/prompts templates. |
.github/workflows/scripts/create-github-release.sh |
Includes Pi template zips in the GitHub release artifact list. |
.devcontainer/post-create.sh |
Installs Pi Coding Agent npm package in devcontainer setup. |
README.md |
Documents Pi support and adds pi to CLI option lists. |
AGENTS.md |
Documents Pi’s directory conventions and CLI requirement. |
docs/installation.md |
Adds Pi to prerequisites and init examples. |
docs/upgrade.md |
Adds .pi/prompts/ to troubleshooting/upgrade guidance. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| if ($NEW_DB -and $NEW_DB -ne 'N/A') { Write-Host " - Added database: $NEW_DB" } | ||
| Write-Host '' | ||
| Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|generic]' | ||
| Write-Info 'Usage: ./update-agent-context.ps1 [-AgentType claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|tabnine|kiro-cli|agy|bob|vibe|qodercli|pi|generic]' |
| | [Jules](https://jules.google.com/) | ✅ | | | ||
| | [Kilo Code](https://github.com/Kilo-Org/kilocode) | ✅ | | | ||
| | [opencode](https://opencode.ai/) | ✅ | | | ||
| | [Pi Coding Agent](https://pi.dev) | ✅ | pi doesn't have MCP support OOTB so `taskstoissues` will not work as intended. MCP support can be added via [extentions](https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent#extensions)| |
mnriem
requested changes
Mar 16, 2026
Collaborator
mnriem
left a comment
There was a problem hiding this comment.
Please address Copilot feedback
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add support for the Pi Coding Agent.
Main difference from PR #1596: Spec Kit commands are defined as prompts, not skills.
I belive it's more suitable to invoke these commands only manually and not letting agent to invoke them by itself. Also saw same approach for several other already supported agents.
Testing
uv run specify --helpuv sync && uv run pytestAI Disclosure
Changes made by pi coding agent (model - GPT 5.4). Gemini 3.1 was used for additional clarification and result checking.
Manually tested on simple project, passed all stages: constitution - specify - clarify - plan - tasks - analyze - implement