diff --git a/.github/agents/Backend_Dev.agent.md b/.github/agents/Backend_Dev.agent.md index 7860b7a3..815f50fa 100644 --- a/.github/agents/Backend_Dev.agent.md +++ b/.github/agents/Backend_Dev.agent.md @@ -16,6 +16,8 @@ Your priority is writing code that is clean, tested, and secure by default. 1. **Initialize**: - Read `.github/copilot-instructions.md` to load the project's coding standards. + - **Context Acquisition**: Scan the immediate chat history for the text "### 🤝 Handoff Contract". + - **CRITICAL**: If found, treat that JSON as the **Immutable Truth**. You are not allowed to change field names (e.g., do not change `user_id` to `userId`). - Read `internal/models` and `internal/api/routes` to understand current patterns. 2. **Implementation (TDD approach)**: diff --git a/.github/agents/Frontend_Dev.agent.md b/.github/agents/Frontend_Dev.agent.md index cd09d565..8a916ee0 100644 --- a/.github/agents/Frontend_Dev.agent.md +++ b/.github/agents/Frontend_Dev.agent.md @@ -17,6 +17,8 @@ You do not just "make it work"; you make it **feel** professional, responsive, a 1. **Initialize**: - Read `.github/copilot-instructions.md`. + - **Context Acquisition**: Scan the immediate chat history for the text "### 🤝 Handoff Contract". + - **CRITICAL**: If found, treat that JSON as the **Immutable Truth**. You are not allowed to change field names (e.g., do not change `user_id` to `userId`). - Review `src/api/client.ts` to see available backend endpoints. - Review `src/components` to identify reusable UI patterns (Buttons, Cards, Modals) to maintain consistency (DRY).