writing-skills
Skill by spacering-net
Guides the creation, editing and testing of agent skills. It applies test-driven development to process documentation, so skills are checked before they are deployed. Aimed at people who write or maintain skills.
Install writing-skills
Built from the published package, never by AI.
git clone --depth 1 https://github.com/spacering-net/codeg /tmp/codeg && mkdir -p ~/.claude/skills && cp -r /tmp/codeg/src-tauri/experts/skills/writing-skills ~/.claude/skills/writing-skillsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/spacering-net/codeg /tmp/codeg && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/codeg/src-tauri/experts/skills/writing-skills ~/.gemini/antigravity-cli/skills/writing-skillsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
writing-skills is an agent skill that explains how to create, edit and verify other skills. It treats skill writing as test-driven development: the author runs pressure scenarios with subagents, records how agents behave without the skill, writes the skill, then checks that agents comply. It also covers skill types (technique, pattern and reference), directory layout, and how to close loopholes that agents exploit.
It is for people who write or maintain agent skills for runtimes such as Claude Code, Codex, Copilot CLI and Gemini CLI. The source says it requires the superpowers:test-driven-development skill. It states that no skill should be written or edited without a failing test first.
Written from the project's SKILL.md and checked against it.
What it can do
- Test-first skill workflowRuns a RED-GREEN-REFACTOR cycle with pressure scenarios before and after writing a skill.
- Skill type guidanceDescribes technique, pattern and reference skills and how to test each one.
- Directory structureShows how to lay out a skill folder with SKILL.md and optional supporting files.
- Loophole closingProvides rationalization tables and red-flag lists to stop agents skipping rules.
- Form selectionHelps choose between prohibitions, recipes, templates and conditionals based on the observed failure.
- Code example rulesAdvises on writing one complete, runnable example in the most relevant language.
What you need
- superpowers:test-driven-development skill
- A skills directory in a supported runtime such as Claude Code
Try asking
- Help me write a new skill for reviewing pull requests
- Test this existing skill for loopholes before I deploy it
- Check whether my skill's description summarizes its workflow
Good to know
- The source says it depends on the superpowers:test-driven-development skill
- Testing relies on running subagent pressure scenarios
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src-tauri/experts/skills/writing-skills/SKILL.md, src-tauri/experts/skills/writing-skills/render-graphs.js. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md16 KB -
package.json23 B -
references/CLAUDE_MD_TESTING.md5 KB -
references/anthropic-best-practices.md45 KB -
references/bulletproofing.md3 KB
Show all 11 files
-
references/discovery.md7 KB -
references/flowcharts.md1 KB -
references/graphviz-conventions.dot6 KB -
references/persuasion-principles.md6 KB -
references/testing-skills-with-subagents.md12 KB -
render-graphs.js5 KB
Alternatives to writing-skills
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
writing-skills: common questions
What does writing-skills do?
It guides the creation, editing and verification of agent skills using a test-driven approach. The source says every skill, including edits, needs a failing test first.
Which runtimes does it mention?
The source mentions Claude Code, Codex, Copilot CLI and Gemini CLI, and gives skill paths for those runtimes.
Does it require another skill?
Yes. The source says you MUST understand superpowers:test-driven-development before using this skill.
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 Apache-2.0 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.
