Skip to content
Development
Skill

/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.

From plugin
software-development-department
74116 skills28 agents1 MCP

Claude Code

$ npx -y skills add tranhieutt/software_development_department --skill guard --agent claude-code

SKILL.md

guard.SKILL.md
name: guard
type: workflow
description: "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."
argument-hint: "[no arguments]"
user-invocable: true
allowed-tools: Read, Bash
effort: 1
agent: release-manager
when_to_use: "Before merging PR, deploying, or pushing to main/develop when unsure if a freeze is active"

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
Read more
@tranhieutt
Ships withsoftware-development-department

Software Development Department

74116 skills28 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
74
Star history of tranhieutt/software_development_department on GitHub, a chart by star-history.com

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, orโ€ฆ

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android โ€” semantic ARIA roles and labels,โ€ฆ

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commitsโ€ฆ

react5d252k
@facebook@facebookInstall Skill

Questions about guard.

Which coding agents can use guard?
guard installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.