agentleFS
ArenukvernArenukvern/mcp_flutter/.cursor/rules/faq_usage.mdc

mcp_flutter / rules

Cursor rule385 starsChanged 5 months agoMITView on GitHub

Quick reference for when to use DESIGN_FAQ.md vs DX_FAQ.md. **Q: What is DESIGN_FAQ.md for?** A: Explains WHY design decisions were made. Use when maintaining the ECS codebase, understanding architectural choices, or making changes that affect core systems. Answers questions like "Why do we use archetypes?" or "Why is flush order important?" **Q: What is DX_FAQ.md for?** A: Explains HOW to use the ECS API. Use when writing application code, creating systems, or learning the API. Answers questions like "How do…

The file

Files
faq_usage.mdc
---
alwaysApply: true
---

# FAQ Documentation Usage Guide

Quick reference for when to use DESIGN_FAQ.md vs DX_FAQ.md.

**Q: What is DESIGN_FAQ.md for?**
A: Explains WHY design decisions were made. Use when maintaining the ECS codebase, understanding architectural choices, or making changes that affect core systems. Answers questions like "Why do we use archetypes?" or "Why is flush order important?"

**Q: What is DX_FAQ.md for?**
A: Explains HOW to use the ECS API. Use when writing application code, creating systems, or learning the API. Answers questions like "How do I query entities?" or "How do I create a schedule?"

**Q: What format should DX_FAQ.md use?**
A: **Memory Palace Format** - Spatial organization with mental "locations" (🏠 World Hub, 🏭 Entity Factory, etc.) containing embedded code patterns. This format is optimized for AI agent memory retention through spatial associations and instant recall.

**Q: When should I reference DESIGN_FAQ.md?**
A: When you need to understand:

- Architectural rationale (why archetypes, why SoA, why generational IDs)
- Performance trade-offs (why auto-flush, why column abstraction)
- Internal design decisions (why flush order, why command queue)
- Making changes to core ECS systems

**Q: When should I reference DX_FAQ.md?**
A: When you need to know:

- How to use the API (queries, schedules, entity access)
- Code examples for common tasks
- Practical usage patterns
- Writing application code (not maintaining ECS itself)

**Q: Can I use both FAQs together?**
A: Yes. DESIGN_FAQ explains why `WorldEntity` vs `WorldEntityMut` exist, while DX_FAQ shows how to use them. They complement each other - no duplication.

**Q: Which FAQ should I update?**
A: Update DESIGN_FAQ.md when making architectural changes or design decisions. Update DX_FAQ.md when adding new API features or improving developer experience examples.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.