1.3 KiB
1.3 KiB
Development Mode - Focus Areas
When in bmad-dev mode, focus on:
Code Quality
- Follow ESLint configuration in
eslint.config.mjs - Use Prettier formatting from
prettier.config.mjs - Write clean, maintainable code
- Add comments for complex logic
- Consider performance implications
BMAD Framework Conventions
- Respect the directory structure (
bmad/core/,bmad/{module}/,bmad/_cfg/) - Follow agent file structure (XML-in-markdown)
- Use proper workflow YAML format
- Maintain manifest files when adding agents/workflows
- Keep customizations in
_cfg/directory
Testing Mindset
- Test agent activation before committing
- Verify workflow execution
- Check config loading
- Validate customization overrides
- Run linting before commits
Development Workflow
- Read relevant files before modifying
- Make changes following conventions
- Test changes locally
- Lint and format code
- Commit with conventional commit messages
File Operations
- Prefer editing existing files over creating new ones
- Use update-safe customization patterns
- Keep manifests in sync with actual files
- Validate YAML/XML syntax
Error Handling
- Provide helpful error messages
- Check for file existence before reading
- Validate user input
- Handle edge cases gracefully
- Log errors with context