Skip to content
Development
Skill

/skill-writing-guide

Use when creating, reviewing, or refining Agent Skills for this repository

From plugin
aix-skills
3976 skills

Claude Code

$ npx -y skills add easyzoom/aix-skills --skill skill-writing-guide --agent claude-code

SKILL.md

skill-writing-guide.SKILL.md
name: skill-writing-guide
description: Use when creating, reviewing, or refining Agent Skills for this repository

Skill Writing Guide

Overview

Use this guide to create Agent Skills that are easy to discover, quick to load, and reliable in repeated use. A skill should teach an agent how to perform a task, not record how one person solved it once.

When To Use

Use this skill when:

  • Creating a new `skills/<name>/SKILL.md`.
  • Reviewing a pull request that adds or changes a skill.
  • Turning repeated agent behavior into reusable instructions.
  • Deciding whether content belongs in a skill, a script, or regular documentation.

Do not use it for one-off project notes, private runbooks, or generic documentation that agents can already infer from standard tools.

Workflow

1. Define the trigger. Write the frontmatter `description` as a `Use when...` sentence that describes the situation where the skill should load.

2. Keep the skill operational. Prefer short instructions, decision points, verification steps, and concrete examples. Avoid essays and background stories.

3. Separate heavy material. Keep `SKILL.md` focused. Move long API references, generated examples, or reusable scripts into supporting files beside the skill.

4. Add one strong example. Use a realistic example that demonstrates the workflow end-to-end. Do not add several shallow examples.

5. Add verification. Explain how the agent should prove the skill was used correctly before claiming completion.

6. Run repository validation. Run `python3 scripts/validate-skills.py` before opening a pull request.

Skill Checklist

  • Folder name uses lowercase kebab-case.
  • `SKILL.md` starts with YAML frontmatter.
  • Frontmatter includes `name` and `description`.
  • Frontmatter `name` matches the folder name.
  • Description starts with `Use when`.
  • Body explains workflow and verification.
  • Public examples contain no secrets or private data.

Verification

Before publishing a new or updated skill:

  • Run `python3 scripts/validate-skills.py` and confirm zero errors.
  • Confirm the frontmatter `name` matches the folder name exactly.
  • Confirm the `description` starts with `Use when` and describes the trigger situation.
  • Confirm at least one realistic example and one verification section exist in the body.
  • Confirm no secrets, internal URLs, or private tool assumptions are in the public skill.

Common Failures

  • **Description summarizes the workflow**: descriptions are for discovery; the body is for process.
  • **Skill is too broad**: split unrelated workflows into separate skills.
  • **No verification**: the agent cannot know whether the workflow succeeded.
  • **Too much copied reference material**: link to public docs or move concise references into supporting files.
  • **Private assumptions**: public skills should not depend on private tools unless the trigger says so.

Example

Bad description:

description: Explains how to gather context, write a document, run checks, and open a PR

Better description:

description: Use when drafting release notes from repository commits and pull requests

The better version tells the agent when to load the skill without tempting it to skip the actual instructions.

Read more
@easyzoom
Ships withaix-skills

AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.

Stars on GitHub

Momentum

stars in total
39
Star history of easyzoom/aix-skills on GitHub, a chart by star-history.com

Other skills on aix-skills.

8051-mcu-debug

8051-mcu-debug

Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…

@easyzoom@easyzoomInstall Skill
avem-integration

avem-integration

Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…

@easyzoom@easyzoomInstall Skill
ble-gatt-integration

ble-gatt-integration

Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…

@easyzoom@easyzoomInstall Skill
bootloader-debug

bootloader-debug

Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…

@easyzoom@easyzoomInstall Skill
canbus-integration

canbus-integration

Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…

@easyzoom@easyzoomInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about skill-writing-guide.

Which coding agents can use skill-writing-guide?
skill-writing-guide installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.