Skip to content

Add agentic development setup#46

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

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

Conversation

@zbowling
Copy link
Copy Markdown

@zbowling zbowling commented May 27, 2026

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:12
@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 cross-editor “agentic” configuration and setup guidance for Meta Quest / Horizon OS development, centered around Meta Quest Agentic Tools and the hzdb MCP server.

Changes:

  • Introduces AGENTS.md plus client-specific instruction/prompt files (Copilot, Cursor, Claude, Gemini, Windsurf, Roo, Cline, OpenCode, Aider).
  • Adds MCP server configs (.mcp.json, .cursor/mcp.json) and OpenCode config (opencode.jsonc).
  • Adds helper scripts to install MCP config via npx @meta-quest/hzdb and documents setup in README/docs.

Reviewed changes

Copilot reviewed 20 out of 20 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
scripts/setup-agentic-tools.sh Bash helper to install hzdb MCP config for a chosen client/target
scripts/setup-agentic-tools.ps1 PowerShell helper to install hzdb MCP config for a chosen client/target
opencode.jsonc OpenCode configuration pointing at repo instructions
docs/AGENTIC_SETUP.md Central documentation for agentic setup across multiple clients
README.md Adds “Agent-ready development” section and first-prompt guidance
GEMINI.md Gemini CLI instructions pointing to Agentic Tools + hzdb MCP
CLAUDE.md Claude instructions pointing to Agentic Tools + project MCP config
AGENTS.md Canonical agent instructions + repo stack/build/run context
.windsurfrules Windsurf rule file directing use of hzdb MCP and AGENTS.md
.roo/rules/meta-quest-agentic-tools.md Roo rules pointing to AGENTS.md and hzdb usage
.opencode/commands/setup-meta-quest-tools.md OpenCode command doc for installing hzdb MCP config
.mcp.json Project-level MCP server configuration for hzdb
.github/prompts/setup-meta-quest-agentic-tools.prompt.md Copilot prompt to guide setup and workflow discovery
.github/prompts/debug-on-quest.prompt.md Copilot prompt to guide Quest debugging with hzdb
.github/instructions/meta-quest.instructions.md GitHub instruction file to prefer Meta tooling and hzdb
.github/copilot-instructions.md Copilot-specific instructions + recommended MCP install command
.cursor/rules/meta-quest-agentic-tools.mdc Cursor rule file preferring Meta tooling and hzdb
.cursor/mcp.json Cursor MCP server configuration for hzdb
.clinerules/meta-quest-agentic-tools.md Cline rules pointing to AGENTS.md and hzdb usage
.aider.conf.yml Aider config 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 scripts/setup-agentic-tools.sh Outdated

case "$target" in
project|vscode|vscode-insiders|cursor|claude-code|claude-desktop|gemini-cli|windsurf|zed|android-studio|codex|open-code|lm-studio|antigravity)
npx -y @meta-quest/hzdb mcp install "$target"
Comment thread scripts/setup-agentic-tools.ps1 Outdated
exit 1
}

npx -y @meta-quest/hzdb mcp install $Target
Comment thread scripts/setup-agentic-tools.sh Outdated
Comment on lines +5 to +15

case "$target" in
project|vscode|vscode-insiders|cursor|claude-code|claude-desktop|gemini-cli|windsurf|zed|android-studio|codex|open-code|lm-studio|antigravity)
npx -y @meta-quest/hzdb mcp install "$target"
;;
*)
echo "Unknown target: $target" >&2
echo "Valid targets: project, vscode, vscode-insiders, cursor, claude-code, claude-desktop, gemini-cli, windsurf, zed, android-studio, codex, open-code, lm-studio, antigravity" >&2
exit 1
;;
esac
Comment thread scripts/setup-agentic-tools.sh Outdated
Comment on lines +5 to +15

case "$target" in
project|vscode|vscode-insiders|cursor|claude-code|claude-desktop|gemini-cli|windsurf|zed|android-studio|codex|open-code|lm-studio|antigravity)
npx -y @meta-quest/hzdb mcp install "$target"
;;
*)
echo "Unknown target: $target" >&2
echo "Valid targets: project, vscode, vscode-insiders, cursor, claude-code, claude-desktop, gemini-cli, windsurf, zed, android-studio, codex, open-code, lm-studio, antigravity" >&2
exit 1
;;
esac
Comment thread scripts/setup-agentic-tools.ps1 Outdated
Comment on lines +18 to +19
"lm-studio",
"antigravity"
Comment thread README.md
## Agent-ready development

This sample is configured for AI coding agents.

@zbowling zbowling force-pushed the add-agentic-tooling branch 10 times, most recently from eb237c8 to dbe5199 Compare May 28, 2026 01:24
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 dbe5199 to b214d1e Compare May 28, 2026 01:35
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