agentleFS
GitHubKnown publishergithub/spec-kit-copilot/AGENTS.md

spec-kit-copilot

AGENTS.md16 starsChanged 2 months agoMITView on GitHub

This file captures the design decisions behind these integrations so they are not accidentally reverted when revving or regenerating it. Read this before adding, removing, or regenerating skills. The Copilot integration hub for Spec Kit. It can contain independently versioned Copilot CLI/App plugins, skills, extensions, canvases, hooks, and workflow surfaces. Do not assume every integration belongs in the core skills plugin. A GitHub Copilot CLI plugin (plugin.json + skills/<name>/SKILL.md) that exposes the Spec Kit specify CLI to the Copilot agent.…

The file

We split this AGENTS.md into the rules it gives an agent

9 rules. About 0 are common, 1 is distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not assume every integration belongs in the core skills plugin.

    line 11
  2. Very specific:

    Every command-running skill carries a Prerequisite note that defers to speckit-cli-setup when specify --version fails.

    line 48
  3. Very specific:

    USE FOR), and an argument-hint.

    line 71
  4. Very specific:

    Picking up newly generated skills: When a specify command writes new/changed SKILL.md files into the project's .github/skills/ (extensions …

    line 74
  5. Very specific:

    Isolate, don't scatter: All preset content — including its catalog.json — lives

    line 91
  6. Very specific:

    Do not use the full spec-kit-copilot-* plugin prefix for preset ids — that namespace is Copilot plugins (copilot plugin), and reusing it …

    line 100
  7. Very specific:

    When revving a preset, bump preset.yml + the catalog.json entry together

    line 114
  8. Very specific:

    Add/adjust skills for new or changed command groups — but keep decision (1): no integration-management skill, and init stays Copilot + …

    line 135
  9. Very specific:

    After the change is pushed and the marketplace catalog is refreshed (copilot plugin marketplace update spec-kit-marketplace), run copilot …

    line 146

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md — Maintainer guidance for Spec Kit Copilot integrations

This file captures the design decisions behind these integrations so they are not accidentally reverted when revving or regenerating it. Read this before adding, removing, or regenerating skills.

What this repository is

The Copilot integration hub for Spec Kit. It can contain independently versioned Copilot CLI/App plugins, skills, extensions, canvases, hooks, and workflow surfaces. Do not assume every integration belongs in the core skills plugin.

Core skills plugin

A GitHub Copilot CLI plugin (plugin.json + skills/<name>/SKILL.md) that exposes the Spec Kit specify CLI to the Copilot agent. Each skill documents a specify command group and tells the agent when and how to shell out to specify. The plugin does not dispatch prompts to another agent — Copilot itself runs the CLI.

Core decisions (do not silently undo)

  1. The integration is always Copilot in skills mode — do NOT expose specify integration. This is the Copilot plugin, so the agent is already Copilot. Managing or switching integrations (claude, gemini, etc.) is meaningless here. There is intentionally no speckit-integration skill. Do not re-add it when regenerating the skill set.
    • speckit-init always scaffolds Copilot in skills mode: --integration copilot --integration-options="--skills". Skills mode makes spec-kit commands (and later-added extensions) install as Copilot Agent Skills (.github/skills/speckit-<cmd>/SKILL.md) instead of .agent.md files, which is what Copilot CLI discovers as SKILL.md. Do not drop --integration-options="--skills".
    • Skills must not tell the user to pick or switch a different agent.
  2. Expose the rest of the specify surface as skills, including nested catalog subcommands and workflow step:

    • speckit-cli-setup → detect/install the specify CLI (bootstrap; prerequisite for all others)
    • speckit-init → specify init (Copilot only)
    • speckit-check → specify check, specify version
    • speckit-artifact → specify artifact …
    • speckit-extension → specify extension … (+ catalog)
    • speckit-preset → specify preset … (+ catalog)
    • speckit-bundle → specify bundle … (+ catalog)
    • speckit-workflow → specify workflow … (+ catalog)
    • speckit-workflow-step → specify workflow step … (+ catalog)
    • speckit-self → specify self …

    Every command-running skill carries a Prerequisite note that defers to speckit-cli-setup when specify --version fails. speckit-cli-setup installs the latest specify-cli from PyPI via uv (preferred) or pipx; speckit-self handles upgrading an already-installed CLI. Keep this prerequisite wiring when adding new skills.

  3. Plugins are independently versioned and are not pinned to Specify CLI. The core spec-kit-copilot plugin targets the latest specify published on PyPI (package specify-cli), with a minimum floor of >= 0.11 for the bundle / workflow step skills and >= 1.0.7 for the artifact skill and preset/extension JSON inventory — do not hard-pin an @vX.Y.Z install tag in the skills. The plugin's own version in plugin.json and .github/plugin/marketplace.json is an independent semver that tracks changes to the plugin/skills themselves, not the CLI release. Marketplace metadata and each plugin entry must match the component they describe; do not force unrelated plugins to share a version. When revving a plugin, update its manifest, marketplace entry, and README version note together. Note: specify init stamps whichever installed CLI version ran it into the generated project (.specify/init-options.json, integration manifests), so the CLI version is determined at init time, not by this plugin.
  4. Skills are guidance, not dispatch. SKILL.md frontmatter needs name (matching the directory), a discovery-oriented description (USE FOR / DO NOT USE FOR), and an argument-hint. The body lists the exact subcommands, options, and notes so the agent runs the real specify binary correctly.
  5. Picking up newly generated skills. When a specify command writes new/changed SKILL.md files into the project's .github/skills/ (extensions on add, bundles on install, and presets only if they regenerate skills), Copilot loads them in the current session via the /skills reload slash command — no restart needed — and automatically on the next session start. This is distinct from this plugin's own skills, which are refreshed with copilot plugin install / /plugin.

