writing-skills

Document skills using a RED-GREEN-REFACTOR cycle for test-driven development.

47|11|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/tylerwind/LabVIEW-WPF-UI-Generator --skill writing-skills-tylerwind
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/tylerwind/LabVIEW-WPF-UI-Generator/tree/main/.agent/skills/writing-skills
Command: npx skills add https://github.com/tylerwind/LabVIEW-WPF-UI-Generator --skill writing-skills-tylerwind

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a structured, test-driven approach to writing and validating Skills, ensuring they are robust before deployment and resistant to common rationalizations.

Core Features & Use Cases

  • Establishes a RED-GREEN-REFACTOR workflow to document skill requirements, baselines, and improvements.
  • Guides creation and editing of SKILL.md with explicit frontmatter and structured content, including rationalization tables and red flags.
  • Helps teams verify skills through baseline testing, targeted scenarios, and iterative refinement before release.
  • Useful for any discipline-enforcing, technique, or reference Skill that benefits from formal testing and documentation standards.

Quick Start

Write or update a Skill using the RED-GREEN-REFACTOR process to document baseline failures, implement the Skill to address those failures, and refine to close new loopholes.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
What is test-driven development for process documentation?

Test-driven development for process documentation uses a RED-GREEN-REFACTOR cycle to drive baseline testing, implement requirements, and refine structured content. This ensures SKILL.md files remain robust before deployment.

How do I write a skill using a RED-GREEN-REFACTOR workflow?

To write a skill using the RED-GREEN-REFACTOR workflow, document baseline failures first, implement the skill to address those failures, and then refine to close loopholes. Explicit frontmatter and structured sections guide this process.

Can I use test-driven development to verify skills before deployment across agent types?

Yes, you can verify skills before deployment across agent types by applying targeted scenarios and iterative refinement. This test-driven approach ensures the documentation standards are resistant to common rationalizations.

Does structured skill documentation require rationalization tables and red flags?

Structured skill documentation requires explicit rationalization tables and red flags to guide future agents. These elements prevent common rationalizations and ensure the process documentation remains robust.

What are the limitations of using TDD for skill writing?

The TDD approach for skill writing is limited to discipline-enforcing, technique, or reference skills that benefit from formal testing. It requires explicit frontmatter and structured sections, making it heavy for simple tasks.

What's the best way to document baseline failures when editing a skill?

The best way to document baseline failures when editing a skill is to apply the RED phase of the RED-GREEN-REFACTOR cycle. This captures existing requirements and failures before implementing fixes and refining content.