writing-skills

Apply a RED-GREEN-REFACTOR workflow to validate SKILL.md frontmatter and triggers.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/openqa-labs/zenith --skill writing-skills-openqa-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/openqa-labs/zenith/tree/main/.claude/skills/writing-skills
Command: npx skills add https://github.com/openqa-labs/zenith --skill writing-skills-openqa-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured, test-driven approach to authoring Claude Skills by applying a RED-GREEN-REFACTOR cycle to SKILL.md content. It helps prevent unclear frontmatter, vague triggers, and untested changes in skill documentation.

Core Features & Use Cases

  • TDD-driven authoring: Treat skill creation as a documented workflow that is red-green-refactored until all rationalizations are closed.
  • Disciplined deployment readiness: Ensures new or edited skills include explicit triggering conditions, usage scopes, and testable patterns before release.
  • Wide applicability: Useful for creating, editing, or validating any CLAUDE Skill across Claude Code or Codex contexts.

Quick Start

Write a SKILL.md with name and description frontmatter, then apply the RED-GREEN-REFACTOR workflow to validate the skill before deployment.

Frequently Asked Questions about writing-skills

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

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

To write and validate Claude Skills using a test-driven approach, apply a RED-GREEN-REFACTOR workflow to your SKILL.md documentation and its YAML frontmatter to ensure consistent triggers, descriptions, and testable patterns.

What is TDD-based skill authoring and when should I use it?

TDD-based skill authoring treats skill creation as a documented workflow that is red-green-refactored until all rationalizations are closed. Use it when creating new skills, editing existing SKILL.md files, or validating skills before deployment.

Does my SKILL.md frontmatter require specific fields for quality assurance testing?

Yes, your SKILL.md frontmatter requires YAML fields for name and description to pass quality assurance testing. The validation workflow enforces safety and quality checks through this required frontmatter structure.

Can I include additional scripts, references, or assets folders when creating Claude Skills?

Yes, you can include optional scripts, references, and assets folders alongside your SKILL.md when creating Claude Skills. The TDD validation workflow supports these optional directories while enforcing deployment readiness.

Why does my Claude Skill fail validation before deployment?

Your Claude Skill fails validation before deployment if it lacks explicit triggering conditions, usage scopes, or testable patterns. The RED-GREEN-REFACTOR workflow identifies unclear frontmatter and vague triggers to prevent untested changes.

What's the best way to ensure deployment readiness for Claude Skill documentation?

The best way to ensure deployment readiness for Claude Skill documentation is applying a RED-GREEN-REFACTOR cycle to enforce explicit triggering conditions, usage scopes, and testable patterns before release.