write-a-skill

Create compliant agent skills with SKILL.md templates and YAML frontmatter.

88|9|Updated Jul 16, 2020
One-click install
npx skills add https://github.com/docs-plus/docs.plus --skill write-a-skill-docs-plus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-a-skill
Source: https://github.com/docs-plus/docs.plus/tree/main/.agents/skills/write-a-skill
Command: npx skills add https://github.com/docs-plus/docs.plus --skill write-a-skill-docs-plus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the frustration of creating inconsistent, hard-to-discover agent skills that lack proper structure, clear descriptions for AI agents, and organized bundled resources, ensuring your skills are maintainable and function as intended.

Core Features & Use Cases

  • Guided Requirement Gathering: Structured prompts to collect all necessary details about the skill's domain, use cases, and resource needs upfront.
  • Compliant Structure Templates: Pre-built SKILL.md templates and best practices for progressive disclosure, YAML frontmatter formatting, and content organization to ensure agents can correctly discover and load your skill.
  • Resource Bundling Guidance: Clear rules for when and how to add utility scripts, reference documents, and assets to support deterministic tasks and in-depth information needs.
  • Use Case: If you need to build a skill that helps agents validate and format CSV data for your team's reporting workflow, this Skill guides you through defining the scope, writing the compliant SKILL.md, adding validation scripts if needed, and structuring reference docs for edge cases.

Quick Start

Use the write-a-skill skill to build a new agent skill that automates extracting key metrics from your team's weekly sales CSV reports and formats them into a standardized Markdown summary.

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 agent skills that are consistently structured and discoverable by AI?

To create agent skills that are discoverable, use structured SKILL.md templates with trigger-based YAML frontmatter and progressive content disclosure, ensuring AI systems can correctly load your custom workflows. This approach enforces compliance with usability standards.

What is progressive disclosure in skill structure and when do I need it?

Progressive disclosure in skill structure is a content organization method that layers information so AI agents load only what is needed. You need it when building complex agent skills to ensure maintainability and prevent overwhelming the system with unnecessary context.

How do I bundle utility scripts and reference documents when building custom skills?

To bundle utility scripts and reference documents when building custom skills, follow resource bundling guidance to add assets only when needed for deterministic tasks or edge cases, keeping them organized within the skill directory structure alongside the SKILL.md file.

Can I use this guided workflow to build a skill for domain-specific CSV validation and formatting?

Yes, you can use the guided requirement gathering workflow to build a skill for domain-specific CSV validation and formatting. It helps define the scope, draft the compliant SKILL.md, add necessary validation scripts, and structure reference docs for edge cases.

What is the best way to define the scope and requirements for a new AI agent skill?

The best way to define the scope and requirements for a new AI agent skill is through structured requirement gathering prompts that collect details about the domain, specific use cases, and resource needs upfront before drafting the SKILL.md file.

Why do my custom agent skills fail to load or remain undiscovered by the AI system?

Custom agent skills fail to load or remain undiscovered when they lack proper skill directory structure, trigger-based YAML frontmatter, or clear descriptions, which prevents the AI system from correctly parsing and matching the skill to user intents.