writing-skills

Create and verify SKILL.md documentation using RED-GREEN-REFACTOR validation.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/mykaarma/claude-sutras --skill writing-skills-mykaarma
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/mykaarma/claude-sutras/tree/main/skills/writing-skills
Command: npx skills add https://github.com/mykaarma/claude-sutras --skill writing-skills-mykaarma

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reduces brittle, ad-hoc skill documentation and prevents agents from bypassing required processes by applying test-driven development to SKILL.md authoring and verification.

Core Features & Use Cases

  • TDD for skills: Defines RED-GREEN-REFACTOR cycles for writing and validating SKILL.md entries so authors observe failing baselines before documenting fixes.
  • Pressure testing: Provides formats and examples for realistic pressure scenarios and subagent tests to surface rationalizations and loopholes.
  • Discovery & CSO: Prescribes concise frontmatter, discovery-focused descriptions, and progressive disclosure of large references to keep runtime context efficient.
  • Guides & references: Includes best-practices, persuasion principles, and concrete testing checklists for discipline-enforcing and technique skills.

Quick Start

Use the writing-skills workflow to draft a SKILL.md, run baseline pressure scenarios without the skill, then iterate until agents comply under maximum pressure.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I enforce consistent agent behavior when writing skill documentation?▼

To enforce consistent agent behavior when writing skill documentation, you apply a test-driven development approach to SKILL.md authoring, using RED-GREEN-REFACTOR cycles to validate compliance before deployment. This prevents agents from bypassing required processes.

What is test-driven development for skill authoring?▼

Test-driven development for skill authoring is a validation process where you write SKILL.md entries by defining failing baseline tests, observing rationalizations, and iterating until agents comply under maximum pressure. It reduces brittle, ad-hoc skill documentation.

How do I pressure test AI agents to find process loopholes?▼

You pressure test AI agents to find process loopholes by running realistic pressure scenarios with subagent tests without the skill applied, surfacing rationalizations, and then iterating on the SKILL.md until agents comply under maximum pressure.

Does writing skills require specific frontmatter formats for SKILL.md files?▼

Yes, writing skills requires specific frontmatter formats for SKILL.md files. It satisfies requirements for YAML frontmatter, discovery-optimized descriptions, and progressive disclosure of reference files to keep runtime context efficient.

What's the best way to prevent agents from bypassing required processes?▼

The best way to prevent agents from bypassing required processes is to apply test-driven development to SKILL.md authoring and verification, using pressure-based subagent tests to surface and close loopholes before deployment.

Why does my agent bypass skill instructions under pressure?▼

Your agent bypasses skill instructions under pressure because ad-hoc skill documentation lacks enforcement mechanisms. Applying TDD with pressure-based subagent tests surfaces rationalizations and validates compliance under maximum pressure.