writing-skills

Create, write, edit, and test Claude Skills with structured documentation.

49|9|Updated Dec 18, 2025
One-click install
npx skills add https://github.com/ratacat/claude-skills --skill writing-skills-ratacat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/ratacat/claude-skills/tree/main/skills/writing-claude-skills
Command: npx skills add https://github.com/ratacat/claude-skills --skill writing-skills-ratacat

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Use when asked to create, write, edit, or test Claude Skills; and when documenting reusable techniques and workflows for Claude instances.

Core Features & Use Cases

  • Emphasizes a three-layer Skill structure (metadata, instructions, resources)
  • Encourages test-driven authoring and progressive disclosure
  • Provides templates and CSO guidance for discoverability

Quick Start

Create a new Skill by adding SKILL.md with YAML frontmatter and a concise Markdown body, then add supporting files under level-2/level-3 structure.

Frequently Asked Questions about writing-skills

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

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

Test-driven development for Claude Skills follows a RED-GREEN-REFACTOR cycle: write failing tests first, then implement the Skill's three-layer structure (metadata, instructions, resources), and refactor for clarity. This ensures deterministic execution and model-agnostic applicability across projects.

What's the structure I need to follow when creating a Claude Skill?

Claude Skills use a three-layer structure: Level 1 metadata (name and description in YAML frontmatter), Level 2 instructions (reusable workflows and patterns), and Level 3 resources (supporting files). Start with SKILL.md and organize supporting files under a structured directory hierarchy.

How do I document reusable workflows and patterns for Claude instances?

Document workflows by structuring them as Claude Skill components with explicit metadata, tested instructions, and resource templates. This creates pressure-tested, reusable patterns that satisfy functional requirements and enable consistent execution across multiple Claude instances and projects.

Can I use Claude Skills for iterative editing and testing cycles?

Yes. Claude Skills support progressive disclosure and iterative authoring through their three-layer design. You can edit instructions and resources incrementally while maintaining test coverage, enabling continuous refinement without breaking metadata constraints or execution determinism.

What metadata fields and constraints do I need to include in a Skill?

Skill metadata includes frontmatter with two required fields and token budgets, plus name and description in Level 1. These constraints ensure model-agnostic applicability and deterministic execution paths for evaluation across different Claude instances.

How does test-driven development improve Skill quality and discoverability?

TDD catches functional gaps early against Level 1–3 requirements, ensuring Skills meet metadata promises and CSO guidance. Comprehensive test coverage improves discoverability by demonstrating that the Skill executes reliably and solves documented problems consistently.