You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add first-class GitHub Copilot support to mxcli init
Register 'copilot' in SupportedTools so 'mxcli init --tool copilot'
generates .github/copilot-instructions.md — Copilot's project-level
instructions file that VS Code automatically loads.
The generated file is compact (Copilot has a smaller instruction
context window than Claude Code) and includes:
- Critical ./mxcli (not mxcli) rule
- Quick command examples (SHOW STRUCTURE, check, exec, search)
- MDL syntax reminders (entities, microflow vars, page widgets)
- Pointers to AGENTS.md and .ai-context/skills/ for full reference
Also works with 'mxcli add-tool copilot' for existing projects.
Closes#183
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
GitHub Copilot works with mxcli out of the box via the universal `AGENTS.md`file — no dedicated `--tool` flag is needed. Copilot's agent mode in VS Code automatically reads markdown files in the project root, so after running `mxcli init`, Copilot has access to the full MDL reference and skill files.
89
+
GitHub Copilot has dedicated support via `--tool copilot`, which generates `.github/copilot-instructions.md`— Copilot's project-level instructions file that's automatically loaded in VS Code.
90
90
91
91
```bash
92
-
# Any mxcli init creates AGENTS.md, which Copilot reads automatically
93
-
mxcli init /path/to/project
92
+
mxcli init --tool copilot /path/to/project
94
93
```
95
94
96
-
For many organizations, Copilot is the default AI assistant as part of their Microsoft/GitHub enterprise agreement. mxcli supports this by ensuring the universal files (`AGENTS.md`, `.ai-context/skills/`) provide enough context for Copilot to work effectively with MDL.
95
+
The generated file is compact (Copilot has a smaller instruction context window than Claude Code) and points to `AGENTS.md` and `.ai-context/skills/` for full reference material. It includes the critical `./mxcli` (not `mxcli`) rule, quick command examples, and MDL syntax reminders.
97
96
98
-
To use: open the project in VS Code with the GitHub Copilot extension, open Copilot Chat (Ctrl+Shift+I), and ask for Mendix changes. Copilot will reference `AGENTS.md` and the skill files for MDL syntax guidance.
97
+
For many organizations, Copilot is the default AI assistant as part of their Microsoft/GitHub enterprise agreement. To use: open the project in VS Code with the GitHub Copilot extension, open Copilot Chat (Ctrl+Shift+I), and ask for Mendix changes. Copilot will reference `.github/copilot-instructions.md`, `AGENTS.md`, and the skill files for MDL syntax guidance.
0 commit comments