Skip to content
Skills Library
AI & agents · Writing

write-a-skill

/write-a-skill

Guide writing a new skill file following Shane's authoring conventions — principle-first, anti-patterns before steps, _lib/ references over inline duplication. Use when invoked as /write-a-skill or when Shane says "create a new skill for X", "add a skill", "write a skill that does X".

Licence
MIT
Last repository change
04.08.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 04.08.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

Guide writing a new skill file following Shane's authoring conventions — principle-first, anti-patterns before steps, _lib/ references over inline duplication. Use when invoked as /write-a-skill or when Shane says "create a new skill for X", "add a skill", "write a skill that does X".

Triggers from the description

create a new skill for Xadd a skillwrite a skill that does X
Original author description

Guide writing a new skill file following Shane's authoring conventions — principle-first, anti-patterns before steps, _lib/ references over inline duplication. Use when invoked as /write-a-skill or when Shane says "create a new skill for X", "add a skill", "write a skill that does X".

How it works

  1. Conventions
  2. Process
Original SKILL.md headings · 43 lines, 356 words
SKILL.md preview
---
name: write-a-skill
description: Guide writing a new skill file following Shane's authoring conventions — principle-first, anti-patterns before steps, _lib/ references over inline duplication. Use when invoked as /write-a-skill or when Shane says "create a new skill for X", "add a skill", "write a skill that does X".
---

# Skill: /write-a-skill [name]

A skill is a short, opinionated document — write the minimum that removes ambiguity, then stop.

**Don't:** embed blocks that appear in other skills — extract them to `_lib/`. Don't lead with numbered steps before stating what the skill is *for*.

## Conventions

**Length targets:**
- Simple delegation skill (Qwen, one task): under 40 lines
- Complex ritual skill (multi-step, fallback): under 80 lines
- If over limit, find what to extract to `_lib/`

**Structure (in order):**
1. Frontmatter: `name`, `description` (include trigger phrases and "Do NOT use for" guards)
2. H1 with skill name
3. **Principle line** — one sentence stating what the skill produces and why it's valuable; not "this skill does X" — just the thing itself
4. **Anti-patterns** — 1–3 `**Don't:**` lines naming specific failure modes and the right alternative
5. Steps or happy path
6. Fallback (if tool-dependent) — kept short via `_lib/` references

**Principle line pattern:**
Combine WHAT and WHY into one sentence. Examples:
- `/connect`: "Surface the non-obvious bridges between two concepts the vault hasn't linked yet — the value is in connections that surprise, not the ones you'd expect."
- `/trace`: "Map the arc of how Shane's thinking on a topic evolved — not the current position, but the path that led there and the inflection points along the way."

**`_lib/` candidates:**
- Any block >10 lines that appears in more than one skill
- Tool invocation protocols (Qwen delegation loop, obsidian commit sequence)
- Save/commit sequences

## Process

1. Determine the skill name and its trigger phrases.
2. Write the `description` frontmatter: trigger phrases + "Do NOT use for..." guard.
3. Write the principle line — one sentence, WHAT + WHY combined.
4. Write 1–3 anti-patterns using the `**Don't:**` format; name the right alternative.
5. Write steps — collapse any step that just restates what to do without showing how. If the skill depends on an external tool (Qwen, MCP), add a Fallback section.
6. Identify `_lib/` candidates — any block you've seen in another skill.
7. Count lines. If over target, extract one more thing or delete it.
8. Save to `plugins/shane/<plugin>/skills/<name>/SKILL.md`.

Versions

RepositoryScoreLicence
This page · slogsdon/skills-meta-utils100MIT
borghei/Claude-Skills100MIT
alirezarezvani/claude-skills100MIT
redpanda-data/ui-harness100MIT
RubenGlez/rubstack100MIT
holl4ndtv/skills100MIT
yamcodes/arkenv100MIT
mkurman/zorai100MIT
AmirAzy/HoNspot100MIT

Database snapshot: 13.11.2026 · package version 429c47533ce9 (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

  • 100agent-skill-authoring
    Conventions, anti-patterns, and meta-patterns for writing skills (and the shared agent/skill philosophy). Use when creating or editing a SKILL.md file, or when reviewing the agent-vs-skill separation. For the procedural workflow that generates a new agent file, use the…
  • 100skill-creation-guide
    Guide the user through authoring a new agent skill — when a skill is worth creating, the SKILL.md format, progressive disclosure, and common pitfalls. Also covers discovering skill opportunities from the user's work patterns and generating a SKILL.md from a description. Trigger…
  • 90ghost
    Use when you want to answer a question in Shane's voice, when asked to ghost-write as Shane, or when the /ghost command is invoked. Do NOT use for writing in Shane's voice when he is the author — this produces content as Shane, for external use.
  • 100dev-skillify
    Create a new custom skill for the workspace. Guides the user through defining the skill's slug, trigger conditions, workflow steps, outputs, and anti-patterns. Use when the user says 'create a skill', 'new skill', 'add a skill', 'I need a custom skill', or wants to formalize a…
  • 100skill-authoring
    When creating a new skill or workflow, or improving an existing skill's effectiveness. Use when the user asks to add a capability, write a new workflow, or when a skill isn't triggering or being followed reliably.
  • 100writing-skills
    Methodology for creating effective skills using TDD principles. Use when creating new skills, editing existing skills, or authoring plugin components. Triggers on: 'create skill', 'write skill', 'new skill', 'skill authoring'.

Feedback and reports

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