Skip to content
Back to skills

Writing Skills

ASecurity

Use when creating new skills, editing existing skills, or verifying skills work before deployment

  • 47 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 12, 2026
documentationdocumentation

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add skeletorflet/opencode-supreme-setup --skill writing-skills --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Writing Skills?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Writing Skills
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skeletorflet-writing-skills/badge)](https://www.skillsdirectory.com/skills/skeletorflet-writing-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: writing-skills
description: Use when creating new skills, editing existing skills, or verifying skills work before deployment
---

# Writing Skills

## Overview

Writing skills IS Test-Driven Development applied to process documentation.

**Core principle:** If you didn't watch an agent fail without the skill, you don't know if the skill teaches the right thing.

## TDD Mapping for Skills

| TDD Concept | Skill Creation |
|-------------|---------------|
| Test case | Pressure scenario with subagent |
| Production code | Skill document (SKILL.md) |
| Test fails (RED) | Agent violates rule without skill |
| Test passes (GREEN) | Agent complies with skill present |
| Refactor | Close loopholes while maintaining compliance |

## SKILL.md Structure

**Frontmatter (YAML):**
- Two required fields: `name` and `description`
- `name`: Use letters, numbers, and hyphens only
- `description`: Start with "Use when..." to focus on triggering conditions

## Key Sections
- Overview with core principle
- When to Use / When NOT to Use
- Core Pattern with before/after comparisons
- Quick Reference table
- Common Mistakes with fixes
- Red Flags for self-checking

## RED-GREEN-REFACTOR for Skills

RED: Run pressure scenario WITHOUT the skill - document exact behavior and rationalizations.
GREEN: Write minimal skill addressing those specific issues - re-test.
REFACTOR: Close loopholes as new rationalizations emerge.

## The Iron Law
NO SKILL WITHOUT A FAILING TEST FIRST

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.