writing-skills

Create and test AI skills using the RED-GREEN-REFACTOR cycle.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/keremtoker468-dotcom/restoran --skill writing-skills-keremtoker468-dotcom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/keremtoker468-dotcom/restoran/tree/main/.claude/skills/writing-skills
Command: npx skills add https://github.com/keremtoker468-dotcom/restoran --skill writing-skills-keremtoker468-dotcom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a rigorous, test-driven framework for creating and maintaining high-quality documentation for AI skills, ensuring they are discoverable, effective, and resistant to misuse.

Core Features & Use Cases

  • TDD for Documentation: Apply the RED-GREEN-REFACTOR cycle to skill creation and editing.
  • Pressure Testing: Design scenarios that test skills under realistic constraints (time, sunk cost, authority).
  • Rationalization Countermeasures: Explicitly address and prevent common excuses agents use to bypass rules.
  • Use Case: Before deploying a new skill that enforces coding standards, you would use this skill's methodology to write failing tests (scenarios where agents ignore the standard), then write the skill to enforce it, and finally refactor the skill to prevent agents from finding loopholes under pressure.

Quick Start

Use the writing skills to create a new skill document following TDD principles.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I use TDD to create AI skill documentation?

TDD for AI skill documentation applies the RED-GREEN-REFACTOR cycle by writing failing tests for scenarios where agents bypass rules, then creating the skill to enforce them, and finally refactoring to close loopholes under pressure.

What is pressure testing for AI skills and why is it needed?

Pressure testing for AI skills involves designing scenarios that test compliance under realistic constraints like time, sunk cost, and authority. It is needed to ensure documentation remains effective and resistant to agent rationalization.

How do I prevent AI agents from finding loopholes in skill documentation?

Preventing AI agents from finding loopholes requires applying rationalization countermeasures during skill creation. This systematically addresses common excuses agents use to bypass rules, ensuring strict compliance and robust skill enforcement.

Can I test coding standard enforcement skills before deployment?

Yes, you can test coding standard enforcement skills before deployment by using this TDD methodology. You write failing tests where agents ignore the standard, write the skill to enforce it, and refactor to prevent bypasses under pressure.

What are the limitations of using TDD for skill documentation?

The limitations of using TDD for skill documentation include the need for rigorous scenario design and systematic loophole closure. Without adequate pressure testing constraints, agents may still rationalize bypassing the documented rules.