writing-skills

Enforce RED-GREEN-REFACTOR cycles for creating AI skills documentation.

5|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/FaisalAlqarni/sp-ecc --skill writing-skills-faisalalqarni
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/FaisalAlqarni/sp-ecc/tree/main/skills/writing-skills
Command: npx skills add https://github.com/FaisalAlqarni/sp-ecc --skill writing-skills-faisalalqarni

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 AI skills, ensuring they are discoverable, effective, and resistant to manipulation.

Core Features & Use Cases

  • Skill Creation Framework: Guides users through the RED-GREEN-REFACTOR cycle for documentation.
  • Pressure Testing: Provides methods to test skills under realistic constraints (time, sunk cost, authority).
  • Rationalization Countermeasures: Offers techniques to prevent agents from bypassing skill rules.
  • Use Case: You're developing a new skill for code review. Use this skill's methodology to ensure the new skill is robust, clearly understood by agents, and prevents common shortcuts.

Quick Start

Follow the RED-GREEN-REFACTOR process to create a new skill.

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 effective AI skill documentation?

To create AI skill documentation using TDD, follow the RED-GREEN-REFACTOR cycle to iteratively define, test, and refine skill behavior, ensuring the final documentation is robust and effective.

What is pressure scenario testing for AI agents?

Pressure scenario testing evaluates AI skills under realistic constraints like time, sunk cost, and authority, ensuring the agent adheres to documentation rules and resists manipulation in real-world conditions.

How do I prevent an AI agent from bypassing skill rules under pressure?

You prevent agents from bypassing rules by applying rationalization countermeasures during skill creation, explicitly defining constraints and testing them against pressure scenarios like sunk cost and authority limits.

Does this skill creation framework require specific dependencies or environments?

No specific dependencies are required to use this framework. It operates as an advanced methodology guiding the creation and refinement of AI skills through test-driven documentation cycles.

What is the best way to ensure a new code review skill is robust against manipulation?

The best way to ensure robustness is to build the skill using a test-driven framework, applying RED-GREEN-REFACTOR cycles and pressure testing to verify it resists agent rationalization and shortcuts.