~ / rigs / incubrain / foundry

incubrain/foundry

IncuBrain Foundry is a Nuxt 4 template optimised for creating AI-native businesses

↗ GitHub ★ 79 no license updated 22d ago project Claude CodeCodex
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~902 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Protects secrets · No YOLO mode · details
Quality 20/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit incubrain/foundry/.claude ./rig-foundry  # 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.

$ curl -fsSL --create-dirs -o .claude/agents/browser-tester.md https://raw.githubusercontent.com/incubrain/foundry/main/.claude/agents/browser-tester.md
$ curl -fsSL --create-dirs -o .claude/agents/codebase-explorer.md https://raw.githubusercontent.com/incubrain/foundry/main/.claude/agents/codebase-explorer.md
$ curl -fsSL --create-dirs -o .claude/agents/nuxt-dev.md https://raw.githubusercontent.com/incubrain/foundry/main/.claude/agents/nuxt-dev.md
$ curl -fsSL --create-dirs -o .claude/agents/signal-reviewer.md https://raw.githubusercontent.com/incubrain/foundry/main/.claude/agents/signal-reviewer.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(./secrets/**)"
    ]
  }
}

Subagents (4)

browser-tester—
codebase-explorer—
nuxt-dev—
signal-reviewer—

Hooks (3)

eventmatcherruns
PostToolUseWrite|Editfilepath=$(jq -r '.tool_input.file_path // .tool_input.filePath // empty'); if [ -n "$filepath" ]; then case "$filepath" in *.vue|*.ts|*.js) npx eslint --fix "$filepath" 2>/dev/null || true;; esac; fi
PostToolUseBashcmd=$(jq -r '.tool_input.command // empty'); if echo "$cmd" | grep -q 'agent-browser'; then echo "[$(date +%Y-%m-%dT%H:%M:%S)] $cmd" >> "$CLAUDE_PROJECT_DIR"/.claude/visual-test-log.md; fi
SessionStartcompactecho 'POST-COMPACTION: Use pnpm (not npm). Validation != Product. Max 50 lines/component. Check VueUse before custom. Event tracking via useEvents(). Content in YAML not code. Read module AGENTS.md when working on a specific module.'

Permissions

deny (3)
Read(./.env)
Read(./.env.*)
Read(./secrets/**)
ask (0)
—
allow (18)
Bash(pnpm dev:*)
Bash(pnpm build:*)
Bash(pnpm lint*)
Bash(pnpm test*)
Bash(pnpm run dev:*)
Bash(pnpm run build:*)
Bash(pnpm run lint*)
Bash(pnpm typecheck*)
Bash(pnpm verify*)
Bash(pnpm prepare*)
Bash(git status*)
Bash(git diff*)
Bash(git log*)
Bash(git add *)
Bash(git commit *)
Bash(npx eslint *)
Bash(npx prettier *)
Bash(bash .claude/scripts/visual-review.sh*)

Similar rigs

copied ✓