writing-skills

Create and validate SKILL.md-based Claude agent skills with a red-green-refactor workflow.

Updated May 4, 2026
One-click install
npx skills add https://github.com/fred29910/migra-go --skill writing-skills-fred29910
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/fred29910/migra-go/tree/main/.agents/skills/writing-skills
Command: npx skills add https://github.com/fred29910/migra-go --skill writing-skills-fred29910

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Providing a disciplined template and workflow to create, validate, and iteratively improve Claude agent skills using a test-driven development approach, helping teams produce reliable, reusable guidance.

Core Features & Use Cases

  • Establishes a consistent SKILL.md frontmatter (name, description) and a clear content structure for Skill units.
  • Supports progressive disclosure and optional references/assets to keep context lean until needed.
  • Aligns with testing workflows (red-green-refactor) to ensure Skills fail gracefully before being used in production tasks.
  • Enables cross-skill referencing and structured metadata to improve discovery and reuse across projects.

Quick Start

Create a new skill by adding SKILL.md with the required frontmatter, then run the red-green-refactor testing cycle to validate it against baseline scenarios.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I write reusable Claude agent skills using a test-driven workflow?▼

To write reusable Claude agent skills, create a SKILL.md file with required YAML frontmatter (name, description) and a Markdown body documenting workflow and examples, then validate it using a strict red-green-refactor testing cycle to ensure reliable deployment.

What is the red-green-refactor workflow for validating skill documentation?▼

The red-green-refactor workflow for validating skill documentation ensures your SKILL.md fails gracefully against baseline scenarios before implementation, then passes tests after refinement, guaranteeing safe and self-contained metadata for production tasks.

Do I need any dependencies to create and manage SKILL.md-based skills?▼

You do not need any external dependencies to create SKILL.md-based skills. The process requires only a YAML frontmatter with name and description, a Markdown body, and optional tooling to run tests for risk-free deployment.

How do I structure SKILL.md frontmatter constraints for skill libraries?▼

To structure SKILL.md frontmatter constraints for skill libraries, establish consistent metadata with required name and description fields, use optional references and assets for progressive disclosure, and ensure safe self-contained metadata for cross-skill referencing.

Can I use optional scripts and references to keep context lean in agent skills?▼

You can use optional scripts, references, and assets to keep context lean in agent skills by supporting progressive disclosure, loading these resources only when needed during workflow execution and cross-skill referencing.

When should I not use the test-driven approach for skill creation?▼

You should anticipate limitations when using the test-driven approach for skill creation if your baseline scenarios are poorly defined, as the red-green-refactor cycle relies on strict baseline testing to ensure skills fail gracefully before production deployment.