Receber por email
← Voltar para o catálogo

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.

67estrelas
Atualizado há 5 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add tranhieutt/software_development_department

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/guard-tranhieutt/svg)](https://www.skillteca.com.br/skills/guard-tranhieutt)
#ai

Skills relacionadas

Ver todas de Outros →

Alerta por categoria

Receba novas skills de Outros toda segunda

1 email curto, só com as skills novas de Outros. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

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
Compartilhar X LinkedIn