@runecraft/skills
v0.19.0
Published
Agent skill catalog — SKILL.md packages for pi, claude, codex and opencode, with an interactive installer TUI
Maintainers
Readme
Runecraft Skills
A catalog of agent skills: SKILL.md packages that teach AI coding agents to run specific, multi-phase workflows — planning, TDD, review, security, shipping — with the same precision every time, instead of ad-hoc prompting.
Each skill is a plain SKILL.md file (the core agent instructions) plus, optionally, a references/ folder the agent loads on demand as it works through a phase. Skills are plain files you can read, diff, and version.
Quick start
Run the interactive installer — no npm install needed:
npx @runecraft/skills installbunx works too:
bunx @runecraft/skills installThe installer lists the catalog, multi-selects skills, picks the target agent, and copies the skill folders into that agent's skills directory. Already-installed skills are skipped by default; the flow asks whether to overwrite or skip, and --overwrite forces replacement.
If the package is installed locally, the same CLI is available as runecraft-skills (bare invocation also defaults to the installer):
runecraft-skills # same as `runecraft-skills install`
runecraft-skills --list # list the catalog and exitScripting (for CI or one-shot installs):
npx @runecraft/skills install --skill spec-driven --skill skill-forge --target piOptions
| Flag | Description |
|------|-------------|
| -s, --skill <name> | Skill to install (repeatable). |
| -t, --target <id> | Install target: pi, claude, codex, opencode. |
| --target-dir <dir> | Override the destination skills directory (scripting / CI). |
| --overwrite | Replace already-installed skills (default: skip them). |
| -l, --list | List the catalog skills and exit. |
| -h, --help, -v, --version | Help / version. |
Install targets
The installer resolves each agent's skills directory, honoring the agent's own configuration conventions:
| Target | Skills directory | Convention |
|--------|------------------|------------|
| pi | ~/.pi/agent/skills/ | pi home: $PI_HOME (default ~/.pi) |
| claude | ~/.claude/skills/ | Claude Code config dir: $CLAUDE_CONFIG_DIR (default ~/.claude) |
| codex | ~/.codex/skills/ | Codex config dir: $CODEX_HOME (default ~/.codex); the legacy-but-still-scanned location OpenAI's skill-installer targets. Codex CLI also reads the newer cross-agent ~/.agents/skills/ — point --target-dir there if you prefer it. |
| opencode | ~/.config/opencode/skills/ | XDG config home: $XDG_CONFIG_HOME (default ~/.config) |
How it works
One catalog, one installer, four agents:
@runecraft/skills/
├── skills/
│ ├── spec-driven/SKILL.md # one directory per skill
│ ├── test-driven-development/SKILL.md
│ ├── code-review-and-quality/SKILL.md
│ └── ... # each with SKILL.md + optional references/ + scripts/
└── references/ # shared docs: testing-patterns.md, definition-of-done.mdWorks with any agent that supports custom instructions, skills, or rules directories.
Available skills
| Skill | Description | Main Trigger | Docs |
|-------|-------------|--------------|------|
| spec-driven | Spec-driven planning with 4 adaptive phases (Specify/Design/Tasks/Execute) + independent Verifier (author≠verifier) + self-improving lessons layer | /spec | → README |
| git-commit-learning | RPI model: analyze git log for patterns and write AI-learnable commits (Research → Plan → Implement → Verify). PT/EN. | /commit | → README |
| git-worktree | Use git worktrees for parallel feature branches without stashing or cloning. | /worktree | → README |
| using-agent-skills | Meta-skill: discover and dispatch to the right catalog skill for the current task. | /skill | → README |
| idea-refine | Refine raw ideas through divergent/convergent thinking — expand options, stress-test assumptions. | /ideate | → README |
| interview-me | One-question-at-a-time interview until ~95% confidence about user intent. | /interview | → README |
| spec-loop | Milestone-loop runner: drives every .specs/ artifact to completion — ROADMAP → milestones → tasks → verification gates → atomic commits → STATE.md. PT/EN. | "execute the specs" | → README |
| memory-management | Lightweight agent memory for non-Guild projects. Maintains project decisions and error patterns in a flat .agent-memory/ directory. | /memory | → README |
| doubt-driven-development | Adversarial review of non-trivial decisions: CLAIM → EXTRACT → DOUBT → RECONCILE → STOP. | /harden | → README |
| test-driven-development | TDD with the 80/15/5 pyramid and Beyonce Rule. Fail first, then make it pass. | /test | → README |
| typescript-patterns | TypeScript best practices and patterns for type-safe, maintainable code. | /typescript | → README |
| debugging-and-error-recovery | Five-step root-cause triage: reproduce → localize → reduce → fix → guard. | /debug | → README |
| code-review-and-quality | Five-axis code review (correctness, readability, architecture, security, performance) with severity labels. | /review | → README |
| code-simplification | Reduce complexity while preserving behavior — Chesterton's Fence, Rule of 500. | /simplify | → README |
| security-and-hardening | OWASP Top 10 and a three-tier boundary system for security-first development. | /security | → README |
| deprecation-and-migration | Retire old systems, APIs, and features; migrate users safely. Treats code as liability. | /deprecate | → README |
| shipping-and-launch | Pre-launch checklist, staged rollout, feature flag lifecycle, monitoring, rollback. | /ship | → README |
| skill-forge | Meta-skill for creating new Agent Skills end-to-end. Aligned with the open SKILL.md format. 6-phase workflow (Discover → Design → Author → Validate → Optimize → Deliver) with bundled validator and trigger/output eval methodology. | /forge | → README |
| linkedin-audit | Audita o perfil do LinkedIn (notas 0-10 em 8 seções, diagnósticos diretos, reescritas sugeridas) e gera um dashboard HTML standalone com as cores do LinkedIn. | "avalia meu perfil", "audita meu LinkedIn" | → SKILL.md |
References
Shared documents that complement the per-skill workflows:
| File | Description | |------|-------------| | testing-patterns.md | Common testing patterns across the stack with 80/15/5 pyramid, Beyonce Rule, and 8 anti-patterns. | | definition-of-done.md | Project-wide standing bar that complements per-task acceptance criteria. |
Why a SKILL.md instead of a longer system prompt
A system prompt has to hold everything all the time, so it either stays generic or grows until it's expensive and hard to steer. A skill is loaded only when its trigger matches the task, and it's a plain file you can read, diff, and version — the same TDD process doesn't need to be re-explained by hand in every project's prompt.
Manual install
You can also install skills manually, without the installer:
# after `npm install @runecraft/skills`
cp -r node_modules/@runecraft/skills/skills/spec-driven ~/.pi/agent/skills/spec-drivenLicense
MIT
