About maintain
A maintenance skill for projects built with setup-ai-build-kit. It checks project records, live-copy differences, branch protection, secrets, release updates, and due routines while keeping uncommitted work out of commits.
Key features
- 01Check records and live-copy differences
- 02Check branch protection and secrets
- 03Track monthly and quarterly maintenance
- 04Route upgrade checks and kit updates
Use cases
- 01Review a project during a maintenance visit
- 02Identify due monthly or quarterly work
- 03Check for secrets and branch protection gaps
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ gwpicard/ ai-build-kit --skill maintainAfter installing, type/maintainin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
VERSIONreferences/handover-retirement.mdkit-update.mdlatest-release.mdmonthly.mdproject-checks.mdquarterly.mdrecipe-move.mdrisk-move.mdtruing.mdscripts/kit-leftovers.pykit-released-copies.jsonkit-retired-skills.jsonold-skill-pointers.pyrecipe-freshness.pyrisk_move.pysettings-rules.pystanding-lines.shupgrade-check.pytemplates/handover.mdDetails
From the project READMEMaintain
Maintenance never offers queued, parallel, looped building or automatic merging.
Make the records true, compare the live copy with main, and finish a kit
update. Report findings before applying anything beyond routine
updates.
In Codex, if a push, fetch or remote check fails with unable to get password from user, run the installed setup-ai-build-kit skill's
templates/foundation/codex-github-check.py with python3 and --message. Give
its sentence and stop.
Every visit
- Load
references/truing.mdand follow it. Keep the person's uncommitted work out of every commit. Report it and point to/what-now; clean-checkpoint steps wait, while read-only steps continue. Read the project's recipe withscripts/recipe-freshness.py. If it reports a stale or superseded recipe, say its one-line finding and offer to open a piece to move to a current recommendation. On a no, change no project files. - Compare the live copy with
mainusing thelive-copyskill. Do not change the live service or changelog. Offer/setup-hostingfor backups, restores, previews or recipe checks, and name any gap. - From the project root run
merge/scripts/protect-branch.py --check <origin's owner/repository> main. Exit 0 means required; 3 records the private Free limit, with one notice and no offer; 4 means available, so offer to run without--checkwith approval. Report other exits. Do not change protection without that approval. - Run the installed
setup-ai-build-kitskill'stemplates/foundation/scan-secrets.shfrom the project root with--all. Exit 0 means no secret was found, 1 means one was found, and 2 means the scan could not run. On a find, say to rotate it. Never show its value. - Read
.ai-build-kit-maintenance. Monthly work is due 30 days afterlast-light-pass, or founding if absent. Quarterly work is due 90 days afterlast-full-pass, at founding if absent, and when a handover is asked for. Either runs when requested. Say when skipped work falls due. - Run
scripts/upgrade-check.py --latest --routeusingreferences/latest-release.md. - Finish a kit update using
references/kit-update.mdon every visit. The monthly routine's first step does it instead. In Codex, offer its session-start GitHub check.
Due routines
When monthly work is due, load references/monthly.md and follow it in order.
For quarterly work, also load references/quarterly.md.
Handover and retirement
For handover or retirement, load references/handover-retirement.md.
Done when
Records match events; the protection check and live-copy gap are reported; due work and approved changes are saved; and the person knows when the next visit is due.