~ / rigs / Devpanchal37 / claude-code-playbooks

Devpanchal37/claude-code-playbooks

Production-grade Claude Code agent setup for Flutter and Laravel. Agents, orchestration, gates, memory, and every workflow documented. Generic + framework-specific.

↗ GitHub ★ 3 MIT updated 4mo ago project Claude Code
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~12.0k tokens
Heavy · median rig: 2.3k · breakdown
GUARDRAILS
2/5
Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude ./rig-claude-code-playbooks  # 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 Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude/skills/android-clean-architecture .claude/skills/android-clean-architecture
$ npx degit Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude/skills/api-design .claude/skills/api-design
$ npx degit Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude/skills/coding-standards .claude/skills/coding-standards
$ npx degit Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude/skills/continuous-learning-v2 .claude/skills/continuous-learning-v2
$ npx degit Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude/skills/deep-research .claude/skills/deep-research
$ npx degit Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude/skills/e2e-testing .claude/skills/e2e-testing
$ npx degit Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude/skills/flutter-generic-patterns .claude/skills/flutter-generic-patterns
$ npx degit Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude/skills/search-first .claude/skills/search-first
$ npx degit Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude/skills/security-review .claude/skills/security-review
$ npx degit Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude/skills/security-scan .claude/skills/security-scan
$ npx degit Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude/skills/strategic-compact .claude/skills/strategic-compact
$ npx degit Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude/skills/tdd-workflow .claude/skills/tdd-workflow
$ npx degit Devpanchal37/claude-code-playbooks/flutter-generic/template/.claude/skills/verification-loop .claude/skills/verification-loop
$ npx degit Devpanchal37/claude-code-playbooks/flutter-getx/template/.claude/skills/flutter-cloner-patterns .claude/skills/flutter-cloner-patterns
$ curl -fsSL --create-dirs -o .claude/agents/architect.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/architect.md
$ curl -fsSL --create-dirs -o .claude/agents/build-error-resolver.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/build-error-resolver.md
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/developer.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/developer.md
$ curl -fsSL --create-dirs -o .claude/agents/doc-updater.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/doc-updater.md
$ curl -fsSL --create-dirs -o .claude/agents/e2e-runner.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/e2e-runner.md
$ curl -fsSL --create-dirs -o .claude/agents/fr-analyst.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/fr-analyst.md
$ curl -fsSL --create-dirs -o .claude/agents/loop-operator.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/loop-operator.md
$ curl -fsSL --create-dirs -o .claude/agents/planner.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/planner.md
$ curl -fsSL --create-dirs -o .claude/agents/project_map.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/project_map.md
$ curl -fsSL --create-dirs -o .claude/agents/refactor-cleaner.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/refactor-cleaner.md
$ curl -fsSL --create-dirs -o .claude/agents/security-reviewer.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/security-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/systematic-debugger.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/systematic-debugger.md
$ curl -fsSL --create-dirs -o .claude/agents/tdd-guide.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/tdd-guide.md
$ curl -fsSL --create-dirs -o .claude/agents/ui-design-enforcer.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/ui-design-enforcer.md
$ curl -fsSL --create-dirs -o .claude/agents/ui-reviewer.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-generic/template/.claude/agents/ui-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/architect.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/architect.md
$ curl -fsSL --create-dirs -o .claude/agents/build-error-resolver.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/build-error-resolver.md
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/developer.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/developer.md
$ curl -fsSL --create-dirs -o .claude/agents/doc-updater.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/doc-updater.md
$ curl -fsSL --create-dirs -o .claude/agents/e2e-runner.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/e2e-runner.md
$ curl -fsSL --create-dirs -o .claude/agents/fr-analyst.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/fr-analyst.md
$ curl -fsSL --create-dirs -o .claude/agents/loop-operator.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/loop-operator.md
$ curl -fsSL --create-dirs -o .claude/agents/planner.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/planner.md
$ curl -fsSL --create-dirs -o .claude/agents/project_map.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/project_map.md
$ curl -fsSL --create-dirs -o .claude/agents/refactor-cleaner.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/refactor-cleaner.md
$ curl -fsSL --create-dirs -o .claude/agents/security-reviewer.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/security-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/systematic-debugger.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/systematic-debugger.md
$ curl -fsSL --create-dirs -o .claude/agents/tdd-guide.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/tdd-guide.md
$ curl -fsSL --create-dirs -o .claude/agents/ui-design-enforcer.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/ui-design-enforcer.md
$ curl -fsSL --create-dirs -o .claude/agents/ui-reviewer.md https://raw.githubusercontent.com/Devpanchal37/claude-code-playbooks/main/flutter-getx/template/.claude/agents/ui-reviewer.md

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

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write",
        "hooks": [
          {
            "type": "command",
            "command": "python -c 'import sys,json; d=json.load(sys.stdin); f=d.get(\"tool_input\",{}).get(\"file_path\",\"\"); print(json.dumps({\"systemMessage\":\"WARNING: Main Claude should not directly edit Dart/pubspec files. Use the developer agent instead.\"})) if ("
          },
          {
            "type": "command",
            "command": "python -c 'import sys,json; d=json.load(sys.stdin); f=d.get(\"tool_input\",{}).get(\"file_path\",\"\"); print(json.dumps({\"systemMessage\":\"WARNING: Main Claude should not directly edit Dart/pubspec files. Use the developer agent instead.\"})) if ("
          }
        ]
      }
    ]
  }
}

