Skip to content

Add agentic development setup#1

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

Add agentic development setup#1
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:24
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 27, 2026
Copy link
Copy Markdown

Copilot AI left a comment

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 “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.

Comment thread docs/AGENTIC_SETUP.md
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 .mcp.json
Comment on lines +4 to +5
"command": "npx",
"args": ["-y", "@meta-quest/hzdb", "mcp", "server"]
Comment thread README.md
Comment on lines +56 to +60
## 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:
Comment thread README.md

https://marketplace.visualstudio.com/items?itemName=meta.meta-vr-dev

This repository also includes agent instructions and MCP configuration for Meta Quest Agentic Tools:
Comment thread README.md

https://github.com/meta-quest/agentic-tools

Suggested first prompt:
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 27, 2026

@zbowling has imported this pull request. If you are a Meta employee, you can view this in D106558622.

@zbowling zbowling force-pushed the add-agentic-tooling branch from b3cf24c to 9d5e8f6 Compare May 27, 2026 22:13
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 9d5e8f6 to 407499c Compare May 27, 2026 22:15
@zbowling
Copy link
Copy Markdown
Author

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.

@zbowling
Copy link
Copy Markdown
Author

Closing in favor of internal diff D106558622.

@zbowling zbowling closed this May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants