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…
Guide creating Claude Code skills with TDD and persuasion principles.
$ npx skills add athola/claude-night-market --skill skill-authoring -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install athola/claude-night-market skill-authoring --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/abstract/skills/skill-authoring .claude/skills/skill-authoring && rm -rf skills-srcUse ~/.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/
Install the "skill-authoring" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/abstract/skills/skill-authoring into .claude/skills/skill-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-authoring", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/athola/claude-night-market/tree/master/plugins/abstract/skills/skill-authoringType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add athola/claude-night-market --skill skill-authoring -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install athola/claude-night-market skill-authoring --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/abstract/skills/skill-authoring .agents/skills/skill-authoring && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "skill-authoring" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/abstract/skills/skill-authoring into .agents/skills/skill-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-authoring", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add athola/claude-night-market --skill skill-authoring -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install athola/claude-night-market skill-authoring --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/abstract/skills/skill-authoring .cursor/skills/skill-authoring && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "skill-authoring" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/abstract/skills/skill-authoring into .cursor/skills/skill-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-authoring", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/athola/claude-night-market.git --path plugins/abstract/skills/skill-authoring--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add athola/claude-night-market --skill skill-authoring -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install athola/claude-night-market skill-authoring --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/abstract/skills/skill-authoring .gemini/skills/skill-authoring && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "skill-authoring" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/abstract/skills/skill-authoring into .gemini/skills/skill-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-authoring", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install athola/claude-night-market skill-authoringInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add athola/claude-night-market --skill skill-authoring -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/abstract/skills/skill-authoring .github/skills/skill-authoring && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "skill-authoring" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/abstract/skills/skill-authoring into .github/skills/skill-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-authoring", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add athola/claude-night-market --skill skill-authoring -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install athola/claude-night-market skill-authoring --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/abstract/skills/skill-authoring .opencode/skills/skill-authoring && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "skill-authoring" agent skill from https://github.com/athola/claude-night-market/tree/master/plugins/abstract/skills/skill-authoring into .opencode/skills/skill-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "skill-authoring", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skill-authoringGuide creating Claude Code skills with TDD and persuasion principles.
Skill Authoring is an agent skill from athola/claude-night-market. Guide creating Claude Code skills with TDD and persuasion principles. Use for new skill development.
Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files (for example `README.md`, `modules/advanced-patterns.md` and `modules/authentication.md`).
It sits in Agent Workflows, covering Skill authoring and Test-driven development. It works with Python. The repository describes itself as: 23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context… The licence is MIT.
Read from SKILL.md and the folder at commit 9f3eb00. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Skill Authoring loads about 2.9k tokens when it runs. Until then it costs about 29 tokens; SKILL.md has 1,415 words of instructions outside code blocks.
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.
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.
The full file from athola/claude-night-market at commit 9f3eb00, republished under its MIT licence (© athola). 1,415 words, ~2,941 tokens.
.claude/skills/skill-authoring/SKILL.md (or your agent's skills folder). This skill also uses 14 other files; get the full folder from GitHub.abstract:skills-eval)abstract:hook-authoring)abstract:subagent-testing)Writing effective Claude Code skills requires Test-Driven Development (TDD) and persuasion principles from compliance research. We treat skill writing as process documentation that needs empirical validation rather than just theoretical instruction. Skills are behavioral interventions designed to change model behavior in measurable ways.
By using TDD, we ensure skills address actual failure modes identified through testing. Optimized descriptions improve discovery, while a modular structure supports progressive disclosure to manage token usage. It states intent, constraints and exit criteria, and leaves the path between them to the session doing the work. modules/persuasion-principles.md carries the strength budget that decides which of the three each statement is.
NO SKILL WITHOUT A FAILING TEST FIRST
Every skill must begin with documented evidence of Claude failing without it. This validates that you are solving a real problem. No implementation should proceed without a failing test, and no completion claim should be accepted without evidence. Detailed enforcement patterns for adversarial verification and coverage gates are available in imbue:proof-of-work.
We categorize skills into three types: Technique skills for specific methods, Pattern skills for recurring solutions, and Reference skills for quick lookups and checklists. This helps organize interventions into the most effective format for the task.
```bash
python scripts/skill_analyzer.py
python scripts/token_estimator.py ```
```bash
python scripts/abstract_validator.py --check ```
Verification: Run analysis and review token estimates before proceeding.
Skill descriptions must be optimized for semantic search and explicit triggering. Follow the formula [What it does] + [When to use it] + [Key triggers]. Use a third-person voice (e.g., "Guides...", "Provides...") and include specific, concrete use cases. Avoid marketing language or vague phrases like "helps with coding."
Skill description character budgets now scale with context window at 2% of available context. This means:
| Context Window | Description Budget |
|---|---|
| 200K (Sonnet/Haiku) | ~4,000 characters |
| 1M (Opus 4.6 GA) | ~20,000 characters |
Previously constrained skills can use more descriptive text on larger windows. However, keep descriptions concise regardless: longer is not better. The scaling primarily prevents truncation for skills with legitimately complex trigger conditions, not as an invitation to add verbose content.
Plugin names are now automatically shown alongside skill descriptions in the /skills menu. Do not repeat the plugin name in skill descriptions: it is redundant and wastes character budget. Focus descriptions on what the skill does and when to use it.
Establish empirical evidence that an intervention is needed. Create at least three pressure scenarios that combine time pressure and ambiguity. Run these in a fresh instance without the skill active and document the exact failures, such as skipped error handling or missing validation.
Create the smallest intervention that addresses the documented failures. Write the SKILL.md with required frontmatter and content that directly counters the baseline failures. Include one example of correct behavior and verify that the same pressure scenarios now show measurable improvement.
Eliminate the ability for Claude to explain away requirements. Run pressure scenarios with the skill active to identify common rationalizations, such as claiming a task is "too simple" for the full process. Add explicit counters, such as exception tables and red flag lists, until rationalizations stop.
Skills must explicitly counter patterns where Claude attempts to bypass requirements. Common excuses include claiming a task is "too simple" or that a "spirit vs letter of the law" approach is sufficient. Skills should include red flag lists for self-checking, such as "Stop if you think: this is too simple for the full process." When exceptions are necessary, document them explicitly to prevent unauthorized shortcuts.
For detailed implementation guidance:
Core authoring cycle:
modules/tdd-methodology.md for RED-GREEN-REFACTOR cycle detailsmodules/persuasion-principles.md for how hard to push, and what earns an invariantmodules/description-writing.md for discovery optimizationmodules/progressive-disclosure.md for file structure patterns../../shared-modules/skill-selection-judgment.md for deciding whether a skill appliesmodules/graphviz-conventions.md for process diagram standardsWorking with concrete skills (load when implementing or debugging):
modules/examples.md for walk-throughs of well-authored skills in this repomodules/advanced-patterns.md for skill-to-skill coordination, conditional behavior, and scaling across activation contextsmodules/authentication.md for skills that invoke gh, glab, MCP servers, or other authenticated toolsmodules/error-handling.md for missing tools, timeouts, partial subagent results, and permission denialsmodules/troubleshooting.md for diagnosing skills that do not behave as the test corpus says they shouldValidation and deployment (load when shipping):
modules/validation.md for frontmatter parsing, reference resolution, and structural checks before mergemodules/testing-with-subagents.md for running the Iron Law test in a fresh subagent (and abstract:subagent-testing for the broader pressure-testing methodology)modules/deployment-checklist.md for final validation before promoting a skillBefore deploying, verify that the RED, GREEN, and REFACTOR phases are complete and documented. Frontmatter must be valid, descriptions optimized, and line counts kept under 500 lines. Ensure all module references are valid and at least one concrete example is included.
A SKILL.md hub is a practitioner document: its reader knows the
domain and is meeting this repository's take on it. Write the hub
for that reader, and put anything only a maintainer of the skill
would want into modules/, listed in the modules: frontmatter
so progressive_loading keeps it off the hub's token budget.
That is the same split the 500-line cap already forces, decided
by reader rather than by line count.
When the skill's reader is not a practitioner, say so in the
skill's opening line, and when the author has not decided, ask,
do not guess. Tier table, Socratic set, and extraction protocol:
scribe:slop-detector module audience-targeting.md.
All markdown files must pass scribe validation. This includes a slop scan to ensure a score under 2.5 and doc verification to confirm all file paths and command examples work. Bullet-to-prose ratios must remain under 60% to maintain readability. Use Skill(scribe:slop-detector) and Agent(scribe:doc-verifier) for these checks.
Individual skills are created using skill-authoring, while modular-skills handles the architecture of larger structures. skills-eval provides ongoing quality assessment. Avoid the common pitfall of writing skills based on theoretical behavior; always use documented failures to guide development. Use progressive disclosure to prevent monolithic files and ensure that each intervention remains focused and token-efficient.
Skill(superpowers:writing-skills): the upstream superpowers take on
authoring Claude Code skills. Load it as a complementary reference for
skill structure and craft alongside this guide's TDD cycle.Skills can reference their own directory using
${CLAUDE_SKILL_DIR} in SKILL.md content. This
variable resolves to the absolute path of the
directory containing the SKILL.md file. Use it for
referencing sibling files, data assets, or module
paths without hardcoding absolute paths:
See `${CLAUDE_SKILL_DIR}/modules/advanced-patterns.md`
for detailed patterns.
Run: `python3 ${CLAUDE_SKILL_DIR}/scripts/check.py`This is especially useful for skills that ship alongside scripts or data files and need portable path references that work regardless of where the plugin is installed.
Skill descriptions containing colons (e.g.,
description: "Triggers include: X, Y, Z") previously
failed to load from SKILL.md frontmatter. This is
fixed in 2.1.69. Skills without a description: field
also now appear in the available skills list (previously
they were silently excluded).
Skill not loading
Check YAML frontmatter syntax and required fields.
As of 2.1.69, skills without a description: field
still appear in the skills list, but descriptions
with colons must be quoted in YAML frontmatter.
Token limits exceeded Use progressive disclosure - move details to modules
Modules not found Verify module paths in SKILL.md are correct
name field) that loads without error in Claude Code.python scripts/abstract_validator.py --check exits 0 and SKILL.md is under 500 lines.modules/ and is listed in the frontmatter.© athola, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 14 other files in plugins/abstract/skills/skill-authoring of athola/claude-night-market.
Open the folder on GitHubat commit 9f3eb00
Skill Authoring 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Skill Authoring this skillathola/claude-night-market | 341 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Writing Skillsed3dai/ed3d-plugins | 250 | 1 repos | ~1.3k | Automated safety check: Pass | None | |
| Writing SkillsTechDufus/oh-my-claude | 174 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Writing SkillsjnMetaCode/superpowers-zh | 8.3k | — | ~3.2k | Automated safety check: Pass | MIT | |
| Writing Skillssandgardenhq/sgai | 137 | — | ~4.9k | Automated safety check: Pass | Custom licence | |
| SkillAnything Skill GeneratorAgentSkillOS/SkillAnything | 471 | — | ~1.9k | Automated safety check: Pass | MIT |
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…
TechDufus/oh-my-claude
Methodology for creating effective skills using TDD principles.
jnMetaCode/superpowers-zh
当创建新技能、编辑现有技能或在部署前验证技能是否有效时使用
sandgardenhq/sgai
TDD for process documentation - test with subagents before writing, iterate until bulletproof.
AgentSkillOS/SkillAnything
Generates a complete agent skill for a target tool, API, library or workflow through a seven-phase pipeline that ends with testing, tuning and packaging for several platforms.
dontbesilent2025/dbskill
Turns a problem you keep running into into a single installable, tested skill, and prepares a GitHub repository only when you ask to share it.
athola/claude-night-market
Run and interpret repo diagnostic scripts (ratchets, validators, token stats).
athola/claude-night-market
Evaluate Claude skill quality through auditing. An agent skill from athola/claude-night-market.
athola/claude-night-market
Coordinates Claude agent teams via filesystem protocol. An agent skill from athola/claude-night-market.
athola/claude-night-market
Delegates execution to eight CLIs (Gemini, Qwen, MiniMax, GLM, Muse, Codex, OpenCode, Glimmer).
athola/claude-night-market
Guide minimal code via a decision ladder with full safety, edge, and negative-case coverage.
athola/claude-night-market
Build a project skill library in .claude/skills/ via discovery, parallel authoring, and review.
Works with
Categories
Guide creating Claude Code skills with TDD and persuasion principles. Skill Authoring is an agent skill from athola/claude-night-market. Guide creating Claude Code skills with TDD and persuasion principles.
Skill Authoring fits situations like: new skill development; tasks that involve Skill authoring; tasks that involve Test-driven development.
Run `npx skills add athola/claude-night-market --skill skill-authoring -a claude-code`. Or copy the skill folder (plugins/abstract/skills/skill-authoring in athola/claude-night-market) into .claude/skills/skill-authoring in your project. Claude Code loads it when a task matches its description.
Run `npx skills add athola/claude-night-market --skill skill-authoring -a codex`. Or copy the skill folder (plugins/abstract/skills/skill-authoring in athola/claude-night-market) into .agents/skills/skill-authoring in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add athola/claude-night-market --skill skill-authoring -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-authoring, .gemini/skills/skill-authoring, .github/skills/skill-authoring and .opencode/skills/skill-authoring in your project.
Going by SKILL.md and its folder, Skill Authoring needs the command-line tools its instructions call (python). Our summary lists: Python 3.
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.
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.
Skill Authoring is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Skill Authoring: Writing Skills (ed3dai/ed3d-plugins, 250 stars), Writing Skills (TechDufus/oh-my-claude, 174 stars), Writing Skills (jnMetaCode/superpowers-zh, 8.3k stars) and Writing Skills (sandgardenhq/sgai, 137 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
athola (a GitHub user) maintains it in athola/claude-night-market, which has 341 GitHub stars. The repository holds 154 skills in this directory. The repository was last updated on October 6, 2026.
Source: athola/claude-night-market on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.