Claude Code — Team Onboarding Kit
Get your team from zero to productive with Claude Code in under 30 minutes.
This repository is a pre-configured starter kit packed with agents, skills, slash commands, and MCP integrations — ready to go for the following tech stack:
| Layer | Technologies |
|---|---|
| Backend | Java 21, Spring Boot WebFlux v3.5.x, Node.js v24.14, NestJS v11.17.x, Python v3.14 |
| Agentic AI | Python 3.14, LangChain v1.2.8, LangGraph v1.0.7, Google ADK, FastAPI 0.135.2 |
| Frontend | Angular 21.2.x, TypeScript 5.9.x, A2UI v0.8 (Agent-to-User Interface renderer), Three.js r160+ (3D/WebGL) |
| Mobile | Flutter 3.41.x, Dart 3.10.9, three_dart (3D in Flutter) |
| Data & Infra | PostgreSQL, pgvector (vector search), Weaviate Serverless, Firebase |
| AI Tooling | Claude Code, MCP servers |
Clone it, install Claude Code, and start building.

Table of Contents
- Claude Code — Team Onboarding Kit
- Table of Contents
- What is Claude Code?
- 1. Prerequisites
- 2. Clone This Repo
- 3. Set Up Your Editor (Install VS Code)
- 4. Install Claude Code
- 5. First-time Using Claude Code
- 6. Install Claude-Mem (Persistent Memory) (Optional)
- 7. Enable Voice Mode (Optional)
- 8. Try It Out — Your First 5 Minutes
- 9. Understanding Claude Code Components
- How They Fit Together
- Decision Matrix - When to Use What
- CLAUDE.md (Project Context)
- Slash Commands — Reusable Prompt Shortcuts
- Agents (Subagents) — Specialist AI Personas
- Subagent-Driven Development (SDD) — Plan-to-PR Pipeline
- Skills — Auto-Activated Knowledge
- MCP Servers — External Tool Integrations
- settings.json Configuration
- Hooks — Automated Guardrails
- Lessons Log — Self-Improvement Loop
- Model Selection & Cost Awareness
- 10. Cheaper Alternative: MiniMax M2.5
- 11. Multiple Sub Agents
- 12. Agent Teams — Coordinated Multi-Agent Collaboration
- 13. Claude Code Desktop — GUI with Live Preview
- 14. What Gets Sent to the LLM?
- 15. What's in This Repo
- 16. iOS App Store Release Pipeline
- 17. Android Google Play Release Pipeline
- 16. Hands-On Exercises
- Exercise 1: Scaffold a Flutter Fitness App
- Exercise 2: Build a Weather REST API (Java)
- Exercise 3: Build a Todo API (NestJS)
- Exercise 4: Build an Analytics API (Python)
- Exercise 5: Design a Full-Stack E-Commerce System
- Exercise 6: Pull Live Docs with Context7 (MCP)
- Exercise 7: Design & Review Architecture
- Exercise 8: Build an AI Agent Service (Agentic AI)
- Exercise 9: Domain-Driven Design with DDD Architect
- Exercise 10: Add a Feature End-to-End
- Exercise 11: Build an A2UI Renderer (Agent-to-User Interface)
- Exercise 12: Build a Google ADK Agent Service
- Exercise 13: Build a Three.js 3D Scene (Angular/Web)
- Exercise 14: Build a three_dart 3D Scene (Flutter)
- What's Next?
- 17. Development Workflow — Putting It All Together
- 17a. AI-DLC — Full Development Lifecycle Workflow (Optional)
- 18. Security Considerations
- 19. Customizing the Kit
- 20. Claude Code Power Features
- 21. Tips & Best Practices
- 22. Troubleshooting
- 23. Quick Reference Card
- 24. Resources
What is Claude Code?
Claude Code is an agentic AI coding assistant that lives in your terminal. It understands your codebase, edits files, runs commands, and writes code — all through natural language.
Think of it as a senior developer pair-programming with you who knows your entire project, follows your team's conventions, and never gets tired.
1. Prerequisites
Before you begin, make sure you have:
Optional for Quick Start (required for MCP servers):
2. Clone This Repo
This repo is your playground — use it to learn and practice Claude Code (Agentic AI coding assistant) and get familiar with its components (agents, skills, slash commands, hooks, MCP servers, memory) so you can automate your development workflow.
Option A: Learn & Explore (recommended for first-timers)
Clone the full repo and work through the exercises:
bashgit clone https://github.com/kumaran-is/claude-code-onboarding.git cd claude-code-onboarding
Option B: Adopt into an Existing Project
Already have a project? Copy just the Claude Code configuration into it:
bash# From the cloned repo, copy the config into your project cp -r claude-code-onboarding/.claude/ your-project/.claude/ cp claude-code-onboarding/CLAUDE.md your-project/ cp claude-code-onboarding/.mcp.json your-project/ # Then customize for your project cd your-project
After copying, you'll want to:
- Edit
CLAUDE.md— replace the tech stack and conventions with your project's - Edit
.claude/settings.json— adjustpermissions.allowfor your build tools (e.g., removeflutterif you don't use it) - Edit
.mcp.json— remove MCP servers you don't need, add project-specific ones - Remove agents/skills/commands for stacks you don't use
- Run
chmod +x .claude/hooks/*.shto make hooks executable - Install the git pre-commit secrets hook (blocks commits containing API keys, tokens, and credentials):
bash
cp git-hooks/pre-commit-secrets.sh .git/hooks/pre-commit chmod +x .git/hooks/pre-commit
Customize for your tech stack and team. This kit ships with skills, agents, rules, and commands covering Java, NestJS, Python, Angular, Flutter, iOS, Android, and more — but you don't need all of them. Keep only what matches your stack and workflow:
Component Where What to trim Skills .claude/skills/Delete skill folders for stacks you don't use (e.g. remove java-spring-api/if you're Python-only)Agents .claude/agents/Remove agent .mdfiles for domains outside your stack — each one adds ~150 tokens to every sessionRules .claude/rules/Keep core-behaviors.md,lessons.md, andcode-standards.mdas a minimum. Add team-specific rules as new files in this folder — they are always loadedCommands .claude/commands/Keep slash commands your team will actually use; delete the rest Hooks .claude/hooks/+settings.jsonDisable hooks you don't need by removing their entry from settings.jsonunderhooks:MCP servers .mcp.jsonRemove servers for tools you don't use — each connected server adds to session startup time The goal is a lean, focused setup: fewer agents means less context overhead per session, fewer rules means clearer signal, and fewer commands means less noise in
/autocomplete. Start minimal and add back what you find yourself needing.
3. Set Up Your Editor (Install VS Code)
We recommend open source Visual Studio Code as your IDE, though Claude Code works from any terminal — no specific editor is required. Download and install Visual Studio Code from the official site:
After installing, open the cloned project claude-code-onboarding with Visual Studio Code and use the integrated terminal for the remaining steps.
4. Install Claude Code
Open the Visual Studio Code integrated terminal and run the following:
Native Binary (Recommended)
- For macOS / Linux
bashcurl -fsSL https://claude.ai/install.sh | bash
- Reload your shell
bashsource ~/.bashrc # or: source ~/.zshrc
- After installation, restart VS Code(Close and reopen VS Code) so the terminal picks up the new PATH, then verify installation
bashclaude --version
For Windows, see the official installation docs.
5. First-time Using Claude Code
Note: First-time users will be prompted to authenticate with a Claude Pro/Max subscription or an Anthropic API key.
From the VS Code terminal, launch the CLI:
bashclaude
Follow the on-screen prompts to log in. Once authenticated with your Claude Pro/Max subscription or Anthropic Console API key. Claude Code automatically detects and loads the project configuration:
That's it! Claude Code will automatically detect and load:
| File / Directory | Purpose |
|---|---|
CLAUDE.md | Project context and conventions |
.mcp.json | MCP server configurations |
.claude/agents/ | Specialized AI agents |
.claude/skills/ | Domain knowledge and templates |
.claude/commands/ | Slash commands |
Try these right away:
> /project-status > What agents and skills are available in this project? > Explain the tech stack from CLAUDE.md
🔗 Official Docs: https://code.claude.com/docs/en/quickstart
6. Install Claude-Mem (Persistent Memory) (Optional)
Claude Code forgets everything between sessions. Claude-Mem gives Claude persistent memory across sessions.
Inside a Claude Code CLI session, run:
> /plugin marketplace add thedotmack/claude-mem > /plugin install claude-mem
Then restart Claude Code (/exit) or restart (close and reopen) the vscode.
What Claude-Mem Does
- Automatically captures what Claude Code does (file edits, decisions, tool usage)
- Compresses sessions into searchable memory using AI
- Injects relevant context at the start of new sessions
- Web viewer at
http://localhost:37777to browse memory
Verify with: Inside a Claude Code CLI session, run:
> Do you have any memory from previous sessions?
6a. Set Up Team Memory Sharing (Optional)
Once each developer has claude-mem installed individually, claude-mem-sync lets the team share selected observations (decisions, bug fixes, discoveries) across a shared GitHub repo — so your team's collective knowledge grows over time.
Run the one-shot setup command inside a Claude Code session:
> /setup-team-memory
This command:
- Installs and configures
claude-mem-sync - Creates
.claude/memories/folder structure in the repo - Adds a GitHub Actions workflow that auto-merges contributions on push
- Updates
.gitignoreto keep raw contributions local - Schedules weekly exports (Fridays 4pm) and imports (Saturdays 9am)
- Prints a full pass/fail verification table at the end
Safe to re-run — skips any step already completed. Each developer runs it once on their machine; the shared infrastructure files (workflow, memories folder) are committed once and shared via the repo.
7. Enable Voice Mode (Optional)
Claude Code does not support voice mode by default. VoiceMode is a community MCP server that adds this capability, letting you talk to Claude Code instead of typing, using OpenAI Whisper for STT (speech-to-text) and OpenAI TTS for speech output.
Note: VoiceMode supports any OpenAI-compatible STT/TTS service, not just OpenAI's Whisper/TTS.
One-Prompt Setup
Open a Claude Code session and paste this prompt — it handles the full installation (macOS, Linux, and Windows WSL2):
textSet up VoiceMode for Claude Code using OpenAI Whisper (STT) and OpenAI TTS (speech output). Do the following steps in order: 1. Check if UV is installed (uv --version). If not, install it: curl -LsSf https://astral.sh/uv/install.sh | sh 2. Run: uvx voice-mode-install 3. Run: claude mcp add --scope user voicemode -- uvx --refresh voice-mode 4. Create or update ~/.voicemode/voicemode.env with these two lines: VOICEMODE_TTS_BASE_URLS=https://api.openai.com/v1 VOICEMODE_STT_BASE_URLS=https://api.openai.com/v1 5. Check if OPENAI_API_KEY is set in the environment. If not, remind me to add it to ~/.zshrc and re-source it. Tell me when each step completes and flag any errors before moving to the next step.
After setup, restart Claude Code so the MCP server loads.
Manual Setup
Prerequisites
- Python 3.14+
- A microphone and speakers (or headphones)
- An OpenAI API key (for Whisper STT and OpenAI TTS)
Quick Install
bash# 1. Install UV package manager (if not already installed) curl -LsSf https://astral.sh/uv/install.sh | sh # 2. Install VoiceMode uvx voice-mode-install # 3. Register VoiceMode MCP server with Claude Code claude mcp add --scope user voicemode -- uvx --refresh voice-mode
What Each Step Does
| Step | Command | What It Does |
|---|---|---|
| 1 | curl ... | sh | Installs UV, a fast Python package manager |
| 2 | uvx voice-mode-install | Installs the VoiceMode Python package and adds the voicemode CLI to your system. Also checks system dependencies (PortAudio, FFmpeg) |
| 3 | claude mcp add ... | Registers VoiceMode as an MCP server so Claude Code knows it exists. Without this, Claude Code has no idea the voice tools are installed — like installing PostgreSQL but never adding the connection string to your app |
OpenAI API Configuration
VoiceMode uses OpenAI Whisper for speech-to-text (STT) and OpenAI TTS for speech output — two separate services under the same API key:
bash# 1. Set your OpenAI key (add to ~/.zshrc to persist) export OPENAI_API_KEY=your-openai-key # 2. Configure voicemode to use OpenAI for both STT and TTS # Add to ~/.voicemode/voicemode.env: VOICEMODE_TTS_BASE_URLS=https://api.openai.com/v1 VOICEMODE_STT_BASE_URLS=https://api.openai.com/v1 # 3. Restart Claude Code so the MCP server picks up the new key claude converse
Important: The MCP server reads
OPENAI_API_KEYfrom the environment at startup. If you set the key after Claude Code is already running, you must restart it for the change to take effect.
Usage
bash# Start Claude Code with voice mode claude converse # Or combine with auto-approved permissions (learning/playground only ⚠️) claude --dangerously-skip-permissions converse
Once running, just speak into your mic — Claude will listen, process, and respond through your speakers. Say "stop" or press Ctrl+C to exit.
How It Works
OpenAI Cloud API (same key, separate models) ┌─────────────────────────────────────────────────────┐ │ Whisper (whisper-1) /v1/audio/transcriptions │ │ You speak ──────────────────────────► Claude Code │ │ │ │ │ OpenAI TTS (tts-1) /v1/audio/speech │ │ │ You hear ◄─────────────────────────────────┘ │ └─────────────────────────────────────────────────────┘
Auto-Approve Voice Tools
To avoid permission prompts every time voice mode activates, the kit's .claude/settings.json includes:
json{ "permissions": { "allow": [ "mcp__voicemode__converse", "mcp__voicemode__service", "Bash(voicemode *)" ] } }
Platform-Specific Dependencies
Usually works out of the box. If you get audio errors:
bashbrew install portaudio ffmpeg
bashsudo apt update sudo apt install -y ffmpeg libasound2-dev libasound2-plugins libportaudio2 portaudio19-dev python3-dev
bashsudo dnf install alsa-lib-devel ffmpeg portaudio portaudio-devel python3-dev
bashsudo apt install -y ffmpeg libasound2-dev libasound2-plugins libportaudio2 portaudio19-dev pulseaudio pulseaudio-utils python3-dev
WSL2 requires pulseaudio packages for microphone access.
Troubleshooting
| Problem | Fix |
|---|---|
| "No audio input device" | Check microphone permissions in System Settings → Privacy → Microphone |
[BLANK_AUDIO] returned | Speak during the recording window; check mic is selected as default input |
| Audio choppy/laggy | Close other audio apps; try wired headset over Bluetooth |
| MCP not connecting | Run /mcp in Claude Code; restart after install |
| API key not picked up | Restart Claude Code — MCP server reads OPENAI_API_KEY at startup only |
8. Try It Out — Your First 5 Minutes
You're set up. Before diving into components and theory, take Claude Code for a spin. Run these inside your Claude Code session:
Ask about the project
> What is this project? Summarize the tech stack and structure
> /project-status
Scaffold something
> /scaffold-spring-api hello-world
Watch how Claude creates the full project structure, files, and boilerplate — all from a single command.
Or, if you're not sure which scaffold command to use, describe what you want to build and let /new-project figure it out:
> /new-project flutter fitness tracker with Firebase > /new-project python REST API for invoices > /new-project angular dashboard for analytics
/new-project reads your description, maps it to the right tech stack, and routes to the correct scaffold command — including running the Mobile Design checkpoint and plan gate for Flutter projects. Supported stacks: Spring Boot, NestJS, Python/FastAPI, Agentic AI, Angular, Flutter, PostgreSQL schema, vector database.
Use a sub-agent
> @architect What improvements would you suggest for this project's structure?
Notice how the agent runs in its own context without cluttering your main conversation.
Pull live docs with MCP
> Explain how to set up Spring Security with JWT. use context7
The context7 MCP server fetches current, version-specific documentation instead of relying on training data.
Check what's loaded
> What agents, skills, and slash commands are available in this project?
> /mcp
> /agents
That's the core workflow: slash commands to scaffold, agents for expertise, MCP servers for external tools, and skills that activate automatically in the background. The next section breaks down each component in detail.
A note on permissions
Claude Code will ask for permission before accessing files or running commands. You'll see prompts like:
Do you want to proceed? 1. Yes ❯ 2. Yes, allow reading from claude-code-onboarding/ from this project 3. No
This can feel repetitive at first. The kit ships with pre-configured allow rules in .claude/settings.json that auto-approve common operations (build tools, git, Docker) — so most prompts you'll see are for operations that genuinely deserve a second look.
⚠️ For this learning playground only, you can skip all permission prompts:
bashclaude --dangerously-skip-permissionsDo not use this in real projects. It disables all guardrails including the hooks and deny rules this kit ships with. For real projects, add frequently-used commands to the
allowlist insettings.jsoninstead — see the Settings Configuration section for the full reference.
9. Understanding Claude Code Components
Knowing when to use what is the key to being productive with Claude Code. Here's a quick reference:
| Component | What It Does | Location | How It's Invoked |
|---|---|---|---|
| CLAUDE.md | Project context Claude reads at startup — tech stack, coding standards, architecture, workflows | ./CLAUDE.md, ~/.claude/CLAUDE.md, .claude/rules/ | Auto-loaded at startup |
| settings.json | JSON configuration for permissions, hooks, and environment — allow/deny/ask permission rules, hooks config, env vars for Claude Code | .claude/settings.json (project), ~/.claude/settings.json (user) | Auto-loaded at startup |
| Skills | Modular expertise Claude applies automatically based on context — lazy-loaded when needed, not user-invoked. Best for complex, recurring workflows (code review, API design patterns) | .claude/skills/<name>/SKILL.md | Auto (Claude decides) |
| Slash Commands | /command shortcuts for repeatable prompts — quick actions you trigger manually | .claude/commands/<name>.md | You type /command |
| Sub-agents | Specialized AI with isolated context for complex tasks — parallel processing, focused expertise | .claude/agents/<name>.md | You type @agent or Auto (Claude decides |
| Hooks | Scripts that run at lifecycle events — auto-formatting, validation, notifications. Types: PreToolUse, PostToolUse, UserPromptSubmit, Stop, PreCompact, Notification | Defined in settings.json → hooks | Automatic on events |
| MCP Servers | Tool connections to external services — GitHub, Slack, databases, docs, APIs | .mcp.json (project root) | Claude uses as needed |
How They Fit Together
┌──────────────────────────────────────────────────────────────┐ │ CLAUDE.md → What Claude knows about your project │ │ settings.json → What Claude can / can't do │ │ Skills → How Claude handles recurring tasks │ │ Commands → Quick actions you trigger manually │ │ Sub-agents → Specialists for complex work │ │ Hooks → Automatic formatting / validation │ │ MCP Servers → External tool connections │ └──────────────────────────────────────────────────────────────┘
Decision Matrix - When to Use What
| Use | You Need To… | Example |
|---|---|---|
| CLAUDE.md | Set project conventions and context | Project Overview, Project Context, Tech Stack, Coding Standards, Rules |
| settings.json | Control what Claude can do | Allow git commands, deny sudo |
| Skill | Auto-apply patterns for a domain | Always use Riverpod State Management when building Flutter |
| Slash Command | Run a repeatable prompt yourself(manual) | /scaffold-spring-api weather-service |
| Sub-agent | Get deep domain expertise in isolation, can be manual or auto | @database-designer Design schema for… |
| Hook | Enforce hard rules every time | Block commits without passing tests |
| MCP Server | Connect to external services | GitHub PRs, Context7 live docs, Firebase |
| Claude-Mem plugin | Remember things across sessions | Persistent memory of past decisions |
CLAUDE.md (Project Context)
What: A Markdown file at the project root that gives Claude Code, context about your project — tech stack, conventions, common commands, architecture, and rules.
When to use: Every project should have one. It's the first thing Claude reads at startup.
Where: ./CLAUDE.md (project root) or ~/.claude/CLAUDE.md (global, all projects)
You can auto-generate one by running /init inside a Claude Code session. This repo already includes one, so you can skip this step.
bash# Auto-generate one from your codebase claude > /init
Tips:
- Keep it under 40KB — too much context overloads the LLM's 200K token window
- Put the most important rules at the top
- Use imports for large docs:
@docs/api-reference.md
File Locations & Priority
| Type | Location | Scope | Git |
|---|---|---|---|
| Enterprise | /Library/Application Support/ClaudeCode/CLAUDE.md (macOS) | All users in org | N/A |
| User Global | ~/.claude/CLAUDE.md | All your projects | No |
| Project | ./CLAUDE.md | Team-shared | Yes |
| Project Local | ./CLAUDE.local.md | Personal (your machine) | No (auto-ignored) |
| Directory-specific | ./src/api/CLAUDE.md | Subdirectory scope | Yes |
| Rules Directory | .claude/rules/*.md | Conditional rules | Yes |
Slash Commands — Reusable Prompt Shortcuts
What: Prompts you trigger with /command-name. Think of them as reusable prompt shortcuts.
When to use: When you have a repeatable workflow you run often — scaffolding, reviewing, deploying.
Where: .claude/commands/my-command.md (project) or ~/.claude/commands/ (global)
Examples: Try running below commands inside Claude Code Session
> /scaffold-spring-api weather-service > /scaffold-flutter-app fitness-tracker > /design-database fitness tracking with users, workouts, and goals
Use $ARGUMENTS in the command file (.claude/commands/scaffold-spring-api.md) to accept parameters.
Agents (Subagents) — Specialist AI Personas
What: Specialized AI with isolated context for complex tasks with their own system prompt and tool restrictions. They run in a separate context window, so they don't pollute your main conversation.
When to use: When you need deep expertise in a specific domain — a dedicated backend developer, database architect, or codereviewer.
Where: .claude/agents/my-agent.md (project) or ~/.claude/agents/ (global)
Examples: Try running below commands inside Claude Code Session
> @java-spring-api Create a CRUD API for a Product entity with name, price, and category > @flutter-mobile Build a login screen with Firebase Auth > @database-designer Design the schema for an e-commerce platform > @architect Design the system architecture for a real-time chat feature
Subagent-Driven Development (SDD) — Plan-to-PR Pipeline
What: A 3-role autonomous pipeline that turns an approved plan file into reviewed, committed code — without you shepherding each step.
Pipeline: Research (optional) → Implementer → Spec Reviewer → Quality Reviewer → PR
| Role | What it does |
|---|---|
| Research (optional) | Explores unfamiliar APIs or domains, produces docs/research/<feature>.md |
| Implementer | Writes code + tests for each task in the plan |
| Spec Reviewer | Checks implementation against the plan's acceptance criteria |
| Quality Reviewer | Tech-stack-specific review (Spring, NestJS, Flutter, etc.) |
When to use: A plan file exists at docs/plans/YYYY-MM-DD-<feature>.md (created via /plan-review) and the work spans 3+ tasks.
Research phase — when it helps: When the feature touches an external API or service your team hasn't integrated before (e.g., Stripe Connect, a new compliance standard, an unfamiliar third-party SDK). The research agent produces a committed docs/research/<feature>.md artifact that the spec reviewer uses to validate API usage in Step 2. Skip it when the stack is familiar.
Two dispatch modes:
- Subagent mode —
Agenttool, general-purpose agents, sequential. Best for ≤5 tasks. - Team mode —
TeamCreatewith tech-specific agents running concurrently. Best for 6+ tasks.
How to trigger:
> Run the SDD pipeline for docs/plans/2026-03-01-payments.md > Use subagent-driven-development to implement the auth feature plan
Or Claude auto-activates the subagent-driven-development skill when it detects a plan file and 3+ tasks.
Skill: .claude/skills/subagent-driven-development/
Skills — Auto-Activated Knowledge
What: Markdown files with domain knowledge, templates, and code patterns. Unlike commands, Skills are lazy-loaded and only brought into context when needed. Claude decides when to use them based on the task context — you don't invoke them explicitly.
When to use: When you want Claude to automatically apply certain patterns whenever a matching task comes up (e.g., always use your team's DTO pattern when creating Spring entities).
Where: .claude/skills/my-skill/SKILL.md
The skills in this repo auto-activate based on context:
| When You Ask About… | Skill That Activates |
|---|---|
| Spring Boot | java-spring-api |
| Angular components | angular-spa |
| Flutter screens | flutter-mobile |
| Database schemas | database-design |
| System architecture | architecture-design |
| Three.js scene / 3D web | threejs-fundamentals, threejs-geometry, threejs-materials etc. |
| Three.js animation | threejs-animation |
| GLTF / GLB model loading (web) | threejs-loaders |
| Custom GLSL shaders | threejs-shaders |
| Post-processing / bloom / DOF | threejs-postprocessing |
| three_dart / 3D Flutter | three-dart-fundamentals, three-dart-geometry etc. |
| Flutter GLTF / model loading | three-dart-loaders |
MCP Servers — External Tool Integrations
What: The Model Context Protocol connects Claude Code to external services (GitHub, databases, documentation servers, gmail, slack, APIs) so Claude can use them as tools.
When to use: When Claude needs to interact with services beyond the local filesystem — creating GitHub PRs, querying live databases, fetching up-to-date documentation, invoking APIs.
Where: .mcp.json (project root)
This repo comes pre-configured with:
| Server | What It Does |
|---|---|
| Context7 | Live, version-specific documentation for any library — add use context7 to prompts |
| GitHub | Create issues, PRs, browse repos, review code via GitHub Copilot MCP |
| Angular CLI | Angular schematics, builds, and project scaffolding directly from Claude |
| Chrome DevTools | Browser debugging and inspection |
| Firebase | Firestore and Auth operations |
| Sequential Thinking | Step-by-step reasoning for complex multi-step problems |
| Dart | Dart language server integration |
| XcodeBuildMCP | Build, run, debug, and test Xcode projects from Claude — covers iOS simulator, device, and macOS targets |
| Maestro | Cross-platform mobile E2E testing — run test flows on iOS simulator and Android emulator using natural language |
| Filesystem | Secure file search and manipulation with configurable directory permissions |
| LangChain Docs | Live LangChain documentation lookup |
| Weaviate Docs | Live Weaviate documentation lookup |
Weaviate Docs MCP Server
Gives Claude Code instant access to Weaviate documentation inside your editor.
Configuration
Add the following to your .mcp.json:
json{ "mcpServers": { "weaviate-docs": { "type": "stdio", "command": "npx", "args": [ "mcp-remote", "https://weaviate-docs.mcp.kapa.ai" ], "timeout": 60000, "env": {} } } }
Authentication
The server requires a one-time OAuth login. Run the following command and follow the browser prompt to sign in with Google or GitHub:
bashnpx mcp-remote https://weaviate-docs.mcp.kapa.ai
Your session will be cached at ~/.mcp-remote/ — you won't need to re-authenticate on subsequent uses.
Verify the server is connected:
bashclaude mcp get weaviate-docs
You should see Status: ✓ Connected.
settings.json Configuration
Purpose: Permissions, environment variables, hooks, and tool behavior.
File Locations & Priority
| Type | Location | Scope |
|---|---|---|
| User | ~/.claude/settings.json | All projects |
| Project (shared) | .claude/settings.json | Team-shared |
| Project (local) | .claude/settings.local.json | Personal |
| Enterprise | OS-specific managed location | Organization |
Permission Rule Syntax
| Pattern | Example | Description |
|---|---|---|
| Exact match | Bash(npm run test) | Only this exact command |
| Wildcard suffix | Bash(npm run:*) | npm run followed by anything |
| Glob patterns | Read(./src/**/*.ts) | All .ts files recursively |
| Tool types | Read, Write, Edit, Bash, WebFetch, WebSearch | Tool categories |
Key design decisions:
This kit ships with a pre-configured settings.json that balances safety with productivity.
| Category | What's Configured | Why |
|---|---|---|
| Allow | Build tools (npm, mvn, flutter, ng), git read/write, Docker, Python tooling | These run frequently — prompting every time kills productivity |
| Ask | Destructive file ops (rm, mv, cp), curl/wget, git reset | One-time confirmation prevents accidents without blocking workflow |
| Deny | Force-push, sudo, eval, reading .env/secrets/keys | Never allowed — these are hard guardrails |
| Env | CLAUDE_BASH_MAINTAIN_PROJECT_WORKING_DIR | Keeps Claude in the project root instead of drifting to /home/user |
Note: This uses the array-style permission syntax (e.g.,
"Bash(npm *)") which is the current format. If you see older examples with object-style syntax ("Bash": ["npm *"]), those are outdated.
To add your own project-specific permissions, modify .claude/settings.json or create a personal .claude/settings.local.json for overrides that aren't committed to git.
Hooks — Automated Guardrails
What: Shell scripts that run automatically at specific lifecycle events (before/after tool use, on session start/end). Think of them as middleware for Claude Code — deterministic, always execute the same way.
When to use: When you need hard rules enforced every time, like run linter before commit or block commits without passing tests or block destructive commands or auto-format after every edit.
| Hook Event | Fires When | Mental Model | Real-World Examples |
|---|---|---|---|
| PreToolUse | Before a tool executes | 🛑 Stop something dangerous from happening | Block git push to main/master, prevent rm -rf / or DROP DATABASE, protect .env files from edits |
| PostToolUse | After a tool completes | 🔧 Fix/check what just happened to a single file | Auto-format with Prettier/ruff after edits, run ESLint on the changed file, type-check with tsc --noEmit |
| Stop | When Claude finishes responding | ✅ Validate the whole result before calling it done | Run unit tests once at the end (not per-file), audit all changed files, scan for leaked secrets |
| PermissionRequest | When Claude shows a permission dialog | 🔐 Auto-decide on permission prompts | Auto-approve git status, deny sudo commands |
| UserPromptSubmit | When you send a message | 📥 Intercept and enrich your input | Auto-prepend "use context7" to all prompts, inject current git branch name, Inject project-specific context, validate prompt format |
| SubagentStop | When a sub-agent finishes | 🔍 Quality-check delegated work | Check generated code compiles, verify output format |
| PreCompact | Before context compaction | 💾 Save state before memory shrinks | Export TODO list, save working notes to a file |
| SessionStart | When a session starts or resumes | 🚀 Set up the environment | Source .env files, verify toolchain is installed |
| SessionEnd | When a session ends | 🧹 Clean up after yourself | Log session summary, clean up temp files |
| Notification | On permission prompts or idle | 📢 Route alerts externally | Send Slack alert on long-running tasks, desktop notifications |
Where: .claude/settings.json → hooks section, scripts in .claude/hooks/
Note:
SessionStart,SessionEnd,SubagentStop,PreCompact, andPermissionRequesthooks were added in recent Claude Code releases. If a hook event doesn't fire, verify your Claude Code version withclaude --versionand update if needed. The core events (PreToolUse,PostToolUse,Stop) are available in all versions.
This repo includes 4 hooks out of the box:
| Hook | Script | Event | What It Does |
|---|---|---|---|
| Bash Guard | pre-bash-guard.sh | PreToolUse → Bash | Blocks rm -rf /, rm -rf ., force-push to main, DROP DATABASE |
| Protect Sensitive Files | pre-edit-protect-sensitive.sh | PreToolUse → Write/Edit | Blocks edits to .env, credentials, private keys, lock files |
| Auto-Format | post-edit-format.sh | PostToolUse → Write/Edit | Runs Prettier (TS/JS/HTML/CSS), dart format, ruff/black (Python) |
| Smart Suggest | smart-suggest.sh | UserPromptSubmit | Behavioral coaching — detects intent (debug/review/deploy/scaffold) and injects the right command/agent suggestion before Claude responds. Tier 0 blocks policy violations. |
| Secrets Scan (Output) | output-secrets-scanner.sh | PostToolUse | Scans tool outputs (Bash, Read, WebFetch) for API keys, JWT tokens, DB connection strings, private keys. Closes the read-path gap — catches secrets in git history dumps, env reads, API responses. Warn only, never blocks. |
| Secret Scan | stop-secret-scan.sh | Stop | Warns if changed files contain AWS/GCP/GitHub/OpenAI API keys |
| Blackbox Log | stop-blackbox-log.sh | Stop | Appends session decisions, user constraints, and changed files to blackbox/session-log.md |
| Ralph Loop | stop-ralph-loop.sh | Stop | Autonomous iteration — blocks exit and re-feeds prompt until task complete. Opt-in: only active when /ralph-loop was called. |
After cloning:
chmod +x .claude/hooks/*.sh
Two-Layer Hook System
This repo implements a two-layer hook architecture:
| Layer | Technology | Purpose | How Rules Are Defined |
|---|---|---|---|
| Layer 1 — Core Safety | Shell scripts (.claude/hooks/*.sh) | Non-negotiable guardrails — always enforced | Hardcoded in shell scripts |
| Layer 2 — Configurable | Hookify Python engine (.claude/hookify/) | Team-customizable rules — enable/disable per project | Markdown rule files (.claude/hookify.*.local.md) |
Shell hooks are the baseline — always active, no way to disable them. Hookify sits on top and adds rules you can toggle without touching shell code.
Layer 2: Hookify Rule Engine
Rules live in .claude/hookify.*.local.md files with YAML frontmatter:
markdown--- name: warn-console-log enabled: true # false to disable without deleting the file event: file # ba




