writing-skills

Codify skill techniques into SKILL.md using a RED-GREEN-REFACTOR workflow.

6|Updated Mar 24, 2019
One-click install
npx skills add https://github.com/rafifos/dotfiles --skill writing-skills-rafifos
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/rafifos/dotfiles/tree/main/dot_agents/skills/writing-skills
Command: npx skills add https://github.com/rafifos/dotfiles --skill writing-skills-rafifos

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps teams standardize how to author and validate Skills using test-driven development, reducing drift and rationalization.

Core Features & Use Cases

  • Red-Green-Refactor workflow for building, testing, and hardening Skills.
  • Pressure-scenario testing format to surface rationalizations and guardrails.
  • Deployment-ready documentation with a clear checklist and governance patterns.
  • Cross-skill guidance for integrating new Skills with existing ones.

Quick Start

Create a new SKILL.md using the RED-GREEN-REFACTOR flow and deploy it only after it passes testing.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I use test-driven development to write skill documentation?▼

Write skill documentation using a RED-GREEN-REFACTOR workflow that requires baseline testing, failure documentation, and re-verification before deployment. This approach codifies proven techniques into a structured SKILL.md while reducing drift and rationalization.

What is the red-green-refactor workflow for skill creation?▼

The red-green-refactor workflow for skill creation is a testing process that identifies proven techniques, documents failure scenarios to surface rationalizations, and hardens skills through re-verification before deployment. It structures knowledge into a SKILL.md with YAML frontmatter.

How do I structure a SKILL.md file for progressive disclosure?▼

Structure a SKILL.md file for progressive disclosure by including YAML frontmatter with name and description fields, followed by a well-organized body. The structure must support deployment checks and pass pressure-scenario testing to ensure guardrails are documented.

Can I edit existing skills using pressure-scenario testing?▼

Yes, you can edit existing skills using pressure-scenario testing to surface rationalizations and validate guardrails. The workflow applies to both new skill creation and editing existing skills, requiring re-verification before deployment to maintain documentation standards.

Why does skill documentation drift without deployment checks?▼

Skill documentation drifts without deployment checks because proven techniques are not codified against baseline tests, allowing rationalization to erode guardrails. A structured SKILL.md with a deployment-ready checklist and governance patterns prevents this drift.

Do I need YAML frontmatter to deploy a tested skill guide?▼

Yes, you need YAML frontmatter with name and description fields to deploy a tested skill guide. The SKILL.md body must also be well-organized to support progressive disclosure and pass deployment checks after the red-green-refactor workflow.