Skip to content

feat: multi-agent support (GitHub Copilot, Cursor + extensible registry)#12

Open
AhmedHdeawy wants to merge 1 commit intoAZidan:mainfrom
AhmedHdeawy:feat/multi-agent-support
Open

feat: multi-agent support (GitHub Copilot, Cursor + extensible registry)#12
AhmedHdeawy wants to merge 1 commit intoAZidan:mainfrom
AhmedHdeawy:feat/multi-agent-support

Conversation

@AhmedHdeawy
Copy link
Copy Markdown

Summary

  • Add agent-registry.yaml — a single YAML file that is the only thing needed to support a new AI coding agent (paths, detection, MCP method, instruction format)
  • init and onboard now detect installed agents and generate the right files for each
  • setup-mcp now guides non-Claude-Code users through manual MCP config with exact JSON snippets

Supported agents

Agent Instruction file Skills MCP
Claude Code CLAUDE.md .claude/skills/ claude mcp add (CLI)
GitHub Copilot (VS Code) .github/copilot-instructions.md .github/skills/ Manual .vscode/mcp.json
Cursor .cursor/rules/archflow.mdc .cursor/rules/ Manual .cursor/mcp.json
All agents AGENTS.md (universal open standard)

Adding a new agent in the future

Add one block to agent-registry.yaml. Zero changes to any command file.

Notes

  • All file writes are idempotent — re-running init or onboard is safe
  • Cursor rules use .mdc format with alwaysApply: true frontmatter
  • Copilot detection uses .vscode/ path (the gh-copilot CLI extension was retired Oct 2025)
  • Cursor detection uses which cursor CLI check + .cursor/ path as soft signal

Archflow now detects installed AI coding agents and generates the
correct configuration files for each, with a registry-driven
abstraction that makes adding new agents a single YAML edit.

Changes:
- Add plugin/skills/archflow/agent-registry.yaml — single source of
  truth for all agent paths, detection methods, MCP install strategy,
  hooks support, and instruction file format
- init.md: write AGENTS.md (universal open standard) + CLAUDE.md, then
  detect additional agents and generate their files (Step 5)
- onboard.md: Step C5 writes AGENTS.md, CLAUDE.md, and per-agent files
  for all detected agents; git commit stages all written files
- setup-mcp.md: new Multi-Agent MCP Setup section guides GitHub Copilot
  users to .vscode/mcp.json and Cursor users to .cursor/mcp.json

Supported agents:
- Claude Code → CLAUDE.md, .claude/skills/, hooks
- GitHub Copilot (VS Code) → .github/copilot-instructions.md, .github/skills/
- Cursor → .cursor/rules/archflow.mdc (alwaysApply: true), .cursor/rules/
- All agents → AGENTS.md (always generated)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@AhmedHdeawy
Copy link
Copy Markdown
Author

@AZidan please check and let me know if I forgot anything else other than skills and MCP for the agents.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant