/skill-creator

A portable SKILL.md package with routed references, validation and behavioral evals.

Ship·Workflow → Skill·MIT
$npx skills add tushaarmehtaa/tushar-skills --skill skill-creator -g -a claude-code -y

Then type /skill-creator in Claude Code, or describe the task and let it pick the skill.

What you get back recorded run · 9 Oct 2026

claude · tallyroom

Using /skill-creator
Your Friday release notes are now a skill, with 12 test prompts.
Claude Code 2.1.295·1m 47s·3 files changed
  • Each of the three mistakes you listed has its own rule and check. The skill is used for requests like "write the release notes" or "what did we ship to customers this week", but not for internal summaries like standup notes.
  • Date range: it starts from the date of your most recent notes file rather than "last friday". That avoids missing or repeating PRs if a week is skipped or you run it on a different day.
  • Leaks: merge commits contain things like "from alice/QN-412-acme-export", so the final check specifically looks for names, handles and ticket or PR numbers.
CaveatNeither the skill nor its helper script was run, so both are untested.

Input → output from the run

Your workflow notes
Mistakes I've made before: including a refactor because the title sounded exciting; calling something "Fixed" when it was really a new behavior; forgetting the platform tag.
SKILL.md it wrote
2. Filter out internal work

Drop any PR labeled `internal`, `chore`, `refactor`, or `test`. Also drop it when there are no labels and the title prefix or the files show it's one of those (for example, it only touches tests, CI, or build config). Drop pure docs, dependency bumps, and other tooling work too, unless the body describes a change customers will notice.

Judge by what changed, not by how exciting the title sounds. A refactor titled "New sync engine" is still a refactor. This exact mistake has happened before. When a PR's label and its content disagree, trust the label for exclusion and mention the conflict in your report.

When to use it

Use when

Use when authoring, improving, merging or validating SKILL.md packages.

Skip it when

Skip it for a one-off prompt; it packages workflows you repeat.

The thinking behind it

Any workflow you repeat is a skill waiting to be written. Package it with tests, and your agent does it the same good way every time.

Output contract from the skill's Output contract section

Deliver:

  • the complete package, including changed resources;
  • a concise behavior summary and trigger boundary;
  • validation and eval results;
  • resources added, removed, or rerouted;
  • preserved behavior and intentional breaking changes;
  • remaining limitations or untested environments.

Read the authoring guide when selecting a multi-file resource structure, designing eval cases, merging packages, or diagnosing portability and routing failures.

How it checks its own work from the instructions

  • Directory name and frontmatter name agree
  • Every relative Markdown link resolves
  • Repository skill validator passes on every touched package
  • Behavioral evals rerun after structural changes

Requirements what it needs

Works in
Codex, Claude Code, Cursor, Claude app
Needs
files you provide

The instructions SKILL.md · 138 lines

Instructions & references

Back to overview ↑
SKILL.md · MIT

Skill creator

Turn a repeatable workflow into a compact specialist package, or improve an existing package without erasing its effective domain knowledge. Optimize for correct behavior on real requests rather than conformity to one Markdown template.

Choose the mode

  • Create — build a new package from concrete usage examples.
  • Improve — diagnose and revise an existing package while preserving working behavior.
  • Merge — combine overlapping packages, reconcile triggers and resources, and define migration boundaries.
  • Validate — inspect structure, resource routing, triggers, and behavior without changing the package unless asked.

Read the current package, repository conventions, validators, and catalog metadata before asking questions. Ask only for intent that cannot be recovered and would materially alter trigger scope, side effects, or output.

Model real usage

Collect or derive representative prompts:

  • direct requests that should trigger;
  • common paraphrases and incomplete requests;
  • near-miss requests that belong to another skill;
  • multi-turn requests where the skill becomes relevant later;
  • risky, unavailable, or ambiguous cases that require a branch;
  • examples of successful output and known failure modes.

For each positive example, outline the execution path from inputs to verified outcome. Identify decisions that depend on context and operations that should remain deterministic.

Audit an existing package

When improving or merging, inventory:

  • frontmatter trigger coverage and collisions;
  • user inputs, inferred context, and unnecessary questions;
  • decision branches and missing failure paths;
  • domain rules versus generic advice;
  • output and side-effect contract;
  • verification that exercises behavior rather than checking ingredients;
  • every reference, script, and asset, including reachability and duplication;
  • runtime-specific assumptions and portability constraints.

Preserve concise, evidence-backed instructions and tested resources. Remove false precision, unsupported claims, authorial house style, and formatting rules that do not affect behavior.

