writing-skills

Create agent skills using test-driven development workflows for coding environments.

63|2|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/xhyqaq/superpowers-plus --skill writing-skills-xhyqaq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/xhyqaq/superpowers-plus/tree/main/skills/writing-skills
Command: npx skills add https://github.com/xhyqaq/superpowers-plus --skill writing-skills-xhyqaq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of creating agent skills that are discoverable, compliant under pressure, and free of loopholes, eliminating wasted effort on documentation that agents ignore, bypass, or misinterpret.

Core Features & Use Cases

  • TDD-Adapted Creation Workflow: Applies the RED-GREEN-REFACTOR cycle from test-driven development to process documentation, ensuring skills are tested against real agent behavior before deployment.
  • Discovery & Structure Optimization: Provides guidance on YAML frontmatter formatting, description writing for agent discovery, naming conventions, and token-efficient content organization.
  • Rationalization Bulletproofing: Includes techniques to resist agent workarounds under pressure, including rationalization tables, red flag lists, and persuasion principle application for discipline-enforcing skills.
  • Use Case: For example, if you are creating a skill to enforce test-driven development for your team's coding agent, this skill guides you to first run baseline pressure scenarios to observe how agents skip testing, write minimal guidance addressing those specific failures, then refine the skill until agents comply even when rushing to meet a deadline.

Quick Start

Use the writing-skills skill to create a new skill that enforces running security scans before code deployment, following the TDD workflow to test and refine it until agents follow the rule even when under time pressure to ship a fix.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I create agent skills that coding agents actually follow during process documentation?

To create agent skills that coding agents follow, apply test-driven development principles to process documentation by running baseline pressure scenarios, writing targeted guidance, and refining until agents comply under pressure.

How do I test agent skills against rationalization or workarounds before deployment?

Test agent skills against rationalization by using subagent pressure scenarios to observe bypasses, then apply rationalization tables and red flag lists to bulletproof the skill before deployment.

What is the best way to optimize YAML frontmatter for agent skill discovery?

Optimize YAML frontmatter for agent skill discovery by formatting metadata correctly, writing descriptions tuned for agent discovery, and organizing content token-efficiently.

Does this skill authoring workflow support Claude Code, Codex, and Gemini CLI environments?

Yes, this skill authoring workflow supports coding agent environments including Claude Code, Codex, and Gemini CLI, verifying skill compliance before deployment.

How do I bulletproof process documentation to resist agent workarounds under time pressure?

Bulletproof process documentation by applying persuasion principles, rationalization tables, and red flag lists to enforce discipline, ensuring agents comply even when rushing to meet deadlines.

Can I edit existing agent skills using the TDD workflow, or is it only for authoring new skills?

You can edit existing agent skills using the TDD workflow; it applies to authoring new skills, editing existing skills, and verifying skill compliance before deployment.