writing-skills

Develops LLM skill sets using RED-GREEN-REFACTOR methodology and edge-case testing.

2|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/onejaejae/skills --skill writing-skills-onejaejae
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/onejaejae/skills/tree/main/user-scope-skills/writing-skills
Command: npx skills add https://github.com/onejaejae/skills --skill writing-skills-onejaejae

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures that new and updated skills are robust, well-tested, and effectively guide AI agents by applying Test-Driven Development (TDD) principles to the skill creation process.

Core Features & Use Cases

  • TDD for Skills: Adapts the RED-GREEN-REFACTOR cycle to skill documentation.
  • Pressure Testing: Develops realistic scenarios with combined pressures (time, sunk cost, authority) to test skill compliance.
  • Rationalization Countermeasures: Identifies and explicitly addresses common excuses agents use to bypass rules.
  • Use Case: Before deploying a new skill that enforces code review standards, you would use this skill's methodology to write failing test scenarios, create the skill to enforce the standard, and then test it under pressure to ensure agents don't find loopholes.

Quick Start

Follow the RED-GREEN-REFACTOR cycle to create or update a skill.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I test AI agent skills to prevent rationalization and rule bypassing?

You test AI agent skills by applying Test-Driven Development principles to create pressure scenarios that expose rationalization loopholes. This methodology helps you develop realistic tests combining time, sunk cost, and authority pressures to ensure agents remain compliant under stress.

What is the TDD approach for AI skill development?

The TDD approach for AI skill development adapts the RED-GREEN-REFACTOR cycle to documentation. You write failing pressure test scenarios, create minimal skill documentation to pass those tests, and iteratively refactor to close any compliance loopholes the agent finds.

How do I document AI agent failures to improve skill compliance?

You document AI agent failures by recording exactly how the agent bypasses rules during pressure testing scenarios. Capturing these specific rationalization attempts allows you to iteratively refactor the skill documentation to explicitly address and close those loopholes.

Can I use TDD to enforce code review standards in AI agents?

Yes, you can use TDD to enforce code review standards by writing failing test scenarios first, creating the skill to enforce the standard, and then testing it under combined pressures. This ensures agents do not find loopholes to bypass the review rules.

What are common rationalization countermeasures when writing AI skills?

Rationalization countermeasures involve identifying common excuses agents use to bypass rules and explicitly addressing them in the skill documentation. By testing skills under authority, time, and sunk cost pressures, you can refactor the documentation to close those specific loopholes.