feat(workflow): add context acquisition steps for handoff contract in agent workflows
This commit is contained in:
2
.github/agents/Backend_Dev.agent.md
vendored
2
.github/agents/Backend_Dev.agent.md
vendored
@@ -16,6 +16,8 @@ Your priority is writing code that is clean, tested, and secure by default.
|
||||
<workflow>
|
||||
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)**:
|
||||
|
||||
2
.github/agents/Frontend_Dev.agent.md
vendored
2
.github/agents/Frontend_Dev.agent.md
vendored
@@ -17,6 +17,8 @@ You do not just "make it work"; you make it **feel** professional, responsive, a
|
||||
<workflow>
|
||||
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).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user