All Formats
StarPillar Specification & Hub Directory

.claudeignore Privacy & Boundary Generator

Establish strict inspection and modification boundaries for Anthropic's Claude Code terminal agent.

Open Blank Studio Editor
Target: ./ (Repository Root).claudeignore
01 / SPECIFICATION & RUNTIME BEHAVIOR

How .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.

Terminal Agent Boundary ControlSpec Syntax

Restricts Claude Code from touching sensitive configuration or temporary data.

# Claude Code CLI Boundaries
.env*
secrets/
coverage/
*.log
02 / REPOSITORY PLACEMENT
./.claudeignoreRepository Root

Specifies directory and file patterns that Claude Code CLI will never read, search, or edit.

03 / PRESET SPOKE MATRIX

Available Tech Stack Presets (27)

Click any tech stack below to open the client-side editor preloaded with this verified configuration.

FrontendLaunch

Next.js 15 App Router

Generate a .claudeignore boundary configuration for Next.js 15 App Router in Claude Code CLI.

Enforced Invariant:

"Enforce React Server Components (RSC) by default; restrict 'use client' strictly to interactive leaf components."

FrontendLaunch

React 19 & Vite

Generate a .claudeignore boundary configuration for React 19 & Vite in Claude Code CLI.

Enforced Invariant:

"Use React 19 action hooks (useActionState, useOptimistic, useFormStatus) for async mutations."

BackendLaunch

Python FastAPI & Pydantic v2

Generate a .claudeignore boundary configuration for Python FastAPI & Pydantic v2 in Claude Code CLI.

Enforced Invariant:

"Use strict Pydantic v2 BaseModels with Field validation for all input and output schemas."

Fullstack & DBLaunch

Supabase & PostgreSQL

Generate a .claudeignore boundary configuration for Supabase & PostgreSQL in Claude Code CLI.

Enforced Invariant:

"Always include `ENABLE ROW LEVEL SECURITY;` on every created table."

Fullstack & DBLaunch

Prisma ORM

Generate a .claudeignore boundary configuration for Prisma ORM in Claude Code CLI.

Enforced Invariant:

"Always use `select` to specify required fields; avoid raw `findMany()` fetching unused relations."

Fullstack & DBLaunch

Drizzle ORM

Generate a .claudeignore boundary configuration for Drizzle ORM in Claude Code CLI.

Enforced Invariant:

"Define schemas using pgTable/sqliteTable with explicit foreign keys and constraints."

BackendLaunch

Go (Golang) & Fiber

Generate a .claudeignore boundary configuration for Go (Golang) & Fiber in Claude Code CLI.

Enforced Invariant:

"Check every `if err != nil` explicitly; never swallow errors or ignore returned values."

BackendLaunch

Rust & Axum

Generate a .claudeignore boundary configuration for Rust & Axum in Claude Code CLI.

Enforced Invariant:

"Never call `.unwrap()` or `.expect()` in production route handlers; propagate errors via `Result<T, AppError>`."

FrontendLaunch

Tailwind CSS v4

Generate a .claudeignore boundary configuration for Tailwind CSS v4 in Claude Code CLI.

Enforced Invariant:

"Configure themes directly in globals.css using `@theme` and `@import 'tailwindcss';`."

FrontendLaunch

Vue 3 & Nuxt 3

Generate a .claudeignore boundary configuration for Vue 3 & Nuxt 3 in Claude Code CLI.

Enforced Invariant:

"Always use `<script setup lang='ts'>` and the Composition API; ban legacy Options API."

FrontendLaunch

SvelteKit 5 & Svelte 5

Generate a .claudeignore boundary configuration for SvelteKit 5 & Svelte 5 in Claude Code CLI.

Enforced Invariant:

"Use Svelte 5 runes: `$state()`, `$derived()`, and `$props()`."

Specialist PersonaLaunch

Universal Cursor Pro

Generate a .claudeignore boundary configuration for Universal Cursor Pro in Claude Code CLI.

Enforced Invariant:

"Deliver surgical, targeted diffs; never replace entire files unnecessarily."

Specialist PersonaLaunch

Pragmatic Rapid Prototyping

Generate a .claudeignore boundary configuration for Pragmatic Rapid Prototyping in Claude Code CLI.

Enforced Invariant:

"Prioritize working software over complex design patterns or deep inheritance hierarchies."

Specialist PersonaLaunch

Zero-Trust Security

