~ / rigs / DNYoussef / Spek-template

DNYoussef/Spek-template

The template is now production-ready with comprehensive setup instructions for: - Claude Code, Gemini CLI, Codex CLI - All MCP servers and API integrations - Security scanning and quality gates - Complete workflow automation

↗ GitHub ★ 2 no license updated 1.0y ago project Claude Code
share on X
ARCHETYPE
MCP Hoarder
Six or more MCP servers wired in. Every tool, always in context.
CONTEXT TAX · EVERY TURN
~25.4k tokens
Context hog · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ claude mcp add filesystem -- mcp-server-filesystem --path ./
$ claude mcp add memory -- mcp-server-memory
$ claude mcp add everything -- mcp-server-everything
$ claude mcp add sequential-thinking -- mcp-server-sequential-thinking
$ claude mcp add ref-tools -- ref-tools-mcp
$ claude mcp add figma -- figma-mcp
$ claude mcp add puppeteer -- puppeteer-mcp-server
$ npx degit DNYoussef/Spek-template/.claude ./rig-spek-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.

$ claude mcp add filesystem -- mcp-server-filesystem --path ./
$ claude mcp add memory -- mcp-server-memory
$ claude mcp add everything -- mcp-server-everything
$ claude mcp add sequential-thinking -- mcp-server-sequential-thinking
$ claude mcp add ref-tools -- ref-tools-mcp
$ claude mcp add figma -- figma-mcp
$ claude mcp add puppeteer -- puppeteer-mcp-server
$ curl -fsSL --create-dirs -o .claude/agents/analyze-code-quality.md https://raw.githubusercontent.com/DNYoussef/Spek-template/main/.claude/agents/analysis/code-review/analyze-code-quality.md
$ curl -fsSL --create-dirs -o .claude/agents/arch-system-design.md https://raw.githubusercontent.com/DNYoussef/Spek-template/main/.claude/agents/architecture/system-design/arch-system-design.md
$ curl -fsSL --create-dirs -o .claude/agents/ai-engineer.md https://raw.githubusercontent.com/DNYoussef/Spek-template/main/.claude/agents/data/ai/ai-engineer.md
$ curl -fsSL --create-dirs -o .claude/agents/data-ml-model.md https://raw.githubusercontent.com/DNYoussef/Spek-template/main/.claude/agents/data/ml/data-ml-model.md
$ curl -fsSL --create-dirs -o .claude/agents/devops-automator.md https://raw.githubusercontent.com/DNYoussef/Spek-template/main/.claude/agents/devops/automation/devops-automator.md
$ curl -fsSL --create-dirs -o .claude/agents/ops-cicd-github.md https://raw.githubusercontent.com/DNYoussef/Spek-template/main/.claude/agents/devops/ci-cd/ops-cicd-github.md
$ curl -fsSL --create-dirs -o .claude/agents/docs-api-openapi.md https://raw.githubusercontent.com/DNYoussef/Spek-template/main/.claude/agents/documentation/api-docs/docs-api-openapi.md
$ curl -fsSL --create-dirs -o .claude/agents/feedback-synthesizer.md https://raw.githubusercontent.com/DNYoussef/Spek-template/main/.claude/agents/product/feedback/feedback-synthesizer.md
$ curl -fsSL --create-dirs -o .claude/agents/sprint-prioritizer.md https://raw.githubusercontent.com/DNYoussef/Spek-template/main/.claude/agents/product/planning/sprint-prioritizer.md
$ curl -fsSL --create-dirs -o .claude/agents/trend-researcher.md https://raw.githubusercontent.com/DNYoussef/Spek-template/main/.claude/agents/product/research/trend-researcher.md
$ curl -fsSL --create-dirs -o .claude/agents/spec-mobile-react-native.md https://raw.githubusercontent.com/DNYoussef/Spek-template/main/.claude/agents/specialized/mobile/spec-mobile-react-native.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": [
      "Bash(rm -rf /)",
      "Bash(curl * | bash)",
      "Bash(wget * | sh)",
      "Bash(eval *)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "cat | jq -r '.tool_input.command // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-command --command '{}' --validate-safety true --prepare-resources true"
          }
        ]
      },
      {
        "matcher": "Write|Edit|MultiEdit",
        "hooks": [
          {
            "type": "command",
            "command": "cat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\\n' '\\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-edit --file '{}' --auto-assign-agents true --load-context true"
          },
          {
            "type": "command",
            "command": "/bin/bash -c 'FILE=$(cat | jq -r \".tool_input.file_path // .tool_input.path // empty\"); if [ -n \"$FILE\" ]; then CHECKPOINT_BRANCH=\"checkpoint/pre-edit-$(date +%Y%m%d-%H%M%S)\"; git add -A && git stash push -m \"Pre-edit checkpoint for $FILE\" "
          }
        ]
      }
    ]
  }
}

MCP servers (7)

serversourceest. tokens
mcp-server-filesystem · "filesystem" binary 2.5k
mcp-server-memory · "memory" binary 2.5k
mcp-server-everything · "everything" binary 2.5k
Sequential Thinking · "sequential-thinking" binary 900
ref-tools-mcp · "ref-tools" binary 2.5k
Figma binary 3.0k
Puppeteer binary 2.2k

