writing-skills

Develops software-like skills using RED-GREEN-REFACTOR methodology and robustness checks.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/ehartye/Hartye-superpowers --skill writing-skills-ehartye
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/ehartye/Hartye-superpowers/tree/main/skills/writing-skills
Command: npx skills add https://github.com/ehartye/Hartye-superpowers --skill writing-skills-ehartye

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 refining documentation skills, ensuring they are discoverable, effective, and resistant to agent rationalization.

Core Features & Use Cases

  • Test-Driven Skill Development: Apply the RED-GREEN-REFACTOR cycle to skill creation and editing.
  • Pressure Scenario Design: Learn to craft realistic scenarios that expose skill weaknesses.
  • Rationalization Countermeasures: Develop strategies to prevent agents from bypassing skill rules.
  • Use Case: You are developing a new skill to enforce a critical coding standard. Use this skill's methodology to ensure the new skill is robust, agents comply under pressure, and it doesn't introduce loopholes.

Quick Start

Follow the RED-GREEN-REFACTOR process outlined in this skill to create a new skill for validating code style.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I use test-driven development for AI skill development?

Test-driven skill development applies the RED-GREEN-REFACTOR cycle to skill creation, guiding you to write tests for pressure scenarios first, then build and refine skills to ensure agent compliance and robustness.

What are rationalization countermeasures in agent testing?

Rationalization countermeasures prevent agents from bypassing skill rules by explicitly closing loopholes and capturing verbatim failures during pressure scenario testing, ensuring strict adherence to enforced standards.

How do I design pressure scenarios to test skill weaknesses?

Design pressure scenarios by crafting realistic testing situations that expose skill weaknesses, capturing verbatim failures to identify compliance gaps and refine discipline-enforcing skills against agent rationalization.

When should I use a test-driven methodology to refactor AI skills?

Use a test-driven methodology to refactor AI skills when developing discipline-enforcing skills that require high robustness, ensuring they remain effective and resistant to agent rationalization under realistic pressure scenarios.

Can I use this test-driven framework to improve skill discoverability?

Yes, this test-driven framework improves skill discoverability by rigorously refining documentation and skill structure, ensuring they are effective, compliant, and easily found by agents during execution.