/plankit:protectfrom plankit
Prevents edits to preserved plans by denying writes under the plans directory. Useful for maintaining immutable plan history in pk-configured repositories.
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.
pk protect is a PreToolUse hook on Edit and Write. It denies any write
under the plans directory, preserve.dir in .pk.json, because a
preserved plan is a record of what was approved, and a record that can
be edited is not one.
The check resolves symlinks and recognizes the directory by its identity on disk, so it cannot be reached through an alias or, where the filesystem ignores case, through another spelling.
Plans are superseded, never edited. When the approach changes, write and approve a new plan. The sequence in the plans directory is the history of decisions, reversals included.
pk protect is a no-op in an unconfigured repository (no .pk.json).
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 it/helpShow documentation for pk and its commands/initConfigure a repository for plankitOther plugins' skills for the same job