Skip to content

docs: tell coding agents how to update the pre-installed Slack skills - #420

Merged
mwbrooks merged 2 commits into
mainfrom
mwbrooks-agents-md-skills-update
Nov 26, 2026
Merged

mwbrooks merged 2 commits into
mainfrom
mwbrooks-agents-md-skills-update

Conversation

@mwbrooks

Copy link
Copy Markdown
Member

Summary

This pull request tells coding agents how to update the pre-installed Slack skills in a created app, so a developer who asks for the latest skills gets them in .agents/skills and .claude/skills only. It follows slack-samples/bolt-js-starter-template#196.

npx --yes skills@1 add slackapi/slack-skills-plugin --skill '*' --agent universal --agent claude-code --copy --yes

It's the same command the daily Update agent skills workflow runs. npx skills update isn't used because it also writes skills for every other coding agent installed on the machine (vercel-labs/skills#2845).

Testing

  • Ran the command from Claude Code 2.1.326 on an older copy of a sample: only .agents/skills, .claude/skills, and skills-lock.json changed.

@mwbrooks mwbrooks added the documentation Improvements or additions to documentation label Nov 26, 2026
@mwbrooks mwbrooks self-assigned this Nov 26, 2026
@mwbrooks
mwbrooks marked this pull request as ready for review November 26, 2026 00:19
@mwbrooks
mwbrooks requested a review from a team as a code owner November 26, 2026 00:19

@WilliamBergamin WilliamBergamin 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.

📚 Thanks @mwbrooks! Reusing the workflow's exact command keeps the agent and the daily job writing the same two folders.
One optional wording comment, nothing blocking 💯

Comment thread AGENTS.md Outdated
## Slack Skills

Slack skills are pre-installed in `.agents/skills` (and `.claude/skills` for Claude Code). Use them for Slack work. If the Slack plugin is installed, prefer its `slack:` skills, such as `slack:block-kit`, which may be newer.
Slack skills are pre-installed in `.agents/skills` (and `.claude/skills` for Claude Code). Use them for Slack work. If the Slack plugin is installed, prefer its `slack:` skills, such as `slack:block-kit`, which may be newer. To update the pre-installed skills, run `npx --yes skills@1 add slackapi/slack-skills-plugin --skill '*' --agent universal --agent claude-code --copy --yes` from this folder.

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.

📚 suggestion (non-blocking): Could this say "from the repository root"? Agents here often work inside an example folder, so running it there would add a second skills-lock.json that the daily workflow then keeps updating.

Suggested change
Slack skills are pre-installed in `.agents/skills` (and `.claude/skills` for Claude Code). Use them for Slack work. If the Slack plugin is installed, prefer its `slack:` skills, such as `slack:block-kit`, which may be newer. To update the pre-installed skills, run `npx --yes skills@1 add slackapi/slack-skills-plugin --skill '*' --agent universal --agent claude-code --copy --yes` from this folder.
Slack skills are pre-installed in `.agents/skills` (and `.claude/skills` for Claude Code). Use them for Slack work. If the Slack plugin is installed, prefer its `slack:` skills, such as `slack:block-kit`, which may be newer. To update the pre-installed skills, run `npx --yes skills@1 add slackapi/slack-skills-plugin --skill '*' --agent universal --agent claude-code --copy --yes` from the repository root.

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.

Reworded in commit cd06cc3, thanks for catching the example folders! 🙇

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.

💯 praise: Thanks, "from the repository root" reads clearly and keeps agents in an example folder from adding a stray skills-lock.json.

@mwbrooks

Copy link
Copy Markdown
Member Author

Thanks @WilliamBergamin for the thoughtful review! 🙇 The suggestion is applied in cd06cc3. Would you mind a refresh review when you have a moment?

@WilliamBergamin WilliamBergamin 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.

🚀 Thanks @mwbrooks! Anchoring the command to the repository root keeps the agent and the daily workflow updating the same single lockfile.
Looks good to me 💯

@mwbrooks

Copy link
Copy Markdown
Member Author

Thanks @WilliamBergamin for the quick refresh review and the repository root catch! 🙇

@mwbrooks
mwbrooks merged commit e23c22b into main Nov 26, 2026
16 checks passed
@mwbrooks
mwbrooks deleted the mwbrooks-agents-md-skills-update branch November 26, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants