AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

Writing Skills

A meta-skill that turns skill authoring into test-driven development: watch an agent fail first, then write the minimal skill, then close the loopholes.

Dev & CodingAdvanced★ 904⑂ 42AI score 9/10Last updated: Nov 24, 2026

What it does

  • Maps the RED-GREEN-REFACTOR cycle onto process documentation: pressure scenario = test case, SKILL.md = production code.
  • Forces a baseline run without the skill so you capture the agent's actual rationalizations verbatim before writing anything.
  • Gives concrete rules for frontmatter (description must state triggers only, never summarize the workflow), discovery optimization, keyword coverage, naming, token budgets, and when a file belongs inline vs. separate.
  • Explains how to test each skill type (discipline, technique, pattern, reference) and how to bulletproof discipline skills with rationalization tables and red-flag lists.
  • Supplies mandatory RED/GREEN/REFACTOR checklists plus a "match the form to the failure" table (recipe vs. prohibition vs. structural slot).

Who it's for

  • Authors shipping multiple Claude Code skills to a team or marketplace.
  • Anyone whose skills get ignored, half-followed, or loaded at the wrong moment.
  • People who want empirical verification of agent-facing prompts and guides.

Example uses

  1. New "commit message convention" skill: run the pressure scenario first, log how the agent wriggles out, then write only the counters it needs.
  2. Fix an existing skill whose description summarized the workflow, causing agents to shortcut past the body — rewrite it as pure triggering conditions.
  3. Refactor a bloated skill: keep SKILL.md as overview, move a 500-line API reference into a bundled file and invoke scripts via node scripts/tool.js.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/Innei/ryugi/HEAD/.claude/skills/writing-skills/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the .claude/skills/writing-skills folder from the GitHub repo Innei/ryugi into my ~/.claude/skills/writing-skills/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/Innei/ryugi.git /tmp/ryugi && mkdir -p ~/.claude/skills && cp -r /tmp/ryugi/.claude/skills/writing-skills ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/Innei/ryugi.git /tmp/ryugi
  3. Make sure your personal skills folder exists: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r /tmp/ryugi/.claude/skills/writing-skills ~/.claude/skills/
  5. This skill cross-references bundled files (testing-skills-with-subagents.md, render-graphs.js, persuasion-principles.md) and the test-driven-development skill — copy the whole .claude/skills directory if you want all of them.
  6. Restart Claude Code and say "I want to create a new skill" to confirm it loads.
  7. Optional: install Node.js to render flowcharts with node ./render-graphs.js ../some-skill.
View source on GitHub ↗License: NOASSERTION