Repository navigation
docs: tell coding agents how to update the pre-installed Slack skills - #420
Conversation
WilliamBergamin
left a comment
There was a problem hiding this comment.
📚 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 💯
| ## 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. |
There was a problem hiding this comment.
📚 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.
| 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. |
There was a problem hiding this comment.
Reworded in commit cd06cc3, thanks for catching the example folders! 🙇
There was a problem hiding this comment.
💯 praise: Thanks, "from the repository root" reads clearly and keeps agents in an example folder from adding a stray skills-lock.json.
|
Thanks @WilliamBergamin for the thoughtful review! 🙇 The suggestion is applied in cd06cc3. Would you mind a refresh review when you have a moment? |
WilliamBergamin
left a comment
There was a problem hiding this comment.
🚀 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 💯
|
Thanks @WilliamBergamin for the quick refresh review and the repository root catch! 🙇 |
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/skillsand.claude/skillsonly. 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 --yesIt's the same command the daily Update agent skills workflow runs.
npx skills updateisn't used because it also writes skills for every other coding agent installed on the machine (vercel-labs/skills#2845).Testing
.agents/skills,.claude/skills, andskills-lock.jsonchanged.