cc-add-skill | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / cc-add-skill

cc-add-skill

maintained by lambdalisue

star 41 account_tree 4 verified_user MIT License
bolt View GitHub

name: cc-add-skill allowed-tools: Read, Write, Glob, Bash(ls:), Bash(mkdir:) argument-hint: name description... description: Create a global Claude Code skill in ~/.claude/skills model: sonnet

Arguments

$ARGUMENTS = {name} {description...}

Parse the arguments:

  • Name: Skill name (first token) - will become the directory name
  • Description: What the skill provides (everything else)

Target Directory

~/.claude/skills/{name}/SKILL.md

Workflow

  1. Parse - Extract name and description from arguments
  2. Analyze - Determine:
    • Core conventions and patterns to include
    • Key practices and anti-patterns
    • Testing approach if applicable
  3. Draft - Create the skill file with:
    • Frontmatter: name, description
    • Concise, actionable conventions
    • Code examples where helpful
  4. Confirm - Show the proposed file path and content
  5. STOP - Wait for user approval (use AskUserQuestion)
  6. Create - Only after approval, create the skill directory and SKILL.md

Skill Format

---
name: { name }
description: { Brief description ending with period }
---

## Conventions

- **Key Area**: Guidance
- ...

## Patterns

{Code examples if applicable}

## Anti-patterns

- Avoid X because Y

Examples

Input: /cc-add-skill python Python idioms and best practices Output: ~/.claude/skills/python/SKILL.md

Input: /cc-add-skill react React component patterns and hooks Output: ~/.claude/skills/react/SKILL.md

Content Guidelines

Analyze the {description} to understand the intended purpose, then write the skill file content:

  • In English, optimized for AI comprehension
  • Use clear, imperative language
  • Focus on actionable instructions rather than verbose explanations

Begin

Parse $ARGUMENTS and create the appropriate skill file. Ask for user approval before writing.

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 41
GitHub Forks 4
Created Mar 2026
Last Updated il y a 3 mois
tools tools ide plugins

Related Skills

writing-skills
chevron_right
codex
chevron_right
smart-illustrator
chevron_right
collaborating-with-codex
chevron_right
code-review-router
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.