Pillar Specification & Hub Directory.claudeignore Privacy & Boundary Generator
Establish strict inspection and modification boundaries for Anthropic's Claude Code terminal agent.
./ (Repository Root).claudeignoreHow .claudeignore Shield Operates in Production
Claude Code automatically respects .claudeignore at your project root. When running autonomous workflows or codebase refactors, .claudeignore ensures Claude Code never inspects, greps, or modifies restricted directories, local secrets, or compiled artifacts.
Restricts Claude Code from touching sensitive configuration or temporary data.
# Claude Code CLI Boundaries
.env*
secrets/
coverage/
*.log./.claudeignoreRepository RootSpecifies directory and file patterns that Claude Code CLI will never read, search, or edit.
Available Tech Stack Presets (27)
Click any tech stack below to open the client-side editor preloaded with this verified configuration.
Next.js 15 App Router
Generate a .claudeignore boundary configuration for Next.js 15 App Router in Claude Code CLI.
"Enforce React Server Components (RSC) by default; restrict 'use client' strictly to interactive leaf components."
React 19 & Vite
Generate a .claudeignore boundary configuration for React 19 & Vite in Claude Code CLI.
"Use React 19 action hooks (useActionState, useOptimistic, useFormStatus) for async mutations."
Python FastAPI & Pydantic v2
Generate a .claudeignore boundary configuration for Python FastAPI & Pydantic v2 in Claude Code CLI.
"Use strict Pydantic v2 BaseModels with Field validation for all input and output schemas."
Supabase & PostgreSQL
Generate a .claudeignore boundary configuration for Supabase & PostgreSQL in Claude Code CLI.
"Always include `ENABLE ROW LEVEL SECURITY;` on every created table."
Prisma ORM
Generate a .claudeignore boundary configuration for Prisma ORM in Claude Code CLI.
"Always use `select` to specify required fields; avoid raw `findMany()` fetching unused relations."
Drizzle ORM
Generate a .claudeignore boundary configuration for Drizzle ORM in Claude Code CLI.
"Define schemas using pgTable/sqliteTable with explicit foreign keys and constraints."
Go (Golang) & Fiber
Generate a .claudeignore boundary configuration for Go (Golang) & Fiber in Claude Code CLI.
"Check every `if err != nil` explicitly; never swallow errors or ignore returned values."
Rust & Axum
Generate a .claudeignore boundary configuration for Rust & Axum in Claude Code CLI.
"Never call `.unwrap()` or `.expect()` in production route handlers; propagate errors via `Result<T, AppError>`."
Tailwind CSS v4
Generate a .claudeignore boundary configuration for Tailwind CSS v4 in Claude Code CLI.
"Configure themes directly in globals.css using `@theme` and `@import 'tailwindcss';`."
Vue 3 & Nuxt 3
Generate a .claudeignore boundary configuration for Vue 3 & Nuxt 3 in Claude Code CLI.
"Always use `<script setup lang='ts'>` and the Composition API; ban legacy Options API."
SvelteKit 5 & Svelte 5
Generate a .claudeignore boundary configuration for SvelteKit 5 & Svelte 5 in Claude Code CLI.
"Use Svelte 5 runes: `$state()`, `$derived()`, and `$props()`."
Universal Cursor Pro
Generate a .claudeignore boundary configuration for Universal Cursor Pro in Claude Code CLI.
"Deliver surgical, targeted diffs; never replace entire files unnecessarily."
Pragmatic Rapid Prototyping
Generate a .claudeignore boundary configuration for Pragmatic Rapid Prototyping in Claude Code CLI.
"Prioritize working software over complex design patterns or deep inheritance hierarchies."
Zero-Trust Security
Generate a .claudeignore boundary configuration for Zero-Trust Security in Claude Code CLI.
"Flag and prevent any dynamic SQL query string interpolation."
Docker & CI/CD
Generate a .claudeignore boundary configuration for Docker & CI/CD in Claude Code CLI.
"Always use multi-stage Docker builds to separate builder tools from the lean production image."
Vitest & Playwright TDD
Generate a .claudeignore boundary configuration for Vitest & Playwright TDD in Claude Code CLI.
"Write unit tests covering happy paths and at least two edge/error cases for every new function."
Automated Code Reviewer
Generate a .claudeignore boundary configuration for Automated Code Reviewer in Claude Code CLI.
"Scan repository manifests to map stack idioms before evaluating logic."
Multi-Agent System Orchestration
Generate a .claudeignore boundary configuration for Multi-Agent System Orchestration in Claude Code CLI.
"Define subagent roles: Lead Architect, Frontend Engineer, Backend Specialist, Security Reviewer."
Django 5 & Ninja / DRF
Generate a .claudeignore boundary configuration for Django 5 & Ninja / DRF in Claude Code CLI.
"Use asynchronous ORM operations (aget(), acreate(), afirst()) inside async def view handlers."
Bun & Elysia / Hono
Generate a .claudeignore boundary configuration for Bun & Elysia / Hono in Claude Code CLI.
"Use Elysia's native t schema builder (powered by TypeBox) for request body, query, and parameter validation."
React Native & Expo Router
Generate a .claudeignore boundary configuration for React Native & Expo Router in Claude Code CLI.
"Use Expo Router file-based filesystem routing (app/_layout.tsx, app/(tabs)/index.tsx); ban legacy React Navigation container boilerplate."
Flutter 3 & Riverpod / Dart
Generate a .claudeignore boundary configuration for Flutter 3 & Riverpod / Dart in Claude Code CLI.
"Always add const constructors wherever possible to maximize Flutter element rebuild caching."
Kubernetes & Helm Charts
Generate a .claudeignore boundary configuration for Kubernetes & Helm Charts in Claude Code CLI.
"Always specify explicit resources.requests and resources.limits (both CPU and memory) on every container."
Terraform & OpenTofu IaC
Generate a .claudeignore boundary configuration for Terraform & OpenTofu IaC in Claude Code CLI.
"Pin explicit version constraints for all providers and required Terraform/OpenTofu core versions (required_providers)."
Playwright End-to-End Testing
Generate a .claudeignore boundary configuration for Playwright End-to-End Testing in Claude Code CLI.
"Strictly ban hardcoded delays (page.waitForTimeout()); rely exclusively on Playwright web-first auto-waiting assertions (expect(locator).toBeVisible())."
Spring Boot 3 & Java 21
Generate a .claudeignore boundary configuration for Spring Boot 3 & Java 21 in Claude Code CLI.
"Use jakarta.* packages for persistence, validation, and servlets; ban legacy javax.* imports."
.NET 8 & C# 12 Minimal APIs
Generate a .claudeignore boundary configuration for .NET 8 & C# 12 Minimal APIs in Claude Code CLI.
"Use modern C# 12 features: primary constructors, collection expressions, file-scoped namespaces, and nullable reference types (#nullable enable)."
How does Claude Code detect .claudeignore?
Claude Code automatically searches for .claudeignore in the current working directory upon initialization.