Skip to content

Add VS Code workspace example #25

Description

@sampleXbro

What problem does this solve?

Many AgentsMesh users run multiple AI assistants inside VS Code — GitHub Copilot, Cursor (as a fork), and Claude Code (via terminal or extension). They want to:

  • Open the repo and immediately benefit from JSON Schema autocomplete for agentsmesh.yaml, mcp.json, hooks.yaml, permissions.yaml, and pack manifests.
  • Get sensible defaults for the .agentsmesh/ file watchers.
  • See a recommended VS Code task or launch configuration that runs agentsmesh generate and agentsmesh check.

There is no canned example today, so each user has to wire this up from scratch.

Proposed solution

Add an examples/vscode-workspace/ directory with:

  • .vscode/settings.json enabling YAML/JSON schema validation against the schemas under node_modules/agentsmesh/schemas/ (or the published schema URLs).
  • .vscode/tasks.json defining agentsmesh: generate, agentsmesh: diff, and agentsmesh: check tasks.
  • .vscode/extensions.json recommending the YAML and JSON Schema extensions.
  • A small .agentsmesh/ scaffold tuned for VS Code + Copilot + Cursor.
  • A short README.md walkthrough explaining each file and how to extend it.

Acceptance criteria

  • examples/vscode-workspace/ exists and opens in VS Code without warnings.
  • Editing agentsmesh.yaml, mcp.json, hooks.yaml, or permissions.yaml shows IDE-level schema validation.
  • Tasks: Run Task → agentsmesh: generate works out of the box.
  • Tasks: Run Task → agentsmesh: check returns 0 on a fresh clone with committed canonical state.
  • Example README.md lists every recommended setting and why.
  • Main repo docs link to the example from the IDE/editor section.

Alternatives considered

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions