Add agentic development setup#1
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds “agent-ready” configuration and documentation so AI coding agents can use Meta Quest Agentic Tools (hzdb MCP server) consistently across multiple clients/editors.
Changes:
- Introduces canonical agent instructions (
AGENTS.md) and client-specific instruction entry points (Claude, Gemini, GitHub Copilot, OpenCode, etc.). - Adds MCP server configs for VS Code, Cursor, and project-level
.mcp.json. - Updates README + adds setup docs to guide developers through agentic tooling installation and first steps.
Reviewed changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| opencode.jsonc | Configures OpenCode to load repo agent instructions (AGENTS.md). |
| docs/AGENTIC_SETUP.md | Adds consolidated setup guide and a client matrix for agent/MCP configuration. |
| README.md | Adds “Agent-ready development” section pointing to tooling and a starter prompt. |
| GEMINI.md | Adds Gemini CLI-specific instructions referencing AGENTS.md and hzdb. |
| CLAUDE.md | Adds Claude Code-specific instructions referencing AGENTS.md and project MCP config. |
| AGENTS.md | Adds canonical, repo-specific agent instructions + Unity performance sample context. |
| .windsurfrules | Adds Windsurf-specific guidance to follow AGENTS.md and use hzdb. |
| .vscode/mcp.json | Adds VS Code MCP server definition for hzdb via npx. |
| .vscode/extensions.json | Recommends Meta Horizon VS Code/Cursor extension. |
| .roo/rules/meta-quest-agentic-tools.md | Adds Roo Code rules pointing to AGENTS.md and hzdb. |
| .opencode/commands/setup-meta-quest-tools.md | Adds an OpenCode command doc for installing hzdb MCP config. |
| .mcp.json | Adds project-level MCP server definition for hzdb. |
| .github/prompts/setup-meta-quest-agentic-tools.prompt.md | Adds a prompt template to guide agentic setup tasks. |
| .github/prompts/debug-on-quest.prompt.md | Adds a prompt template emphasizing device-first debugging via hzdb. |
| .github/instructions/meta-quest.instructions.md | Adds GitHub instruction file to prefer Meta tooling and avoid generic assumptions. |
| .github/copilot-instructions.md | Adds GitHub Copilot-specific instructions pointing to AGENTS.md + MCP setup. |
| .cursor/rules/meta-quest-agentic-tools.mdc | Adds Cursor rule to prefer Meta tooling and hzdb MCP. |
| .cursor/mcp.json | Adds Cursor MCP server definition for hzdb. |
| .clinerules/meta-quest-agentic-tools.md | Adds Cline rules to follow AGENTS.md and use hzdb. |
| .aider.conf.yml | Configures Aider to read AGENTS.md. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| | Client | Repo file | Recommended setup | | ||
| | -------------- | -------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | | ||
| | VS Code | `.vscode/extensions.json`, `.vscode/mcp.json`, `.github/copilot-instructions.md` | Install `meta.meta-vr-dev`; optionally run `npx -y @meta-quest/hzdb mcp install vscode` | | ||
| | Cursor | `.vscode/extensions.json`, `.cursor/mcp.json`, `.cursor/rules/*` | Install `meta.meta-vr-dev`; optionally run `npx -y @meta-quest/hzdb mcp install cursor` | | ||
| | Claude Code | `.mcp.json`, `CLAUDE.md` | `/plugin marketplace add meta-quest/agentic-tools`; `/plugin install meta-vr@meta-quest` | | ||
| | Gemini CLI | `GEMINI.md` | `gemini extensions install https://github.com/meta-quest/agentic-tools` | | ||
| | GitHub Copilot | `.github/copilot-instructions.md`, `.github/instructions/*`, `.github/prompts/*` | Use the repository instructions and install the recommended VS Code extension | | ||
| | Cline | `.clinerules/*`, `AGENTS.md` | Use `AGENTS.md`; configure MCP if supported | | ||
| | Roo Code | `.roo/rules/*`, `AGENTS.md` | Use `AGENTS.md`; configure MCP if supported | | ||
| | Windsurf | `.windsurfrules` | `npx -y @meta-quest/hzdb mcp install windsurf` | | ||
| | OpenCode | `opencode.jsonc`, `.opencode/*` | `npx -y @meta-quest/hzdb mcp install open-code` | | ||
| | Codex | `AGENTS.md` | `npx -y @meta-quest/hzdb mcp install codex` | |
| "command": "npx", | ||
| "args": ["-y", "@meta-quest/hzdb", "mcp", "server"] |
| ## Agent-ready development | ||
|
|
||
| This sample is configured for AI coding agents. | ||
|
|
||
| For the best experience in VS Code or Cursor, install the Meta Horizon extension: |
|
|
||
| https://marketplace.visualstudio.com/items?itemName=meta.meta-vr-dev | ||
|
|
||
| This repository also includes agent instructions and MCP configuration for Meta Quest Agentic Tools: |
|
|
||
| https://github.com/meta-quest/agentic-tools | ||
|
|
||
| Suggested first prompt: |
|
@zbowling has imported this pull request. If you are a Meta employee, you can view this in D106558622. |
b3cf24c to
9d5e8f6
Compare
Adds repository instructions, MCP configuration, VS Code/Cursor extension recommendations, and setup docs for Meta Quest Agentic Tools.
9d5e8f6 to
407499c
Compare
|
Apologies for the noise on the public side. This repo has an internal source-of-truth, so I'm re-filing the same change there as D106558622 and closing this public PR. The internal diff will reach this repo via the normal shipit path. No action needed from maintainers here. |
|
Closing in favor of internal diff D106558622. |
Summary
This PR makes the sample repository agent-ready for Meta Quest / Horizon OS development.
It adds:
AGENTS.md(tailored to this sample)hzdb(.mcp.json,.vscode/mcp.json,.cursor/mcp.json).vscode/extensions.json)CLAUDE.md), Gemini (GEMINI.md), Cursor (.cursor/rules/*), GitHub Copilot (.github/copilot-instructions.md,.github/instructions/*,.github/prompts/*), Cline (.clinerules/*), Roo (.roo/rules/*), Windsurf (.windsurfrules), OpenCode (opencode.jsonc,.opencode/commands/*), and Aider (.aider.conf.yml)docs/AGENTIC_SETUP.md)Recommended VS Code / Cursor extension:
https://marketplace.visualstudio.com/items?itemName=meta.meta-vr-dev
Meta Quest Agentic Tools:
https://github.com/meta-quest/agentic-tools
Test plan
.mcp.json,.vscode/mcp.json,.vscode/extensions.json,.cursor/mcp.json,opencode.jsonc)meta.meta-vr-devappears in.vscode/extensions.json@meta-quest/hzdbappears in.mcp.json,.vscode/mcp.json,.cursor/mcp.jsonREADME.mdmentions the Meta Horizon extensionNotes
This PR keeps repository-local instructions small and points to the central Meta Quest Agentic Tools repository for the full toolchain.