Software_development_department guard
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.
git clone https://github.com/tranhieutt/software_development_department
T=$(mktemp -d) && git clone --depth=1 https://github.com/tranhieutt/software_development_department "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/guard" ~/.claude/skills/tranhieutt-software-development-department-guard && rm -rf "$T"
.claude/skills/guard/SKILL.mdGuard Check
Check the freeze status of the codebase. Use as a gate check before any operations on the main branch.
Workflow
1. Read .freeze
.freezeIf 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
. Save your work and continue after the release is complete."/unfreeze
4. Suggestions
— If the release is finished/unfreeze
— If currently in the release process/release-checklist
— If an urgent fix deployment is needed/hotfix
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
— Lock codebase/freeze
— Remove freeze/unfreeze
— Urgent deployment during freeze/hotfix
— Full release workflow/release-checklist