agentleFS
extra-orgextra-org/extra/.claude/skills/skill-authoring/SKILL.md

skill-authoring

Skill113 starsChanged 6 months agoMITView on GitHub

How to create or restructure a skill so the .ai/skills/ system stays consistent, operational, and trustworthy. A skill is a short, repeatable playbook — not an essay.

58 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use observability, incident-response and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    observability

    Vercel Observability expert guidance — Drains (logs, traces, speed insights, web analytics), Web Analytics, Speed Insights, runtime logs, custom events, OpenTelemetry integration, and monitoring dashboards. Use when instrumenting, debugging, or optimizing application performance and user experience on Vercel.

    Also in 7 projects that use this

  • AnthropicSkill

    incident-response

    Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.

    Also in 5 projects that use this

  • JohnJBorenSkill

    ci-cd

    CI/CD pipeline design, GitHub Actions, testing automation, and deployment strategies

    Also in 3 projects that use this

  • jacobraskSkill

    knowledge-base

    Manage your personal knowledge base of curated resources, bookmarks, and excerpts. Triggers include "knowledge base", "kb", "add to knowledge", "add tabs to", "what do I have on", "what do we know about", "find resources about". Use with safari-tabs skill for bulk ingestion from Safari windows. Location is ~/knowledge/.

    Also in 3 projects that use this

  • UnitOneAISkill

    threat-modeling

    Runs a structured STRIDE threat model on any system design, API specification, or codebase. Auto-invoked when the user discusses architecture, shares a system diagram or design document, or asks "what could go wrong?" Produces threat actor profiles, component-threat matrix, a threat register with STRIDE classification, data-flow diagram template, trust boundary identification, and prioritized mitigations mapped to MITRE ATT&CK techniques.

    Also in 3 projects that use this

  • ElasticSkill

    accessibility

    Accessibility guidance for Kibana. Use this skill when working with or reviewing EUI components, resolving a11y-related (@elastic/eui) ESLint issues, and ensuring proper use of ARIA attributes, focus management, keyboard interactions, and accessible naming conventions.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 52 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not edit this file directly.

    line 10
  2. Distinctive:

    Consistent structure: Every skill uses the standard section set (below).

    line 41
  3. Distinctive:

    Must include: when to use it, files to read first, rules, process, checklist, and common mistakes.

    line 42
  4. Distinctive:

    Short enough to be used: If it's too long to read before a task, trim it.

    line 49
  5. Distinctive:

    Confirm the gap: Ensure no existing skill already covers the area.

    line 54

“Common” is measured: kept by at least 6 in 10 of the 52 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- This file is generated by tools/skills. Do not edit this file directly. Edit .ai/skills/skill-authoring.md and run `make generate-ai`. -->

Skill: Skill Authoring

Purpose

Define how to create new skill files so the .ai/skills/ system stays consistent, operational, and trustworthy. A skill is a short, repeatable playbook — not an essay.

When to Use This Skill

  • Creating a new skill file in .ai/skills/.
  • Substantially restructuring an existing skill.
  • Reviewing a proposed skill for quality and consistency.

Files to Read First

  • AGENTS.md (skills system + architecture rules a skill must not contradict).
  • .ai/README.md (the index a new skill must be added to).
  • An existing high-quality skill as a model (e.g. .ai/skills/code-review.md).
  • Any docs//ADR the new skill will reference.

Core Principles

  • Operational, not academic. A skill tells an agent what to do, step by step. No long prose.
  • Task-oriented and repeatable. Focus on behavior an agent will repeat.
  • Consistent structure. Every skill uses the standard section set (below).
  • Must include when to use it, files to read first, rules, process, checklist, and common mistakes.
  • Never contradicts AGENTS.md, the docs, or ADRs. If it would, you need an ADR/doc change first, not a skill that diverges.
  • References, not duplicates. Link to the authoritative doc/ADR rather than copying its content (which will drift). This is also why skills live only in .ai/ — never copy them into tool-specific folders.
  • Short enough to be used. If it's too long to read before a task, trim it.
  • Includes validation commands (e.g. make check).

Process

  1. Confirm the gap. Ensure no existing skill already covers the area; prefer improving one over adding a near-duplicate.
  2. Copy the template below into .ai/skills/<name>.md.
  3. Fill every section with concrete, project-specific instructions (mention real layers, files, and commands — not generic advice).
  4. Cross-check against AGENTS.md/ADRs for contradictions.
  5. Add it to .ai/README.md index and, if it maps to a task type, to the AGENTS.md skills mapping.
  6. Validate formatting with make check (Markdown only → still run it).

Template for a new skill file

---
name: <skill-name>
description: <one-sentence summary of when and why to use this skill>
---

# Skill: <Skill Name>

## Purpose
<one short paragraph: what this skill is for>

## When to Use This Skill
- <situation 1>
- <situation 2>

## Files to Read First
- <file 1>
- <file 2>

## Core Principles
- <non-negotiable principle 1>
- <non-negotiable principle 2>

## Process
1. <step 1>
2. <step 2>

## Checklist Before Finishing
- [ ] <check 1>
- [ ] `make check` passes.

## Common Mistakes to Avoid
- <mistake 1>

## Expected Final Report
<what the agent should report after applying this skill>

Checklist Before Finishing

  • File named .ai/skills/<name>.md and uses the standard sections.
  • Content is operational, concrete, and project-specific.
  • No contradiction with AGENTS.md, docs, or ADRs.
  • References authoritative docs instead of duplicating them.
  • Includes validation commands.
  • Added to .ai/README.md (and AGENTS.md mapping if applicable).
  • make check passes.

Common Mistakes to Avoid

  • Writing a long essay instead of a playbook.
  • Vague, generic advice that isn't tied to this project.
  • Duplicating doc/ADR content that will drift out of sync.
  • Forgetting to register the skill in the README/mapping.
  • Contradicting an existing rule without first updating the ADR/doc.

Expected Final Report

State: the new skill's name and path; the gap it fills; which docs/ADRs it references; where it was registered (README/AGENTS mapping); and confirmation that it matches the standard structure and contradicts nothing.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.