Skills (14)

Subagents (32)

architect
model: opus
Flutter architecture specialist. Use PROACTIVELY when planning new features, refactoring large systems, or making architectural decisions for Flutter apps.
build-error-resolver
model: sonnet
Flutter/Dart build and analysis error resolution specialist. Use PROACTIVELY when flutter analyze fails, flutter test has compilation errors, or pub get fails. Fixes errors with minimal diffs — no arc
code-reviewer
model: sonnet
Flutter code review specialist. Proactively reviews Dart/Flutter code for quality, security, and adherence to Clean Architecture conventions. MUST BE USED for all code changes.
developer
model: sonnet
Complete Flutter development workflow executor. Follows CLAUDE.md "Develop [module]" protocol exactly. Handles module intake, per-feature implementation loops, checkpointing, validation, and documenta
doc-updater
model: haiku
Documentation and codemap specialist for Flutter projects. Use PROACTIVELY for updating docs/ after major feature additions, architecture changes, or when CLAUDE.md needs refreshing.
e2e-runner
model: sonnet
Flutter integration test specialist. Use PROACTIVELY for generating, maintaining, and running Flutter integration tests with package:integration_test. Covers critical user flows on real devices/emulat
fr-analyst
model: sonnet
FR Analyst agent for converting user requirements into complete FR documentation packages. Use when a new feature, flow, or requirement is described by the user.
loop-operator
model: sonnet
Operate autonomous agent loops, monitor progress, and intervene safely when loops stall.
planner
model: opus
Expert planning specialist for Flutter features and refactoring. Creates detailed implementation plans and strategies. Use PROACTIVELY when users request feature implementation, architectural changes,
project-map
model: haiku
Living project structure map and deep change impact tracker for {{APP_NAME}}. Regenerates docs/maps/project_map.md by reading FR files, registries, and Dart source. Tracks module connections and deep
refactor-cleaner
model: sonnet
Flutter/Dart dead code cleanup and consolidation specialist. Use PROACTIVELY for removing unused code, duplicates, and refactoring large files. Uses flutter analyze and dart analyze to identify dead c
security-reviewer
model: sonnet
Flutter/mobile security specialist. Use PROACTIVELY after writing code that handles auth tokens, user input, API calls, or sensitive data. Flags hardcoded secrets, insecure storage, network vulnerabil
systematic-debugger
model: sonnet
Flutter systematic debugging specialist for the {{APP_NAME}} app. CRITICAL IDENTITY: For ANY bug where a value, amount, count, or data field is wrong/mismatched — the DATA GATE fires IMMEDIATELY. The
tdd-guide
model: sonnet
Flutter/Dart TDD specialist enforcing write-tests-first methodology. Use PROACTIVELY when writing new features, fixing bugs, or refactoring code. Ensures 80%+ coverage for use cases, repositories, and
ui-design-enforcer
model: haiku
Pre-implementation UI design thinking enforcer for {{APP_NAME}}. Use BEFORE writing any screen or widget. Forces design direction commitment so implementation has intentional aesthetics — not generic
ui-reviewer
model: sonnet
Flutter UI design quality reviewer for {{APP_NAME}}. Checks implemented screens against CLAUDE.md design standards ({{DESIGN_BENCHMARK}} benchmark, animations, UI states, consistency). Runs after deve
architect
model: opus
Flutter/GetX architecture specialist. Use PROACTIVELY when planning new features, refactoring large systems, or making architectural decisions for Flutter apps with Clean Architecture and GetX.
build-error-resolver
model: sonnet
Flutter/Dart build and analysis error resolution specialist. Use PROACTIVELY when flutter analyze fails, flutter test has compilation errors, or pub get fails. Fixes errors with minimal diffs — no arc
code-reviewer
model: sonnet
Flutter/GetX code review specialist. Proactively reviews Dart/Flutter code for quality, security, and adherence to GetX Clean Architecture conventions. MUST BE USED for all code changes.
developer
model: sonnet
Complete Flutter/GetX development workflow executor. Follows CLAUDE.md "Develop [module]" protocol exactly. Handles module intake, per-feature implementation loops, checkpointing, validation, and docu
doc-updater
model: haiku
Documentation and codemap specialist for Flutter projects. Use PROACTIVELY for updating docs/ after major feature additions, architecture changes, or when CLAUDE.md needs refreshing.
e2e-runner
model: sonnet
Flutter integration test specialist. Use PROACTIVELY for generating, maintaining, and running Flutter integration tests with package:integration_test. Covers critical user flows on real devices/emulat
fr-analyst
model: sonnet
FR Analyst agent for converting user requirements into complete FR documentation packages. Use when a new feature, flow, or requirement is described by the user.
loop-operator
model: sonnet
Operate autonomous agent loops, monitor progress, and intervene safely when loops stall.
planner
model: opus
Expert planning specialist for Flutter/GetX features and refactoring. Creates detailed implementation plans and strategies. Use PROACTIVELY when users request feature implementation, architectural cha
project-map
model: haiku
Living project structure map and deep change impact tracker for {{APP_NAME}}. Regenerates docs/maps/project_map.md by reading FR files, registries, and Dart source. Tracks module connections and deep
refactor-cleaner
model: sonnet
Flutter/Dart dead code cleanup and consolidation specialist. Use PROACTIVELY for removing unused code, duplicates, and refactoring large files. Uses flutter analyze and dart analyze to identify dead c
security-reviewer
model: sonnet
Flutter/mobile security specialist. Use PROACTIVELY after writing code that handles auth tokens, user input, API calls, or sensitive data. Flags hardcoded secrets, insecure storage, network vulnerabil
systematic-debugger
model: sonnet
Flutter/GetX/Laravel systematic debugging specialist for the {{APP_NAME}} app. CRITICAL IDENTITY: For ANY bug where a value, amount, count, or data field is wrong/mismatched — the DATA GATE fires IMME
tdd-guide
model: sonnet
Flutter/Dart TDD specialist enforcing write-tests-first methodology. Use PROACTIVELY when writing new features, fixing bugs, or refactoring code. Ensures 80%+ coverage for use cases, repositories, and
ui-design-enforcer
model: haiku
Pre-implementation UI design thinking enforcer for {{APP_NAME}}. Use BEFORE writing any screen or widget. Forces design direction commitment so implementation has intentional aesthetics — not generic
ui-reviewer
model: sonnet
Flutter UI design quality reviewer for {{APP_NAME}}. Checks implemented screens against CLAUDE.md design standards ({{DESIGN_BENCHMARK}} benchmark, animations, UI states, consistency). Runs after deve

