writing-skills

Applies TDD methodology to author and refine AI skills.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/andrescardonas7/salchipapa-web --skill writing-skills-andrescardonas7
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/andrescardonas7/salchipapa-web/tree/main/.cursor/skills/writing-skills
Command: npx skills add https://github.com/andrescardonas7/salchipapa-web --skill writing-skills-andrescardonas7

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, robust, and resistant to manipulation.

Core Features & Use Cases

  • TDD for Skills: Apply the RED-GREEN-REFACTOR cycle to skill documentation.
  • Pressure Testing: Design scenarios that test skills under realistic constraints like time pressure, sunk cost, and authority.
  • Rationalization Countermeasures: Identify and explicitly address common excuses agents use to bypass rules.
  • Use Case: Before deploying a new skill that enforces a critical coding standard, use this skill to design tests that simulate developers trying to skip the standard under deadline pressure, ensuring the skill holds up.

Quick Start

Use the writing-skills skill to create a new skill by following the TDD process.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I apply test-driven development to AI skill creation?

Test-driven development for AI skill creation enforces a RED-GREEN-REFACTOR cycle to author and refine documentation, requiring baseline failure analysis before writing minimal skill logic and iteratively refactoring to close loopholes.

What is pressure testing for AI agent behavior?

Pressure testing for agent behavior involves designing scenarios that test skills under realistic constraints like time pressure, sunk cost, and authority to ensure the agent adheres to rules and resists manipulation.

How do I stop AI agents from rationalizing and bypassing rules?

To stop agent rationalization, you must identify common excuses and explicitly address them in the documentation, using iterative refactoring to close loopholes against rationalization during skill development.

What is the best way to document robust and compliant AI skills?

The best way to document robust AI skills is to follow a rigorous test-driven development framework, ensuring documentation remains compliant by validating it against baseline failures and pressure scenarios.

When should I use a TDD methodology for refining AI skills?

You should use a TDD methodology for refining AI skills before deploying critical coding standards, allowing you to simulate developers trying to skip standards under deadline pressure and verify the skill holds up.

Does writing-skills require specific dependencies to enforce the RED-GREEN-REFACTOR cycle?

The RED-GREEN-REFACTOR cycle requires no external dependencies, relying solely on internal scripts and references to enforce test-driven development for all skill modifications and documentation compliance.