~ / rigs / andres-codigo / trip-fotos-react

andres-codigo/trip-fotos-react

React + Firebase app for sharing travel destinations and photos, ported from a Vue course project and live on Vercel. Built with an AI-assisted workflow: Claude Code and Copilot share repo instructions, with hooks, a /verify skill and Vites

↗ GitHub ★ 1 no license updated 15d ago project Claude CodeCopilot
share on X
ARCHETYPE
Fort Knox
Deny lists, pre-tool hooks, sandboxing. Nothing touches prod without a signature.
CONTEXT TAX · EVERY TURN
~2.9k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
5/5
Blocks destructive commands · Protects secrets · Pre-tool screening hook · No YOLO mode · Sandbox or ask-first rules · details
Quality 54/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit andres-codigo/trip-fotos-react/.claude ./rig-trip-fotos-react  # 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 andres-codigo/trip-fotos-react/.claude/skills/finish-pr .claude/skills/finish-pr
$ npx degit andres-codigo/trip-fotos-react/.claude/skills/start-issue .claude/skills/start-issue
$ npx degit andres-codigo/trip-fotos-react/.claude/skills/ui-check .claude/skills/ui-check
$ npx degit andres-codigo/trip-fotos-react/.claude/skills/verify .claude/skills/verify
$ npx degit andres-codigo/trip-fotos-react/docs/ai-assisted-dev-story/vue-parity-programme/skills/backlog-sync .claude/skills/backlog-sync
$ npx degit andres-codigo/trip-fotos-react/docs/ai-assisted-dev-story/vue-parity-programme/skills/implement-item .claude/skills/implement-item
$ npx degit andres-codigo/trip-fotos-react/docs/ai-assisted-dev-story/vue-parity-programme/skills/parity-run .claude/skills/parity-run
$ curl -fsSL --create-dirs -o .claude/agents/create-component.md https://raw.githubusercontent.com/andres-codigo/trip-fotos-react/main/.claude/agents/create-component.md
$ curl -fsSL --create-dirs -o .claude/agents/create-hook.md https://raw.githubusercontent.com/andres-codigo/trip-fotos-react/main/.claude/agents/create-hook.md
$ curl -fsSL --create-dirs -o .claude/agents/create-page.md https://raw.githubusercontent.com/andres-codigo/trip-fotos-react/main/.claude/agents/create-page.md
$ curl -fsSL --create-dirs -o .claude/agents/create-redux-slice.md https://raw.githubusercontent.com/andres-codigo/trip-fotos-react/main/.claude/agents/create-redux-slice.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(./certs/**)",
      "Bash(git push --force *)",
      "Bash(git push -f *)",
      "Bash(git reset --hard *)"
    ],
    "ask": [
      "Bash(npm install *)",
      "Bash(npm run cy:run:e2e:live)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|MultiEdit|Write|Bash",
        "hooks": [
          {
            "type": "command",
            "command": "node \"$CLAUDE_PROJECT_DIR/.claude/hooks/require-open-pr.mjs\""
          }
        ]
      }
    ]
  }
}

Skills (7)

Subagents (4)

create-component
model: sonnet
Use when scaffolding a new React component. Automates folder structure creation, test file setup, checking for reusable UI patterns, and generating component and test boilerplate.
create-hook
model: sonnet
Use when scaffolding a new custom React hook. Decides where the hook lives (component-scoped or shared), creates the folder, hook file and Vitest test, and checks for existing hooks that already cover
create-page
model: sonnet
Use when scaffolding a new React page. Automates page folder creation, route-level composition setup, data-loading integration, and test scaffolding.
create-redux-slice
model: sonnet
Use when creating a new Redux slice. Automates slice structure, reducer and thunk generation with proper error handling, test file setup, and store configuration updates.

Hooks (3)

eventmatcherruns
PostToolUseEdit|MultiEdit|Writenode "$CLAUDE_PROJECT_DIR/.claude/hooks/lint-edited-file.mjs"
PreToolUseEdit|MultiEdit|Write|Bashnode "$CLAUDE_PROJECT_DIR/.claude/hooks/require-open-pr.mjs"
Stop*node "$CLAUDE_PROJECT_DIR/.claude/hooks/require-status-refresh.mjs"

Permissions

deny (5)
Read(./.env)
Read(./certs/**)
Bash(git push --force *)
Bash(git push -f *)
Bash(git reset --hard *)
ask (2)
Bash(npm install *)
Bash(npm run cy:run:e2e:live)
allow (34)
Bash(npm run lint)
Bash(npm run lint:fix)
Bash(npm run vitest:run)
Bash(npm run vitest:coverage)
Bash(npm run cy:run:ct)
Bash(npm run build)
Bash(npx eslint *)
Bash(npx prettier *)
Bash(git status *)
Bash(git diff *)
Bash(git log *)
Bash(git branch *)
Bash(git add *)
Bash(git commit *)
Bash(git push *)
Bash(gh pr merge *)
Bash(gh issue view *)
Bash(gh issue list *)
Bash(gh label list *)
Bash(gh project item-list *)
Bash(gh project field-list *)
Bash(gh pr create --draft *)
Bash(gh pr checks *)
Bash(gh pr view *)
Bash(gh pr list *)
Bash(gh pr ready *)
Bash(gh run list *)
Bash(gh run view *)
Bash(gh project item-edit *)
Bash(git switch -c *)
Bash(node scripts/start-issue.mjs *)
Bash(node .claude/skills/verify/reset-checks.mjs)
Bash(node .claude/skills/verify/reset-checks.mjs cache)
Bash(gh api repos/andres-codigo/trip-fotos-react/issues/*/dependencies/blocked_by --jq *)

Similar rigs

copied ✓