Agent skill

Writing Skills

by TechDufus in TechDufus/oh-my-claude

Methodology for creating effective skills using TDD principles.

MITAuto-check passedAgent Workflows

Install Writing Skills

skills CLI
$ npx skills add TechDufus/oh-my-claude --skill writing-skills -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TechDufus/oh-my-claude writing-skills --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TechDufus/oh-my-claude.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/oh-my-claude/skills/writing-skills .claude/skills/writing-skills && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
writing-skills
GitHub stars
174
Token cost
~1.3k tokens
SKILL.md length
605 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

Methodology for creating effective skills using TDD principles.

  • Creating new skills
  • SKILL.md covers Core Principle, When to Apply, TDD Mapping and RED-GREEN-REFACTOR for Skills, plus 9 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Editing existing skills

What it does

Writing Skills is an agent skill from TechDufus/oh-my-claude. Methodology for creating effective skills using TDD principles. Use when creating new skills, editing existing skills, or authoring plugin components. Triggers on: 'create skill', 'write skill', 'new skill', 'skill authoring'.

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Skill authoring and Test-driven development. The repository describes itself as: Add ultrawork to any prompt for maximum parallel execution. The licence is MIT.

When your agent uses it

  • Creating new skills
  • Editing existing skills
  • Authoring plugin components
  • Skill authoring

Example prompts

  • “create skill”
  • “write skill”
  • “new skill”
  • “/writing-skills”

What it can do on your machine

Read from SKILL.md and the folder at commit ede75db. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Writing Skills loads about 1.3k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 605 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from TechDufus/oh-my-claude at commit ede75db, republished under its MIT licence (© TechDufus). 605 words, ~1,308 tokens.

