This folder contains custom slash commands for Claude Code.
Custom commands are user-defined operations that extend Claude Code's functionality. They are defined as Markdown files in ~/.claude/commands/ and can be invoked using /command-name in any Claude Code session.
File: cp.md
A workflow command that automates the git commit and push process with intelligent commit message generation.
What it does:
- Stages all changes (
git add .) - Analyzes the staged changes
- Generates a descriptive commit message following the repo's existing style
- Creates the commit with Claude Code attribution
- Pushes to the current branch
Usage:
/cp
Allowed tools: git add, git status, git diff, git commit, git push, git log
File: info.md
An intelligent command that analyzes any repository type (code, meeting transcripts, documents, or data) and generates an adaptive INFO.md summary that reflects the actual content.
What it does:
- Discovers all files recursively using smart filtering:
- Includes: all source code, documentation (.md, .txt, .rst, .pdf), configs, data files
- Excludes: dependencies (node_modules, .git), build artifacts, images, lock files
- Detects repository type by analyzing file composition and content:
- Code Repository (>40% source files or has package.json/requirements.txt)
- Meeting Repository (>40% transcripts or frequent meeting keywords)
- Document Repository (>60% docs, <20% code)
- Data Repository (>40% data files)
- Mixed Repository (diverse content)
- Generates adaptive INFO.md with content-specific sections:
- Code repos: Technologies, dependencies, project structure, functionality, setup
- Meeting repos: Key decisions, topics/themes, action items with ownership, participants, timeline
- Document repos: Document types, main themes, key information
- Mixed repos: Combined sections relevant to present content types
Key Features:
- PDF support for documentation and meeting transcripts
- Extracts action items with ownership from meetings (e.g., "Sarah will complete API docs")
- Identifies key decisions ("decided to", "agreed that")
- Finds TODO/FIXME comments in code
- Maps project structure and technologies automatically
- Generates scannable, comprehensive summaries
Usage:
/info
Best for: Small projects (<100 files) across any domain - codebases, meeting folders, documentation collections, research repos
Allowed tools: Glob, Grep, Read, Write
File: resize-app-store.md
Resizes screenshot images to App Store dimensions based on orientation.
What it does:
- Finds images with "portrait" in the filename and resizes to 1242x2688
- Finds images with "landscape" in the filename and resizes to 2688x1242
- Verifies the dimensions after resizing
Usage:
/resize-app-store /path/to/screenshots
Allowed tools: sips
To create a new command:
- Create a new
.mdfile in this directory (e.g.,my-command.md) - Add frontmatter with optional
allowed-toolsanddescription - Write the prompt/instructions in Markdown
- Use the command with
/my-command
---
allowed-tools: Bash(command:*)
description: Short description of what the command does
---
## Context
- Relevant context using !`shell commands`
## Task
Instructions for Claude Code to follow...