Generate a .claudeignore boundary configuration for Zero-Trust Security in Claude Code CLI.

Enforced Invariant:

"Flag and prevent any dynamic SQL query string interpolation."

DevOps & ToolingLaunch

Docker & CI/CD

Generate a .claudeignore boundary configuration for Docker & CI/CD in Claude Code CLI.

Enforced Invariant:

"Always use multi-stage Docker builds to separate builder tools from the lean production image."

Specialist PersonaLaunch

Vitest & Playwright TDD

Generate a .claudeignore boundary configuration for Vitest & Playwright TDD in Claude Code CLI.

Enforced Invariant:

"Write unit tests covering happy paths and at least two edge/error cases for every new function."

Specialist PersonaLaunch

Automated Code Reviewer

Generate a .claudeignore boundary configuration for Automated Code Reviewer in Claude Code CLI.

Enforced Invariant:

"Scan repository manifests to map stack idioms before evaluating logic."

Specialist PersonaLaunch

Multi-Agent System Orchestration

Generate a .claudeignore boundary configuration for Multi-Agent System Orchestration in Claude Code CLI.

Enforced Invariant:

"Define subagent roles: Lead Architect, Frontend Engineer, Backend Specialist, Security Reviewer."

BackendLaunch

Django 5 & Ninja / DRF

Generate a .claudeignore boundary configuration for Django 5 & Ninja / DRF in Claude Code CLI.

Enforced Invariant:

"Use asynchronous ORM operations (aget(), acreate(), afirst()) inside async def view handlers."

BackendLaunch

Bun & Elysia / Hono

Generate a .claudeignore boundary configuration for Bun & Elysia / Hono in Claude Code CLI.

Enforced Invariant:

"Use Elysia's native t schema builder (powered by TypeBox) for request body, query, and parameter validation."

FrontendLaunch

React Native & Expo Router

Generate a .claudeignore boundary configuration for React Native & Expo Router in Claude Code CLI.

Enforced Invariant:

"Use Expo Router file-based filesystem routing (app/_layout.tsx, app/(tabs)/index.tsx); ban legacy React Navigation container boilerplate."

FrontendLaunch

Flutter 3 & Riverpod / Dart

Generate a .claudeignore boundary configuration for Flutter 3 & Riverpod / Dart in Claude Code CLI.

Enforced Invariant:

"Always add const constructors wherever possible to maximize Flutter element rebuild caching."

DevOps & ToolingLaunch

Kubernetes & Helm Charts

Generate a .claudeignore boundary configuration for Kubernetes & Helm Charts in Claude Code CLI.

Enforced Invariant:

"Always specify explicit resources.requests and resources.limits (both CPU and memory) on every container."

DevOps & ToolingLaunch

Terraform & OpenTofu IaC

Generate a .claudeignore boundary configuration for Terraform & OpenTofu IaC in Claude Code CLI.

Enforced Invariant:

"Pin explicit version constraints for all providers and required Terraform/OpenTofu core versions (required_providers)."

DevOps & ToolingLaunch

Playwright End-to-End Testing

Generate a .claudeignore boundary configuration for Playwright End-to-End Testing in Claude Code CLI.

Enforced Invariant:

"Strictly ban hardcoded delays (page.waitForTimeout()); rely exclusively on Playwright web-first auto-waiting assertions (expect(locator).toBeVisible())."

BackendLaunch

Spring Boot 3 & Java 21

Generate a .claudeignore boundary configuration for Spring Boot 3 & Java 21 in Claude Code CLI.

Enforced Invariant:

"Use jakarta.* packages for persistence, validation, and servlets; ban legacy javax.* imports."

BackendLaunch

.NET 8 & C# 12 Minimal APIs

Generate a .claudeignore boundary configuration for .NET 8 & C# 12 Minimal APIs in Claude Code CLI.

Enforced Invariant:

"Use modern C# 12 features: primary constructors, collection expressions, file-scoped namespaces, and nullable reference types (#nullable enable)."

04 / BEST PRACTICES
Add .claudeignore to project root before launching Claude Code terminal sessions.
Ignore large generated databases (sqlite.db) and test fixtures to keep agent searches fast.
Combine with CLAUDE.md for comprehensive guidance and boundary enforcement.
Other Format DirectoriesHub Network
05 / FREQUENTLY ASKED QUESTIONS

How does Claude Code detect .claudeignore?

Claude Code automatically searches for .claudeignore in the current working directory upon initialization.