forked from steipete/agent-rules
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontext-prime.mdc
More file actions
49 lines (40 loc) · 1.31 KB
/
context-prime.mdc
File metadata and controls
49 lines (40 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Context Prime
Prime Claude with comprehensive project understanding.
## Standard Context Loading:
1. Read README.md for project overview
2. Read CLAUDE.md for AI-specific instructions
3. List project files excluding ignored paths
4. Review key configuration files
5. Understand project structure and conventions
## Steps:
1. **Project Overview**:
- Read README.md
- Identify project type and purpose
- Note key technologies and dependencies
2. **AI Guidelines**:
- Read CLAUDE.md if present
- Load project-specific AI instructions
- Note coding standards and preferences
3. **Repository Structure**:
- Run: `git ls-files | head -50` for initial structure
- Identify main directories and their purposes
- Note naming conventions
4. **Configuration Review**:
- Package manager files (package.json, Cargo.toml, etc.)
- Build configuration
- Environment setup
5. **Development Context**:
- Identify test framework
- Note CI/CD configuration
- Review contribution guidelines
## Advanced Options:
- Load specific subsystem context
- Focus on particular technology stack
- Include recent commit history
- Load custom command definitions
## Output:
Establish clear understanding of:
- Project goals and constraints
- Technical architecture
- Development workflow
- Collaboration parameters