Skip to content

Commit 82e6433

Browse files
authored
refactor: standardize file naming to use dashes instead of underscores (#1094)
Rename output/template files and update all references to use kebab-case (dashes) instead of snake_case (underscores) for consistency: - project_context.md -> project-context.md (13 references) - backlog_template.md -> backlog-template.md - agent_commands.md -> agent-commands.md - agent_persona.md -> agent-persona.md - agent_purpose_and_type.md -> agent-purpose-and-type.md
1 parent be7e07c commit 82e6433

File tree

13 files changed

+15
-15
lines changed

13 files changed

+15
-15
lines changed

src/modules/bmb/workflows/create-agent/templates/agent_commands.md renamed to src/modules/bmb/workflows/create-agent/templates/agent-commands.md

File renamed without changes.

src/modules/bmb/workflows/create-agent/templates/agent_persona.md renamed to src/modules/bmb/workflows/create-agent/templates/agent-persona.md

File renamed without changes.

src/modules/bmb/workflows/create-agent/templates/agent_purpose_and_type.md renamed to src/modules/bmb/workflows/create-agent/templates/agent-purpose-and-type.md

File renamed without changes.

src/modules/bmgd/workflows/4-production/code-review/backlog_template.md renamed to src/modules/bmgd/workflows/4-production/code-review/backlog-template.md

File renamed without changes.

src/modules/bmgd/workflows/4-production/code-review/instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ Review was saved to story file, but sprint-status.yaml may be out of sync.
330330
<action>All action items are included in the standalone review report</action>
331331
<ask if="action items exist">Would you like me to create tracking items for these action items? (backlog/tasks)</ask>
332332
<action if="user confirms">
333-
If {{backlog_file}} does not exist, copy {installed_path}/backlog_template.md to {{backlog_file}} location.
333+
If {{backlog_file}} does not exist, copy {installed_path}/backlog-template.md to {{backlog_file}} location.
334334
Append a row per action item with Date={{date}}, Story="Ad-Hoc Review", Epic="N/A", Type, Severity, Owner (or "TBD"), Status="Open", Notes with file refs and context.
335335
</action>
336336
</check>
@@ -342,7 +342,7 @@ Review was saved to story file, but sprint-status.yaml may be out of sync.
342342
Append under the story's "Tasks / Subtasks" a new subsection titled "Review Follow-ups (AI)", adding each item as an unchecked checkbox in imperative form, prefixed with "[AI-Review]" and severity. Example: "- [ ] [AI-Review][High] Add input validation on server route /api/x (AC #2)".
343343
</action>
344344
<action>
345-
If {{backlog_file}} does not exist, copy {installed_path}/backlog_template.md to {{backlog_file}} location.
345+
If {{backlog_file}} does not exist, copy {installed_path}/backlog-template.md to {{backlog_file}} location.
346346
Append a row per action item with Date={{date}}, Story={{epic_num}}.{{story_num}}, Epic={{epic_num}}, Type, Severity, Owner (or "TBD"), Status="Open", Notes with short context and file refs.
347347
</action>
348348
<action>

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

0 commit comments

Comments
 (0)