writing-skills

Apply RED-GREEN-REFACTOR cycles and pressure scenarios to author tested agent skills.

22|4|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/JimmyMa99/TreeSkill --skill writing-skills-jimmyma99
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/JimmyMa99/TreeSkill/tree/main/demo/writing-skills
Command: npx skills add https://github.com/JimmyMa99/TreeSkill --skill writing-skills-jimmyma99

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Skills written without testing often fail to change agent behavior, leading to ignored instructions, rationalized violations, and inconsistent compliance under pressure. This skill eliminates that risk by applying test-driven development to skill authoring.

Core Features & Use Cases

  • TDD-Adapted Workflow: Follow RED-GREEN-REFACTOR cycle to create skills that actually work, not just documentation that looks good.
  • Pressure Testing: Use subagent scenarios with combined pressures (time, sunk cost, authority) to verify skills resist rationalization.
  • Persuasion Principles: Apply authority, commitment, and social proof techniques to increase agent compliance with discipline-enforcing skills.
  • Use Case: When you need to create a skill that enforces TDD, code review, or verification requirements, use this skill to ensure agents follow the rules even when they want to cut corners.

Quick Start

Use the writing-skills skill to create a new skill by first running a baseline pressure scenario without the skill to document exactly what agents do wrong.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I write agent skills that actually enforce rules instead of being ignored?

To write agent skills that enforce rules, apply test-driven development to skill authoring by running pressure scenarios and subagent testing to verify compliance. This ensures skills resist rationalization and change agent behavior under pressure.

What is test-driven development for skill authoring?

Test-driven development for skill authoring is an adapted workflow using RED-GREEN-REFACTOR cycles to create bulletproof process documentation. It verifies that instructions resist rationalization and change agent behavior under pressure.

Why do my agent skills fail to change behavior under pressure?

Agent skills fail under pressure because they lack test-driven discipline, leading to rationalized violations and ignored instructions. Without subagent testing against combined pressures like time or authority, agents will cut corners.

How do I test if my agent skill resists rationalization?

You test if an agent skill resists rationalization by running subagent scenarios with combined pressures such as time, sunk cost, and authority. This pressure testing verifies whether the skill enforces compliance or allows corner-cutting.

How do I start creating a bulletproof agent skill?

Start creating a bulletproof agent skill by running a baseline pressure scenario without the skill to document exactly what agents do wrong. Then apply persuasion principles and RED-GREEN-REFACTOR cycles to build compliance.

Can I use persuasion principles to increase agent compliance with TDD rules?

Yes, you can apply authority, commitment, and social proof persuasion principles to increase agent compliance with discipline-enforcing skills. This ensures agents follow TDD and verification requirements even when tempted to cut corners.