microsoft / microsoft/PromptKit

Research: Copilot CLI native integration strategies

Open
#160 0 comments 0 reactions 1 assignee View on GitHub

@abeltrano is already working on this.

Since Apr 1, 2026.

Dominant language
JavaScript
Stars
105
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Summary

Research how to integrate PromptKit natively into GitHub Copilot CLI so it feels like a built-in capability rather than a separate addon. The current workflow requires users to "read and execute bootstrap.md" or run a separate npx promptkit CLI that spawns a child Copilot process — both feel disjointed.

Pain Points Identified

  • Requires separate CLI installation
  • Spawns a child Copilot process, losing existing session context
  • No integration with Copilot's discoverability (/skills, /agent, etc.)
  • Cannot be invoked naturally within an existing session
  • Context discontinuity: When a user generates a PromptKit artifact (e.g., a custom agent) and later needs another PromptKit capability (e.g., bug investigation), they must break out of their current session, losing accumulated context

Research Scope

Evaluate all Copilot CLI extension points for PromptKit integration:

  1. Skills — on-demand task instructions (/promptkit)
  2. Custom Agents — specialized personas with infer: true auto-delegation
  3. MCP Server — deterministic, programmatic assembly
  4. Plugins — distribution vehicle bundling all components
  5. Hooks — lifecycle guardrails and output validation
  6. LSP Configs — enhanced code intelligence for code-analysis templates
  7. Custom Instructions — lightweight always-loaded context

Deliverables

  • Research document (docs/copilot-cli-integration-research.md)
  • Roadmap update (docs/roadmap.md)
  • Requirements document
  • Design document
  • Validation plan
  • Implementation plan

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.