Software_development_department freeze
Locks the codebase to prevent unintended writes during a freeze period such as before a release or during an incident. Use when the user mentions freezing, code lock, or release lockdown.
install
source · Clone the upstream repo
git clone https://github.com/tranhieutt/software_development_department
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/tranhieutt/software_development_department "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/freeze" ~/.claude/skills/tranhieutt-software-development-department-freeze && rm -rf "$T"
manifest:
.claude/skills/freeze/SKILL.mdsource content
Code Freeze
Lock the codebase in preparation for a release. Create a
.freeze file containing freeze information.
Workflow
1. Read Current Status
Check if
.freeze already exists by reading the file. If it exists, display the information and ask:
"The codebase is currently frozen for: [REASON]. Do you want to override the current freeze? (yes/no)"
If no, stop.
2. Get Freeze Reason
If no argument is provided, ask:
"What is the reason for the freeze? (e.g., 'Release v2.1.0', 'Hotfix deployment', 'Sprint end')"
3. Create .freeze
File
.freezeWrite the following content:
FROZEN=true REASON=[reason] FROZEN_AT=[ISO timestamp] BRANCH=[current branch from git rev-parse --abbrev-ref HEAD]
4. Notification
Display:
🔒 CODEBASE FROZEN Reason : [reason] Time : [timestamp] Branch : [branch] Non-critical merges are blocked. Only hotfixes are permitted. To unlock: /unfreeze
5. Suggested Next Steps
— Run the full release checklist/release-checklist
— Check the freeze status at any time/guard
— Unlock after the release is complete/unfreeze
Edge Cases
- Existing freeze: Ask for override confirmation before overwriting.
- No git repository: Still create
but omit the BRANCH field..freeze
Related Skills
— Check freeze status before merge/deploy/guard
— Remove freeze after release/unfreeze
— Full release workflow/release-checklist
— Deploy urgent fixes during a freeze/hotfix