write-a-skill

Create standardized SKILL.md files with required frontmatter and optional resource directories.

Updated Nov 16, 2022
One-click install
npx skills add https://github.com/kos3nz/dotfiles --skill write-a-skill-kos3nz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-a-skill
Source: https://github.com/kos3nz/dotfiles/tree/main/.config/agents/skills/write-a-skill
Command: npx skills add https://github.com/kos3nz/dotfiles --skill write-a-skill-kos3nz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Create a standardized Skill Unit template to ensure consistency when teams create, write, or build new skills, with a reusable frontmatter and optional resources.

Core Features & Use Cases

  • Provides a consistent SKILL.md frontmatter with mandatory name and description.
  • Outlines optional directories (scripts/, references/, assets/) and how to use them.
  • Includes a compact workflow for gathering requirements, drafting, and review to accelerate skill creation.

Quick Start

Create a new skill directory, add SKILL.md with the required frontmatter, and include concise instructions, with optional references or scripts as needed.

Frequently Asked Questions about write-a-skill

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

FAQPage Schema
How do I create a standardized AI agent skill template with markdown frontmatter?

To create a standardized AI agent skill, use a markdown template with required SKILL.md frontmatter containing name and description fields, plus optional directories for scripts, references, and assets to ensure structural consistency.

What is the best way to structure metadata for new skill creation?

The best way to structure skill metadata is computing dependency, component, and toxicity fields within the frontmatter, while cataloging optional directories like scripts and assets to produce structured, reusable metadata.

How does the skill drafting and review workflow work for teams?

The skill drafting workflow operates by guiding teams through a compact process: gathering requirements, drafting the SKILL.md content, and conducting a review phase to accelerate and standardize new skill creation.

Do I need optional directories like scripts and references to build a skill unit?

You do not need optional directories to build a skill unit; they are entirely optional. A valid skill requires only a SKILL.md file with mandatory name and description frontmatter, while scripts, references, and assets enhance it.

Can I use this approach to catalog dependencies and components for AI skills?

Yes, you can use this approach to catalog dependencies and components for AI skills. The template computes and enforces structured metadata fields, detecting optional directories and organizing them into a standardized skill unit.

What are the limitations when writing a skill with required frontmatter?

A key limitation is that the frontmatter strictly enforces mandatory name and description fields; without them, the skill unit is invalid. Additionally, it focuses on template generation and does not execute the generated scripts.