.agents/skills/github-create-label/SKILL.md
Create GitHub issue labels using intelligent tool selection. Automatically leverages tools in order of precedence (GitHub MCP Server → GitHub CLI → REST API). Use when you need to create new labels in a repository with optional customization (name, description, color). Includes support for detecting available authentication methods and graceful fallback between tools.
npx skillsauth add prulloac/git-blame-vsc github-create-labelInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create GitHub issue labels using the best available tool with automatic tool selection.
Use this skill when you need to:
Input: "Create a label called 'bug' with description 'Something isn't working' and color d73a4a"
Process:
Input: "Create these labels: bug (red #d73a4a), enhancement (cyan #a2eeef), documentation (blue #0075ca)"
Process:
The skill attempts label creation in this precedence order:
Best for: Integrated Claude workflows When available: Claude with GitHub tools enabled Advantages: Native integration, no external tools needed
Best for: Local development, interactive workflows
When available: gh command installed and authenticated
Command: gh label create --name --description --color
Requirements:
gh command installedgh auth loginBest for: CI/CD, automation, programmatic access
When available: GITHUB_TOKEN or GH_TOKEN environment variable set
Endpoint: POST /repos/{owner}/{repo}/labels
Requirements:
GITHUB_TOKEN or GH_TOKEN environment variablerepo scopedescription (string): Label description
color (string): Hex color code
bug: d73a4a (red)
"Something isn't working"
help wanted: 008672 (dark green)
"Extra attention is needed"
enhancement: a2eeef (cyan)
"New feature or request"
good first issue: 7057ff (purple)
"Good for newcomers"
documentation: 0075ca (blue)
"Improvements or additions to documentation"
question: cc317c (purple)
"Further information is requested"
wontfix: ffffff (white)
"This will not be worked on"
invalid: e4e669 (yellow)
"This doesn't seem right"
# GitHub CLI authentication (handled by gh auth login)
# No manual setup needed
# REST API authentication
export GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxx
# or
export GH_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxx
The skill automatically detects:
User Input: "Set up standard labels for bug tracking and feature management"
Process:
User Input: "Create a label for security issues with color ff0000"
Process:
User Input: Create label (gh CLI not installed)
Process:
User Input: Create labels from a list
Process:
For detailed information about:
The skill handles these common errors gracefully:
| Error | Solution |
|-------|----------|
| "gh: not found" | Install GitHub CLI from https://cli.github.com |
| "Not authenticated" | Run gh auth login to authenticate |
| "GITHUB_TOKEN not set" | Set GITHUB_TOKEN environment variable |
| "Repository not found" | Verify git remote is configured correctly |
| "Label already exists" | Use different name or update existing label |
| "Invalid color format" | Use 6-character hex code (e.g., d73a4a) |
| "Name too long" | Keep label name under 50 characters |
When using this skill in Claude tasks:
I need to set up labels for this repository.
Create these labels:
- bug (red, "Something isn't working")
- enhancement (cyan, "New feature or request")
- documentation (blue, "Documentation improvements")
- help wanted (dark green, "Extra attention needed")
The skill will:
tools
Guide for creating Visual Studio Code extensions/plugins. Use when users want to build VS Code extensions, add functionality to VS Code, create language support, add themes, build webviews, implement debuggers, or any VS Code plugin development task. Helps navigate VS Code Extension API documentation and provides guidance on extension capabilities, project setup, and best practices.
development
Validate agent system prompts (such as agents.md) for being objective-driven, clear, readable, free of duplicated intentions, without missing or broken links, and ensuring required sections like general agentic guidelines, code review, and code generation are present. Use when validating or reviewing agent prompt files.
testing
Validate agent skills for correctness, readability, workflow clarity, and isolation, ensuring they can be installed independently without dependencies on other skills.
tools
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.