writing-skills

Enforce RED-GREEN-REFACTOR cycles for test-driven skill documentation workflows.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/Khoiwall/be_vidify --skill writing-skills-khoiwall
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: writing-skills
Source: https://github.com/Khoiwall/be_vidify/tree/main/.opencode/skill/writing-skills
Command: npx skills add https://github.com/Khoiwall/be_vidify --skill writing-skills-khoiwall

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Writing robust Skill documentation is error-prone without a disciplined testing loop; this skill codifies a test-driven process to draft, validate, and refine Skills using baseline failures and subagent pressure scenarios.

Core Features & Use Cases

  • Establishes a RED-GREEN-REFACTOR workflow for skill creation and updates.
  • Guides the design of YAML frontmatter, concise descriptions, and actionable SKILL structure.
  • Enables iterative testing with subagents to uncover rationalizations and close loopholes.

Quick Start

Draft a minimal SKILL.md that addresses observed failures, then run the RED-GREEN-REFACTOR cycle to verify compliance.

Frequently Asked Questions about writing-skills

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

FAQPage Schema
How do I use test-driven development for skill documentation?

Test-driven documentation for skills uses a RED-GREEN-REFACTOR cycle to draft, validate, and refine SKILL.md files by enforcing baseline failures before deployment. You establish failing tests, write minimal documentation to pass them, and then refactor iteratively.

What is a subagent pressure scenario in skill creation?

Subagent pressure scenarios are iterative testing sessions that uncover rationalizations and close loopholes in skill documentation. They validate the SKILL.md structure by actively probing the documentation for weaknesses before final deployment.

How do I structure YAML frontmatter for skill writing?

YAML frontmatter for skill writing requires strict discipline to ensure concise descriptions and an actionable SKILL.md structure. You must define metadata fields accurately during the drafting phase to pass the baseline validation checks.

What's the best way to verify skill documentation before deployment?

The best way to verify skill documentation is running a RED-GREEN-REFACTOR workflow with subagent pressure scenarios. This process targets the creation, editing, and verification of skills to ensure bulletproof documentation through iterative testing.

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

No dependencies are required to start writing test-driven skills. You only need to draft a minimal SKILL.md that addresses observed failures and then run the RED-GREEN-REFACTOR cycle to verify compliance.

When should I use a test-driven workflow for skill updates?

You should use a test-driven workflow for skill updates whenever editing or creating skills to prevent error-prone documentation. It codifies a disciplined testing loop to validate changes and ensure bulletproof documentation before deployment.