1.7 KiB
1.7 KiB
Skill Maintenance (Critical)
This skill is only trustworthy if it is refreshed immediately after behavior changes.
Mandatory Refresh Triggers
Run this maintenance workflow whenever any of these change:
linux-game-manager.sh- Anything in
.install/ - Anything in
.launch/ - Anything in
.update/ - Anything in
speech/ README.md- Any game lifecycle contract (install path usage, symlink behavior, update function contracts, CLI flags)
Refresh Workflow
- Run catalog audit and capture output:
python3 .codex/skills/linux-game-manager-dev/scripts/audit_game_catalog.py
- Re-check core flow definitions in
linux-game-manager.sh:
rg -n "game_installer|game_launcher|game_removal|game_update|getopts|help\\(" linux-game-manager.sh
- Update skill references:
- Update
references/core-map.mdcatalog snapshot if counts changed. - Update
references/core-map.mdflow descriptions if behavior changed. - Update
references/game-extension.mdif onboarding or naming rules changed. - Update this file if refresh triggers or process changed.
- Validate the skill structure:
python3 /home/storm/.codex/skills/.system/skill-creator/scripts/quick_validate.py .codex/skills/linux-game-manager-dev
- If any bash scripts changed, run shellcheck on edited files and fix all errors.
- If
shellcheckis missing, pause and prompt the user to install it usingreferences/tooling-prereqs.md.
- If
Completion Criteria
Do not consider maintenance complete until all are true:
- Catalog audit shows no critical mismatches, and any warnings are reviewed.
- All changed behavior is reflected in skill reference files.
- Skill passes
quick_validate.py. - Any edited bash scripts are shellcheck-clean.