Agent skill

Skill Authoring

by rohitg00 in rohitg00/skillkit

Creates and structures SKILL.md files for AI coding agents, including YAML frontmatter, trigger phrases, directive instructions, decision trees, code examples, and verification checklists.

Apache-2.0Auto-check passedAgent Workflows

Install Skill Authoring

skills CLI
$ npx skills add rohitg00/skillkit --skill skill-authoring -a claude-code

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

GitHub CLI
$ gh skill install rohitg00/skillkit skill-authoring --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/rohitg00/skillkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/core/src/methodology/packs/meta/skill-authoring .claude/skills/skill-authoring && 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
skill-authoring
GitHub stars
1.5k
Token cost
~1.5k tokens
SKILL.md length
521 words
Files
1
Skills in repo
14
Repo updated
First seen
Licence
Apache-2.0

At a glance

Creates and structures SKILL.md files for AI coding agents, including YAML frontmatter, trigger phrases, directive instructions, decision trees, code examples, and verification checklists.

  • Works in 4 steps: Natural language — How would a human ask… → Multiple variations — Different ways to… → Specific enough — Don't trigger on too… → …
  • Directive instructions
  • SKILL.md covers Core Principle, Skill Anatomy, Writing Effective Triggers and Writing Skill Content, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Skill Authoring is an agent skill from rohitg00/skillkit. Creates and structures SKILL.md files for AI coding agents, including YAML frontmatter, trigger phrases, directive instructions, decision trees, code examples, and verification checklists. Use when the user asks to write a new skill, create a skill file, author agent capabilities, generate skill documentation, or define a skill template for Claude Code agents.

Its SKILL.md is about 1.5k 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. The repository describes itself as: Supercharge AI coding agents with portable skills. Install, translate & share skills across Claude Code, Cursor, Codex, Copilot & 40 more. The licence is Apache-2.0.

When your agent uses it

  • Directive instructions
  • Verification checklists
  • The user asks to write a new skill
  • Create a skill file

Example prompts

  • “Use the skill-authoring skill to create and structures SKILL.md files for AI coding agents, including YAML frontmatter, trigger phrases, directive…”
  • “/skill-authoring”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Natural language — How would a human ask for this?
  2. Multiple variations — Different ways to say the same thing
  3. Specific enough — Don't trigger on too many queries
  4. Common terms — Use terms people actually use

What it can do on your machine

Read from SKILL.md and the folder at commit d2e5c34. 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 markdown, typescript and 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

Skill Authoring loads about 1.5k tokens when it runs. Until then it costs about 95 tokens; SKILL.md has 521 words of instructions outside code blocks.

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

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 rohitg00/skillkit at commit d2e5c34, republished under its Apache-2.0 licence (© rohitg00). 521 words, ~1,515 tokens.

