writing-skills

Validate SKILL.md frontmatter and structure using RED-GREEN-REFACTOR test cycles.

1|1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/xianmingyao/openclaw-CaySon --skill writing-skills-xianmingyao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/xianmingyao/openclaw-CaySon/tree/main/.agent/skills/writing-skills
Command: npx skills add https://github.com/xianmingyao/openclaw-CaySon --skill writing-skills-xianmingyao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identifies and enforces high-quality Skill documentation by applying test-driven development principles to SKILL.md creation, ensuring consistent structure and verifiable quality.

Core Features & Use Cases

  • Enforces RED-GREEN-REFACTOR workflow for Skill creation and validation
  • Validates YAML frontmatter (name and description) and overall Skill structure
  • Provides guidance for organizing content and linking optional resources (scripts/references/assets)

Quick Start

Run a baseline RED test to observe failures, then write a minimal SKILL.md that fixes those failures and re-run tests.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I validate SKILL.md frontmatter and structure?

To validate SKILL.md structure, run a baseline RED test to observe failures, then write a minimal SKILL.md with required name and description frontmatter to fix those failures and re-run tests.

What is the TDD workflow for skill documentation?

TDD for skill documentation applies RED-GREEN-REFACTOR cycles to SKILL.md creation, ensuring consistent structure and verifiable quality by testing for required frontmatter and optional resources like scripts, references, and assets.

How do I enforce high-quality Skill documentation?

You enforce high-quality Skill documentation by applying test-driven development principles to SKILL.md creation, verifying required frontmatter, organizing content, and linking optional resources through structured validation cycles.

Can I validate optional scripts and references in SKILL.md?

Yes, you can validate optional scripts, references, and assets in SKILL.md by running test cycles that support optional resources when present, alongside verifying required frontmatter fields like name and description.

How do I expose structured metadata for Skill discovery tooling?

You expose structured metadata for Skill discovery tooling by validating SKILL.md content that includes dependencies, components, and toxicity information, ensuring frontmatter contains name and description for proper indexing.

What's the best way to start writing a SKILL.md file?

The best way to start writing a SKILL.md file is running a baseline RED test to observe failures, then writing minimal content with required name and description frontmatter to fix those failures before refactoring.