This skill verifies your changes and ensures tests and scope compliance before committing, reducing risk of cheating or scope creep.
npx playbooks add skill lofi-monk/lofi-gate --skill lofi-gate-checkpoint
> [!CAUTION]
> MANDATORY CHECKPOINT. You cannot commit until this skill approves your changes.
> Skipping this step will result in rejection at the Gate.
You have completed coding and tests are passing. Now you must judge your own work before declaring victory.
Run this command to see exactly what you changed:
git diff --staged
If nothing is staged, run:
git diff HEAD
Save the output. This is your evidence.
Find the original instructions. Check these locations in order:
implementation_plan.md (if you created one)task.md (if it exists)This is your mission.
Look at your evidence (the diff). Answer these questions:
Q1: Did you modify any EXISTING test files?
.test., .spec., test_.py, _test.goQ2: Did you disable, skip, or weaken any tests?
.skip, .only, @pytest.mark.skip, expect(true).toBe(true), commented-out assertionsQ3: Did you delete test files or test cases?
Compare your evidence against your mission:
Q4: Did you stay within scope?
Q5: Did you complete the mission?
If all checks pass:
✅ JUDGMENT: APPROVED
All changes align with the mission. No test manipulation detected.
If any check fails:
❌ JUDGMENT: REJECTED
Reason: [specific failure reason]
Required action: [what to fix]
Record your decision in the official log:
# If Passed
python .agent/skills/lofi-gate-checkpoint/scripts/logger.py --source "CHECKPOINT" --status "PASS" --message "Approved changes."
# If Failed
python .agent/skills/lofi-gate-checkpoint/scripts/logger.py --source "CHECKPOINT" --status "FAIL" --message "Reason for rejection..."Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.