Skip to content

feat(cli): add AGENTS.md to the plugin template - #203

Merged
ChekTek merged 2 commits into
mainfrom
feat/template-agents-md
Nov 24, 2026
Merged

ChekTek merged 2 commits into
mainfrom
feat/template-agents-md

Conversation

@ChekTek

@ChekTek ChekTek commented Nov 23, 2026

Copy link
Copy Markdown
Member

Summary

streamdeck create now writes an AGENTS.md file to the new plugin. The file points agents to the SDK and CLI documentation in node_modules.

  • Add AGENTS.md to the plugin template and copy it during streamdeck create.
  • Change the default @elgato/streamdeck version from ^3.0.0 to ^3.0.5. This is the first version that contains AGENTS.md.
  • Add AGENTS.md to the plugin file structure in the SDK documentation.
  • Add a patch changeset for @elgato/cli.

Validation

  • pnpm --filter @elgato/cli run build
  • pnpm --filter @elgato/cli run lint
  • pnpm docs:check
  • pnpm exec oxfmt --check on the five changed files
  • Ran streamdeck create with the built CLI. The new plugin contains AGENTS.md, and the two links resolve after the install (@elgato/streamdeck 3.0.6, @elgato/cli 1.10.5).

`streamdeck create` now writes an `AGENTS.md` file to the new plugin.
The file points agents to the SDK and CLI documentation in `node_modules`.

The default `@elgato/streamdeck` version is now `^3.0.5`.
This is the first version that contains `AGENTS.md`.
@changeset-bot

changeset-bot Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1fc874b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@elgato/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the update that adds agent documentation to newly scaffolded plugins.

No open issues 🎉

What changed in this PR

Adds an AGENTS.md file to newly scaffolded Stream Deck plugins, directing coding agents to the SDK and CLI documentation installed in node_modules.

Changes:

  • Add the agent documentation template and copy it during streamdeck create.
  • Raise the default SDK dependency from ^3.0.0 to ^3.0.5 to include packaged agent documentation.
  • Update the documented plugin structure and add a CLI patch changeset.
File Description
packages/​cli/​template/​AGENTS.md Add links to installed SDK and CLI documentation.
packages/​cli/​src/​config.ts Raise the default SDK version to ^3.0.5.
packages/​cli/​src/​commands/​create.ts Copy AGENTS.md into generated plugins.
docs/​sdk/​_file-structure.mdx Show AGENTS.md in the plugin file structure.
.changeset/​template-agents-md.md Record the scaffolding change for a CLI patch release.

Review effort: Balanced

@ChekTek
ChekTek requested a review from GeekyEggo November 23, 2026 19:17
Comment thread .changeset/template-agents-md.md Outdated
"@elgato/cli": patch
---

Scaffold an `AGENTS.md` with `streamdeck create` that points agents to the SDK and CLI documentation shipped in `node_modules`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor, but could we update this language to be more "release notes" please, for example:

Added an AGENTS.md to the template created with streamdeck create to assist with accessing documentation included in the @elgato/streamdeck and @elgato/cli packages.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated ✅

streamDeck: {
mode: "prod" as const,
version: "^3.0.0",
version: "^3.0.5",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot 👍

@ChekTek
ChekTek merged commit e6f27ce into main Nov 24, 2026
4 checks passed
@ChekTek
ChekTek deleted the feat/template-agents-md branch November 24, 2026 19:49
@ChekTek
ChekTek restored the feat/template-agents-md branch November 24, 2026 19:50
@ChekTek
ChekTek deleted the feat/template-agents-md branch November 24, 2026 19:50
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.

3 participants