Hooks (6)

eventmatcherruns
PreToolUseEdit|Writepython -c 'import sys,json; d=json.load(sys.stdin); f=d.get("tool_input",{}).get("file_path",""); print(json.dumps({"systemMessage":"WARNING: Main Claude should not directly edit Dart/pubspec files. Use the developer agent instead."})) if (
PostToolUseEdit|Write|Bashcode-review-graph update --quiet
SessionStart*code-review-graph status --json
PreToolUseEdit|Writepython -c 'import sys,json; d=json.load(sys.stdin); f=d.get("tool_input",{}).get("file_path",""); print(json.dumps({"systemMessage":"WARNING: Main Claude should not directly edit Dart/pubspec files. Use the developer agent instead."})) if (
PostToolUseEdit|Write|Bashcode-review-graph update --quiet
SessionStart*code-review-graph status --json

Slash commands (66)

/aside/build-fix/checkpoint/claw/code-review/e2e/eval/evolve/harness-audit/instinct-export/instinct-import/instinct-status/learn-eval/learn/loop-start/loop-status/model-route/orchestrate/plan/projects/promote/prompt-optimize/quality-gate/refactor-clean/resume-session/save-session/sessions/skill-create/tdd/test-coverage/update-codemaps/update-docs/verify/aside/build-fix/checkpoint/claw/code-review/e2e/eval/evolve/harness-audit/instinct-export/instinct-import/instinct-status/learn-eval/learn/loop-start/loop-status/model-route/orchestrate/plan/projects/promote/prompt-optimize/quality-gate/refactor-clean/resume-session/save-session/sessions/skill-create/tdd/test-coverage/update-codemaps/update-docs/verify

