pi-primitive-check

star 48

Use when evaluating proposed Pi customisation work against built-in Pi primitives before implementation, especially extensions, packages, slash commands, and workflow ideas.

spences10 By spences10 schedule Updated 6/7/2026

name: pi-primitive-check

prettier-ignore

description: Use when evaluating proposed Pi customisation work against built-in Pi primitives before implementation, especially extensions, packages, slash commands, and workflow ideas. compatibility: Requires the Pi coding-agent monorepo docs and source tree.

Pi Primitive Check

Use this before implementing speculative Pi customisation ideas. The goal is to avoid building a parallel abstraction when Pi already has a primitive.

Workflow

  1. Restate the underlying user need, separate from the proposed solution.
  2. Search local Pi docs for overlapping primitives, especially commands, session features, SDK APIs, extension events, tools, skills, and TUI APIs.
  3. Search this repo for existing built-ins and packages/pi-* that already address the need.
  4. Classify the proposal:
    • use existing Pi primitive
    • document or wrap existing primitive
    • compose existing primitives
    • implement new feature
  5. If overlap exists, pause and ask the user to confirm before coding.

Required local sources

Read relevant files from the installed Pi docs before deciding:

  • README: /home/scott/repos/my-pi/node_modules/.pnpm/@earendil-works+pi-coding-agent@0.78.1_ws@8.21.0_zod@4.4.3/node_modules/@earendil-works/pi-coding-agent/README.md
  • Docs directory: /home/scott/repos/my-pi/node_modules/.pnpm/@earendil-works+pi-coding-agent@0.78.1_ws@8.21.0_zod@4.4.3/node_modules/@earendil-works/pi-coding-agent/docs
  • Examples directory: /home/scott/repos/my-pi/node_modules/.pnpm/@earendil-works+pi-coding-agent@0.78.1_ws@8.21.0_zod@4.4.3/node_modules/@earendil-works/pi-coding-agent/examples

Prefer targeted rg over broad reading, then read the relevant docs fully enough to verify behavior.

Output format

Primitive check:

- User need:
- Existing Pi primitives:
- Existing Pi customisation pieces:
- Overlap/risk:
- Recommendation:
- Confirm before build:

Keep the recommendation direct. If the answer is “do not build this”, say so.

Install via CLI
npx skills add https://github.com/spences10/my-pi --skill pi-primitive-check
Repository Details
star Stars 48
call_split Forks 11
navigation Branch main
article Path SKILL.md
More from Creator