writing-skills

Create and validate Skills using a RED-GREEN-REFACTOR workflow.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/cookeyholder/django-devcontainer-template --skill writing-skills-cookeyholder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/cookeyholder/django-devcontainer-template/tree/main/.agent/skills/writing-skills
Command: npx skills add https://github.com/cookeyholder/django-devcontainer-template --skill writing-skills-cookeyholder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It provides a structured, test-driven method for creating and refining Skills to ensure they are concise, discoverable, and verifiable, preventing premature or poorly defined Skill documentation.

Core Features & Use Cases

  • Red-Green-Refactor workflow for skill validation and deployment discipline
  • Clear SKILL.md structure with mandatory frontmatter (name, description) and progressive disclosure patterns
  • Testing and review practices to ensure Skills survive edits and reuse across projects
  • Real-world example: apply the skill by drafting, testing, and refining a new Skill to close loopholes before release

Quick Start

Draft a new SKILL.md with frontmatter name and description, then implement the body following the described RED-GREEN-REFACTOR cycle.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I create and validate Skills using a test-driven documentation process?

To create and validate Skills, draft a SKILL.md with mandatory frontmatter and implement the body using a Red-Green-Refactor workflow for quality assurance. This test-driven documentation process ensures your Skills are concise, discoverable, and verifiable before release.

What is the Red-Green-Refactor workflow for skill creation?

The Red-Green-Refactor workflow is a test-driven cycle for skill creation that captures repeatable patterns. You draft tests, implement the Skill body to pass them, and refine the documentation to close loopholes, ensuring progressive disclosure and deployment discipline.

How do I structure SKILL.md files to ensure quality assurance and discoverability?

Structure SKILL.md files by defining mandatory frontmatter like name and description, then implement the body with progressive disclosure patterns. This structure enforces quality assurance and ensures discoverability across the Skill library.

Why does my Skill documentation fail to survive edits and reuse across projects?

Skill documentation fails to survive edits when it lacks test-driven validation and structured frontmatter. Applying a Red-Green-Refactor workflow during skill creation establishes repeatable patterns that prevent premature or poorly defined documentation across projects.

Can I use this test-driven approach to refine existing Skill documentation?

Yes, you can refine existing Skill documentation by applying the Red-Green-Refactor workflow to validate content and enforce progressive disclosure. This test-driven process closes loopholes and ensures your Skills remain verifiable and safe for deployment.

What are the limitations of managing Skill documentation without a test-driven workflow?

Without a test-driven workflow, Skill documentation risks becoming premature, poorly defined, and difficult to discover. Managing Skills without structured frontmatter and validation loops prevents repeatable patterns and breaks deployment discipline across the library.