Skip to content

docs: add CLAUDE.md developer guidance file#2216

Open
TheophilusChinomona wants to merge 2 commits intobmad-code-org:mainfrom
TheophilusChinomona:claude/read-claude-docs-tNzL8
Open

docs: add CLAUDE.md developer guidance file#2216
TheophilusChinomona wants to merge 2 commits intobmad-code-org:mainfrom
TheophilusChinomona:claude/read-claude-docs-tNzL8

Conversation

@TheophilusChinomona
Copy link
Copy Markdown

What

Added CLAUDE.md to provide comprehensive guidance for Claude Code when working in this repository, covering project overview, common commands, architecture, conventions, and important notes.

Why

This file serves as a reference document for AI assistants and developers working with the BMad Method framework, ensuring consistency in understanding the project structure, tooling, and conventions. It reduces onboarding friction and helps maintain code quality standards across contributions.

How

  • Created CLAUDE.md with sections covering project overview, common npm commands, directory architecture, key conventions (YAML, formatting, Node version), commit message prefixes, pre-commit hooks, and important development notes
  • Documented all major npm scripts and their purposes
  • Outlined the content/configuration-focused nature of the framework
  • Included practical guidance on PR size, file references, and test fixtures

Testing

N/A - This is documentation content with no functional code changes.

https://claude.ai/code/session_013pCjcYme5oQzb13a9uGDHQ

Provides Claude Code with project context, common commands, architecture overview,
coding conventions, and development workflow information.

https://claude.ai/code/session_013pCjcYme5oQzb13a9uGDHQ
Copilot AI review requested due to automatic review settings April 5, 2026 12:55
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 5, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 94dc84e7-2126-43b1-994c-5020447c4236

📥 Commits

Reviewing files that changed from the base of the PR and between 28aa522 and d34c9c5.

📒 Files selected for processing (1)
  • CLAUDE.md

📝 Walkthrough

Walkthrough

A new CLAUDE.md documentation file was added to the repository. This file provides comprehensive guidance for Claude Code, including project scope, standard npm commands for testing and validation, repository architecture, coding conventions, commit message standards, and contribution guidelines.

Changes

Cohort / File(s) Summary
Documentation
CLAUDE.md
New documentation file providing repository guidance, conventions, npm commands, architecture overview, and contribution guidelines for Claude Code integration.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and concisely describes the main change: adding a new CLAUDE.md documentation file for developer guidance.
Description check ✅ Passed The description is clearly related to the changeset, providing comprehensive context about the documentation file's purpose, content, and rationale.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a CLAUDE.md repository guidance document intended to help AI assistants and developers work effectively in this repo by documenting commands, architecture, and conventions.

Changes:

  • Introduces CLAUDE.md with project overview and repo architecture notes
  • Documents common npm scripts (tests, validation, lint/format, docs)
  • Captures key conventions (YAML extension/quoting, formatting, Node version, commit prefixes, hooks)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- File references in CSV files are validated by `npm run validate:refs` - keep them in sync
- PR target is `main` (trunk-based development)
- PRs should be 200-400 lines (max 800 excluding generated files)
- The `website/` directory is excluded from linting
Copy link

Copilot AI Apr 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"The website/ directory is excluded from linting" is ambiguous/partly inaccurate: it is excluded from ESLint via eslint.config.mjs ignores, but npm run lint:md will still lint website/**/*.md (and CI also builds docs). Consider clarifying this bullet to "excluded from ESLint" (or specifying which tools ignore it).

Suggested change
- The `website/` directory is excluded from linting
- The `website/` directory is excluded from ESLint; markdownlint still applies to `website/**/*.md`

Copilot uses AI. Check for mistakes.
Comment on lines +13 to +20
### Run all checks (equivalent to CI)

```bash
npm test
```

This runs, in order: schema tests, file ref tests, installation tests, schema validation, ESLint, markdownlint, and Prettier checks.

Copy link

Copilot AI Apr 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section describes npm test as "equivalent to CI", but CI runs additional checks that npm test does not (e.g., npm run validate:refs and npm run docs:build in .github/workflows/quality.yaml). Either adjust the wording to reflect that npm test is a subset, or update the commands listed here to match CI more closely.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot apply changes based on this feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants