Repository navigation
feat(cli): add AGENTS.md to the plugin template - #203
Conversation
`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 detectedLatest commit: 1fc874b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
There was a problem hiding this comment.
🟢 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.0to^3.0.5to 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
| "@elgato/cli": patch | ||
| --- | ||
|
|
||
| Scaffold an `AGENTS.md` with `streamdeck create` that points agents to the SDK and CLI documentation shipped in `node_modules`. |
There was a problem hiding this comment.
Minor, but could we update this language to be more "release notes" please, for example:
Added an
AGENTS.mdto the template created withstreamdeck createto assist with accessing documentation included in the@elgato/streamdeckand@elgato/clipackages.
| streamDeck: { | ||
| mode: "prod" as const, | ||
| version: "^3.0.0", | ||
| version: "^3.0.5", |
Summary
streamdeck createnow writes anAGENTS.mdfile to the new plugin. The file points agents to the SDK and CLI documentation innode_modules.AGENTS.mdto the plugin template and copy it duringstreamdeck create.@elgato/streamdeckversion from^3.0.0to^3.0.5. This is the first version that containsAGENTS.md.AGENTS.mdto the plugin file structure in the SDK documentation.@elgato/cli.Validation
pnpm --filter @elgato/cli run buildpnpm --filter @elgato/cli run lintpnpm docs:checkpnpm exec oxfmt --checkon the five changed filesstreamdeck createwith the built CLI. The new plugin containsAGENTS.md, and the two links resolve after the install (@elgato/streamdeck3.0.6,@elgato/cli1.10.5).