write-a-skill

Create new agent skills with structured SKILL.md files and bundled resources.

Updated May 11, 2026
One-click install
npx skills add https://github.com/thachrocky12345/local-agent-train-workstation --skill write-a-skill-thachrocky12345
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-a-skill
Source: https://github.com/thachrocky12345/local-agent-train-workstation/tree/main/.claude/skills/write-a-skill
Command: npx skills add https://github.com/thachrocky12345/local-agent-train-workstation --skill write-a-skill-thachrocky12345

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing a well-structured agent skill requires knowing the correct SKILL.md format, description conventions, and when to split content into scripts or reference files. This Skill guides you through gathering requirements, drafting, and reviewing a new skill so it is discoverable and effective. ## Core Features & Use Cases - Guided Requirements Gathering: Walks through questions about the skill's domain, use cases, and whether scripts or references are needed. - SKILL.md Template & Structure: Provides a ready-made frontmatter template, directory layout, and description-writing rules with good and bad examples. - Review Checklist: Verifies trigger phrases, line limits, consistent terminology, and concrete examples before finalizing. - Use Case: When you want to package a repeatable workflow as a reusable agent skill, this Skill helps you draft the SKILL.md, decide on bundled scripts, and validate the result against best practices. ## Quick Start Ask the agent to help you create a new skill for your chosen task, and it will gather requirements and draft the SKILL.md for review.

Frequently Asked Questions about write-a-skill

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

FAQPage Schema
How do I write a SKILL.md file for an agent skill?

Start with YAML frontmatter containing a name and description, then add a Markdown body with a quick start, workflows, and advanced features. Keep the file under 100 lines and split longer content into separate reference files.

What makes a good skill description for agent discovery?

A good description states what the skill does in the first sentence and when to trigger it in the second, using specific keywords and contexts. Keep it under 1024 characters, write in third person, and avoid vague phrases like "helps with documents".

When should I add scripts to a skill?

Add utility scripts when operations are deterministic, such as validation or formatting, when the same code would be generated repeatedly, or when errors need explicit handling. Scripts save tokens and improve reliability over generated code.

When should I split skill content into separate files?

Split content when SKILL.md exceeds 100 lines, when the skill covers distinct domains, or when advanced features are rarely needed. Reference files should stay one level deep from the main SKILL.md.

What directories can a skill contain besides SKILL.md?

A skill can include a scripts directory for executable utilities, a references directory for detailed documentation, and an assets directory for stored documents. These resources are loaded on demand as directed by SKILL.md.