writing-skills

Create and refine AI skills using a Test-Driven Development methodology.

54|Updated Nov 19, 2025
One-click install
npx skills add https://github.com/dennislee928/Ethic-Latex --skill writing-skills-dennislee928
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/dennislee928/Ethic-Latex/tree/main/.claude/skills/writing-skills
Command: npx skills add https://github.com/dennislee928/Ethic-Latex --skill writing-skills-dennislee928

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a rigorous, test-driven development (TDD) framework for creating and refining AI skills, ensuring they are effective, discoverable, and robust against rationalization.

Core Features & Use Cases

  • TDD for Documentation: Adapts the RED-GREEN-REFACTOR cycle to skill authoring.
  • Pressure Testing: Develops scenarios to test skills under realistic constraints (time, sunk cost, authority).
  • Rationalization Countermeasures: Provides techniques to prevent agents from bypassing skill rules.
  • Use Case: When developing a new skill to enforce code review standards, you would first write scenarios where an agent fails to follow the standard (RED), then write the skill to enforce it (GREEN), and finally test against new rationalizations to ensure compliance (REFACTOR).

Quick Start

Use the writing-skills skill 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 skills that resist rationalization?

To use TDD for AI skill creation, adapt the RED-GREEN-REFACTOR cycle to documentation: write failure scenarios first (RED), author the skill to enforce rules (GREEN), then pressure test against new rationalizations to ensure compliance under realistic constraints (REFACTOR).

Why do AI agents bypass skill rules and how can I prevent it?

AI agents bypass skill rules through rationalization when facing constraints. Prevent this by developing pressure testing scenarios that simulate time, sunk cost, and authority pressures, ensuring the skill documentation enforces strict compliance.

What is the RED-GREEN-REFACTOR cycle for documentation?

The RED-GREEN-REFACTOR cycle for documentation is an adapted TDD methodology where you write scenarios where an agent fails to follow a standard (RED), write the skill to enforce it (GREEN), and test against new rationalizations to ensure compliance (REFACTOR).

How do I pressure test agent skills under realistic constraints?

Pressure test agent skills by developing scenarios that evaluate compliance under realistic constraints such as time limitations, sunk cost fallacies, and authority pressures. This rigorous testing ensures the skill remains robust against rationalization countermeasures.

Can I adapt test-driven development to enforce code review standards?

Yes, you can adapt test-driven development to enforce code review standards by first writing scenarios where an agent fails to follow the standard, then creating the skill to enforce it, and finally testing against new rationalizations to guarantee strict compliance.

When should I not use a TDD approach for skill authoring?

You should not use a TDD approach for skill authoring when the task lacks clear compliance rules or failure scenarios to test against, as the methodology relies on pressure testing and rationalization countermeasures to ensure robust skill documentation.