Download SKILL.mdSave it as .claude/skills/writing-skills/SKILL.md (or your agent's skills folder).
name
writing-skills
description
Methodology for creating effective skills using TDD principles. Use when creating new skills, editing existing skills, or authoring plugin components. Triggers on: 'create skill', 'write skill', 'new skill', 'skill authoring'.

Writing Skills Skill

TDD applied to process documentation.

Core Principle

Writing skills IS TDD applied to process documentation. If you can't test it breaks without the skill, the skill isn't needed.

When to Apply

  • Creating new skills
  • Editing existing skills
  • Reviewing skill quality
  • Authoring plugin components

TDD Mapping

TDD ConceptSkill Equivalent
Test casePressure scenario (situation where agent fails without skill)
Production codeSKILL.md content
Failing testAgent demonstrably fails the scenario
Passing testAgent handles scenario correctly with skill loaded
RefactorTrim to minimum effective content

RED-GREEN-REFACTOR for Skills

RED: Identify Failure Scenarios

Identify 3+ pressure scenarios where the agent fails without this skill. Document the failure mode. This is your test suite. If you can't find 3 scenarios, the skill probably isn't needed.

GREEN: Write Minimum Effective Content

Write SKILL.md that addresses every identified failure. Minimum content to pass -- no extras, no nice-to-haves, no "comprehensive guides." Every section must map to at least one pressure scenario.

REFACTOR: Trim Aggressively

Remove anything that doesn't directly address a pressure scenario. Target ~120 lines. If removing a line doesn't weaken any pressure scenario, remove it.

SKILL.md Structure Template

---
name: {short-name}
description: "{Role sentence}. Use when {triggers}. Triggers on: {keywords}."
---
# {Name} Skill
{Tagline}
## When to Apply
## Core Pattern / Framework
## Anti-Rationalization Table (if methodology skill)
## Common Mistakes
## The Bottom Line

Claude Search Optimization (CSO)

The description field determines when Claude loads your skill. Get it wrong and the skill never fires.

  • Description = "Use when..." triggers ONLY
  • NEVER summarize the workflow in the description
  • Include trigger keywords that match how users/agents naturally phrase the need

Good: "Use when receiving review comments from code-reviewer agent, PR reviews, or external feedback. Triggers on: 'review feedback', 'address review', 'fix review comments'."

Bad: "A comprehensive guide to handling code review feedback through a structured process"

The bad example describes what the skill contains. The good example describes when to load it.

Skill Types

TypePurposeExampleLine Target
TechniqueHow to do Xdebugger~120 lines
PatternWhen to use Xreceiving-code-review~120 lines
MethodologyDiscipline for Xtdd, verification~130 lines
MetaHow to create Xwriting-skills~140 lines

Anti-Rationalization for Skipping Tests

ExcuseCounter
"The skill is obviously clear"If it's obvious, you can write 3 failure scenarios in 2 minutes
"It's just a reference doc"Reference docs that don't address failures are shelf-ware
"Testing documentation is overkill"Testing docs IS identifying what problems they solve
"I'll test it in practice"Without defined scenarios, you won't notice when it fails
Show full SKILL.md (220 more words)Show less

When NOT to Create a Skill

Not everything deserves a skill:

  • Information easily found in docs (link to docs instead)
  • One-time procedures (just do them)
  • Tool-specific configuration (use CLAUDE.md)
  • Content under 30 lines (too simple -- put it in CLAUDE.md)

Token Efficiency

Every line must earn its place:

  • Technique/pattern skills: ~120 lines
  • Methodology skills: ~130 lines
  • Meta skills: ~140 lines

The test: "If removing this line doesn't weaken any pressure scenario, remove it."

Avoid:

  • Repetitive examples that demonstrate the same point
  • "Nice to know" sections that don't prevent failures
  • Long prose when a table communicates faster
  • Headers with only 1-2 lines of content (merge them)

Frontmatter Rules

Skills use ONLY name and description in frontmatter:

yaml
---
name: my-skill
description: "What it does. Use when X. Triggers on: 'keyword1', 'keyword2'."
---

No model, tools, or permissionMode. These are not agent definitions.

Common Mistakes

MistakeWhy It's WrongDo This Instead
Writing without pressure scenariosNo way to verify the skill worksRED phase first -- always
Summarizing workflow in descriptionClaude can't match it to triggersUse "Use when..." pattern
Including everything you knowBloats context, dilutes signalOnly what prevents identified failures
Skipping refactor phaseSkills grow stale and verboseTrim after every edit
Copying another skill's structureDifferent types need different shapesMatch structure to skill type

The Bottom Line

A skill without tested pressure scenarios is documentation. Documentation without a problem to solve is noise.

© TechDufus, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/oh-my-claude/skills/writing-skills of TechDufus/oh-my-claude.

Open the folder on GitHubat commit ede75db

Compare with similar skills

Writing Skills next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Writing Skills compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Writing Skills this skillTechDufus/oh-my-claude174—~1.3kAutomated safety check: PassMIT
Writing Skillsed3dai/ed3d-plugins2501 repos~1.3kAutomated safety check: PassNone
Writing SkillsjnMetaCode/superpowers-zh8.3k—~3.2kAutomated safety check: PassMIT
Writing Skillssandgardenhq/sgai137—~4.9kAutomated safety check: PassCustom licence
Skill Authoringathola/claude-night-market341—~2.9kAutomated safety check: PassMIT
Writing Skillsfarm-fe/farm5.6k38 repos~5.6kAutomated safety check: PassMIT

Similar skills

  • Writing Skills

    ed3dai/ed3d-plugins

    A skill your agent uses when creating new skills, editing existing skills, or verifying skills work before deployment - applies TDD to process documentation by testing with subagents before writing…

    250 GitHub starsUsed in 1 repo~1.3k tokens
    Agent WorkflowsAuto-check passed
  • Writing Skills

    jnMetaCode/superpowers-zh

    当创建新技能、编辑现有技能或在部署前验证技能是否有效时使用

    8.3k GitHub stars~3.2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Writing Skills

    sandgardenhq/sgai

    TDD for process documentation - test with subagents before writing, iterate until bulletproof.

    137 GitHub stars~4.9k tokensUpdated 19 days ago
    Agent WorkflowsAuto-check passed
  • Skill Authoring

    athola/claude-night-market

    Guide creating Claude Code skills with TDD and persuasion principles.

    341 GitHub stars~2.9k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • Writing Skills

    farm-fe/farm

    A skill your agent uses when creating new skills, editing existing skills, or verifying skills work before deployment

    5.6k GitHub starsUsed in 38 repos~5.6k tokens
    Agent WorkflowsAuto-check passed
  • Skill Writing

    millionco/expect

    Write and improve agent skills (SKILL.md files). An agent skill from millionco/expect.

    3.6k GitHub stars~1.8k tokensUpdated 5 mo ago
    DevelopmentAuto-check passed

More from TechDufus/oh-my-claude

All 12 skills in this repo
  • Debugger

    TechDufus/oh-my-claude

    Systematic debugging methodology for diagnosing failures and root cause analysis.

    174 GitHub stars~1k tokensUpdated 2 mo ago
    Auto-check passed
  • Oh My Claude Runtime

    TechDufus/oh-my-claude

    A skill your agent uses when applying oh-my-claude workflow guidance, ultrawork modes, agent orchestration, plan execution, or plugin configuration.

    174 GitHub stars~4.3k tokensUpdated 2 mo ago
    Auto-check passed
  • PR Creation

    TechDufus/oh-my-claude

    MUST be used when creating pull requests. An agent skill from TechDufus/oh-my-claude.

    174 GitHub stars~1.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Ralph Loop Init

    TechDufus/oh-my-claude

    Transform approved plans into ralph loop infrastructure. An agent skill from TechDufus/oh-my-claude.

    174 GitHub stars~4.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • Ralph Plan

    TechDufus/oh-my-claude

    Structured PRD generation with interview, research, and approval workflow.

    174 GitHub stars~2.4k tokensUpdated 2 mo ago
    Auto-check: notes
  • Init Deep

    TechDufus/oh-my-claude

    Initialize or migrate to nested CLAUDE.md structure for progressive disclosure.

    174 GitHub stars~5.3k tokensUpdated 2 mo ago
    Auto-check: notes

Questions about Writing Skills

What does Writing Skills do?

Methodology for creating effective skills using TDD principles. Writing Skills is an agent skill from TechDufus/oh-my-claude. Methodology for creating effective skills using TDD principles.

When should I use Writing Skills?

Writing Skills fits situations like: creating new skills; editing existing skills; authoring plugin components; skill authoring.

How do I install Writing Skills in Claude Code?

Run `npx skills add TechDufus/oh-my-claude --skill writing-skills -a claude-code`. Or copy the skill folder (plugins/oh-my-claude/skills/writing-skills in TechDufus/oh-my-claude) into .claude/skills/writing-skills in your project. Claude Code loads it when a task matches its description.

How do I install Writing Skills in Codex?

Run `npx skills add TechDufus/oh-my-claude --skill writing-skills -a codex`. Or copy the skill folder (plugins/oh-my-claude/skills/writing-skills in TechDufus/oh-my-claude) into .agents/skills/writing-skills in your project. Codex loads it when a task matches its description.

Can I use Writing Skills in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TechDufus/oh-my-claude --skill writing-skills -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/writing-skills, .gemini/skills/writing-skills, .github/skills/writing-skills and .opencode/skills/writing-skills in your project.

What does Writing Skills need to run?

SKILL.md names no scripts, command-line tools or credentials: Writing Skills is instructions for the agent only.

Does Writing Skills access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Writing Skills safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Writing Skills use?

Writing Skills is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Writing Skills use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Writing Skills?

Skills that share tags, products or a category with Writing Skills: Writing Skills (ed3dai/ed3d-plugins, 250 stars), Writing Skills (jnMetaCode/superpowers-zh, 8.3k stars), Writing Skills (sandgardenhq/sgai, 137 stars) and Skill Authoring (athola/claude-night-market, 341 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Writing Skills?

TechDufus (a GitHub user) maintains it in TechDufus/oh-my-claude, which has 174 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on July 13, 2026.

Source: TechDufus/oh-my-claude on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.