writing-skills

Document agent techniques as testable SKILL.md entries with RED-GREEN-REFACTOR cycles.

19|4|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/jarredkenny/agency-ai --skill writing-skills-jarredkenny
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/jarredkenny/agency-ai/tree/main/roles/orchestrator/skills/writing-skills
Command: npx skills add https://github.com/jarredkenny/agency-ai --skill writing-skills-jarredkenny

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing skills provide a disciplined approach to documenting agent behaviors as testable, reusable SKILL.md entries, ensuring clarity, repeatability, and guardrails before deployment.

Core Features & Use Cases

  • TDD-driven documentation: Applies red-green-refactor cycles to skill writing, capturing baseline failures and countermeasures.
  • Structured SKILL.md templates: Enforces YAML frontmatter and consistent sections for quick discovery.
  • Combat testing workflow: Guides pressure-scenario testing with subagents to verify compliance under stress.

Quick Start

Write a failing baseline scenario with subagents, draft a minimal SKILL.md implementing the skill, then re-run the baseline to verify agent compliance.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I document agent behaviors as testable SKILL.md entries?

To document agent behaviors as testable SKILL.md entries, write a failing baseline scenario with subagents, draft a minimal SKILL.md implementing the skill, then re-run the baseline to verify agent compliance.

What is test-driven development for writing agent skills?

Test-driven development for writing agent skills applies red-green-refactor cycles to skill documentation, mapping baseline failures to skill content and countermeasures across subagents to ensure repeatability and guardrails.

How does the red-green-refactor cycle apply to skill writing?

The red-green-refactor cycle applies to skill writing by capturing a baseline failure, drafting minimal skill content to pass it, and refactoring countermeasures to ensure agent compliance under pressure-scenario testing.

What format do I need for structured SKILL.md templates?

Structured SKILL.md templates require Markdown YAML frontmatter and consistent sections for quick discovery, with optional scripts or references placed in scripts/ or references/ directories as needed.

Do I need any dependencies to start writing test-driven agent skills?

No dependencies are required to start writing test-driven agent skills; the workflow requires only Markdown frontmatter and structured sections, using subagents to run baseline and pressure-scenario compliance tests.

When should I use combat testing for agent skill documentation?

Use combat testing for agent skill documentation when you need to verify compliance under stress, guiding pressure-scenario testing with subagents to ensure the documented behaviors hold up before deployment.