# github/copilot-plugins architecture

> Architecture diagram of the GitHub repository github/copilot-plugins, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/github/copilot-plugins
- Repository: https://github.com/github/copilot-plugins

## Overview

This repository is a GitHub Copilot plugin collection, not a conventional application. Its documented product is a marketplace of skills, hooks, and externally hosted plugins. The tree identifies two local plugins: build-perf-cpp, with a skill and hooks, and spark, with a skill. Source excerpts were unavailable, so the graph shows only relationships explicitly stated in the root README; it does not infer runtime calls or connect individual plugin components.

Main entry points: [`README.md`](https://github.com/github/copilot-plugins/blob/main/README.md) (Plugin collection)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_local["Local plugins"]
  node_collection["Plugin collection<br/>[README.md]"]
  node_buildperf["Build performance"]
  node_buildskill["Performance skill<br/>[SKILL.md]"]
  node_buildhooks["Build hooks<br/>[hooks.json]"]
  node_spark["Spark templates<br/>[SKILL.md]"]
end

subgraph group_external["External plugins"]
  node_externalplugins["Hosted plugins<br/>[README.md]"]
end

node_copilot(("GitHub Copilot"))

node_collection -->|"extends"| node_copilot
node_collection -->|"references"| node_externalplugins

click node_collection "https://github.com/github/copilot-plugins/blob/main/README.md"
click node_buildperf "https://github.com/github/copilot-plugins/tree/main/plugins/build-perf-cpp"
click node_buildskill "https://github.com/github/copilot-plugins/blob/main/plugins/build-perf-cpp/skills/build-performance-analysis/SKILL.md"
click node_buildhooks "https://github.com/github/copilot-plugins/blob/main/plugins/build-perf-cpp/hooks/hooks.json"
click node_spark "https://github.com/github/copilot-plugins/blob/main/plugins/spark/skills/spark-app-template/SKILL.md"
click node_externalplugins "https://github.com/github/copilot-plugins/blob/main/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_collection,node_buildperf,node_buildskill,node_buildhooks,node_spark toneBlue
class node_externalplugins toneAmber
class node_copilot toneIndigo
```

## Components

### Local plugins

- [Plugin collection](https://github.com/github/copilot-plugins/blob/main/README.md): `README.md`
- [Build performance](https://github.com/github/copilot-plugins/tree/main/plugins/build-perf-cpp): `plugins/build-perf-cpp`
- [Performance skill](https://github.com/github/copilot-plugins/blob/main/plugins/build-perf-cpp/skills/build-performance-analysis/SKILL.md): `plugins/build-perf-cpp/skills/build-performance-analysis/SKILL.md`
- [Build hooks](https://github.com/github/copilot-plugins/blob/main/plugins/build-perf-cpp/hooks/hooks.json): `plugins/build-perf-cpp/hooks/hooks.json`
- [Spark templates](https://github.com/github/copilot-plugins/blob/main/plugins/spark/skills/spark-app-template/SKILL.md): `plugins/spark/skills/spark-app-template/SKILL.md`

### External plugins

- [Hosted plugins](https://github.com/github/copilot-plugins/blob/main/README.md): `README.md`

### Other components

- **GitHub Copilot**

## Connections

- Plugin collection → GitHub Copilot: extends (evidence: `README.md`)
- Plugin collection → Hosted plugins: references (evidence: `README.md`)
