writing-skills

Apply a RED-GREEN-REFACTOR test-driven cycle to create and revise Skills.

19|2|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/CodingCossack/agent-skills-library --skill writing-skills-codingcossack
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/CodingCossack/agent-skills-library/tree/main/skills/writing-skills
Command: npx skills add https://github.com/CodingCossack/agent-skills-library --skill writing-skills-codingcossack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing skills provide a disciplined approach to documenting and validating agent skills by applying test-driven development to process documentation, ensuring guidelines are tested and resistant to rationalization.

Core Features & Use Cases

  • TDD-based skill creation workflow (RED-GREEN-REFACTOR)
  • Documentation-driven testing with pressure scenarios and rationalization tracking
  • Clear guidelines for frontmatter, structure, and deployment readiness
  • Encourages safe, testable skill updates in production environments
  • Supports progressive disclosure patterns and CSO-aligned discovery

Quick Start

Create a new SKILL.md frontmatter and follow the RED-GREEN-REFACTOR testing cycle to ensure the skill is deployed only after passing tests.

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 skill documentation?▼

Test-driven development for skill documentation applies a RED-GREEN-REFACTOR cycle to creation, using baseline tests, implementation, and rationalization tracking to ensure guidelines are tested and validated.

What is the RED-GREEN-REFACTOR cycle for writing agent skills?▼

The RED-GREEN-REFACTOR cycle for writing agent skills involves writing baseline RED tests, achieving GREEN implementation to pass them, and executing a REFACTOR loop to optimize structure and track rationalization.

How do I structure frontmatter for skill creation?▼

Skill creation requires a minimal frontmatter schema containing only name and description fields, ensuring clear discovery and structured evaluation before deployment readiness checks are performed.

How do I test documentation against rationalization scenarios?▼

To test documentation against rationalization, apply pressure scenarios during the testing phase and use rationalization tracking to keep guidelines resistant to subjective interpretation and safe for production.

Can I update tested skills directly in production environments?▼

Yes, you can update tested skills in production environments by following the test-driven workflow, ensuring safe updates are deployed only after passing structured evaluation and deployment readiness checks.

Does skill writing support progressive disclosure patterns?▼

Skill writing supports progressive disclosure patterns and CSO-aligned discovery, structuring documentation so guidelines are revealed contextually while maintaining clear evaluation and deployment readiness standards.