Spec Kit presets (spec-kit-presets/) — keep the plumbing boundary

spec-kit-presets/ holds Copilot-specific Spec Kit presets — this repo is their canonical, sole home. Guard the boundary so contributors never conflate the two toolchains:

  • Two different consumers. Copilot plumbing (plugin.json, skills/, plugins/, .github/plugin/marketplace.json) is consumed by the copilot plugin CLI/App. Presets are consumed by the specify CLI (specify preset add). They are not Copilot plugins, skills, canvases, or marketplace entries.
  • Isolate, don't scatter. All preset content — including its catalog.json — lives inside spec-kit-presets/. Do not put a preset catalog.json at the repo root, and do not mix it up with the Copilot marketplace manifest at .github/plugin/marketplace.json. Keep the boundary note in spec-kit-presets/README.md.
  • Naming convention: copilot-<scope>[-<behavior>]. Preset ids (directory, preset.yml id, catalog.json key) carry a short copilot- prefix marking them Copilot-specific (e.g. copilot-sub-agents, copilot-assess-ask-questions), and display names lead with "Copilot" (e.g. "Copilot Sub-Agent Delegation"). Do not use the full spec-kit-copilot-* plugin prefix for preset ids — that namespace is Copilot plugins (copilot plugin), and reusing it here would re-blur the plumbing boundary and bloat specify preset add.
  • Promotion criterion: Copilot-specific only. A preset belongs here only if it depends on Copilot's own agent mechanisms (e.g. copilot-sub-agents uses the VS Code runSubagent tool / Copilot CLI sub-agents / .github/agents/; copilot-assess-ask-questions requires Copilot's interactive ask_user tool with no plain-text fallback). Agent-agnostic presets (generic themes, or workflows tied to an extension rather than to Copilot's tools) do not belong here. Do not import them.
  • Independent versioning & release. Each preset carries its own version in preset.yml and a matching catalog.json entry, separate from plugin versions. Releases are cut by CI (.github/workflows/release-preset.yml), which zips the preset inline (no build script) on a pushed <preset>-v<version> tag; use the Release Preset Trigger workflow to create that tag from a preset id + version. When revving a preset, bump preset.yml + the catalog.json entry together before tagging.

Spec Kit extensions (spec-kit-extensions/)

This directory and its catalog.json hold Copilot-specific Specify CLI extensions, parallel to the preset catalog. Entries must depend on Copilot tools or providers; do not import general-purpose extensions or add these packages to the Copilot plugin marketplace. Keep each catalog entry's version, requirements, and release URL aligned with its extension.yml and package README. Package IDs, directory names, catalog keys, and ZIP basenames use extension-<name> (for example, extension-canvas-design). Release tags use <extension-id>-vX.Y.Z and release titles use <extension-id> vX.Y.Z, matching the preset version suffix. Keep discovery tags such as canvas-design, template IDs such as canvas-settings-*, and Copilot provider/tool IDs independent of the package identity. Standard manifest filenames remain extension.yml.

When revving the core skills plugin

  1. Re-enumerate the specify CLI surface for the latest release (specify <group> --help, including nested catalog / step groups).
  2. Add/adjust skills for new or changed command groups — but keep decision (1): no integration-management skill, and init stays Copilot + skills mode (--integration copilot --integration-options="--skills").
  3. Bump the core plugin's version in plugin.json and its marketplace entry together. Bump marketplace metadata when the catalog changes. Do not bump spec-kit-copilot-assess unless that plugin changes. Update the README "Versioning" note. Keep the speckit-cli-setup skill installing the latest specify-cli from PyPI (no @vX.Y.Z pin); only touch the >= 0.11 and >= 1.0.7 minimum notes if the floors actually change.
  4. Reinstall and verify. copilot plugin install takes a plugin@marketplace, owner/repo, owner/repo:path, or git URL — it does not accept a local path. After the change is pushed and the marketplace catalog is refreshed (copilot plugin marketplace update spec-kit-marketplace), run copilot plugin install spec-kit-copilot@spec-kit-marketplace (or copilot plugin update) and confirm copilot plugin list reports the new version with the expected skill count.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.