Skip to content

Commit 505781d

Browse files
mnriemCopilot
andauthored
docs: organize agent-specific integration documentation (#5034)
* docs: organize agent-specific integration documentation Consolidate integration documentation under docs/integrations with per-agent guides, shared references, updated navigation, and a concise mixed-agent team scenario. Require agent-specific documentation updates alongside user-visible integration changes. Assisted-by: GitHub Copilot (model: GPT-6.1 Sol, autonomous) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * fix(ci): align integration docs with lint and version checks Remove the obsolete integration README lint glob and bump the bundled GitHub extension to ship its updated documentation links. Assisted-by: GitHub Copilot (model: GPT-6.1 Sol, autonomous) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * docs: restore integration descriptor validation requirements Document required descriptor fields, external ID restrictions, PEP 440 versions, and mandatory host version specifiers. Assisted-by: GitHub Copilot (model: GPT-6.1 Sol, autonomous) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent a055f62 commit 505781d

78 files changed

Lines changed: 2700 additions & 894 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/lint.yml‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
2323
SECURITY.md
2424
SUPPORT.md
2525
spec-driven.md
26-
integrations/*.md
2726
presets/*.md
2827
workflows/*.md
2928
steps:

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ These are one time installations required to be able to test your changes locall
1111
1. Install [Python 3.11+](https://www.python.org/downloads/)
1212
1. Install [uv](https://docs.astral.sh/uv/) for package management
1313
1. Install [Git](https://git-scm.com/downloads)
14-
1. Have an [AI coding agent available](https://github.github.io/spec-kit/reference/integrations.html)
14+
1. Have an [AI coding agent available](https://github.github.io/spec-kit/integrations/index.html)
1515

1616
<details>
1717
<summary><b>💡 Hint if you are using <code>VSCode</code> or <code>GitHub Codespaces</code> as your IDE</b></summary>
@@ -172,7 +172,7 @@ its pinned archive URL and preferably its SHA-256 in a catalog. Registering a
172172
catalog only enables discovery/download; importing executable adapter code
173173
requires the user's trust decision and an install-enabled source. Follow the
174174
[integration API and lifecycle design](design/integration.md#external-adapter-package-contract)
175-
and [integration catalog contribution guide](integrations/CONTRIBUTING.md).
175+
and [integration catalog contribution guide](docs/integrations/contributing.md).
176176
Add public-path positive and negative tests rather than injecting test classes
177177
directly into the registry; include fresh-process loading and rollback evidence.
178178

‎README.ja.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ cd my-project
4646

4747
<a id="-対応しているaiコーディングエージェント"></a>
4848

49-
この例では **GitHub Copilotのデフォルトのスキルモード** を使用しています。他の対応エージェントを使う場合は、`copilot` をお使いのエージェントの[連携キー](https://github.github.io/spec-kit/reference/integrations.html)に置き換えてください。
49+
この例では **GitHub Copilotのデフォルトのスキルモード** を使用しています。他の対応エージェントを使う場合は、`copilot` をお使いのエージェントの[連携キー](https://github.github.io/spec-kit/integrations/index.html)に置き換えてください。
5050

5151
すでにコードがありますか?[既存プロジェクト向けガイド](https://github.github.io/spec-kit/guides/existing-projects.html)を参照してください。バージョン固定でのインストール、その他のインストーラー、CI、トラブルシューティングについては[インストールガイド](https://github.github.io/spec-kit/installation.html)を、既存のインストールを更新する場合は[アップグレードガイド](https://github.github.io/spec-kit/upgrade.html)を参照してください。
5252

53-
ここから**プロジェクトディレクトリでコーディングエージェントを起動し**、下記のいずれかのプロセスを選んでください。各 `/speckit-*` **スキルはエージェントのチャット内で**、1つずつ呼び出し、結果を確認してから次に進んでください。これらはターミナルコマンドではなく、エージェントのスキルです。エージェントやモードによっては、[異なる呼び出し方](https://github.github.io/spec-kit/reference/integrations.html#command-invocation)を使う場合があります。
53+
ここから**プロジェクトディレクトリでコーディングエージェントを起動し**、下記のいずれかのプロセスを選んでください。各 `/speckit-*` **スキルはエージェントのチャット内で**、1つずつ呼び出し、結果を確認してから次に進んでください。これらはターミナルコマンドではなく、エージェントのスキルです。エージェントやモードによっては、[異なる呼び出し方](https://github.github.io/spec-kit/integrations/cli.html#command-invocation)を使う場合があります。
5454

5555
<a id="-仕様駆動開発とは"></a>
5656
<a id="sdd-クイックスタート"></a>

‎README.ko.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ cd my-project
5151
<a id="-supported-ai-coding-agent-integrations"></a>
5252

5353
예시는 **GitHub Copilot의 기본 스킬 모드**를 기준으로 합니다. 지원되는 다른 에이전트를 쓰려면
54-
`copilot`을 해당 에이전트의 [통합 키](https://github.github.io/spec-kit/reference/integrations.html)로 바꾸세요.
54+
`copilot`을 해당 에이전트의 [통합 키](https://github.github.io/spec-kit/integrations/index.html)로 바꾸세요.
5555

5656
이미 코드가 있나요? [기존 프로젝트 가이드](https://github.github.io/spec-kit/guides/existing-projects.html)를 따르세요.
5757
특정 버전 고정, 다른 설치 방법, CI, 문제 해결은
@@ -61,7 +61,7 @@ cd my-project
6161
이제 **프로젝트 디렉터리에서 코딩 에이전트를 실행**하고 아래 프로세스 중 하나를 고르세요.
6262
각 `/speckit-*` **스킬은 에이전트 채팅에서** 한 번에 하나씩 호출하고, 결과를 검토한 뒤 다음으로
6363
넘어가세요. 이들은 터미널 명령어가 아니라 에이전트 스킬입니다. 에이전트나 모드에 따라
64-
[호출 문법이 다를 수 있습니다](https://github.github.io/spec-kit/reference/integrations.html#command-invocation).
64+
[호출 문법이 다를 수 있습니다](https://github.github.io/spec-kit/integrations/cli.html#command-invocation).
6565

6666
<a id="-what-is-spec-driven-development"></a>
6767
<a id="sdd-quickstart"></a>

‎README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Spec Kit combines ready-to-use processes with composable mechanisms:
4141

4242
| Capability | Spec Kit mechanism |
4343
| --- | --- |
44-
| Connect to or switch between coding agents | [Integration](https://github.github.io/spec-kit/reference/integrations.html) |
44+
| Connect to or switch between coding agents | [Integration](https://github.github.io/spec-kit/integrations/index.html) |
4545
| Add a command, quality gate, or complete process | [Extension](https://github.github.io/spec-kit/reference/extensions.html) |
4646
| Connect a process to an external tool or service | [Extension](https://github.github.io/spec-kit/reference/extensions.html) |
4747
| React to coding-agent lifecycle events | [Extension runtime event](https://github.github.io/spec-kit/reference/extensions.html#extension-runtime-events) |
@@ -91,7 +91,7 @@ For other setups:
9191

9292
- [Installation](https://github.github.io/spec-kit/installation.html) for pinned releases, other installers, CI, and troubleshooting.
9393
- [Existing projects](https://github.github.io/spec-kit/guides/existing-projects.html) to start with code you already have.
94-
- [Other agents](https://github.github.io/spec-kit/reference/integrations.html) for integration keys and [invocation syntax](https://github.github.io/spec-kit/reference/integrations.html#command-invocation).
94+
- [Other agents](https://github.github.io/spec-kit/integrations/index.html) for integration keys and [invocation syntax](https://github.github.io/spec-kit/integrations/cli.html#command-invocation).
9595
- [Upgrade](https://github.github.io/spec-kit/upgrade.html) to update an existing installation.
9696

9797
<a id="-what-is-spec-driven-development"></a>
@@ -107,7 +107,7 @@ repeat the remaining steps for each feature. Run these skills in your agent's
107107
chat, not your terminal, one at a time, reviewing each result before continuing.
108108

109109
This example uses GitHub Copilot's default skills syntax. For another agent,
110-
use its [equivalent invocation syntax](https://github.github.io/spec-kit/reference/integrations.html#command-invocation).
110+
use its [equivalent invocation syntax](https://github.github.io/spec-kit/integrations/cli.html#command-invocation).
111111

112112
```text
113113
/speckit-constitution Create principles focused on code quality, testing, and maintainability.
@@ -142,7 +142,7 @@ Run these skills in your agent's chat, not your terminal, one at a time,
142142
reviewing each result before continuing.
143143

144144
This example uses GitHub Copilot's default skills syntax. For another agent,
145-
use its [equivalent invocation syntax](https://github.github.io/spec-kit/reference/integrations.html#command-invocation).
145+
use its [equivalent invocation syntax](https://github.github.io/spec-kit/integrations/cli.html#command-invocation).
146146

147147
```text
148148
/speckit-bug-assess "Submitting an empty password crashes the login form." slug=login-crash
@@ -174,7 +174,7 @@ Run these skills in your agent's chat, not your terminal, one at a time,
174174
reviewing each result before continuing.
175175

176176
This example uses GitHub Copilot's default skills syntax. For another agent,
177-
use its [equivalent invocation syntax](https://github.github.io/spec-kit/reference/integrations.html#command-invocation).
177+
use its [equivalent invocation syntax](https://github.github.io/spec-kit/integrations/cli.html#command-invocation).
178178

179179
```text
180180
/speckit-assess-intake "Let users work offline and sync when they reconnect." slug=offline-mode

‎README.zh-CN.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ CLI 只需安装一次,项目只需初始化一次;以下三种流程共用
5555

5656
示例采用 **GitHub Copilot 默认的技能(skills)模式**。
5757
如需使用其他助手,将 `copilot` 替换为对应的
58-
[集成标识](https://github.github.io/spec-kit/reference/integrations.html)。
58+
[集成标识](https://github.github.io/spec-kit/integrations/index.html)。
5959

6060
已有代码?请参阅[现有项目指南](https://github.github.io/spec-kit/guides/existing-projects.html)。
6161
锁定版本、其他安装方式、CI 与故障排查见[安装指南](https://github.github.io/spec-kit/installation.html);
6262
更新已安装的 CLI 和项目文件见[升级指南](https://github.github.io/spec-kit/upgrade.html)。
6363

6464
现在,在**项目目录中启动编码助手**,选择以下一种流程。
6565
在**助手的聊天界面中逐个调用 `/speckit-*` 技能**,检查结果后再继续。
66-
这些是助手技能,不是终端命令。其他助手或模式可能采用[不同的调用语法](https://github.github.io/spec-kit/reference/integrations.html#command-invocation)。
66+
这些是助手技能,不是终端命令。其他助手或模式可能采用[不同的调用语法](https://github.github.io/spec-kit/integrations/cli.html#command-invocation)。
6767

6868
<a id="-什么是规范驱动开发"></a>
6969
<a id="3-确立项目准则"></a>

‎design/integration.md‎

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Agent Integration Design
22

3-
Integrations adapt the shared Spec Kit workflows to an AI coding agent. Their
3+
Integrations adapt the shared Spec Kit processes to an AI coding agent. Their
44
**availability** (built-in, generic, or catalog-only) is separate from their
55
**output format** (commands, recipes, skills, or a custom layout). The Python
66
integration registry owns installation behavior; catalogs provide discovery,
@@ -67,7 +67,7 @@ agent's configured root.
6767
`command_filename()` and `setup()` are override points when the native layout
6868
demands them. Keep mode selection, invocation spelling, and registration in
6969
sync. Agent-specific layouts and options belong in the integration code and
70-
the [supported-integrations reference](../docs/reference/integrations.md).
70+
the agent's [integration guide](../docs/integrations/index.md).
7171

7272
Core templates that call scripts declare `sh`, `ps`, and `py` commands in
7373
`scripts:` frontmatter; template processing replaces `{SCRIPT}` with the
@@ -368,8 +368,8 @@ warns that manual cleanup may be needed. A newly trusted replacement still
368368
renders its declared destination under normal `upgrade --force` semantics;
369369
old-only destinations are not deleted using unverified project metadata.
370370

371-
See the [catalog contract](../integrations/README.md) and
372-
[user reference](../docs/reference/integrations.md) for public commands.
371+
See the [catalog contract](../docs/integrations/catalog.md) and
372+
[user reference](../docs/integrations/cli.md) for public commands.
373373

374374
## Ownership and lifecycle
375375

@@ -398,6 +398,11 @@ PR may also include registry wiring, catalog metadata, integration-specific
398398
tests, documentation, and agent-specific devcontainer tooling outside that
399399
package. File location alone does not determine whether a separate PR is needed.
400400

401+
Every user-visible, agent-specific integration change MUST update
402+
`docs/integrations/<key>.md` in the same change. Document behavior shared across
403+
integrations in the [shared CLI reference](../docs/integrations/cli.md),
404+
not in individual agent pages.
405+
401406
If delivery requires changes to shared runtime behavior, integration base
402407
classes, rendering, lifecycle management, CLI behavior, or core templates or
403408
scripts, it requires **at least two PRs**: a separate prerequisite PR for the
@@ -413,17 +418,16 @@ they have merged. See the
413418

414419
## Adding an agent
415420

416-
1. Run `specify integration scaffold my-agent --type markdown` from this
417-
repository (`toml`, `yaml`, and `skills` are also supported), or start with
418-
a custom class only when necessary.
419-
2. Review the generated `config` and `registrar_config`; register the class
420-
alphabetically and add a matching entry to `integrations/catalog.json`.
421+
1. Create the integration subpackage and class using the smallest matching
422+
format base. Define `config` and `registrar_config` for the agent's actual
423+
output layout.
424+
2. Register the class alphabetically and add a matching entry to
425+
`integrations/catalog.json`.
421426
3. Add focused coverage in `tests/integrations/test_integration_<package_dir>.py`
422427
for metadata, generated output, installation, and uninstall (including
423428
preservation of edited files where applicable).
424429
4. Exercise `specify init my-project --integration <key>` and the install/uninstall
425-
lifecycle; update the [supported agents](../docs/reference/integrations.md)
430+
lifecycle; update the [supported agents](../docs/integrations/index.md)
426431
and devcontainer setup if the agent needs additional tooling.
427432

428-
The scaffold creates a package and test skeleton, **not** registry or catalog
429-
entries. Prefer existing bases and shared processing over copied setup loops.
433+
Prefer existing bases and shared processing over copied setup loops.

‎docs/README.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ To build the documentation locally:
3333
- `guides/assessment.md` - Idea assessment walkthrough
3434
- `guides/customization.md` - Choosing and combining customization building blocks
3535
- `reference/catalogs.md` - Catalog discovery, trust, private sources, and precedence
36+
- `integrations/index.md` - Integration directory and shared setup guidance
37+
- `integrations/cli.md` - Shared integration management CLI reference
38+
- `integrations/<key>.md` - Agent-specific setup, invocation, options, and limitations
39+
- `integrations/catalog.md` - Catalog schema and external adapter metadata
40+
- `integrations/contributing.md` - Integration and catalog contribution guide
3641
- `reference/agentic-*.md` - Detailed process command references
3742
- `_site/` - Generated documentation output (ignored by git)
3843

‎docs/docfx.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"community/*.md",
99
"concepts/*.md",
1010
"guides/*.md",
11+
"integrations/*.md",
1112
"reference/*.md",
1213
"install/*.md"
1314
]

‎docs/guides/assessment.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ specify extension add assess
2222
Then launch your coding agent in that directory. The examples below use
2323
GitHub Copilot's default skills mode (`--integration copilot`). Other agents
2424
use their own
25-
[command invocation syntax](../reference/integrations.md#command-invocation).
25+
[command invocation syntax](../integrations/cli.md#command-invocation).
2626
Invoke each `/speckit-assess-*` skill separately in your agent's chat, reviewing
2727
the artifact before moving on. These are agent skills, not terminal commands;
2828
the terminal command above only installs the extension.

0 commit comments

Comments
 (0)