Skip to content

🌐 日本語

FAQ — Frequently Asked Questions and Design Decisions

NOTE

A compilation of specific questions raised in the project's Discussions and their answers. We prioritize the thinking process behind "why we make these decisions."

Configuration Placement Decisions

Q: "Use mcp-mermaid for Mermaid diagrams" — where should this go?

Discussion #14

Conclusion: Write it in CLAUDE.md.

It might seem like it could be written in .claude/rules/ with globs: "**/*.md", but this instruction applies beyond just editing Markdown. Mermaid diagrams may appear in PR descriptions, Issues, comments, and other contexts where glob patterns don't apply.

Reasoning:

PerspectiveContent
Scope of ApplicationShould apply not just to .md files, but across all contexts
File Type DependencyCannot be limited to specific glob patterns
Nature of Instruction"Tool selection policy" = behavior guideline for the entire project

Configuration Placement Flow:

Comparison Examples:

InstructionLocationReason
"Use mcp-mermaid for Mermaid diagrams"CLAUDE.mdProject-wide policy regardless of file type
"Require OnPush change detection in *.component.ts".claude/rules/Limited to specific file type
"Use local Ollama server"CLAUDE.local.mdPersonal environment-specific setting

Related Pages: CLAUDE.md Design Principles, .claude/rules/ Design Principles


Previous: Claude Code Configuration File Reference

New questions or discussions: Discussions

Released under the CC BY 4.0 License.