Skip to main content

Overview

Context loading commands help Claude understand your project structure, domain-specific terminology, and development conventions. By priming Claude with the right context, you get more accurate and project-appropriate responses.

Comprehensive Context Priming

/context-prime

by elizaOSPrimes Claude with comprehensive project understanding by loading repository structure, setting development context, establishing project goals, and defining collaboration parameters.

/prime

by yzyydevSets up initial project context by viewing directory structure and reading key files, creating standardized context with directory visualization and key documentation focus.

/rsi

by ddisistoReads all commands and key project files to optimize AI-assisted development by streamlining the process, loading command context, and setting up for better development workflow.

Documentation & Reference Loading

/initref

by okuvshynovInitializes reference documentation structure with standard doc templates, API reference setup, documentation conventions, and placeholder content generation.

/load-llms-txt

by ethpandaopsLoads LLM configuration files to context, importing specific terminology, model configurations, and establishing baseline terminology for AI discussions.

Domain-Specific Context

/load_coo_context

by Mjvolk3References specific files for sparse matrix operations, explains transform usage, compares with previous approaches, and sets data formatting context for development.

/load_dango_pipeline

by Mjvolk3Sets context for model training by referencing pipeline files, establishing working context, and preparing for pipeline work with relevant documentation.

Why Context Loading Matters

Accurate Responses

Claude provides more relevant and project-appropriate suggestions when properly primed with context.

Consistent Standards

Loading project conventions ensures Claude follows your team’s coding standards and patterns.

Domain Knowledge

Domain-specific context helps Claude understand specialized terminology and concepts.

Faster Development

Well-primed context reduces back-and-forth clarifications and speeds up development.

Context Loading Workflow

A recommended workflow for loading context:
  1. Initial Priming: Start with /context-prime or /prime for overall project context
  2. Load Documentation: Use /initref or /load-llms-txt for reference materials
  3. Domain Context: Apply domain-specific commands like /load_coo_context as needed
  4. Refresh Context: Use /rsi to reload context when switching between project areas

Best Practices

When using context loading commands:
  • Prime Early: Load context at the beginning of each session for best results
  • Be Selective: Load only relevant context to avoid overwhelming Claude
  • Update Regularly: Refresh context when project structure or conventions change
  • Combine Commands: Use multiple context commands for comprehensive coverage
  • Document Patterns: Create custom context commands for recurring project patterns

Build docs developers (and LLMs) love