pi-contributor-workflow
Only for badlogic/pi-mono or @mariozechner/pi-* upstream issues/PRs, approval, contributor gates, pkg:* labels, changelogs, or accepted fixes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Only for badlogic/pi-mono or @mariozechner/pi-* upstream issues/PRs, approval, contributor gates, pkg:* labels, changelogs, or accepted fixes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Pi extensions and tool policy: extensions/*.ts, hooks, registerTool, promptGuidelines, registerCommand, footer/status UI, tool_result, session hooks, or subprocesses. Not for slash-command placement; use pi-command.
README, CHANGELOG, docs/, RFCs, ADRs, guides, or Markdown structure. Not for prose cleanup or archival work.
Prose cleanup for filler, hype, vague claims, repetition, detection tells, or uncited specifics. Not for Markdown architecture or archival work.
Requirements, user stories, acceptance/verification criteria, or testable outcomes. Not for PRD drafting (/prd) or Pi /goal prompts.
Use for /prd-it or to draft, refine, or review a Product Requirements Document. Not for acceptance criteria, planning, or Pi /goal prompts.
Pi session, trace, metrics, routing, workflow-friction, workflow-telemetry, usage, or local JSONL analysis with DuckDB. Use for aggregating or correlating Pi runtime logs. Not for adding telemetry, generic SQL/database design, or non-Pi logs.
| name | pi-contributor-workflow |
| description | Only for badlogic/pi-mono or @mariozechner/pi-* upstream issues/PRs, approval, contributor gates, pkg:* labels, changelogs, or accepted fixes. |
Do not activate for generic GitHub contribution, generic npm packages, or non-Pi repositories.
Pi changes are more likely to be accepted when they are small, validated with the repo's expected commands, tied to a high-signal issue, and respect the maintainer's contribution gates.
.github/workflows/issue-gate.yml..github/workflows/pr-gate.yml..github/workflows/approve-contributor.yml.lgtmi approves future issues.lgtm approves future issues and rights to submit PRs.pkg:* labels:
pkg:agentpkg:aipkg:coding-agentpkg:tuipkg:web-uiMay I fix it? in the issue when seeking approval.For code changes in pi-mono:
npm install
npm run build
npm run check
Important: in this TypeScript monorepo, fresh worktrees may need npm run build before npm run check because workspace package types resolve to built dist/*.d.ts outputs.
Targeted tests are package-specific. For TUI:
cd packages/tui
node --test --import tsx test/markdown.test.ts
For coding-agent specific tests, run from packages/coding-agent:
npx tsx ../../node_modules/vitest/dist/cli.js --run test/specific.test.ts
Do not run forbidden project commands from AGENTS.md such as npm run dev, npm run build only when it is needed for validation/setup or explicitly requested.
fix(tui): omit markdown code fence delimiters.Fixes #NNN only after an issue existsgh, write the body to a temp file and use --body-file.packages/*/CHANGELOG.md.## [Unreleased].When the user requests a durable draft or handoff, keep it under .specs/<slug>/. Do not stage .specs/ unless the user explicitly asks.