FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
uignore — a .gitignore for AI coding tools
How-ToTools

uignore — a .gitignore for AI coding tools

via Dev.toAnurag Patel3h ago

AI coding tools are incredibly useful. They can read your codebase, understand context across dozens of files, and make changes in seconds. They can also read your .env file. Your secrets/ directory. Your SSH keys. Your AWS credentials. Not because they're malicious — but because nothing stops them by default. I built uignore to fix this. What is uignore? uignore gives you a single .uignore file — same syntax as .gitignore — that blocks file access across all supported AI tools simultaneously. gitignore # .uignore secrets / . env . env .* *. pem *. key Add a path once. Claude Code, Gemini CLI, Cursor, and Windsurf all respect it automatically. How it works Each AI tool has a native hook system: ┌─────────────┬────────────────┬─────────────────┐ │ Tool │ Hook │ Block mechanism │ ├─────────────┼────────────────┼─────────────────┤ │ Claude Code │ PreToolUse │ exit code 2 │ ├─────────────┼────────────────┼─────────────────┤ │ Gemini CLI │ BeforeTool │ exit code 2 │ ├─────────────┼─────────

Continue reading on Dev.to

Opens in a new tab

Read Full Article
2 views

Related Articles

Botanical garden
How-To

Botanical garden

Dev.to Tutorial • 5h ago

Task 3: Delivery Man Task
How-To

Task 3: Delivery Man Task

Dev.to • 5h ago

I Wasted Months Memorizing Design Patterns — This One Trick Changed Everything
How-To

I Wasted Months Memorizing Design Patterns — This One Trick Changed Everything

Medium Programming • 6h ago

Top 5 Games to Improve Your Coding Skills
How-To

Top 5 Games to Improve Your Coding Skills

Medium Programming • 6h ago

I Got a $40 Parking Fine, So I’m Building an App That Fixes It
How-To

I Got a $40 Parking Fine, So I’m Building an App That Fixes It

Medium Programming • 10h ago

Discover More Articles