Permissions

deny (0)
—
ask (0)
—
allow (62)
Read(//YOUR_PROJECT_ROOT/**)
Read(//YOUR_PROJECT_ROOT/docs/**)
Read(//YOUR_HOME/.claude/**)
Bash(flutter analyze:*)
Bash(flutter test:*)
Bash(flutter clean:*)
Bash(flutter pub:*)
Bash(dart fix:*)
Bash(dart format:*)
Bash(gh api:*)
Bash(gh search:*)
Bash(claude --version)
Bash(claude mcp:*)
Bash(find YOUR_PROJECT_ROOT/lib/src -name *route* -type f)
Bash(ls -la "YOUR_PROJECT_ROOT\.claude" 2>/dev/null || echo "No project .claude folder")
Bash(grep -E "^\\s+\(Expected|Actual|Which|test\\\\\)")
Bash(xargs grep:*)
Bash(powershell -Command ":*)
Bash(python -c ":*)
Bash(python3 -c ":*)
Bash(node -e ":*)
Bash(node:*)
WebFetch(domain:github.com)
WebFetch(domain:raw.githubusercontent.com)
WebFetch(domain:www.figma.com)
WebSearch
mcp__figma__get_design_context
mcp__figma__whoami
mcp__figma__get_figma_data
mcp__plugin_claude-mem_mcp-search__search
mcp__plugin_claude-mem_mcp-search__get_observations
Read(//YOUR_PROJECT_ROOT/**)
Read(//YOUR_PROJECT_ROOT/docs/**)
Read(//YOUR_HOME/.claude/**)
Bash(flutter analyze:*)
Bash(flutter test:*)
Bash(flutter clean:*)
Bash(flutter pub:*)
Bash(dart fix:*)
Bash(dart format:*)
Bash(gh api:*)
Bash(gh search:*)
Bash(claude --version)
Bash(claude mcp:*)
Bash(find YOUR_PROJECT_ROOT/lib/src -name *route* -type f)
Bash(ls -la "YOUR_PROJECT_ROOT\.claude" 2>/dev/null || echo "No project .claude folder")
Bash(grep -E "^\\s+\(Expected|Actual|Which|test\\\\\)")
Bash(xargs grep:*)
Bash(powershell -Command ":*)
Bash(python -c ":*)
Bash(python3 -c ":*)
Bash(node -e ":*)
Bash(node:*)
WebFetch(domain:github.com)
WebFetch(domain:raw.githubusercontent.com)
WebFetch(domain:www.figma.com)
WebSearch
mcp__figma__get_design_context
mcp__figma__whoami
mcp__figma__get_figma_data

Similar rigs

copied ✓