Skip to content

Add agentic development setup#5

Open
zbowling wants to merge 1 commit into
oculus-samples:mainfrom
zbowling:add-agentic-tooling
Open

Add agentic development setup#5
zbowling wants to merge 1 commit into
oculus-samples:mainfrom
zbowling:add-agentic-tooling

Conversation

@zbowling

Copy link
Copy Markdown

Summary

This PR makes the sample repository agent-ready for Meta Quest / Horizon OS development.

It adds:

  • shared agent instructions in AGENTS.md (tailored to this sample)
  • MCP configuration for hzdb (.mcp.json, .vscode/mcp.json, .cursor/mcp.json)
  • VS Code / Cursor recommendation for the Meta Horizon extension (.vscode/extensions.json)
  • client-specific shims for Claude (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)
  • setup documentation for Meta Quest Agentic Tools (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

  • JSON configuration files validate (.mcp.json, .vscode/mcp.json, .vscode/extensions.json, .cursor/mcp.json, opencode.jsonc)
  • meta.meta-vr-dev appears in .vscode/extensions.json
  • @meta-quest/hzdb appears in .mcp.json, .vscode/mcp.json, .cursor/mcp.json
  • No runtime source code changes; no lockfile or build manifest changes
  • README.md mentions the Meta Horizon extension

Notes

This PR keeps repository-local instructions small and points to the central Meta Quest Agentic Tools repository for the full toolchain.

Copilot AI review requested due to automatic review settings May 27, 2026 20:23
@meta-cla meta-cla Bot added the cla signed label May 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds multi-client “agentic development” configuration and documentation for Meta Quest / Horizon OS workflows, centered around Meta Quest Agentic Tools and the hzdb MCP server.

Changes:

  • Introduces canonical agent instructions (AGENTS.md) plus per-client instruction files (Copilot/Cursor/Claude/Gemini/Windsurf/OpenCode/Aider/Roo/Cline).
  • Adds MCP server configuration (.mcp.json, .cursor/mcp.json) and setup prompts to guide agents toward hzdb.
  • Updates README.md to advertise agent-ready setup steps.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
opencode.jsonc Adds OpenCode config referencing repo instruction file.
docs/AGENTIC_SETUP.md Documents recommended extensions, tools, MCP usage, and client-by-client setup.
README.md Adds “Agent-ready development” section pointing to tools + first prompt.
GEMINI.md Adds Gemini CLI-specific instructions and install commands.
CLAUDE.md Adds Claude Code-specific instructions and points to MCP config.
AGENTS.md Adds canonical agent instructions + project-specific Unity/SDK/build details.
.windsurfrules Adds Windsurf rules to prefer hzdb and repo instructions.
.roo/rules/meta-quest-agentic-tools.md Adds Roo rules pointing to AGENTS.md and hzdb.
.opencode/commands/setup-meta-quest-tools.md Adds OpenCode command doc to install MCP config.
.mcp.json Adds project-level MCP server definition for hzdb.
.github/prompts/setup-meta-quest-agentic-tools.prompt.md Adds a Copilot prompt for agentic setup workflow.
.github/prompts/debug-on-quest.prompt.md Adds a Copilot prompt focused on Quest debugging via hzdb.
.github/instructions/meta-quest.instructions.md Adds GitHub instructions to prefer hzdb/Meta tools across repo.
.github/copilot-instructions.md Adds Copilot-specific instructions + recommended extension/MCP install.
.cursor/rules/meta-quest-agentic-tools.mdc Adds Cursor rule to prioritize hzdb and Meta tools.
.cursor/mcp.json Adds Cursor MCP server definition for hzdb.
.clinerules/meta-quest-agentic-tools.md Adds Cline rules pointing to AGENTS.md and hzdb.
.aider.conf.yml Configures Aider to read AGENTS.md.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/AGENTIC_SETUP.md Outdated
Comment on lines +27 to +38
| 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` |
Comment thread AGENTS.md Outdated
- When debugging multiplayer flows, trace through `ConnectionManager.cs` first, then the `TabletopGameStateMachine`. State authority for tabletop pieces matters — do not assume the local player owns a piece.
- Avoid committing personal `GameSettings.asset`, App IDs, or keystore secrets.

# Agent Instructions for this Meta Quest / Horizon OS Sample
Comment thread .mcp.json
Comment on lines +4 to +5
"command": "npx",
"args": ["-y", "@meta-quest/hzdb", "mcp", "server"]
@zbowling zbowling force-pushed the add-agentic-tooling branch 9 times, most recently from b628b74 to c26c480 Compare May 28, 2026 01:25
Adds repository instructions, MCP configuration, VS Code/Cursor extension recommendations, and setup docs for Meta Quest Agentic Tools.
@zbowling zbowling force-pushed the add-agentic-tooling branch from c26c480 to a7328c9 Compare May 28, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants