writing-skills

Apply RED-GREEN-REFACTOR workflows to test and validate Skills before deployment.

Updated Jan 20, 2026
One-click install
npx skills add https://github.com/hitsumabushi334/KGpaper --skill writing-skills-hitsumabushi334
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/hitsumabushi334/KGpaper/tree/main/.agent/Skills/writing-skills
Command: npx skills add https://github.com/hitsumabushi334/KGpaper --skill writing-skills-hitsumabushi334

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing Skills often suffer from untested documentation, vague scopes, and ambiguous rules that lead to rationalizations and deployment issues. This Skill provides a framework to craft, test, and refine Skills using test-driven development to ensure consistency and reliability.

Core Features & Use Cases

  • TDD-based Skill Creation: Apply RED-GREEN-REFACTOR to Skill docs to verify real failure modes are addressed.
  • Rationalization Tracking: Build and maintain a rationalization table and red flags to close loopholes.
  • Deployment Readiness: Include deployment checklists and progressive disclosure patterns for scalable Skills documentation.
  • Cross-skill references: Encourage linking to complementary Skills and best practices.

Quick Start

Run baseline RED scenarios to observe agent behavior without the skill, draft a minimal GREEN skill to address observed failures, then repeat RED-GREEN-REFACTOR until no new rationalizations appear.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I apply test-driven development to documentation?

Test-driven writing applies the RED-GREEN-REFACTOR workflow to documentation by running baseline RED scenarios to observe failures, drafting a minimal GREEN skill, and repeating until no new rationalizations appear to ensure robust skill deployment.

What is rationalization tracking in skill writing?

Rationalization tracking in skill writing involves building and maintaining a rationalization table and red flags to close loopholes in ambiguous rules, ensuring discipline-enforcing documentation remains consistent and reliable across deployment scenarios.

How do I validate skill documentation before deployment?

Validating skill documentation before deployment requires running RED-GREEN-REFACTOR cycles to verify real failure modes are addressed, using deployment checklists, and confirming YAML frontmatter contains required name and description fields for readiness.

Can I use test-driven writing for progressive disclosure in skills?

Test-driven writing supports progressive disclosure patterns for scalable skills documentation by iteratively refining skill rules through RED-GREEN-REFACTOR cycles, ensuring documentation reveals complexity only as needed without ambiguous scopes.

What is the best way to write robust skills with YAML frontmatter?

Writing robust skills requires YAML frontmatter with name and description fields, applying RED-GREEN-REFACTOR workflows to test documentation, tracking rationalizations, and following deployment checklists to prevent untested or vague scopes.

Why does my skill documentation have ambiguous rules and rationalizations?

Skill documentation often has ambiguous rules and rationalizations because it lacks test-driven development practices, allowing untested documentation and vague scopes that lead to rationalizations and deployment issues during execution.