Add Development Constitution (copilot-instructions.md) with Agent-Embedded Skills
Problem
ODrive lacks a copilot-instructions.md file. When developers start new Copilot chat sessions, there's no baseline instruction to establish project values, principles, or guidance on available agents/capabilities.
Proposed Solution
Two-part architecture:
-
copilot-instructions.md — Development constitution + agent registry
- Core principles and values (300-400 words)
- How to use Copilot effectively
- Directory of available agents with descriptions
- Single entry point for new chats
-
Agent files with embedded Skills sections
- Each agent includes a
## Skills section containing task-specific context
- Self-contained: agent definition + tactical guidance in one file
- Auto-loaded when agent is invoked (e.g.,
@firmware-engineer)
- No separate primer files; everything is in
.github/agents/
Acceptance Criteria
Constitution File
Agent Skills Sections
Update or create agents with embedded Skills sections:
Each Skills Section Should Include
Documentation
Testing
| Test Case |
Action |
Expected Outcome |
| Constitution Loading |
Load copilot-instructions.md in new Copilot chat |
File is clear, actionable, and under 2K tokens |
| Agent Invocation |
Invoke agent (e.g., @firmware-engineer) |
Skills section loads; agent persona and context are present |
| Slash Command |
Test invocation via slash command (e.g., /firmware-optimize) |
Slash command resolves to agent; agent + skills appear in response |
| Context Switching |
Switch between agents mid-chat |
Context adapts correctly; previous agent context doesn't bleed into new agent |
Add Development Constitution (
copilot-instructions.md) with Agent-Embedded SkillsProblem
ODrive lacks a
copilot-instructions.mdfile. When developers start new Copilot chat sessions, there's no baseline instruction to establish project values, principles, or guidance on available agents/capabilities.Proposed Solution
Two-part architecture:
copilot-instructions.md— Development constitution + agent registryAgent files with embedded Skills sections
## Skillssection containing task-specific context@firmware-engineer).github/agents/Acceptance Criteria
Constitution File
.github/instructions/copilot-instructions.md@firmware-engineer) users can invokeAgent Skills Sections
Update or create agents with embedded Skills sections:
workspace.agent.md: Add "Workspace Development Context" skillproject-lead.agent.md: Add "Project Orchestration Context" skillfirmware-engineer.agent.md: Add "Firmware Development Context" skillqa-engineer.agent.md: Add "QA & Testing Context" skill (create if missing)hardware-engineer.agent.md: Add "Hardware Design Context" skillmotor-control-engineer.agent.md: Add "Motor Control Context" skillEach Skills Section Should Include
Documentation
copilot-instructions.mdfor new developers@agent-nameor/slash-command)copilot-instructions.mdin new chat, then use available agents"Testing
copilot-instructions.mdin new Copilot chat@firmware-engineer)/firmware-optimize)