writing-skills

Documents and validates SKILL.md files using RED-GREEN-REFACTOR cycles.

Updated Feb 20, 2026
One-click install
npx skills add https://github.com/yearofthedan/weaver --skill writing-skills-yearofthedan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/yearofthedan/weaver/tree/main/.claude/skills/writing-skills
Command: npx skills add https://github.com/yearofthedan/weaver --skill writing-skills-yearofthedan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents undocumented or ineffective skills by applying test-driven discipline to skill creation, ensuring agent behaviors match intent and reducing failed deployments due to ambiguous guidance or discovery errors.

Core Features & Use Cases

  • Test-first pressure scenarios: Run failing subagent scenarios to capture baseline rationalizations before authoring a skill.
  • SKILL.md best practices: Enforce YAML frontmatter with name and a discovery-focused description, keyword coverage, and token-efficiency guidance.
  • Verification and iteration: Use RED-GREEN-REFACTOR cycles to close loopholes and confirm agent compliance.
  • Use Case: Create a discipline skill that prevents agents from skipping required review steps by documenting the failing behavior, authoring the minimal counter-instruction, and revalidating.

Quick Start

Use writing-skills to create a new SKILL.md by first running a failing pressure scenario that documents agent rationalizations, author a minimal SKILL.md with required frontmatter and discovery-focused description, and rerun the scenario to verify agents now comply.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I use a test-driven process to write and verify production-ready skills?

To write and verify production-ready skills using a test-driven process, author a minimal SKILL.md with required YAML frontmatter, run failing subagent pressure scenarios to capture baseline behavior, and iterate with RED-GREEN-REFACTOR cycles to confirm agent compliance.

What is a pressure scenario in skill development and when do I need it?

A pressure scenario in skill development is a failing subagent test run to document agent rationalizations before authoring instructions. You need it when creating operational skills to prevent ambiguous guidance and ensure agent behaviors match your intended deployment outcomes.

How do I create a SKILL.md file with the right discovery triggers and frontmatter?

To create a SKILL.md file with the right discovery triggers, include YAML frontmatter with the skill name and a discovery-focused description, ensure broad keyword coverage, and apply token-efficiency guidance so agents can reliably find and execute the operational skill.

Why does my agent skip required review steps and how can documentation prevent it?

Agents skip required review steps due to ambiguous guidance or loopholes in instructions. You can prevent it by documenting the failing behavior in a pressure scenario, authoring a minimal counter-instruction in your SKILL.md, and revalidating with subagent verification runs.

What are the limitations of test-driven skill authoring for agent workflows?

The limitations of test-driven skill authoring include the requirement to compose and maintain baseline failing tests for every behavior, and the need for agent-enabled development workflows to run RED-GREEN-REFACTOR iteration cycles for closing loopholes and verifying compliance.

Does writing-skills work without dependencies for local skill development?

Yes, writing-skills operates without external dependencies, requiring only an agent-enabled environment to run subagent pressure scenarios and iterate on SKILL.md files using the RED-GREEN-REFACTOR cycle to achieve verified agent compliance.