write-a-skill

Create agent skill directories with SKILL.md frontmatter and structured instructions.

12|Updated Dec 25, 2024
One-click install
npx skills add https://github.com/whyte25/reusables --skill write-a-skill-whyte25
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-a-skill
Source: https://github.com/whyte25/reusables/tree/main/.agents/skills/write-a-skill
Command: npx skills add https://github.com/whyte25/reusables --skill write-a-skill-whyte25

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users draft new agent skills in a consistent, discoverable format with progressive disclosure. Use when you want to create, write, or build a new reusable skill directory that the agent can load reliably.

Core Features & Use Cases

  • Requirement gathering: Identifies the task domain, use cases, whether scripts are needed, and what references should be included.
  • Skill scaffolding: Produces a correct SKILL.md entry point with clear instructions and a maintainable structure.
  • Organization guidance: Recommends splitting long instructions into reference files and adding deterministic scripts only when appropriate.
  • Use Case: Create a new skill for a specific workflow (e.g., “triage bug reports” or “generate release notes”) and bundle any references or deterministic helpers alongside the skill.

Quick Start

Ask the agent to create a new skill directory named “<your-skill-name>” that includes a SKILL.md with the requested triggers and workflows, plus any reference files or scripts needed for deterministic steps.

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 new agent skill with proper YAML frontmatter and structure?

To create an agent skill, you need to scaffold a skill directory containing a SKILL.md file with YAML frontmatter for the name and description, a concise instructional body, and optionally bundled reference files or deterministic scripts to support progressive disclosure.

What is progressive disclosure in skill authoring and when should I use it?

Progressive disclosure in skill authoring is a structural design pattern that splits long operational instructions into separate reference files, allowing the agent to load concise triggers first and access detailed workflow documentation only when needed.

How do I structure a SKILL.md file for a specific workflow like triaging bug reports?

You structure a SKILL.md file by defining YAML frontmatter with the skill name and description, writing a concise instructional body for the workflow triggers, and organizing any deterministic scripts or references into a maintainable skill directory layout.

When should I include deterministic scripts in my skill directory?

You should include deterministic scripts in your skill directory only when a specific workflow requires exact, repeatable processing steps that cannot be reliably handled by the agent through standard operational instructions and reference files alone.

Can I bundle reference files alongside operational instructions in a skill directory?

Yes, you can bundle reference files alongside operational instructions in a skill directory to provide deeper domain context, which the agent can load on demand based on the specific use case triggers defined in your SKILL.md.