/plankit:pin --file <path> [--name <identifier>] <version>from plankit
Updates a pinned version string in a file, supporting shell-style and YAML formats. Useful for release automation hooks.
Ships in plankit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Updates a pinned version string in a file. The release and
changelog hooks call it with $VERSION.
Without --name, the first shell-style SOMETHING_VERSION="vX.Y.Z"
line is updated. With --name <identifier>, the first assignment of
a quoted string to that identifier is updated. =, :=, and a bare
YAML colon match. The v prefix is inferred from the existing value.
pk pin --file .github/workflows/ci.yml --name pk-version $VERSION
A missing file is a no-op and a file without a matching pin is a warning, never a failure, so a renamed target cannot abort a release from inside a hook. A target that is there and cannot be read is an error.
--file <value>
File containing the pin (relative to the project directory)
--name <value>
Identifier of a named pin; default is the SOMETHING_VERSION="v..." shell form
Every command also accepts --plain, --project-dir <value>, and --quiet; see pk help help.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub markwharton/plankit --plugin plankit14 skills in this plugin
/briefWhat each session is told about this repository's plankit policy at start, generated from .pk.json/changelogGenerate CHANGELOG.md from conventional commits and stage a release with the Release-Tag trailer/craftEngineering standards and reusable prompts for working in a plankit repository - load the standards, or run a named prompt/guardHow pk guard decides what an agent may do to git, and how to tune itOther plugins' skills for the same job