Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 08:29:44 +08:00
commit 3e62448b18
8 changed files with 190 additions and 0 deletions

18
commands/set-mode.md Normal file
View File

@@ -0,0 +1,18 @@
---
name: set-mode
description: "Set VIBESAFE_ENV for subsequent Vibesafe commands (dev|prod)."
arguments:
- name: env
description: "Mode to set (dev or prod)"
required: true
---
Set the Vibesafe mode for this session by exporting `VIBESAFE_ENV`, then report the new value.
Steps (run in order):
1) `export VIBESAFE_ENV="{{ env }}"`
2) `echo "VIBESAFE_ENV=$VIBESAFE_ENV"`
Examples:
- `/vibesafe:set-mode dev`
- `/vibesafe:set-mode prod`