diff --git a/bmad-agile-workflow/agents/bmad-architect.md b/bmad-agile-workflow/agents/bmad-architect.md index 9f9b924..602a05f 100644 --- a/bmad-agile-workflow/agents/bmad-architect.md +++ b/bmad-agile-workflow/agents/bmad-architect.md @@ -427,6 +427,10 @@ Generate architecture document at `./.claude/specs/{feature_name}/02-system-arch ## Important Behaviors +### Language Rules: +- **Language Matching**: Output language matches user input (Chinese input → Chinese doc, English input → English doc). When language is ambiguous, default to Chinese. +- **Technical Terms**: Keep technical terms (API, REST, GraphQL, JWT, RBAC, etc.) in English; translate explanatory text only. + ### DO: - Start by reviewing and referencing the PRD - Present initial architecture based on requirements diff --git a/bmad-agile-workflow/agents/bmad-dev.md b/bmad-agile-workflow/agents/bmad-dev.md index bfeb4a2..a535211 100644 --- a/bmad-agile-workflow/agents/bmad-dev.md +++ b/bmad-agile-workflow/agents/bmad-dev.md @@ -419,6 +419,10 @@ logger.info('User created', { ## Important Implementation Rules +### Language Rules: +- **Language Matching**: Output language matches user input (Chinese input → Chinese doc, English input → English doc). When language is ambiguous, default to Chinese. +- **Technical Terms**: Keep technical terms (API, CRUD, JWT, SQL, etc.) in English; translate explanatory text only. + ### DO: - Follow architecture specifications exactly - Implement all acceptance criteria from PRD diff --git a/bmad-agile-workflow/agents/bmad-orchestrator.md b/bmad-agile-workflow/agents/bmad-orchestrator.md index 7558c48..a9d61e1 100644 --- a/bmad-agile-workflow/agents/bmad-orchestrator.md +++ b/bmad-agile-workflow/agents/bmad-orchestrator.md @@ -22,6 +22,10 @@ You are the BMAD Orchestrator. Your core focus is repository analysis, workflow - Consistency: ensure conventions and patterns discovered in scan are preserved downstream - Explicit handoffs: clearly document assumptions, risks, and integration points for other agents +### Language Rules: +- **Language Matching**: Output language matches user input (Chinese input → Chinese doc, English input → English doc). When language is ambiguous, default to Chinese. +- **Technical Terms**: Keep technical terms (API, PRD, Sprint, etc.) in English; translate explanatory text only. + ## UltraThink Repository Scan When asked to analyze the repository, follow this structure and return a clear, actionable summary. diff --git a/bmad-agile-workflow/agents/bmad-po.md b/bmad-agile-workflow/agents/bmad-po.md index 4c552a9..e7323c5 100644 --- a/bmad-agile-workflow/agents/bmad-po.md +++ b/bmad-agile-workflow/agents/bmad-po.md @@ -313,6 +313,10 @@ Generate PRD at `./.claude/specs/{feature_name}/01-product-requirements.md`: ## Important Behaviors +### Language Rules: +- **Language Matching**: Output language matches user input (Chinese input → Chinese doc, English input → English doc). When language is ambiguous, default to Chinese. +- **Technical Terms**: Keep technical terms (API, Sprint, PRD, KPI, MVP, etc.) in English; translate explanatory text only. + ### DO: - Start immediately with greeting and initial understanding - Show quality scores transparently diff --git a/bmad-agile-workflow/agents/bmad-qa.md b/bmad-agile-workflow/agents/bmad-qa.md index 834c738..6264ee3 100644 --- a/bmad-agile-workflow/agents/bmad-qa.md +++ b/bmad-agile-workflow/agents/bmad-qa.md @@ -478,6 +478,10 @@ module.exports = { ## Important Testing Rules +### Language Rules: +- **Language Matching**: Output language matches user input (Chinese input → Chinese doc, English input → English doc). When language is ambiguous, default to Chinese. +- **Technical Terms**: Keep technical terms (API, E2E, CI/CD, Mock, etc.) in English; translate explanatory text only. + ### DO: - Test all acceptance criteria from PRD - Cover happy path, edge cases, and error scenarios diff --git a/bmad-agile-workflow/agents/bmad-review.md b/bmad-agile-workflow/agents/bmad-review.md index 2b8df57..ea32067 100644 --- a/bmad-agile-workflow/agents/bmad-review.md +++ b/bmad-agile-workflow/agents/bmad-review.md @@ -45,3 +45,7 @@ You are an independent code review agent responsible for conducting reviews betw - Focus on actionable findings - Provide specific QA guidance - Use clear, parseable output format + +### Language Rules: +- **Language Matching**: Output language matches user input (Chinese input → Chinese doc, English input → English doc). When language is ambiguous, default to Chinese. +- **Technical Terms**: Keep technical terms (API, PRD, Sprint, etc.) in English; translate explanatory text only. diff --git a/bmad-agile-workflow/agents/bmad-sm.md b/bmad-agile-workflow/agents/bmad-sm.md index 0042634..945874f 100644 --- a/bmad-agile-workflow/agents/bmad-sm.md +++ b/bmad-agile-workflow/agents/bmad-sm.md @@ -351,6 +351,10 @@ So that [benefit] ## Important Behaviors +### Language Rules: +- **Language Matching**: Output language matches user input (Chinese input → Chinese doc, English input → English doc). When language is ambiguous, default to Chinese. +- **Technical Terms**: Keep technical terms (Sprint, Epic, Story, Backlog, Velocity, etc.) in English; translate explanatory text only. + ### DO: - Read both PRD and Architecture documents thoroughly - Create comprehensive task breakdown diff --git a/requirements-driven-workflow/agents/requirements-code.md b/requirements-driven-workflow/agents/requirements-code.md index 0881f65..2a4531d 100644 --- a/requirements-driven-workflow/agents/requirements-code.md +++ b/requirements-driven-workflow/agents/requirements-code.md @@ -104,6 +104,10 @@ You adhere to core software engineering principles like KISS (Keep It Simple, St ## Implementation Constraints +### Language Rules +- **Language Matching**: Output language matches user input (Chinese input → Chinese doc, English input → English doc). When language is ambiguous, default to Chinese. +- **Technical Terms**: Keep technical terms (API, SQL, CRUD, etc.) in English; translate explanatory text only. + ### MUST Requirements - **Working Solution**: Code must fully implement the specified functionality - **Integration Compatibility**: Must work seamlessly with existing codebase diff --git a/requirements-driven-workflow/agents/requirements-generate.md b/requirements-driven-workflow/agents/requirements-generate.md index b60fee3..272525e 100644 --- a/requirements-driven-workflow/agents/requirements-generate.md +++ b/requirements-driven-workflow/agents/requirements-generate.md @@ -88,6 +88,10 @@ Each phase should be independently deployable and testable. ## Key Constraints +### Language Rules +- **Language Matching**: Output language matches user input (Chinese input → Chinese doc, English input → English doc). When language is ambiguous, default to Chinese. +- **Technical Terms**: Keep technical terms (API, SQL, CRUD, etc.) in English; translate explanatory text only. + ### MUST Requirements - **Direct Implementability**: Every item must be directly translatable to code - **Specific Technical Details**: Include exact file paths, function names, table schemas diff --git a/requirements-driven-workflow/agents/requirements-review.md b/requirements-driven-workflow/agents/requirements-review.md index 85a604f..5fa62f3 100644 --- a/requirements-driven-workflow/agents/requirements-review.md +++ b/requirements-driven-workflow/agents/requirements-review.md @@ -176,6 +176,10 @@ You adhere to core software engineering principles like KISS (Keep It Simple, St ## Key Constraints +### Language Rules +- **Language Matching**: Output language matches user input (Chinese input → Chinese doc, English input → English doc). When language is ambiguous, default to Chinese. +- **Technical Terms**: Keep technical terms (API, E2E, CI/CD, etc.) in English; translate explanatory text only. + ### MUST Requirements - **Functional Verification**: Verify all specified functionality works - **Integration Testing**: Ensure seamless integration with existing code diff --git a/requirements-driven-workflow/agents/requirements-testing.md b/requirements-driven-workflow/agents/requirements-testing.md index ef07905..00c83af 100644 --- a/requirements-driven-workflow/agents/requirements-testing.md +++ b/requirements-driven-workflow/agents/requirements-testing.md @@ -199,6 +199,10 @@ func TestAPIEndpoint(t *testing.T) { ## Key Constraints +### Language Rules +- **Language Matching**: Output language matches user input (Chinese input → Chinese doc, English input → English doc). When language is ambiguous, default to Chinese. +- **Technical Terms**: Keep technical terms (API, E2E, CI/CD, Mock, etc.) in English; translate explanatory text only. + ### MUST Requirements - **Specification Coverage**: Must test all requirements from `./.claude/specs/{feature_name}/requirements-spec.md` - **Critical Path Testing**: Must test all critical business functionality