Vibe Security Setup Skill
Use this skill when setting up or updating security guardrails for an AI-assisted coding repository.
Goal
Apply lightweight, reproducible guardrails without blocking normal development unnecessarily.
Steps
- Confirm the current directory is a git repository.
- Run:
vibe-guard doctor
- If global setup is missing, tell the user to run:
bash setup-vibe-guard.sh
- Bootstrap the repository:
vibe-guard repo-bootstrap
- Review generated files:
git diff -- AGENTS.md SECURITY.md .vibe-guard/README.md .github/workflows/vibe-guard.yml
- Do not bypass failed hooks or CI checks.
- If a check blocks work, fix the root cause. Only add a narrow allowlist rule after human review.
Agent rules
- Never use
git commit --no-verifyorgit commit -n. - Never disable or rewrite hooks to continue.
- Never remove security workflows to make CI pass.
- Never expose local paths, personal emails, credentials, private URLs, drive names, or tokens in code, docs, PRs, issues, logs, or commit messages.
- Ask before adding dependencies, enabling network access, changing auth, changing CI/CD, or editing secret handling.
Output
When finished, report:
- Whether global hook is active.
- Whether repo bootstrap files exist.
- What was changed.
- Any blocked items and how they were remediated.