Skip to content

Skill

A skill is the AI skill you already know, officially a folder that follows the open Agent Skills standard. It holds a SKILL.md file that tells an agent how to carry out one kind of task, plus any scripts, references, or assets it needs.

Skills are coarse-grained: one skill walks an agent through a whole task, such as building a feature or reviewing a pull request. That makes them good for playbooks, techniques, and coordinating work.

Trailguide installs skills into your repository for every agent your team uses, records where each one came from and which version it is, and checks them. It doesn’t run skills, decide when an agent uses one, or check that the agent followed it.

A skill is a folder named after the skill:

build-feature/
SKILL.md
references/
slicing.md

SKILL.md starts with a short header, then the instructions. The header needs a name, which agents find the skill by, and a description, which tells agents when to use it. Trailguide adds a few optional keys, such as the skill’s type and the rules it applies. A skill with them is still a standard skill, so every agent can use it.

---
name: build-feature
description: Build a feature from an agreed spec, one slice at a time.
metadata:
trailguide-skill-type: playbook
trailguide-rules-used: |
practices/testing/test-behavior-not-implementation
---
1. Read the spec and name the slice you're building.
2. Decide where the code lives before writing it.
...

To write one, follow Write a skill. For every field, see Skill format.

When Trailguide builds or installs a skill, it records the skill’s provenance in that copy’s metadata: its stack, and for a fork, where it came from. You never write those keys.

A skill type says what a skill is for, so skills are easier to search and browse, such as in a catalog like Skillmart. We keep the list short, because removing or redefining a type later would break the skills that use it. A skill can declare one type or none:

TypeWhat the skill doesExamples
playbookOrdered steps for carrying out one kind of engineering task.Build a feature, fix a bug, migrate a dependency
reviewExamines existing work against stated criteria and reports findings.Review a pull request, audit a test suite
No typeAnything that doesn’t clearly fit either type. Leave the type out.A reference guide, a tool’s usage notes

A playbook changes the work, and a review judges work that already exists. The type is only a label: Trailguide installs, checks, and updates every skill the same way.

A skill bundles many practices, and you can’t adopt, update, or version one of them on its own. Rules are the fine-grained layer: one best practice per file, with its own version.

A skill can cite the rules it applies instead of restating them, in trailguide-rules-used. Then:

  • Each practice is written once, and every skill that cites it stays current when the rule gets a new version.
  • A project can exclude or replace a rule, and every skill that cites it follows the project’s choice.
  • Reviewers check work against the same rules the implementing agent followed.

The installed skill ends with links to your project’s version of each rule it cites, so agents read them before the steps that use them. When a skill and a rule disagree, agents follow the rule and report the conflict.

A project can install skills from a library, from any Git repository of skills, even one that doesn’t use Trailguide, and from its own .trailguide/skills/ folder. It can exclude a skill it doesn’t want, or fork one to change it. When you sync, Trailguide writes each installed skill into the folders your agents read, such as .claude/skills/ and .agents/skills/, and lists them all in .trailguide/SKILLS.md.

See Install skills to add skills to a project.

Fabrica TrailguideMIT licensedPrivacy

Built with Fabrica.