guard
Full Safety: /careful + /freeze in one command for maximum safety
Developer Setup
Setup & Installation
npx skills add https://github.com/garrytan/gstack --skill guardnpx skills add https://github.com/garrytan/gstack --skill guardOverview
What This Skill Does
Full Safety: /careful + /freeze in one command for maximum safety
Application
When to use this Skill
- Integrating guard into your development workflow.
- Following best practices for full safety: /careful + /freeze in one command for maximum safety.
- Automating repetitive tasks with AI-assisted tooling.
- Building production-grade applications with proper standards.
- Debugging and troubleshooting common implementation issues.
Documentation
Show Skills.md file
When to invoke this skill
Combines /careful (warns before rm -rf, DROP TABLE, force-push, etc.) with /freeze (blocks edits outside a specified directory). Use for maximum safety when touching prod or debugging live systems. Use when asked to "guard mode", "full safety", "lock it down", or "maximum safety".
/guard — Full Safety Mode
Activates both destructive command warnings and directory-scoped edit restrictions.
This is the combination of /careful + /freeze in a single command.
Dependency note: This skill references hook scripts from the sibling /careful
and /freeze skill directories. Both must be installed (they are installed together
by the gstack setup script).
mkdir -p ~/.gstack/analytics
echo '{"skill":"guard","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown")'"}' >> ~/.gstack/analytics/skill-usage.jsonl 2>/dev/null || true
Recommendations
Explore other random skills
flutter-building-forms
Build Flutter forms with validation and user input
flutter-building-layouts
Build and fix layouts using the constraint system (Row, Column, Stack)
flutter-building-plugins
Create Flutter plugins that bridge Dart with platform code