Automated summary
This skill saves the most recently approved plan into docs/plans/ and commits it locally with a `plan:` conventional commit by running `pk preserve`.
Strengths
- Automates saving the approved plan instead of copying it by hand
- Produces a consistent `plan:` conventional commit, keeping Git history readable
- Explicitly reminds you to exit plan mode first and never pushes, leaving that decision to the user
- Enforces use of the Bash tool (POSIX shell) so the command does not fail under PowerShell
Limitations
- Depends on the `pk` CLI being installed and available on PATH
- Only handles the most recent plan, with no way to pick an older one
- Does not push or perform any Git operation beyond the local commit
Use it right after approving a plan, to archive it in docs/plans/ before implementation begins.
Skip it when the `pk` CLI is not installed or you are working without a POSIX shell.
Security analysis
SafeThe skill instructs running `pk preserve` via Bash, which commits a local plan file using a conventional commit. It explicitly avoids pushing and does not include destructive commands, network exfiltration, or obfuscated payloads. The allowed tool is restricted to Bash with `pk:*`, limiting execution to the intended `pk` command family.
No concerns found
How this analysis is madeExamples
Preserve the plan we just approved and commit it to docs/plans/.We're done planning — exit plan mode, run pk preserve to save the plan, then start implementing it.Run pk preserve so the plan is committed locally with a plan: commit, and don't push it.name: preserve description: Preserve the most recently approved plan to docs/plans/ disable-model-invocation: true allowed-tools: Bash(pk:*) pk_sha256: a2c5d044b83ff3105610267085e3378c29abb2045061a8c24d46115b8e5ad508
Preserve the most recently approved plan to docs/plans/ and commit it. If you are in plan mode, exit plan mode first.
Run using the Bash tool (not PowerShell):
pk preserve
This commits the plan locally with a plan: conventional commit. Do not push — the user decides when to push.
Report the result to the user.
With the plan preserved, proceed with its implementation.
Rules
- Use the Bash tool for all commands. pk requires a POSIX shell. Do not use the PowerShell tool.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/preserve-plan-mte1lg7v/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/preserve-plan-mte1lg7v' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/preserve-plan-mte1lg7v/download' --output '.skill-downloads/preserve-plan-mte1lg7v/SKILL.md.part' && mv '.skill-downloads/preserve-plan-mte1lg7v/SKILL.md.part' '.skill-downloads/preserve-plan-mte1lg7v/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash(pk:*)
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/preserve-plan-mte1lg7v/SKILL.md' && test -s '.skill-downloads/preserve-plan-mte1lg7v/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/preserve' && cp -R '.skill-downloads/preserve-plan-mte1lg7v' '.claude/skills/preserve'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/preserve-plan-mte1lg7v'openskills read 'preserve-plan-mte1lg7v'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/preserve-plan-mte1lg7v/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.