Skip to content

Commit d832ef0

Browse files
gabadiclaude
andcommitted
fix: correct project_context.md references to project-context.md
The codebase uses project-context.md (with hyphen) as the standard filename, but several files incorrectly referenced project_context.md (with underscore). This fixes 13 occurrences across 8 files: - dev.agent.yaml - generate-project-context workflow files (workflow.md, step-01, step-02, step-03) - architecture workflow files (step-01-init.md, step-08-complete.md) - dev-story/checklist.md 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 55cb468 commit d832ef0

File tree

8 files changed

+13
-13
lines changed

8 files changed

+13
-13
lines changed

src/modules/bmm/agents/dev.agent.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ agent:
2424
2525
critical_actions:
2626
- "READ the entire story file BEFORE any implementation - tasks/subtasks sequence is your authoritative implementation guide"
27-
- "Load project_context.md if available for coding standards only - never let it override story requirements"
27+
- "Load project-context.md if available for coding standards only - never let it override story requirements"
2828
- "Execute tasks/subtasks IN ORDER as written in story file - no skipping, no reordering, no doing what you want"
2929
- "For each task/subtask: follow red-green-refactor cycle - write failing test first, then implementation"
3030
- "Mark task/subtask [x] ONLY when both implementation AND tests are complete and passing"

src/modules/bmm/workflows/3-solutioning/architecture/steps/step-01-init.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Discover and load context documents using smart discovery:
9494

9595
**Project Context Rules (Critical for AI Agents):**
9696

97-
1. Check for project context file: `**/project_context.md`
97+
1. Check for project context file: `**/project-context.md`
9898
2. If exists: Load COMPLETE file contents - this contains critical rules for AI agents
9999
3. Add to frontmatter `hasProjectContext: true` and track file path
100100
4. Report to user: "Found existing project context with {number_of_rules} agent rules"

src/modules/bmm/workflows/3-solutioning/architecture/steps/step-08-complete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ Your architecture will ensure consistent, high-quality implementation across all
280280
281281
**💡 Optional Enhancement: Project Context File**
282282
283-
Would you like to create a `project_context.md` file? This is a concise, optimized guide for AI agents that captures:
283+
Would you like to create a `project-context.md` file? This is a concise, optimized guide for AI agents that captures:
284284
285285
- Critical language and framework rules they might miss
286286
- Specific patterns and conventions for your project
@@ -310,7 +310,7 @@ This will help ensure consistent implementation by capturing:
310310
- Testing and quality standards
311311
- Anti-patterns to avoid
312312
313-
The workflow will collaborate with you to create an optimized `project_context.md` file that AI agents will read before implementing any code."
313+
The workflow will collaborate with you to create an optimized `project-context.md` file that AI agents will read before implementing any code."
314314

315315
**Execute the Generate Project Context workflow:**
316316

src/modules/bmm/workflows/4-implementation/dev-story/checklist.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ validation-rules:
3535
- [ ] **Acceptance Criteria Satisfaction:** Implementation satisfies EVERY Acceptance Criterion in the story
3636
- [ ] **No Ambiguous Implementation:** Clear, unambiguous implementation that meets story requirements
3737
- [ ] **Edge Cases Handled:** Error conditions and edge cases appropriately addressed
38-
- [ ] **Dependencies Within Scope:** Only uses dependencies specified in story or project_context.md
38+
- [ ] **Dependencies Within Scope:** Only uses dependencies specified in story or project-context.md
3939

4040
## 🧪 Testing & Quality Assurance
4141

src/modules/bmm/workflows/generate-project-context/steps/step-01-discover.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Discover the project's technology stack, existing patterns, and critical impleme
3333

3434
First, check if project context already exists:
3535

36-
- Look for file at `{output_folder}/project_context.md`
36+
- Look for file at `{output_folder}/project-context.md`
3737
- If exists: Read complete file to understand existing rules
3838
- Present to user: "Found existing project context with {number_of_sections} sections. Would you like to update this or create a new one?"
3939

@@ -122,7 +122,7 @@ Based on discovery, create or update the context document:
122122

123123
#### A. Fresh Document Setup (if no existing context)
124124

125-
Copy template from `{installed_path}/project-context-template.md` to `{output_folder}/project_context.md`
125+
Copy template from `{installed_path}/project-context-template.md` to `{output_folder}/project-context.md`
126126
Initialize frontmatter with:
127127

128128
```yaml

src/modules/bmm/workflows/generate-project-context/steps/step-02-generate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ After each category, show the generated rules and present choices:
288288

289289
## APPEND TO PROJECT CONTEXT:
290290

291-
When user selects 'C' for a category, append the content directly to `{output_folder}/project_context.md` using the structure from step 8.
291+
When user selects 'C' for a category, append the content directly to `{output_folder}/project-context.md` using the structure from step 8.
292292

293293
## SUCCESS METRICS:
294294

src/modules/bmm/workflows/generate-project-context/steps/step-03-complete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Based on user skill level, present the completion:
134134
**Expert Mode:**
135135
"Project context complete. Optimized for LLM consumption with {{rule_count}} critical rules across {{section_count}} sections.
136136

137-
File saved to: `{output_folder}/project_context.md`
137+
File saved to: `{output_folder}/project-context.md`
138138

139139
Ready for AI agent integration."
140140

@@ -227,7 +227,7 @@ Present final completion to user:
227227
"✅ **Project Context Generation Complete!**
228228

229229
Your optimized project context file is ready at:
230-
`{output_folder}/project_context.md`
230+
`{output_folder}/project-context.md`
231231

232232
**📊 Context Summary:**
233233

src/modules/bmm/workflows/generate-project-context/workflow.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
name: generate-project-context
3-
description: Creates a concise project_context.md file with critical rules and patterns that AI agents must follow when implementing code. Optimized for LLM context efficiency.
3+
description: Creates a concise project-context.md file with critical rules and patterns that AI agents must follow when implementing code. Optimized for LLM context efficiency.
44
---
55

66
# Generate Project Context Workflow
77

8-
**Goal:** Create a concise, optimized `project_context.md` file containing critical rules, patterns, and guidelines that AI agents must follow when implementing code. This file focuses on unobvious details that LLMs need to be reminded of.
8+
**Goal:** Create a concise, optimized `project-context.md` file containing critical rules, patterns, and guidelines that AI agents must follow when implementing code. This file focuses on unobvious details that LLMs need to be reminded of.
99

1010
**Your Role:** You are a technical facilitator working with a peer to capture the essential implementation rules that will ensure consistent, high-quality code generation across all AI agents working on the project.
1111

@@ -37,7 +37,7 @@ Load config from `{project-root}/{bmad_folder}/bmm/config.yaml` and resolve:
3737

3838
- `installed_path` = `{project-root}/{bmad_folder}/bmm/workflows/generate-project-context`
3939
- `template_path` = `{installed_path}/project-context-template.md`
40-
- `output_file` = `{output_folder}/project_context.md`
40+
- `output_file` = `{output_folder}/project-context.md`
4141

4242
---
4343

0 commit comments

Comments
 (0)