writing-skills

Enforce a RED-GREEN-REFACTOR TDD workflow for creating and updating SKILL.md files.

1|Updated Nov 4, 2018
One-click install
npx skills add https://github.com/ryanmoran/workspace --skill writing-skills-ryanmoran
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/ryanmoran/workspace/tree/main/skills/writing-skills
Command: npx skills add https://github.com/ryanmoran/workspace --skill writing-skills-ryanmoran

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill documents the process for writing and validating other Skills using test-driven development.

Core Features & Use Cases

  • Guided Skill authoring: Provides a repeatable process to draft SKILL.md content, capture tests, and refactor to close loopholes.
  • Validation workflow: Emphasizes RED-GREEN-REFACTOR cycles to verify skills before deployment.
  • Use Case: A team creating a new Skill can follow this guide to ensure the skill is well-scoped, tested, and ready for discovery and loading.

Quick Start

Create a new Skill named writing-skills following the frontmatter and body structure, then execute a RED-GREEN-REFACTOR cycle to validate its behavior.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I write reliable SKILL.md documentation for agent workflows?

To write reliable SKILL.md documentation, apply a test-driven development workflow that enforces structured authoring and validation cycles before deployment. This ensures predictable discovery and loading by agents.

How does test-driven development work for skill creation?

Test-driven development for skill creation applies RED-GREEN-REFACTOR cycles to draft SKILL.md content, capture tests, and refactor to close loopholes. Documenting failures and rationalizations ensures predictable behavior.

What is the best way to validate a SKILL.md file before team deployment?

The best way to validate a SKILL.md file is executing a RED-GREEN-REFACTOR cycle to verify its structure and behavior. This workflow requires documenting failures and explicit counters to ensure reliable discovery by agents.

Can I edit existing documentation using a TDD workflow?

Yes, you can edit existing documentation using a TDD workflow. The process applies to creating new Skills, editing existing ones, and verifying them before deployment across teams to ensure well-scoped and tested content.

Do I need to document test failures when writing skills?

Yes, you need to document test failures, rationalizations, and explicit counters when writing skills. This requirement ensures the SKILL.md is well-scoped, tested, and ready for predictable discovery and loading by agents.