Skip to main content
ClaudeWave
Slash Command3.8k repo starsupdated 3mo ago

prime

The prime slash command initializes a new agent session by executing git ls-files to inventory the project, then reading the README and five documentation files covering Claude Code hooks, UV scripts, custom slash commands, and subagents. Use this command at the start of work on the claude-code-hooks-mastery repository to establish shared context about the project's structure and capabilities before performing other tasks.

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/disler/claude-code-hooks-mastery/HEAD/.claude/commands/prime.md -o ~/.claude/commands/prime.md
Then start a new Claude Code session; the slash command loads automatically.

prime.md

# Prime

Run the commands under the `Execute` section to gather information about the project, and then review the files listed under `Read` to understand the project's purpose and functionality then `Report` your findings.

## Execute
- `git ls-files`

## Read
- README.md
- ai_docs/cc_hooks_docs.md
- ai_docs/uv-single-file-scripts.md
- ai_docs/anthropic_custom_slash_commands.md
- ai_docs/anthropic_docs_subagents.md

## Report

- Provide a summary of your understanding of the project