Agent skills
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-22 22:02:59 -05:00
skills Add sapling-vcs-workflow skill 2026-11-22 13:45:38 -05:00
AGENTS.md upd AGENTS.md to convince models to do VCS work 2026-11-22 22:02:59 -05:00
APPEND_SYSTEM.md Add global AGENTS.md and APPEND_SYSTEM.md from pi 2026-11-22 13:37:01 -05:00
README.md Add README describing the skills 2026-11-22 09:48:27 -05:00

Skills

Agent skills used with pi and compatible harnesses. Each skill is a directory containing a SKILL.md file: YAML frontmatter with a name and description, followed by the instructions the agent loads when the task matches that description.

skills/
├── plan-deslop/    SKILL.md
├── sapling-scm/    SKILL.md
└── vcs-workflow/   SKILL.md

How skills are loaded

The harness reads the description field to decide whether a task matches the skill. When it does, the full SKILL.md body is loaded into context. Keep the description specific enough that unrelated tasks do not trigger it, and keep the body focused on the procedure the agent should follow.

Available skills

plan-deslop

Produces an evidence-backed plan for reducing structural complexity and accumulated tactical debt in a codebase. Covers source, tests, docs, build configs, and CI. It is read-only by default: it investigates first (callers, history, generated files, CI usage), separates confirmed findings from suspicions, and targets shallow modules, information leakage, dead weight, implementation-coupled tests, and low-signal prose. The output is a sequenced execution order with a verification step for each change. Use it for cleanup audits and refactoring plans, not for feature work.

sapling-scm

Reference for working with Sapling (sl) and EdenFS repositories. Covers the differences from Git (no staging area, phases, bookmarks instead of branches, orphaned descendants after rewriting, non-destructive undo), plus a command reference for inspection, committing, rewriting, conflict resolution, and recovery. It tells the agent to check for .sl before running any VCS command and to avoid interactive commands that would hang in non-interactive shells.

vcs-workflow

Governs how changes get committed, in any version control system. It requires incremental, atomic commits as work progresses rather than one large commit at the end, with one intention per commit and preparatory or mechanical changes kept separate from behavior changes. It also defines the commit message convention, including the Assisted-By trailer.

Adding a skill

  1. Create skills/<name>/SKILL.md.
  2. Add frontmatter with name and description.
  3. Write the procedure as direct instructions to the agent.

The frontmatter name should match the directory name.