For merges, map which package owns each trigger, workflow, resource, and output. Resolve contradictory rules explicitly and state whether old package names need a compatibility or migration path.

Design the resource graph

Keep core selection logic, invariants, workflow, output, and verification in SKILL.md. Move material only when it improves execution:

  • references/ for conditional domain knowledge, provider or framework variants, schemas, and extended examples;
  • scripts/ for repeated deterministic work, parsing, conversion, or validation that should not be regenerated each run;
  • assets/ for templates, fixtures, media, or boilerplate copied into outputs rather than read as instructions.

Link every reference directly from SKILL.md at the decision that requires it and say when to read it. Avoid forcing unrelated references into context. Add a Contents section near the top of reference files longer than 100 lines.

Do not duplicate the same rule in the main file and a reference. Test added scripts by running representative inputs, including failure cases.

Write the trigger

Use the repository's frontmatter contract. The description must state both capability and trigger context in concrete language. Include important modes when they affect discovery, but do not turn the description into a workflow summary.

Front-load the distinctive capability and strongest trigger in the opening clause. Runtimes may shorten catalog descriptions as more skills are installed, so do not depend on a qualifier or disambiguating phrase near the end. Keep the whole description concise enough to preserve useful routing detail under pressure.

Check the trigger against:

  1. positive examples;
  2. paraphrases that omit the skill's preferred nouns;
  3. adjacent tasks that should not trigger;
  4. broad requests where another skill should remain primary;
  5. contexts where this skill is necessary even if not explicitly named.

Avoid vague “helps with” wording and avoid runtime branding unless the workflow truly depends on that runtime.

Write adaptive instructions

Set the degree of freedom from task variability:

  • use principles and decision criteria when multiple approaches are valid;
  • use parameterized patterns when a preferred approach has meaningful variants;
  • use deterministic scripts and strict sequencing for fragile, repeatable operations.

The body should tell the next agent how to inspect context, choose a branch, execute, handle unavailable inputs, produce a bounded output, and verify the result. Do not mandate phase numbering, a heading style, checklist syntax, tone, or arbitrary line target beyond the repository's actual constraints.

Prefer observable rules. Replace “make it polished” with the evidence, behavior, or acceptance check that demonstrates polish in this domain.

Define side effects and output

State whether the skill answers, audits, edits files, runs commands, opens applications, or changes external state. Separate report-only work from mutation and require approval where the underlying action is consequential.

Define the minimum complete output, source/provenance expectations, how blocked facts are represented, and what limitations must be reported. Avoid a single fixed output form when audit, generation, and implementation modes need different artifacts.

Build behavioral evals

Create a small eval set with expected behavior, not only trigger labels:

Prompt:
Expected trigger decision:
Expected mode and context inspection:
Expected questions, if any:
Expected artifact or changes:
Expected verification:
Disallowed behavior:

Cover positive, negative, near-miss, incomplete-input, multi-turn, and failure-recovery cases. For a reconstructed skill, include at least one regression case for each major defect being fixed.

When feasible, forward-test the package in a clean context using raw prompts and artifacts. Do not leak the intended answer or audit diagnosis into the test. Compare observed behavior with the expected contract and revise the package when failures expose a generalizable gap.

Package and validate

  1. Keep SKILL.md at the package root and within the repository's line limit.
  2. Confirm the directory name and frontmatter name agree.
  3. Parse frontmatter using the repository validator.
  4. Resolve every relative Markdown link.
  5. Confirm references are directly and conditionally routed from SKILL.md.
  6. Confirm references longer than 100 lines have a contents section.
  7. Run and test deterministic scripts that changed.
  8. Run the repository's skill validator on every touched package.
  9. Re-run representative behavioral evals after structural changes.

Output contract

Deliver:

  • the complete package, including changed resources;
  • a concise behavior summary and trigger boundary;
  • validation and eval results;
  • resources added, removed, or rerouted;
  • preserved behavior and intentional breaking changes;
  • remaining limitations or untested environments.

Read the authoring guide when selecting a multi-file resource structure, designing eval cases, merging packages, or diagnosing portability and routing failures.

View on GitHub ↗
Claude app, ChatGPT and ZIP download

Claude app

This workflow can run in chat using the files and context you provide. Download its complete ZIP, then upload it from Claude's Skills settings.

ChatGPT Skills

This workflow is suitable for ChatGPT Skills. ChatGPT does not document the same upload archive format as Claude, so follow its uploader instead of reusing the Claude ZIP.

Package details
Package
skill-creator/SKILL.md
Author
@tushaarmehtaa
Added
7 Mar 2026
Tags
agent-skillsskill-mdworkflowvalidationpackaging