Notify when a newer bundled skill is available#38
Merged
Conversation
6f7c92a to
b15532c
Compare
Add a dedicated subcommand to refresh bundled skills installed in a project to the version shipped with the current dac binary. It reinstalls the selected skills with force, replacing the installed files (and re-linking the Codex symlink), so a single command keeps both the Claude and Codex copies current. Updating is always explicit; install behaviour is unchanged.
Stamp bundled skills with a version field and compare it against the copy installed in a project. dac serve and dac validate print a notice to stderr when the bundled skill is newer than what is installed: A newer create-dashboard skill is available with the latest authoring features and fixes. Run `dac skills update` to update your project's copy. The project root is discovered by walking up from the dashboard directory to the nearest .claude directory, so the notice works from a subdirectory too. Skills with no version field (older installs) are treated as version 0, so existing projects get nudged after upgrading dac. The notice never modifies files.
b15532c to
3170f27
Compare
iremcaginyurtturk
approved these changes
Jun 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a passive staleness notice for bundled agent skills, plus
dac skills updateto refresh them.Bundled skills now carry a
versionfield in their frontmatter (create-dashboardstarts atversion: 1).dac serveanddac validatecompare the installed skill against the bundled one and, if the bundled version is newer, print a single line to stderr:The notice never modifies files — updating is always explicit.
dac skills update [skill...]refreshes installed skills to the bundled version (equivalent toinstall --force).Skills with no version field (older installs) are treated as version 0, so existing projects get nudged after upgrading
dac.The project root (where
.claude/lives) is discovered by walking up from the dashboard directory, so the notice works whether you run from the root or a subdirectory.Testing
make test(new tests cover version parsing, notice generation, root discovery, and the update command)make buildvalidate;skills updateoverwrites and stamps the version; no notice afterwardChecklist
docs/and updated the relevant pages (commands/skills.md,commands/overview.md)