agentsclimarketplace

Create skill

Skill ai-hero/hero-skills/skills/create-skill

Create a new Claude Code skill, subagent, rule, or hook. Guides through trigger conditions, success criteria, and writes a well-structured SKILL.md. Use when extending Claude.From its SKILL.md

Install
npx -y skills add ai-hero/hero-skills --skill create-skill

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.0 KB, as published. Nobody here has run it

Create Skill — Create Claude Code Components

Create skills and other components that extend Claude's capabilities.

Arguments

  • $ARGUMENTS — Description of what you want the skill to do

Core Principles

Context is Precious — Only add what Claude cannot infer: company-specific schemas, proprietary workflows, domain knowledge, tool integrations.

Match Freedom to Fragility:

Freedom LevelWhen to UseExample
High (prose)Multiple valid approaches"Review code for security issues"
Medium (pseudocode)Preferred pattern, some variation OK"Run pre-commit, then commit"
Low (exact scripts)Fragile ops, consistency critical"Execute this exact migration"

Component Types

TypeLocationUse When
Skill.claude/skills/[name]/SKILL.mdWorkflows, guidelines
Subagent.claude/agents/[name].mdIsolated execution
Rule.claude/rules/[name].mdAlways-on constraints
Hooksettings.jsonEvent-triggered automation

User-level skills go in ~/.claude/skills/ for cross-project availability.

Frontmatter

---
name: verb-object
# prettier-ignore
description: What it does AND when to trigger it. (50-200 chars)
argument-hint: [args]
# Omit for skills meant to be model-invocable / chained by an orchestrator
# like one-shot — a user-only skill cannot be called via the Skill tool.
disable-model-invocation: true
---

Body Guidelines

  • Target: Under 500 lines, under 5k words
  • Include: Procedures Claude cannot infer, decision trees, tool integrations
  • Exclude: Explanations Claude already knows

Anti-patterns

Don'tDo Instead
"When to Use" section in bodyPut triggers in frontmatter description
1000-line SKILL.mdSplit into supplementary reference files
Duplicate info across filesSingle source of truth
Lowercase angle bracket placeholdersUse UPPER_CASE (e.g., PROJECT_NAME)

Instructions

Step 0: Load Configuration

ROOT=$(git rev-parse --show-toplevel 2>/dev/null || pwd)
cat "$ROOT/HERO.md" 2>/dev/null || echo "NO_HERO_CONFIG"

Use HERO.md to understand the project's stack and conventions when creating skills that reference project-specific tools.

Step 1: Understand the Goal

Ask for:

  1. What should this do? (use a verb-object name — e.g., deploy-service, notify-slack)
  2. When should it trigger? (what signals or user requests)
  3. What does success look like?

Step 2: Plan the Component

Identify what files are needed:

skill-name/
├── SKILL.md              # Required: frontmatter + instructions
├── scripts/              # Deterministic, reusable code
├── references/           # Domain docs loaded on-demand
└── assets/               # Output templates

Step 3: Create the Files

mkdir -p .claude/skills/SKILL_NAME

Write SKILL.md with frontmatter and instructions.

Step 4: Validate

  • Name follows verb-object pattern (e.g., deploy-service)
  • Description has trigger context (50-200 chars)
  • Body is under 500 lines
  • No lowercase angle bracket placeholders
  • Referenced files in supplementary-files exist

Step 5: Summary

Create Skill Summary
====================
Component: skill | subagent | rule | hook
Name: SKILL_NAME
Location: PATH

Created:
  - SKILL.md (N lines)

Test: Invoke with hero-skills:SKILL_NAME in a new conversation

Next step: hero-skills:audit-plugin — check the new skill's quality and wiring (print only — model-invocation-restricted, cannot auto-run)

Don't also print hero-skills:push-pr; audit-plugin's own next-steps already lead there.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.