~ / rigs / azizakmal97 / vibe-coding-template

azizakmal97/vibe-coding-template

Cross-agent, cross-OS guardrails + scaffold that make AI coding agents behave like a disciplined senior engineer. Works with Claude Code, Cursor, Windsurf, Copilot, and more.

share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~18.7k tokens
Context hog · median rig: 2.3k · breakdown
GUARDRAILS
4/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · details
Quality 59/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit azizakmal97/vibe-coding-template/template/.claude ./rig-vibe-coding-template  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit azizakmal97/vibe-coding-template/global-setup/skills/blender-3d .claude/skills/blender-3d
$ npx degit azizakmal97/vibe-coding-template/global-setup/skills/motion-design .claude/skills/motion-design
$ npx degit azizakmal97/vibe-coding-template/global-setup/skills/poster-design .claude/skills/poster-design
$ npx degit azizakmal97/vibe-coding-template/global-setup/skills/social-growth .claude/skills/social-growth
$ npx degit azizakmal97/vibe-coding-template/global-setup/skills/update-template .claude/skills/update-template
$ npx degit azizakmal97/vibe-coding-template/global-setup/skills/video-studio .claude/skills/video-studio
$ npx degit azizakmal97/vibe-coding-template/template/.claude/skills/caveman-default .claude/skills/caveman-default
$ npx degit azizakmal97/vibe-coding-template/template/.claude/skills/design-system .claude/skills/design-system
$ npx degit azizakmal97/vibe-coding-template/template/.claude/skills/security-audit .claude/skills/security-audit
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/azizakmal97/vibe-coding-template/main/template/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/debugger.md https://raw.githubusercontent.com/azizakmal97/vibe-coding-template/main/template/.claude/agents/debugger.md
$ curl -fsSL --create-dirs -o .claude/agents/graph-navigator.md https://raw.githubusercontent.com/azizakmal97/vibe-coding-template/main/template/.claude/agents/graph-navigator.md
$ curl -fsSL --create-dirs -o .claude/agents/migration-writer.md https://raw.githubusercontent.com/azizakmal97/vibe-coding-template/main/template/.claude/agents/migration-writer.md
$ curl -fsSL --create-dirs -o .claude/agents/refactorer.md https://raw.githubusercontent.com/azizakmal97/vibe-coding-template/main/template/.claude/agents/refactorer.md
$ curl -fsSL --create-dirs -o .claude/agents/security-auditor.md https://raw.githubusercontent.com/azizakmal97/vibe-coding-template/main/template/.claude/agents/security-auditor.md
$ curl -fsSL --create-dirs -o .claude/agents/test-writer.md https://raw.githubusercontent.com/azizakmal97/vibe-coding-template/main/template/.claude/agents/test-writer.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "permissions": {
    "deny": [
      "Read(.env)",
      "Read(.env.*)",
      "Read(.dev.vars)",
      "Read(.dev.vars.*)",
      "Read(*.pem)",
      "Read(*.key)",
      "Read(*.p12)",
      "Read(*.pfx)",
      "Read(secrets/**)",
      "Bash(rm -rf *)",
      "Bash(npm publish *)",
      "Bash(npx --yes *)",
      "Bash(prisma migrate reset*)",
      "Bash(npx prisma migrate reset*)",
      "Bash(prisma db push --force-reset*)",
      "Bash(npx prisma db push --force-reset*)",
      "Bash(prisma db push --accept-data-loss*)",
      "Bash(npx prisma db push --accept-data-loss*)",
      "Bash(supabase db reset*)",
      "Bash(dropdb *)",
      "Bash(git push --force *)",
      "Bash(git push -f *)",
      "Bash(git reset --hard *)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/config-protection.cjs\""
          }
        ]
      },
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/validate-command.js\""
          },
          {
            "type": "command",
            "command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/pre-db-migrate.cjs\""
          },
          {
            "type": "command",
            "command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/pre-commit-checkpoint.js\""
          }
        ]
      },
      {
        "matcher": "Artifact",
        "hooks": [
          {
            "type": "command",
            "command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/pre-artifact-antislop.cjs\""
          }
        ]
      }
    ]
  }
}

Skills (9)

Subagents (7)

