Skip to content

feat: add GitHub Copilot CLI adapter#24

Merged
shreyas-lyzr merged 1 commit intomainfrom
feat/copilot-adapter
Mar 16, 2026
Merged

feat: add GitHub Copilot CLI adapter#24
shreyas-lyzr merged 1 commit intomainfrom
feat/copilot-adapter

Conversation

@shreyas-lyzr
Copy link
Contributor

@shreyas-lyzr shreyas-lyzr commented Mar 16, 2026

Summary

  • Adds copilot export format to gitagent export -f copilot
  • Generates .github/agents/<name>.agent.md with YAML frontmatter (description, tools) and full agent instructions (SOUL, RULES, DUTIES, skills, knowledge, compliance)
  • Generates .github/skills/<name>/SKILL.md files as passthrough from gitagent skills

Closes #18

Test plan

  • npm run build passes
  • gitagent export -f copilot -d examples/full produces valid output with frontmatter, skills, knowledge, and compliance sections
  • Verify output works in a repo with GitHub Copilot CLI installed

Add `copilot` format to `gitagent export` that generates `.github/agents/<name>.agent.md`
and `.github/skills/<name>/SKILL.md` files compatible with GitHub Copilot CLI.

The adapter maps gitagent's SOUL.md, RULES.md, DUTIES.md, skills, knowledge,
and compliance constraints into Copilot's agent.md format with YAML frontmatter.

Closes #18

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@shreyas-lyzr shreyas-lyzr merged commit 0ba5985 into main Mar 16, 2026
3 checks passed
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.

[Adapter] GitHub Copilot CLI Support

1 participant