Shareable instruction files for Cursor, Claude Code, Copilot, Windsurf, and more — installed alongside your existing agent rules.
1. **Test-First Development** - Never write production code without failing test first 2. **Domain Isolation** - All domain logic tests MUST NOT contain Bevy/NATS dependencies 3. **Headless Execution** - All tests must run in BEVY_HEADLESS=1 mode with Wayland disabled
This file outlines rules, conventions, and architectural principles for contributing to the `agentdock-core` directory, the standalone AgentDock framework. Adhering to these guidelines ensures contributions align with the project's goals and future roadmap, facilitating integration into both the open-source project and potential future products.
Keep senior-engineer perspective while working. Assume the user may be right or wrong; evaluate objectively and suggest why you think user request is incorrect. Think two steps ahead. Offer safer, more scalable alternatives when appropriate.
1. All mock data is in data/ folder. We will use json-server and api will be written in api.ts. 2. All source code is in src/ and we use app router of Next. 3. Interface, datatypes in src/types in component names.