Subagents (11)

analyze-code-qualityanalyze-code-quality agent for SPEK pipeline
arch-system-designarch-system-design agent for SPEK pipeline
ai-engineer>-
data-ml-modeldata-ml-model agent for SPEK pipeline
devops-automator>-
ops-cicd-githubops-cicd-github agent for SPEK pipeline
docs-api-openapidocs-api-openapi agent for SPEK pipeline
feedback-synthesizerfeedback-synthesizer agent for SPEK pipeline
sprint-prioritizersprint-prioritizer agent for SPEK pipeline
trend-researcher>-
spec-mobile-react-nativespec-mobile-react-native agent for SPEK pipeline

Hooks (11)

eventmatcherruns
PreToolUseBashcat | jq -r '.tool_input.command // empty' | tr '\n' '\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-command --command '{}' --validate-safety true --prepare-resources true
PreToolUseWrite|Edit|MultiEditcat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\n' '\0' | xargs -0 -I {} npx claude-flow@alpha hooks pre-edit --file '{}' --auto-assign-agents true --load-context true
PreToolUseWrite|Edit|MultiEdit/bin/bash -c 'FILE=$(cat | jq -r ".tool_input.file_path // .tool_input.path // empty"); if [ -n "$FILE" ]; then CHECKPOINT_BRANCH="checkpoint/pre-edit-$(date +%Y%m%d-%H%M%S)"; git add -A && git stash push -m "Pre-edit checkpoint for $FILE"
PostToolUseBashcat | jq -r '.tool_input.command // empty' | tr '\n' '\0' | xargs -0 -I {} npx claude-flow@alpha hooks post-command --command '{}' --track-metrics true --store-results true
PostToolUseWrite|Edit|MultiEditcat | jq -r '.tool_input.file_path // .tool_input.path // empty' | tr '\n' '\0' | xargs -0 -I {} npx claude-flow@alpha hooks post-edit --file '{}' --format true --update-memory true
PostToolUseWrite|Edit|MultiEdit/bin/bash -c 'FILE=$(cat | jq -r ".tool_input.file_path // .tool_input.path // empty"); if [ -n "$FILE" ] && [ -f "$FILE" ]; then if ! git ls-files --error-unmatch "$FILE" >/dev/null 2>&1; then git add "$FILE"; fi; if ! (git diff --cached -
UserPromptSubmit*/bin/bash -c 'INPUT=$(cat); TASK=$(echo "$INPUT" | jq -r ".prompt // empty" 2>/dev/null | head -c 100 | tr "\n" " "); if [ -z "$TASK" ]; then TASK="Task checkpoint"; fi; if [ -n "$TASK" ]; then CHECKPOINT_NAME="task-$(date +%Y%m%d-%H%M%S)";
Stop*npx claude-flow@alpha hooks session-end --generate-summary true --persist-state true --export-metrics true
Stop*/bin/bash -c 'SESSION_ID="session-$(date +%Y%m%d-%H%M%S)"; SUMMARY_FILE=".claude/checkpoints/summary-$SESSION_ID.md"; mkdir -p .claude/checkpoints && echo "# Session Summary - $(date +"%Y-%m-%d %H:%M:%S") ## Checkpoints Created $(find .cla
PreCompactmanual/bin/bash -c 'INPUT=$(cat); CUSTOM=$(echo "$INPUT" | jq -r ".custom_instructions // """); echo " PreCompact Guidance:"; echo " IMPORTANT: Review CLAUDE.md in project root for:"; echo " 54 available agents and concurrent usage patterns";
PreCompactauto/bin/bash -c 'echo " Auto-Compact Guidance (Context Window Full):"; echo " CRITICAL: Before compacting, ensure you understand:"; echo " All 54 agents available in .claude/agents/ directory"; echo " Concurrent execution patterns from C

Slash commands (5)

/swarm/examples/truth/start/verify/start/workflows/development/workflows/research

Permissions

deny (4)
Bash(rm -rf /)
Bash(curl * | bash)
Bash(wget * | sh)
Bash(eval *)
ask (0)
—
allow (37)
Bash(npx claude-flow *)
Bash(npm run lint)
Bash(npm run test:*)
Bash(npm test *)
Bash(git status)
Bash(git diff *)
Bash(git log *)
Bash(git add *)
Bash(git commit *)
Bash(git push)
Bash(git config *)
Bash(git tag *)
Bash(git branch *)
Bash(git checkout *)
Bash(git stash *)
Bash(git reset *)
Bash(git rev-parse *)
Bash(git ls-files *)
Bash(gh *)
Bash(node *)
Bash(which *)
Bash(pwd)
Bash(ls *)
Bash(jq *)
Bash(test *)
Bash(find *)
Bash(grep *)
Bash(sed *)
Bash(awk *)
Bash(curl *)
Bash(mkdir *)
Bash(cd *)
Bash(cat *)
Bash(echo *)
Bash(npx claude-flow@alpha *)
Bash(./claude-flow *)
Bash(./.claude/helpers/*)

Similar rigs

copied ✓