Skip to content

ci: update agent skills for the universal and Claude Code folders only - #298

Merged
mwbrooks merged 3 commits into
mainfrom
mwbrooks-agent-skills-add
Nov 26, 2026
Merged

mwbrooks merged 3 commits into
mainfrom
mwbrooks-agent-skills-add

Conversation

@mwbrooks

@mwbrooks mwbrooks commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Summary

This pull request makes the daily agent skills workflow update only .agents/skills and .claude/skills on any runner, so developers and their created apps get the same skills in both folders every time. It follows slack-samples/bolt-js-starter-template#193.

npx --yes skills@1 add slackapi/slack-skills-plugin --skill '*' --agent universal --agent claude-code --copy --yes
  • skills update has no option to pick agents. It writes to every agent with a folder in the runner's home directory, and leaves .claude/skills stale when there is none (vercel-labs/skills#2058).
  • skills add sets commit on every lock entry to the plugin's latest commit, so the workflow now skips the pull request when only those values changed.
  • skills add exits successfully when one folder fails to write, so the workflow now fails if a plugin skill in .agents/skills and .claude/skills differs in any app folder.

Testing

  • Ran both steps on a two-app sample: every app folder updates, a lock with only older commit values skips the pull request, a stale skill opens one, a failed .claude/skills write fails the run, and a developer's own skill in only one folder doesn't.
  • After merge, run Update agent skills on main and confirm the update pull request changes only skills paths.

Notes

  • skills add reads standard input, so it runs with < /dev/null to keep the loop going through every skills-lock.json.
  • --skill '*' also installs skills newly added to the plugin, which update never did.

Run skills add with --agent universal --agent claude-code --copy instead of
skills update, which picks agents from the runner's home folder. Skip the pull
request when only the lock's commit values changed, and fail when the two
skills folders differ.
@mwbrooks mwbrooks added enhancement New feature or request github_actions Pull requests that update GitHub Actions code labels Nov 25, 2026
@mwbrooks mwbrooks self-assigned this Nov 25, 2026
@mwbrooks
mwbrooks marked this pull request as ready for review November 25, 2026 22:56
@mwbrooks
mwbrooks requested a review from a team as a code owner November 25, 2026 22:56

@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! Checking each plugin skill per app, and failing on an empty list, keeps the multi-app rollout as strict as the pilot without tripping on a developer's own skill.
I ran the update and skip steps against all three apps locally and they behaved as described, nothing to add 🚀

@mwbrooks

Copy link
Copy Markdown
Member Author

Thanks @WilliamBergamin for the review and for running both steps locally! 🙇

@mwbrooks
mwbrooks merged commit 8256b5a into main Nov 26, 2026
8 checks passed
@mwbrooks
mwbrooks deleted the mwbrooks-agent-skills-add branch November 26, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants