skills/pi-skills/writing-pi-skills/SKILL.md
Use when creating or editing any Pi skill, or checking an existing skill's format for agentskills.io spec compliance and Pi content rules.
npx skillsauth add jbro/pi-agent writing-pi-skillsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Pi skills follow the agentskills.io standard.
Pi auto-discovers skills, injects name + description into the system prompt at startup,
and loads the full SKILL.md on demand via the Read tool when a task matches.
Both fields are required. Missing either prevents the skill from loading.
---
name: my-skill # 1–64 chars; lowercase, digits, hyphens; matches directory name exactly
description: "..." # ≤1024 chars; third person; triggering conditions only
---
Name: no uppercase, no consecutive hyphens (--), no leading/trailing hyphens.
✅ name: systematic-debugging
✅ name: writing-pi-skills
❌ name: Systematic-Debugging # uppercase
❌ name: my--skill # consecutive hyphens
Description: describe when to load the skill — never summarize the skill's process or workflow.
✅ Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
❌ Use for debugging — investigates root cause across 4 phases
❌ Helps with debugging.
~/.pi/agent/skills/<name>/
SKILL.md # required
companion.md # optional — heavy reference or reusable tools only
Pi scans ~/.pi/agent/skills/ and .pi/skills/ (project-local) recursively.
Directory name must match name.
| ❌ Claude Code pattern | ✅ Pi replacement |
|---|---|
| @filename.md (auto-load) | Read \filename.md` in this skill's directory| |Skilltool invocation |Read the skill's SKILL.md at its listed location| |TodoWritechecklist |- [ ]markdown checklist | |EnterPlanMode| "plan your approach before proceeding" | |superpowers:skill-name|skill-name(name only) | |~/.claude/skills/|~/.pi/agent/skills/| |CLAUDE.mdreferences |AGENTS.md` |
Companion files: use for heavy reference (100+ lines) or reusable scripts. Pi has no auto-loading:
✅ Read `api-reference.md` in this skill's directory for full API docs.
❌ @api-reference.md
Only name + description are always in context; the full skill loads on demand.
| Skill type | Target | |---|---| | Workflow / always-triggered | < 200 words | | Standard | < 500 words | | Reference | No hard limit; compress where possible |
Prefer tables over prose, one strong example over three weak ones, cross-reference rather than repeat, omit what any competent agent already knows.
name present in frontmatter; lowercase, hyphens only, ≤64 chars; matches directory name exactlynamedescription present, ≤1024 chars, third person, starts with "Use when..."@filename references — sibling file loads are explicit Read instructionsSkill tool, TodoWrite, EnterPlanMode, Task tool referencessuperpowers: prefixes on cross-references~/.claude/ paths; no CLAUDE.md referencestesting
Use when writing or editing human-facing prose that needs clearer, more concise wording.
development
Use when you have a spec or requirements for a multi-step task, before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
tools
Use when starting any conversation or task, to determine which skills apply before responding or taking any action.