Files
tst-claude-code-samples/.claude/commands/sc/load.md
2025-07-21 14:31:56 +09:00

33 lines
1.1 KiB
Markdown

---
allowed-tools: [Read, Grep, Glob, Bash, Write]
description: "Load and analyze project context, configurations, and dependencies"
---
# /sc:load - Project Context Loading
## Purpose
Load and analyze project context, configurations, dependencies, and environment setup.
## Usage
```
/sc:load [target] [--type project|config|deps|env] [--cache]
```
## Arguments
- `target` - Project directory or specific configuration to load
- `--type` - Loading type (project, config, deps, env)
- `--cache` - Cache loaded context for faster subsequent access
- `--refresh` - Force refresh of cached context
## Execution
1. Discover and analyze project structure and configuration files
2. Load dependencies, environment variables, and settings
3. Parse and validate configuration consistency
4. Create comprehensive project context map
5. Cache context for efficient future access
## Claude Code Integration
- Uses Glob for comprehensive project discovery
- Leverages Read for configuration analysis
- Applies Bash for environment validation
- Maintains efficient context caching mechanisms