writing-skills

Author and validate Claude Skills using a test-driven red-green-refactor workflow.

Updated Jan 12, 2026
One-click install
npx skills add https://github.com/ben-mad-jlp/claude-mermaid-collab --skill writing-skills-ben-mad-jlp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/ben-mad-jlp/claude-mermaid-collab/tree/main/skills/writing-skills
Command: npx skills add https://github.com/ben-mad-jlp/claude-mermaid-collab --skill writing-skills-ben-mad-jlp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured, test-driven approach to authoring Claude Skills, ensuring that Skill documentation is created, validated, and deploy-ready before use.

Core Features & Use Cases

  • Red-Green-Refactor workflow: Enforces failing-test baseline, minimal skill, and explicit countermeasures to new rationalizations.
  • Skill structure guidance: Recommends frontmatter with name and description, progression disclosure, and cross-references to heavy references only when needed.
  • Validation and testing patterns: Provides templates for pressure scenarios, rationalization tables, red flags, and meta-testing to guarantee reliability.
  • When to create or update Skills: Helps decide whether to document a technique, pattern, or reference and how to structure it for discovery.

Quick Start

Create your first Skill by drafting SKILL.md in a new directory with the required YAML frontmatter and an initial description. Then flesh out the body with sections on triggering conditions, core patterns, and examples, placing heavier references in separate files if needed.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I create Claude Skills using a test-driven approach?

To create Claude Skills using a test-driven approach, establish a failing-test baseline, author the minimal skill to pass it, and track rationalizations through red-green-refactor cycles. This ensures reliable documentation and frontmatter correctness before deployment.

What is progressive disclosure in skill authoring?

Progressive disclosure in skill authoring is a structural pattern that keeps core triggering conditions and patterns in the main file while placing heavier references in separate files. This ensures reliable skill documentation without overwhelming the baseline context.

How do I validate Claude Skill changes before deployment?

To validate Claude Skill changes before deployment, apply pressure scenarios, rationalization tables, and meta-testing patterns. This verification process checks frontmatter correctness and confirms the skill handles baseline failures and post-deployment checks reliably.

When should I document a technique as a Claude Skill?

You should document a technique as a Claude Skill when you need to enforce explicit verification steps for a specific pattern or process. This skill-writing process helps structure the technique for discovery with required YAML frontmatter and triggering conditions.

What are the limitations of test-driven skill authoring?

The limitation of test-driven skill authoring is that it requires maintaining a strict red-green-refactor workflow and explicit countermeasures to new rationalizations. If your technique does not require strict validation or progressive disclosure, this structured approach may be unnecessary overhead.