writing-skills

Create and test agent skills using test-driven development methodology.

1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/Emmanuel-R8/aikos --skill writing-skills-emmanuel-r8
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/Emmanuel-R8/aikos/tree/main/.cursor/skills/writing-skills
Command: npx skills add https://github.com/Emmanuel-R8/aikos --skill writing-skills-emmanuel-r8

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing documentation-style skills for AI agents often produces untested instructions that agents ignore or misinterpret under pressure, leading to unreliable behavior in production workflows. ## Core Features & Use Cases - TDD-Based Skill Authoring: Applies the RED-GREEN-REFACTOR cycle to skill creation, requiring baseline failure tests with subagents before writing any skill content. - Pressure Scenario Testing: Provides a methodology for testing skills against combined pressures (time, sunk cost, authority, exhaustion) and closing rationalization loopholes. - Discovery Optimization: Guides writing descriptions, keywords, and naming for Claude Search Optimization so agents find the right skill at the right time. - Use Case: When creating a new discipline-enforcing skill like TDD or verification-before-completion, run baseline scenarios without the skill, document agent rationalizations verbatim, write the minimal skill addressing those failures, then refactor until bulletproof. ## Quick Start Ask the agent to help you create a new skill by first running a baseline pressure scenario without the skill, then writing the SKILL.md based on the observed failures.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I write a SKILL.md file for an AI agent?▼

A SKILL.md requires YAML frontmatter with only name and description fields, followed by a markdown body with overview, when-to-use triggers, core patterns, and quick reference sections. The description should start with "Use when..." and describe triggering conditions only, never the workflow.

How to test an agent skill before deploying it?▼

Run pressure scenarios with subagents without the skill first to capture baseline failures verbatim, then write the skill addressing those specific failures, and re-test with the skill present. Combine three or more pressures like time, sunk cost, and exhaustion for realistic testing.

What makes a good skill description for discovery?▼

A good description starts with "Use when...", describes only triggering conditions and symptoms in third person, and never summarizes the skill's workflow. Descriptions that summarize process cause agents to follow the description instead of reading the full skill body.

When should I not create a new skill?▼

Do not create skills for one-off solutions, standard practices documented elsewhere, project-specific conventions, or mechanical constraints that can be enforced with validation or regex. Skills are for reusable techniques, patterns, and references that apply broadly.

Why do agents ignore skills under time pressure?▼

Agents rationalize skipping rules using excuses like sunk cost, authority override, or "spirit versus letter" arguments. Bulletproof skills counter this with explicit negations of each loophole, rationalization tables, red flag lists, and foundational principles stated early.