3.7 KiB
3.7 KiB
Task: Update Agent Knowledge
Description
Extract key project information from existing documentation and update agent knowledge files and customization strings to make all BMAD agents more effective with project-specific context.
Input Required
- Project Brief (if available)
- PRD (if available)
- Architecture document (if available)
- Tech Stack document (if available)
- Other project artifacts
Steps
-
Extract Key Project Information
- Review all available project documents
- Extract technology stack choices
- Identify architecture patterns and decisions
- Gather data models and sources
- Note testing frameworks and strategies
- Collect deployment and infrastructure requirements
- Capture project-specific terminology and domain knowledge
-
Create or Update Knowledge Files
- Create
.aidirectory if it doesn't exist - Update or create
.ai/project-context.mdusing the template attemplates/project-context-tmpl.md - Update or create
.ai/tech-stack.mdusing the template attemplates/tech-stack-tmpl.md - Update or create
.ai/data-models.mdusing the template attemplates/data-models-tmpl.md - Update or create
.ai/deployment-info.mdusing the template attemplates/deployment-info-tmpl.md - Populate each file with information extracted from project documents
- Create
-
Generate Agent Customization Strings
- For Developer agents:
Specialized in [PRIMARY_LANGUAGES] for [PROJECT_TYPE]. Using [FRAMEWORKS], [DATABASES], and following [PATTERNS] architecture. - For Data Scientist:
Working with [DATA_SOURCES] data. Project requires [ANALYSIS_TYPES] and [MODEL_TYPES] models. - For DevOps Engineer:
Managing deployment to [ENVIRONMENTS] using [CI_CD_TOOLS]. Infrastructure includes [INFRASTRUCTURE_COMPONENTS]. - For QA Tester:
Testing [APPLICATION_TYPE] with focus on [TESTING_TYPES]. Using [TESTING_TOOLS] for automation.
- For Developer agents:
-
Update Configuration Files
- Update
ide-bmad-orchestrator.cfg.mdwith new customization strings - Update
web-bmad-orchestrator-agent.cfg.mdwith new customization strings - Ensure all agents reference the knowledge files correctly
- Update
-
Update Knowledge Version History
- Create or update
.ai/knowledge-versions.mdusing the template attemplates/knowledge-version-tmpl.md - Increment version number appropriately based on change significance:
- Major: Significant changes to project direction or core architecture
- Minor: New features or components added to existing architecture
- Patch: Refinements or clarifications to existing information
- Document all changes made to knowledge files
- Analyze potential impact of changes on development, testing, and deployment
- Create or update
-
Cross-Reference Knowledge
- Add cross-references between related pieces of information
- Ensure consistent terminology across all knowledge files
- Document any assumptions or dependencies between knowledge areas
-
Verify Knowledge Integration
- Confirm all knowledge files are properly formatted
- Check that all agents can access the knowledge files
- Verify configuration updates are correctly applied
Output
- Updated agent configuration files
- New or updated knowledge files in
.aidirectory - Knowledge version history update
- Summary of changes made to agent knowledge
Validation Criteria
- All agents have accurate project-specific knowledge
- Knowledge files are comprehensive and well-structured
- Configuration updates maintain the correct format
- Knowledge is consistent across all artifacts
- Version history accurately reflects changes
- Cross-references maintain knowledge coherence