Refresh stack
Skill grimaldost/craft-collection/plugins/engineering-discipline/skills/refresh-stack
A Claude Code plugin marketplace that codifies engineering craft: disciplined Python and data-engineering practice alongside deliberate session-knowledge workflows, packaged as reusable skills.
npx -y skills add grimaldost/craft-collection --skill refresh-stackAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Review and update the python-engineering toolchain pins. Run /refresh-stack to detect which pinned tools are behind the latest PyPI release, read the relevant changelogs, and produce a reviewable changeset (stack.toml version bumps plus any guidance edits) for approval. Mechanical bumps are applied on approval; guidance edits are never auto-applied. Manual-only.
SKILL.md
3.8 KB, as published. Nobody here has run it
Refresh Stack
The LLM-assisted update leg of the freshness loop. Detection is mechanical
(check_versions.py); this command does the reasoning — reading changelogs
and deciding what, if anything, the guidance should say differently. Never
auto-apply guidance edits; propose, then let the user approve.
The stack.toml and scripts live in the sibling python-engineering skill of
this plugin — resolve it as ${CLAUDE_PLUGIN_ROOT}/skills/python-engineering/
(fall back to the path relative to this file if the variable isn't set).
Workflow
-
Detect. Run the version check and capture JSON:
python "${CLAUDE_PLUGIN_ROOT}/skills/python-engineering/scripts/check_versions.py" --jsonThe
behindflag marks any tool whose pinned floor is behind a newer major/minor. Ifbehind_countis 0, report "stack current" and stop. -
Read the changes. For each behind tool, fetch its changelog / release notes for the range between
pinned_minandlatest(WebFetch the project's releases page or changelog; use context7 for library docs). Do not guess from the version number alone. -
Classify each delta into one of three buckets:
- version-only — no behavior or guidance impact; just a newer release.
Action: bump
pinned_mininstack.toml. - guidance-affecting — the release changes a recommendation, renames a
rule/flag, deprecates an API, or adds a pattern the skill should mention
(e.g. a ruff rule rename, a
tymilestone, a new PEP default). Action: propose a specific prose edit toSKILL.mdor a reference, quoting the changelog entry that motivates it. - needs-human — an ecosystem shift or judgment call (e.g. whether
tyshould replacemypyas the default). Action: flag it; do not decide.
- version-only — no behavior or guidance impact; just a newer release.
Action: bump
-
Present a reviewable changeset, grouped:
- a
stack.tomldiff of the mechanicalpinned_minbumps. (Pre-commit hook revs in[precommit]are passed through un-checked —check_versions.pyemits no "behind" signal for them — so bump a hook rev only after manually checking its repo's latest tag, or leave it.) - the proposed guidance edits, each with its cited rationale,
- the needs-human list.
- a
-
On approval: apply only the mechanical
stack.tomlbumps (and any guidance edits the user explicitly approved — never silently). Stamp the review date from the check'schecked_atfield (not the model's sense of "today"), in both places it appears:[meta] last_reviewedinstack.toml, and the human-visible "last reviewed" line in thepython-engineeringanddata-engineering-disciplineSKILL.md files — the machine stamp and the reader-facing stamp must not drift apart. Leave the pluginversionbump and commit to the user.
Guardrails
- This embodies the data-engineering discipline applied to the skill itself: source of truth is observable (verify against PyPI + changelogs, never infer) and all change is intentional and traceable (a reviewed diff with cited rationale, never a silent edit).
- Mechanical version bumps are safe to apply on approval. Guidance edits change what the skill recommends — those always wait for explicit sign-off.
- If the changelog is ambiguous about whether a change affects guidance, treat it as needs-human rather than guessing.