Guard
Skill tranhieutt/software_development_department/.claude/skills/guard
Software Development Department
npx -y skills add tranhieutt/software_development_department --skill guardAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its author says it does
Copied from the file, not written here
Enforces project safety constraints by blocking risky operations outside their approved scope during active development. Use when activating a safety guard or constraint for the current session.
SKILL.md
2.1 KB, 436 tokens by cl100k_base, as published. Nobody here has run it
Guard Check
Check the freeze status of the codebase. Use as a gate check before any operations on the main branch.
Workflow
1. Read .freeze
If it does not exist:
β
CLEAR β No active freeze.
Development and merging can proceed normally.
Stop here.
If it exists, proceed to step 2.
2. Display Freeze Warning
π CODEBASE IS FROZEN
Reason : [REASON from .freeze]
Since : [FROZEN_AT]
Branch : [BRANCH]
Duration: [calculated from FROZEN_AT to current time]
β οΈ Non-critical merges are blocked during a freeze period.
3. Categorize the Request
Ask:
"What type of operation is this?"
A) Urgent Hotfix β production bug, security patch B) Release Artifact β changelog, version bump, release notes C) Non-critical β feature, refactor, chore, normal docs
If A or B: Allow to proceed with a note:
"β οΈ Permitted to proceed. Note that this is a freeze period β execute only necessary operations."
If C: Block and instruct:
"π« Non-critical changes must wait until after
/unfreeze. Save your work and continue after the release is complete."
4. Suggestions
/unfreezeβ If the release is finished/release-checklistβ If currently in the release process/hotfixβ If an urgent fix deployment is needed
Edge Cases
- No .freeze: Just report CLEAR, ask no further questions.
- User unsure of operation type: Ask for more details to categorize correctly before deciding.
Related Skills
/freezeβ Lock codebase/unfreezeβ Remove freeze/hotfixβ Urgent deployment during freeze/release-checklistβ Full release workflow