code-reviewer
model: sonnet
Reviews all code changes before merge. Blocks on critical security or type issues. Run before every commit or PR.
debugger
model: sonnet
Systematic bug hunter. Given an error or unexpected behavior, finds root cause and proves the fix. Never guesses.
graph-navigator
model: sonnet
Reads graphify-out/GRAPH_REPORT.md first, returns minimal file:line set relevant to the question. Cuts main-thread exploration tokens by 60-80%.
migration-writer
model: sonnet
Writes safe DB migrations. Refuses destructive operations without explicit user confirmation. Detects DB engine from project files.
refactorer
model: haiku
Safely improves code quality without changing behavior. Tests must pass before and after. Stop immediately if tests break.
security-auditor
model: opus
Security auditor. Reviews a change touching auth, payments, user data or file uploads (blocks on critical), and is the hunter and the independent verifier for /security-audit.
test-writer
model: sonnet
Writes tests that catch real bugs. Given a function or component, produces meaningful coverage. No test theater.

Hooks (12)

eventmatcherruns
SessionStart*node "$CLAUDE_PROJECT_DIR/.claude/hooks/session-start-resume.js"
SessionStart*node scripts/graphify-bootstrap.mjs
PreToolUseEdit|Write|MultiEditnode "$CLAUDE_PROJECT_DIR/.claude/hooks/config-protection.cjs"
PreToolUseBashnode "$CLAUDE_PROJECT_DIR/.claude/hooks/validate-command.js"
PreToolUseBashnode "$CLAUDE_PROJECT_DIR/.claude/hooks/pre-db-migrate.cjs"
PreToolUseBashnode "$CLAUDE_PROJECT_DIR/.claude/hooks/pre-commit-checkpoint.js"
PreToolUseArtifactnode "$CLAUDE_PROJECT_DIR/.claude/hooks/pre-artifact-antislop.cjs"
PostToolUseEdit|Writenode "$CLAUDE_PROJECT_DIR/.claude/hooks/post-edit-check.cjs"
PostToolUseEdit|Writenode "$CLAUDE_PROJECT_DIR/.claude/hooks/check-file-size.js"
PostToolUseEdit|Writenode "$CLAUDE_PROJECT_DIR/.claude/hooks/post-edit-antislop.cjs"
PostToolUseBashnode "$CLAUDE_PROJECT_DIR/.claude/hooks/post-commit-push.js"
PostToolUseBashnode "$CLAUDE_PROJECT_DIR/.claude/hooks/post-commit-update-progress.js"

Slash commands (17)

/audit/autonomous/check-ci/checkpoint/deploy/fix-bug/forecast-storage/graphify/handover/migrate/new-feature/next-phase/pr-review/pre-publish/resume/security-audit/update-template

Cursor rules (1)

project · always

Permissions

deny (23)
Read(.env)
Read(.env.*)
Read(.dev.vars)
Read(.dev.vars.*)
Read(*.pem)
Read(*.key)
Read(*.p12)
Read(*.pfx)
Read(secrets/**)
Bash(rm -rf *)
Bash(npm publish *)
Bash(npx --yes *)
Bash(prisma migrate reset*)
Bash(npx prisma migrate reset*)
Bash(prisma db push --force-reset*)
Bash(npx prisma db push --force-reset*)
Bash(prisma db push --accept-data-loss*)
Bash(npx prisma db push --accept-data-loss*)
Bash(supabase db reset*)
Bash(dropdb *)
Bash(git push --force *)
Bash(git push -f *)
Bash(git reset --hard *)
ask (0)
—
allow (42)
Bash(npm run *)
Bash(npm ci)
Bash(npm install)
Bash(npx tsc *)
Bash(npx eslint *)
Bash(npx playwright *)
Bash(npx prisma generate*)
Bash(npx prisma validate*)
Bash(npx prisma migrate dev*)
Bash(npx prisma migrate deploy*)
Bash(npx prisma studio*)
Bash(npx vitest *)
Bash(flutter *)
Bash(dart *)
Bash(cargo *)
Bash(rustup *)
Bash(git *)
Bash(gh *)
Bash(node *)
Bash(python *)
Bash(pip *)
Bash(docker *)
Bash(curl *)
Bash(wget *)
Bash(ls *)
Bash(dir *)
Bash(mkdir *)
Bash(mv *)
Bash(cp *)
Bash(cat *)
Bash(type *)
Bash(echo *)
Bash(which *)
Bash(where *)
Bash(pytest *)
Bash(unzip *)
Bash(zip *)
Bash(tar *)
Bash(chmod *)
PowerShell(*)
WebSearch
WebFetch

Similar rigs

copied ✓