This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
A personal collection of reusable Claude Code skills and commands, installed globally via symlinks to ~/.claude/skills/ and ~/.claude/commands/.
- Top-level skill folders (
refactor-components/,refactor-code/,pr-comments/,pr-review/): Custom skills authored in this repo. Each contains aSKILL.md. commands/: Custom slash commands (.mdfiles) —/commit,/pr,/sync-env-to-github.skills/: Git submodule pointing to Anthropic's skills repo. Contains theskill-creatorskill and many reference skills. This is a separate git repo — do not modify files inside it directly.install.sh/uninstall.sh: Symlink management scripts that link skill folders and command files into~/.claude/.
install.sh iterates top-level directories containing a SKILL.md file (skipping hidden dirs and commands/), creating symlinks in ~/.claude/skills/. It also symlinks each .md file in commands/ to ~/.claude/commands/. The uninstall.sh script reverses this by removing only symlinks that point back to this repo.
A skill is a directory with a SKILL.md file containing YAML frontmatter (name, description, optional disable-model-invocation, argument-hint) followed by markdown instructions. Place new skill directories at the repo root, then re-run ./install.sh.
A command is a single .md file in commands/ with YAML frontmatter (allowed-tools, description, optional argument-hint) followed by markdown instructions. The filename (minus .md) becomes the slash command name.
- Skills use
disable-model-invocation: truewhen they should only run through explicit user invocation. - Commands declare
allowed-toolsin frontmatter to specify which tools they can use (e.g.,Bash(git add:*)). - The
/commitcommand uses conventional commit format:type(scope): description. - The
/prcommand always targetsmainas the base branch.