Skip to content

Add agentic development setup#7

Open
zbowling wants to merge 1 commit into
meta-quest:mainfrom
zbowling:add-agentic-tooling
Open

Add agentic development setup#7
zbowling wants to merge 1 commit into
meta-quest:mainfrom
zbowling:add-agentic-tooling

Conversation

@zbowling
Copy link
Copy Markdown
Member

@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 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 for Meta Quest Agentic Tools (hzdb MCP server) across multiple AI clients/editors, plus helper setup scripts for macOS/Linux and Windows.

Changes:

  • Add cross-client MCP configuration files (VS Code, Cursor, project .mcp.json, OpenCode, etc.) pointing to npx -y @meta-quest/hzdb mcp server.
  • Add agent instruction docs and client-specific guidance (AGENTS.md, CLAUDE.md, GEMINI.md, docs/AGENTIC_SETUP.md, prompts/rules).
  • Add setup/installer scripts for MCP client configs (scripts/setup-agentic-tools.sh, scripts/setup-agentic-tools.ps1).

Reviewed changes

Copilot reviewed 22 out of 22 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
scripts/setup-agentic-tools.sh Adds a bash helper to install hzdb MCP config for a chosen client target.
scripts/setup-agentic-tools.ps1 Adds a PowerShell helper to install hzdb MCP config for a chosen client target.
opencode.jsonc Adds OpenCode config referencing repo instructions.
docs/AGENTIC_SETUP.md Adds centralized setup documentation for multiple clients/editors.
README.md Adds an “Agent-ready development” section with recommended extension and first prompt.
GEMINI.md Adds Gemini client instructions and install commands.
CLAUDE.md Adds Claude client instructions and where to find project MCP config.
AGENTS.md Adds canonical agent instructions + build/run workflow notes for this sample.
.windsurfrules Adds Windsurf rules pointing to AGENTS and hzdb MCP install.
.vscode/mcp.json Adds VS Code MCP server config for hzdb.
.vscode/extensions.json Recommends the Meta Horizon extension in VS Code/Cursor.
.roo/rules/meta-quest-agentic-tools.md Adds Roo rules pointing to AGENTS and hzdb MCP usage.
.opencode/commands/setup-meta-quest-tools.md Adds an OpenCode command doc to install hzdb MCP config.
.mcp.json Adds repo-level MCP config for hzdb.
.github/prompts/setup-meta-quest-agentic-tools.prompt.md Adds a Copilot prompt to guide agentic setup and workflow discovery.
.github/prompts/debug-on-quest.prompt.md Adds a Copilot prompt for Quest-focused debugging using hzdb first.
.github/instructions/meta-quest.instructions.md Adds GitHub instructions to prefer Meta tools + hzdb MCP over generic advice.
.github/copilot-instructions.md Adds Copilot instructions highlighting Meta tools, hzdb MCP, and AGENTS.md.
.cursor/rules/meta-quest-agentic-tools.mdc Adds Cursor rules and recommended hzdb MCP install command.
.cursor/mcp.json Adds Cursor MCP server config for hzdb.
.clinerules/meta-quest-agentic-tools.md Adds Cline rules pointing to AGENTS and hzdb MCP usage.
.aider.conf.yml Configures aider to read AGENTS.md first.

💡 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 README.md
@@ -23,3 +23,21 @@ Then, to build and run a sample:
## License

The code for Project Flowerbed is licenced under the **Apache 2.0 Licence**, as found in the LICENSE file.
Comment thread README.md
@@ -23,3 +23,21 @@ Then, to build and run a sample:
## License

The code for Project Flowerbed is licenced under the **Apache 2.0 Licence**, as found in the LICENSE file.
Comment thread AGENTS.md Outdated
- The README's license paragraph mentions "Project Flowerbed" by mistake — the project is the Passthrough Camera samples, licensed under Apache 2.0. Do not propagate that typo into new docs.
- Camera-feed access on Quest is sensitive: keep any sample code aligned with Meta's Passthrough Camera API usage guidance (search the developer docs before changing capture or transform logic).

# Agent Instructions for this Meta Quest / Horizon OS Sample
Comment thread scripts/setup-agentic-tools.ps1 Outdated

if ($valid -notcontains $Target) {
Write-Error "Unknown target: $Target"
Write-Host "Valid targets: $($valid -join ', ')"
@zbowling zbowling force-pushed the add-agentic-tooling branch 10 times, most recently from 114f316 to 95d186f 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 95d186f to 7f0d14f Compare May 28, 2026 01:35
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