Download SKILL.mdSave it as .claude/skills/skill-authoring/SKILL.md (or your agent's skills folder).
name
skill-authoring
description
Creates and structures SKILL.md files for AI coding agents, including YAML frontmatter, trigger phrases, directive instructions, decision trees, code examples, and verification checklists. Use when the user asks to write a new skill, create a skill file, author agent capabilities, generate skill documentation, or define a skill template for Claude Code agents.
version
1.0.0
triggers
write a skill, create skill, author skill, skill template, how to write skills
tags
meta, authoring, skills, writing
difficulty
intermediate
estimatedTime
20

Skill Authoring Guide

You are authoring a SKILL.md for an AI coding agent. A well-written skill provides clear, actionable guidance that agents can follow consistently.

Core Principle

A skill's description triggers it; the body teaches it.

The description tells the agent WHEN to use the skill. The content tells the agent HOW to execute it.

Skill Anatomy

SKILL.md Structure
markdown
---
name: [lowercase-hyphenated-name]
description: [Concrete actions + "Use when..." clause]
version: [Semantic version]
triggers:
  - [keyword 1]
  - [keyword 2]
tags:
  - [tag 1]
---

# [Skill Title]

[Introduction paragraph explaining purpose]

## Core Principle

**[Single most important rule in bold]**

## [Main Content Sections]

## [Decision Points]

## [Verification Checklist]
Frontmatter Fields
FieldRequiredConstraints
nameYesLowercase alphanumeric + hyphens, 1–64 chars
descriptionYesMust include "Use when..." clause; 1–1024 chars
versionYesSemantic version (e.g. 1.0.0)
triggersRecommendedNatural-language phrases that activate the skill
tagsRecommendedCategorization tags

Writing Effective Triggers

Triggers should be phrases users naturally type.

Good triggers:

  • "write tests first"
  • "tdd"
  • "test driven development"

Bad triggers:

  • "testing methodology" (too vague)
  • "red-green-refactor-cycle-for-test-driven-development" (too specific)
  • "skill-123" (not natural language)
Trigger Guidelines
  1. Natural language — How would a human ask for this?
  2. Multiple variations — Different ways to say the same thing
  3. Specific enough — Don't trigger on too many queries
  4. Common terms — Use terms people actually use

Writing Skill Content

Voice and Tone

Use second person, present tense, active voice:

  • ✅ "Write the test first"
  • ✅ "You are implementing TDD"
  • ❌ "The developer should..." (passive)
  • ❌ "It is recommended that..." (wordy)
Structure Guidelines
  1. Start with context — What is the agent doing and why
  2. State the core principle — Most important rule upfront
  3. Provide process — Step-by-step guidance
  4. Include examples — Concrete illustrations
  5. Add a checklist — Verification criteria
  6. End with integration — How this connects to other skills
Directive Language
StrengthExamples
Strong (critical rules)"You MUST…", "ALWAYS…", "NEVER…", "Do NOT…"
Soft (recommendations)"Prefer…", "Consider…", "When possible…"

Content Patterns

Decision Trees
markdown
## Decision: [What to Decide]

If [condition A]:
→ [Action for A]

If [condition B]:
→ [Action for B]

If uncertain:
→ [Default action]
Process Steps
markdown
### Step 1: [Action]

[Detailed explanation]

**Verification:** [How to know step is complete]

### Step 2: [Action]
...
Code Examples
typescript
// BAD
const result = doTheThing(badInput);

// GOOD
const validated = validate(input);
const result = doTheThing(validated);

Anti-Patterns to Avoid

Anti-patternProblemFix
The EncyclopediaToo much info, agent gets lostFocus on actionable guidance only
The Vague Guide"Consider best practices"Be specific: "Use Arrange-Act-Assert"
The Constraint-Free SkillNo clear rules, agent improvisesInclude explicit constraints
The MonologueWall of textUse headers, lists, tables, code blocks
The Outdated SkillReferences deprecated patternsVersion skills and review periodically
Show full SKILL.md (185 more words)Show less

Skill Testing

Before publishing, verify:

  1. Trigger test — Does it activate on expected phrases?
  2. Completeness test — Can the agent follow it without external info?
  3. Clarity test — Is every instruction unambiguous?
  4. Contradiction test — No conflicting guidance?
  5. Edge case test — Handles unusual situations?

Pack Organization

Group related skills under a named pack directory. See PACKS.md for full pack manifest format and filesystem conventions.

packs/
├── testing/
│   ├── pack.json
│   ├── red-green-refactor/
│   │   └── SKILL.md
│   └── test-patterns/
│       └── SKILL.md

Skill Maintenance

See MAINTENANCE.md for detailed versioning policy. Quick reference:

Version increments:

  • Patch (1.0.x): Typos, clarifications, minor fixes
  • Minor (1.x.0): New sections, examples, capabilities
  • Major (x.0.0): Breaking changes, fundamental rewrites

Deprecation frontmatter:

yaml
deprecated: true
deprecatedReason: "Superseded by skill-v2"
deprecatedSince: "2024-01-15"

Add a visible notice at the top of the body: > **DEPRECATED:** Use [skill-v2] instead.

Publication Checklist

Before publishing, confirm:

  • Frontmatter is complete and valid (name, description, version)
  • Description includes concrete actions and a "Use when…" clause
  • Triggers are natural-language phrases, specific but not over-fitted
  • Core principle is clear and prominent
  • Content uses headers, lists, or tables — no walls of text
  • Code examples demonstrate correct vs. incorrect usage
  • Verification criteria are included
  • Related skills are linked where applicable
  • No spelling/grammar errors
  • Tested with target agents against all trigger phrases

© rohitg00, Apache-2.0. 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 packages/core/src/methodology/packs/meta/skill-authoring of rohitg00/skillkit.

Open the folder on GitHubat commit d2e5c34

Compare with similar skills

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 Authoring compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Skill Authoring this skillrohitg00/skillkit1.5k—~1.5kAutomated safety check: PassApache-2.0
Skill CreatorAzure/azqr79589 repos~8.2kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k11 repos~3.5kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Claude Code Command Developmentanthropics/claude-plugins-official38k10 repos~4.8kAutomated safety check: PassApache-2.0
Claude Code Plugin Structureanthropics/claude-plugins-official38k10 repos~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    795 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 11 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    38k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Plugin Structure

    anthropics/claude-plugins-official

    Official

    Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.

    38k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed
  • Skill Release Gate

    rohitg00/ai-engineering-from-scratch

    Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.

    66k GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from rohitg00/skillkit

All 14 skills in this repo
  • Design First

    rohitg00/skillkit

    Guides the creation of technical design documents before writing code, producing architecture diagrams, data models, API interface definitions, implementation plans, and multi-option trade-off…

    1.5k GitHub stars~1.5k tokensUpdated 4 mo ago
    Auto-check passed
  • Find Skills

    rohitg00/skillkit

    Discovers, searches, and installs skills from multiple AI agent skill marketplaces (400K+ skills) using the SkillKit CLI.

    1.5k GitHub stars~1.2k tokensUpdated 4 mo ago
    Auto-check passed
  • Handoff Protocols

    rohitg00/skillkit

    Manages work transitions between team members or agents by creating structured handoff documents, summarizing project status, documenting key decisions, blockers, and open questions, and generating…

    1.5k GitHub stars~1.5k tokensUpdated 4 mo ago
    Auto-check passed
  • Hypothesis Testing

    rohitg00/skillkit

    Applies the scientific method to debugging by helping users form specific, testable hypotheses, design targeted experiments, and systematically confirm or reject theories to find root causes.

    1.5k GitHub stars~1.5k tokensUpdated 4 mo ago
    Auto-check passed
  • Parallel Investigation

    rohitg00/skillkit

    Coordinates parallel investigation threads to simultaneously explore multiple hypotheses or root causes across different system areas.

    1.5k GitHub stars~1.4k tokensUpdated 4 mo ago
    Auto-check passed
  • Red Green Refactor

    rohitg00/skillkit

    Guides the red-green-refactor TDD workflow: write a failing test first, implement the minimum code to make it pass, then refactor while keeping tests green.

    1.5k GitHub stars~1.3k tokensUpdated 4 mo ago
    Auto-check passed

Categories

Questions about Skill Authoring

What does Skill Authoring do?

Creates and structures SKILL.md files for AI coding agents, including YAML frontmatter, trigger phrases, directive instructions, decision trees, code examples, and verification checklists. Skill Authoring is an agent skill from rohitg00/skillkit.md files for AI coding agents, including YAML frontmatter, trigger phrases, directive instructions, decision trees, code examples, and verification checklists.

When should I use Skill Authoring?

Skill Authoring fits situations like: directive instructions; verification checklists; the user asks to write a new skill; create a skill file.

How do I install Skill Authoring in Claude Code?

Run `npx skills add rohitg00/skillkit --skill skill-authoring -a claude-code`. Or copy the skill folder (packages/core/src/methodology/packs/meta/skill-authoring in rohitg00/skillkit) into .claude/skills/skill-authoring in your project. Claude Code loads it when a task matches its description.

How do I install Skill Authoring in Codex?

Run `npx skills add rohitg00/skillkit --skill skill-authoring -a codex`. Or copy the skill folder (packages/core/src/methodology/packs/meta/skill-authoring in rohitg00/skillkit) into .agents/skills/skill-authoring in your project. Codex loads it when a task matches its description.

Can I use Skill Authoring 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 rohitg00/skillkit --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.

What does Skill Authoring need to run?

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

Does Skill Authoring 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 Skill Authoring 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 Skill Authoring use?

Skill Authoring is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Skill Authoring use?

About 1.5k tokens (SKILL.md is roughly 6.1k 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 Skill Authoring?

Skills that share tags, products or a category with Skill Authoring: Skill Creator (Azure/azqr, 795 stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars) and Claude Code Command Development (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Skill Authoring?

rohitg00 (a GitHub user) maintains it in rohitg00/skillkit, which has 1,546 GitHub stars. The repository holds 14 skills in this directory. The repository was last updated on June 2, 2026.

Source: rohitg00/skillkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.