skill-authoring

Create, register, and validate AI-agent skills with discovery metadata and indexes.

33|12|Updated Sep 24, 2024
One-click install
npx skills add https://github.com/bgaldino/rlm-base-dev --skill skill-authoring-bgaldino
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-authoring
Source: https://github.com/bgaldino/rlm-base-dev/tree/main/.cursor/skills/skill-authoring
Command: npx skills add https://github.com/bgaldino/rlm-base-dev --skill skill-authoring-bgaldino

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Authoring AI-agent skills involves more than writing a Markdown file: skills must be discoverable across multiple agents (Cursor, Claude Code, Copilot, Codex), registered in several indexes, and validated against repository gates. This Skill defines the full lifecycle so new or changed skills stay consistent and consumable by every tool. ## Core Features & Use Cases - Skill Lifecycle Guidance: Rules for when to create a new skill versus updating AGENTS.md or an existing skill, with required sections (Quick Rules, DO NOT, Entry Conditions, Examples, Validation Checks). - Registration Checklist: Step-by-step updates for .cursor/skills/README.md, AGENTS.md, .claude/skill-manifest.yml, native discovery symlinks, and Cursor rules. - Validation Workflow: Commands such as analyze_agent_tooling.py check and skill_manifest.py --check to gate frontmatter, symlinks, sub-file registration, and the AGENTS.md byte ceiling. - Use Case: When adding a new skill for pricing waterfall authoring, follow this Skill to create the SKILL.md with proper frontmatter, register it in all indexes, add discovery symlinks, and run the validation checks before committing. ## Quick Start Ask the agent to read the skill-authoring SKILL.md and create a new skill with proper frontmatter, registration in all indexes, and validation checks run.

Frequently Asked Questions about skill-authoring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new AI-agent skill in this repository?

Create a directory under .cursor/skills/ with a SKILL.md containing YAML frontmatter (name and description) plus Quick Rules, DO NOT, Entry Conditions, Examples, and Validation Checks sections. Then register it in .cursor/skills/README.md, AGENTS.md, and the skill manifest, and add discovery symlinks.

What frontmatter is required in a SKILL.md file?

Every top-level SKILL.md needs YAML frontmatter with a name matching its directory (1-64 lowercase letters, digits, or hyphens) and a description of at most 1,024 characters describing the capability and when to select the skill.

When should I update AGENTS.md instead of creating a skill?

Update AGENTS.md for universal rules every agent must see before choosing a skill, such as safety-critical DO NOT rules and repository-wide conventions. Create a skill when guidance is task-specific, multi-step, or example-heavy.

How do I make skills discoverable in Claude Code and other agents?

Track relative symlinks in both .agents/skills/ and .claude/skills/ pointing to ../../.cursor/skills/<name>, linking the whole directory. Verify they resolve after a fresh checkout and are tracked as symlinks (mode 120000) in Git.

Why does the skill validation check fail on my sub-file?

The analyze_agent_tooling.py check fails when a sub-file is not named in its parent SKILL.md, either as a code span or Markdown link. The parent's sub-file list is the only registry, so prose mentions without code formatting are not recognized.