Skip to content
Skills Library
AI & agents · Building & coding

skill-author

/skill-author

Use when creating, extracting, editing, or sharing a skill — decides harness vs project scope with a judge call, then writes the SKILL.md at the right home. Trigger keywords: new skill, create a skill, write a skill, extract this into a skill, skill for, share my skills, skill scope.

Licence
MIT
Last repository change
10.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 10.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when creating, extracting, editing, or sharing a skill — decides harness vs project scope with a judge call, then writes the SKILL.md at the right home. Trigger keywords: new skill, create a skill, write a skill, extract this into a skill, skill for, share my skills, skill scope.

Original author description

Use when creating, extracting, editing, or sharing a skill — decides harness vs project scope with a judge call, then writes the SKILL.md at the right home. Trigger keywords: new skill, create a skill, write a skill, extract this into a skill, skill for, share my skills, skill scope.

How it works

  1. Step 1 — Scope the skill (mandatory, before writing)
  2. Step 2 — Write the description, not the body, first
  3. Step 3 — Body shape
  4. Step 4 — Verify it before shipping
  5. Step 5 — Register only what needs routing
  6. Step 6 — Log and share
  7. Anti-patterns
Original SKILL.md headings · 70 lines, 628 words
SKILL.md preview
---
name: skill-author
description: Use when creating, extracting, editing, or sharing a skill — decides harness vs project scope with a judge call, then writes the SKILL.md at the right home. Trigger keywords: new skill, create a skill, write a skill, extract this into a skill, skill for, share my skills, skill scope.
---

# Skill author — judge scope first, then write

A skill is a routing document, not an essay. Its description decides whether it ever loads; its body decides whether loading helps. Get the scope wrong and the wrong home rots.

## Step 1 — Scope the skill (mandatory, before writing)

```bash
node ~/.config/opencode/scripts/spec-triage.mjs --scope "<what the skill does, and who it serves>"
```

| Verdict | Home |
|---|---|
| `harness` | `~/.config/opencode/skill/<name>/SKILL.md` — applies to every project |
| `project` | `<repo>/.opencode/skill/<name>/SKILL.md` — one codebase, stack, or client |

Rules:
- **Unclear means project.** Only promote to harness when the judge says harness with confidence ≥ 0.7 and you can name the cross-project concern in one sentence.
- `source: fallback` or any `override` → ask the user before installing globally.
- A project skill that earns reuse gets promoted later. A harness skill that turns out to be one repo's quirk is worse: it loads everywhere and fits nowhere.
- Check for an existing owner first: `ls ~/.config/opencode/skill` and the project's `.opencode/skill`. Extending one skill beats adding a near-duplicate that competes for the same trigger.

## Step 2 — Write the description, not the body, first

The description is the entire product: it is what the agent sees before deciding to load.

```yaml
description: Use when <situation, in the user's words>. <One sentence on what it does.> Trigger keywords: <5-8 phrases someone would actually type>. DO NOT trigger for <the nearest false positive>.
```

- Trigger phrases come from real requests, not synonyms you invented.
- Name the nearest false positive explicitly, or the skill will steal another skill's traffic.
- Harness skills are global: their description competes with ~15 others. If two descriptions overlap, one of them is redundant.

## Step 3 — Body shape

Under ~100 lines. Structure:

1. **One-line purpose**, then the rule that matters most.
2. **When this applies / when it does not** — if the description was precise, this is one line.
3. **Steps**, numbered, with the actual command or path.
4. **Hard rules** — the ones that prevent a known failure, each with its reason.
5. **Output contract** — what the caller should get back.
6. **Anti-patterns** — failures already observed, not hypotheticals.

No preamble, no motivation section, no restating the description. If a rule cannot be checked, cut it or make it checkable.

## Step 4 — Verify it before shipping

- **Trigger test:** would a fresh session load this on the intended phrase, and *not* load it on the nearest false positive? Read only the description and answer.
- **Collision test:** `grep -h "^description:" ~/.config/opencode/skill/*/SKILL.md` — if yours overlaps, sharpen or merge.
- **Path test:** every path in the body resolves from the home you chose.
- **Scope test:** does the body assume one repo? Then it is a project skill, whatever the judge said.

## Step 5 — Register only what needs routing

Add an AGENTS.md row only when the skill is a *seat*: a situation the primary must be routed to (review gate, spec authoring, design). Reference material and technique skills stay unlisted and load by description.

## Step 6 — Log and share

- Harness skill changed → one line in `~/.config/opencode/notes/harness-changelog.md` (what changed, why, how it will be measured).
- Sharing: copy the folder into the personal skills repo, keep the relative paths working, and do not strip the trigger keywords on the way out — they are the part other people need most.

## Anti-patterns

- Writing the body first and back-filling a vague description: the skill never loads.
- A harness skill whose content is one project's convention.
- Two skills with the same trigger: whichever loads is luck.
- A skill that restates doctrine already in AGENTS.md, so the two drift.

Versions

RepositoryScoreLicence
This page · robruiz/rob-ruiz-skills100MIT
pinvou/pinvou-agent100MIT
SkillMedev/skills100MIT
hagaiw/skillroll90MIT

Database snapshot: 13.11.2026 · package version df4da20b97bf (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100writing-skills
    Author and pressure-test agent skills—triggers, thin SKILL.md, references, validation. Use when creating or revising skills in this repo. Triggers: "write a skill", "new skill", "skill authoring", "improve skill triggers".
  • 100skill-creator-plus
    Create or review a reusable skill (SKILL.md) that packages a workflow, and decide whether the request should be a skill instead of a prompt, instruction, agent, or hook. Use when creating a new skill, extracting a workflow from a conversation, updating an existing skill,…
  • 93create-skill
    Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill, or asks about skill structure, best practices, or SKILL.md format.
  • 100agent-skill-author
    Use this skill when the user wants to author, design, scope, or refine an Agent Skill (a SKILL.md file). Trigger phrases include "build a new skill", "design an agent skill", "scope a SKILL.md", "how should I structure this skill", "write a skill for X", "my skill isn't working…
  • 100create-skill
    Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill, or asks about skill structure, best practices, or SKILL.md format.
  • 98create-skill
    Guides users through creating effective Agent Skills for Cursor. Use when you want to create, write, or author a new skill, or asks about skill structure, best practices, or SKILL.md format.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.