pi-extension-development
Defines the local standard for standalone Pi extension repositories.
Skill by HazAT
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hazat-pi-extension-development
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/pi-extension-development
What's inside
- Skill name
pi-extension-development- Description
- Defines the local standard for standalone Pi extension repositories. Use when manually invoked to create, audit, test, publish, or release an extension with Git-backed installation, local loading, and Vite+ linting and formatting.
- License
- MIT
- Instructions
- 136 lines in SKILL.md · view on GitHub
Files (4)
- SKILL.md
- extension-guidelines.md · references/
- release-workflow.md · references/
- repository-structure.md · references/
SKILL.md (first lines)
# Pi Extension Development Build standalone Pi extensions as Git-backed Pi packages with consistent local development, verification, and release workflows. Never publish these repositories to npm. ## Step 1: Establish the task Interpret the arguments appended to the skill invocation as an operation and optional path: - `create <path-or-name>` — scaffold a standalone extension repository. - `audit <path>` — compare an existing repository against this standard. - `release <version>` — apply the standardized release workflow to the current repository. - No operation — ask what repository and outcome the user wants. Before creating files, inspect the target path and read its `AGENTS.md`, `CLAUDE.md`, and applicable rule files. Never overwrite an existing repository or unrelated work. ## Step 2: Read only the needed reference | Operation | Read | |---|---| | Create or restructure a repository | `references/repository-structure.md` | | Implement or review extension code | `references/extension-guidelines.md` | | Release or add a release skill | `references/release-workflow.md` | For Pi APIs, read the installed Pi documentation completely before implementation: - Extensions: `/opt/homebrew/lib/node_modules/@earendil-works/pi-coding-agent/docs/extensions.md` - Packages: `/opt/homebrew/lib/node_modules/@earendil-works/pi-coding-agent/docs/packages.md` - Skills: `/opt/homebrew/lib/node_modules/@earendil-works/pi-coding-agent/docs/skills.md` - TUI, when needed: `/opt/homebrew/lib/node_modules/@earendil-works/pi-coding-agent/docs/tui.md` Follow relevant links and examples referenced by those documents. ## Step 3: Verify the development tools Use the globally installed Vite+ CLI: ```bash command -v pi command -v vp vp --version ``` If `vp` is absent, report that and stop before adding a substitute formatter or linter. Do not install standalone Oxlint, Oxfmt, ESLint, Prettier, or Vitest when Vite+ provides the needed command. Use Vite+ for package operations and checks: ```bash vp install vp add -D vite-plus vp check vp check --fix vp fmt --check vp lint ``` The global `vp` executable drives the workflow. Keep `vite-plus` in `devDependencies` because `vite.config.ts` imports `defineConfig`; Git package production installs omit it. ## Step 4: Use the canonical package model Require: - A standalone Git repository under `~/Projects/` unless the user specifies another location. - A `package.json` with `private: true`, `keywords: ["pi-package"]`, peer dependencies for Pi-provided imports, and an explicit `pi` manifest. - TypeScript source loaded directly by Pi; do not add a build or bundled `dist/` directory unless runtime requirements make one necessary. - Installation through `pi install git:github.com/OWNER/REPO`, never npm publication. - A checked-in `.pi/settings.json` that disables an installed copy while loading checkout-local resources. - Vite+ configuration, editor settings, and a checked-in `vp staged` pre-commit hook. - A manual-only repository release skill under `.pi/skills/release/`. ## Step 5: Implement the minimum extension Prefer one focused extension entry point and split files only when the implementation has real independent concerns. Reuse Pi APIs and Node built-ins before adding dependencies. For custom tools: - Use strict TypeBox schemas and `StringEnum` for string enums. - Set `executionMode: "sequential"` for stateful, desktop-control, or otherwise conflicting operations. - Honor `AbortSignal` and set bounded timeouts for subprocesses or network work. - Truncate output to Pi limits and preserve full output in a temporary file when truncated. - Throw errors to produce failed tool results. - Return native image blocks for generated screenshots or previews. - Start long-lived resources only after `session_start` or on demand, and close them during `session_shutdown`. Do not request permissions, perform destructive setup, or mutate unrelated user configuration without explicit approval. ## Step 6: Configure local loading Verify both paths: ```bash # Explicit checkout loading pi -e ./pi-extension/EXTENSION/index.ts --skill ./skills/SKILL/SKILL.md # Git installation pi install git:github.com/OWNER/REPO ``` When developing inside the checkout, `.pi/settings.json` must prevent duplicate global and local resources. ## Step 7: Verify before publishing Run, at minimum: ```bash vp check pi --no-extensions -e "$PWD" --no-skills --list-models '__load_check__' git diff --check git status --short ``` Also execute the registered tool through Pi's extension loader or a fresh Pi session with a safe real scenario. Verify failure propagation, cancellation or timeout behavior, truncation when applicable, and cleanup of temporary artifacts. ## Step 8: Publish and install Before any commit, read and follow the global `commit` skill. Create a focused conventional commit. Create or push a public GitHub repository only when the user authorizes publication. After pushing, install from Git and verify the installed checkout rather than relying only on source-tree tests: ```bash
From HazAT/pi-config, MIT.
More from HazAT/pi-config
- 0.765score
superconductor
HazAT
Operates the super.engineering/Superconductor `sc` CLI for app-managed agents, teams, sessions, layouts, worktrees, and review threads.
SkillBFreshness: B★ 455Claude Code +9 - 0.759score
visualize-plan
HazAT
Turns an existing implementation plan into a polished self-contained HTML page and opens it in the browser.
SkillBFreshness: B★ 455Claude Code +9 - 0.759score
setup-superconductor-project
HazAT
Configures a repository for super.engineering with repo-owned worktree setup and development-server scripts.
SkillBFreshness: B★ 455Claude Code +9 - 0.759score
worker
HazAT
Implement one todo or review-fix task supplied by a coordinator, verify it, create one focused commit, and report evidence through the current Superconductor…
SkillBFreshness: B★ 455Claude Code +9 - 0.756score
write-todos
HazAT
Convert a selected Markdown plan into clear, dependency-ordered Markdown todos.
SkillBFreshness: B★ 455Claude Code +9 - 0.756score
review
HazAT
Coordinate a model-diverse local code review, automatically repair actionable findings with sequential workers, and re-review to a final verdict.
SkillBFreshness: B★ 455Claude Code +9 - 0.756score
plan
HazAT
Interactively investigate a request, compare approaches, and write the selected implementation plan to a supplied Markdown path.
SkillBFreshness: B★ 455Claude Code +9 - 0.753score
scout
HazAT
Perform fast read-only codebase reconnaissance and report evidence to the requesting Superconductor session or team.
SkillBFreshness: B★ 455Claude Code +9 - 0.633score
session-reader
HazAT
Efficiently read and analyze pi agent session JSONL files.
SkillDFreshness: D★ 455Claude Code +9 - 0.628score
skill-creator
HazAT
Create new agent skills following the Agent Skills specification.
SkillDFreshness: D★ 455Claude Code +9 - 0.536score
commit
HazAT
Read this skill before making git commits
SkillDFreshness: D★ 455Claude Code +9 - 0.517score
github
HazAT
Interact with GitHub using the `gh` CLI.
SkillDFreshness: D★ 455Claude Code +9
Signals
- Stars
- 455
- Forks
- 42
- Open issues
- 0
- Last commit (this folder)
- Aug 19, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/HazAT/pi-config
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from HazAT
- 0.765score
superconductor
HazAT
Operates the super.engineering/Superconductor `sc` CLI for app-managed agents, teams, sessions, layouts, worktrees, and review threads.
SkillBFreshness: B★ 455Claude Code +9 - 0.759score
visualize-plan
HazAT
Turns an existing implementation plan into a polished self-contained HTML page and opens it in the browser.
SkillBFreshness: B★ 455Claude Code +9 - 0.759score
setup-superconductor-project
HazAT
Configures a repository for super.engineering with repo-owned worktree setup and development-server scripts.
SkillBFreshness: B★ 455Claude Code +9 - 0.759score
worker
HazAT
Implement one todo or review-fix task supplied by a coordinator, verify it, create one focused commit, and report evidence through the current Superconductor…
SkillBFreshness: B★ 455Claude Code +9 - 0.756score
write-todos
HazAT
Convert a selected Markdown plan into clear, dependency-ordered Markdown todos.
SkillBFreshness: B★ 455Claude Code +9 - 0.756score
review
HazAT
Coordinate a model-diverse local code review, automatically repair actionable findings with sequential workers, and re-review to a final verdict.
SkillBFreshness: B★ 455Claude Code +9
Cite this page
pi-extension-development skill. Agent Mart. https://agentmart.dev/skills/hazat-pi-extension-development (last updated 2026-10-24)