Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

writing-skills

Skill by davila7

Guides the creation, editing, and testing of agent skills using a test-driven process. It is for authors who write SKILL.md files for AI assistants and want to verify them before deployment.

  • Score 94
  • 35k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install writing-skills

Built from the published package, never by AI.

git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/productivity/writing-skills ~/.claude/skills/writing-skills

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install writing-skills in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a guide for writing agent skills, the SKILL.md reference files that AI assistants load. It treats skill writing as test-driven development. The author runs pressure scenarios with subagents to see how an agent behaves without the skill, writes the skill, then closes any loopholes the tests reveal. It also covers frontmatter rules, description wording, directory layout and token efficiency.

It is aimed at people who create, edit, or verify skills before deploying them. The source says it adapts the RED-GREEN-REFACTOR cycle to documentation and names superpowers:test-driven-development as required background. Personal skills live in ~/.claude/skills for Claude Code or ~/.codex/skills for Codex.

Written from the project's SKILL.md and checked against it.

What it can do

  • Pressure scenario testingRun baseline scenarios with subagents to see agent behavior before writing a skill.
  • RED-GREEN-REFACTOR workflowMaps test-driven development steps onto skill creation and refactoring.
  • Frontmatter rulesExplains that only name and description fields are supported, up to 1024 characters.
  • Trigger-focused descriptionsWrite descriptions that start with Use when and avoid summarizing the workflow.
  • Search-friendly namingCovers keyword choice and verb-first, gerund-style skill names.
  • Token efficiencyGives word count targets and advises moving details into tool help.
  • Progressive disclosureKeep SKILL.md focused and move heavy reference material into separate files.
  • Skill typesDescribes technique, pattern and reference skill types.
  • Cross-referencing skillsUse skill names with explicit REQUIRED markers instead of @ file links.

What you need

  • superpowers:test-driven-development skill (required background)

Try asking

  • Help me write a new skill for handling flaky tests.
  • Check whether my SKILL.md description starts with Use when and avoids workflow details.
  • Count the words in my skill and suggest cuts for token efficiency.

Good to know

  • Frontmatter supports only the name and description fields.
  • Descriptions must stay under 1024 characters in total.
  • The SKILL.md body should stay under 500 lines.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: cli-tool/components/skills/productivity/writing-skills/SKILL.md, cli-tool/components/skills/productivity/writing-skills/render-graphs.js. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md24 KB
  • anthropic-best-practices.md45 KB
  • graphviz-conventions.dot6 KB
  • persuasion-principles.md6 KB
  • render-graphs.js5 KB
Show all 6 files
  • testing-skills-with-subagents.md12 KB

Alternatives to writing-skills

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

writing-skills: common questions

Where do personal skills go for Claude Code?

The source says personal skills live in ~/.claude/skills for Claude Code and ~/.codex/skills for Codex.

Should a skill description summarize its steps?

No. The source says descriptions should only describe triggering conditions, because a workflow summary can make an assistant skip the full skill body.

How long should a SKILL.md file be?

The source says to keep the SKILL.md body under 500 lines and split detailed reference material into separate files.

How do I install writing-skills?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is writing-skills free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is writing-skills safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to writing-skills?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

writing-skills Install

Add to stack

Loading.