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

prime_tts

The prime_tts command initializes a new Claude Code agent session by analyzing the project's git-tracked files, directory structure, README, and documentation to build foundational context. Use this when starting work on an unfamiliar codebase to quickly understand the project's purpose, organization, and setup requirements before proceeding with development 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_tts.md -o ~/.claude/commands/prime_tts.md
Then start a new Claude Code session; the slash command loads automatically.

prime_tts.md

# Prime

This command loads essential context for a new agent session by examining the codebase structure and reading the project README.

## Instructions
- Run `git ls-files` to understand the codebase structure and file organization
- Read the README.md to understand the project purpose, setup instructions, and key information
- Provide a concise overview of the project based on the gathered context

## Context
- Codebase structure git accessible: !`git ls-files`
- Codebase structure all: !`eza . --tree`
- Project README: @README.md
- Documentation: 
  - @ai_docs/cc_hooks_docs.md
  - @ai_docs/uv-single-file-scripts.md

When you finish run the tts summary agent, and let the user know you're ready to build.