Home
Watchdroid
Mail Blackhole
UUID Generator
UUID v7 Generator
ULID Generator
Nano ID Generator
Hash Generator
Password Generator
QR Code Generator
Lorem Ipsum Generator
Cron Expression Explainer
Cron Next Run Times
Cron Expression Generator
Markdown Table Generator
CSS Gradient Generator
gitignore Generator
AI Rules Generator
Favicon Generator
SVG to ICO Converter
PNG to ICO Converter
blackdroid.dev

AI Rules Generator

Generate rules files for AI coding assistants — CLAUDE.md, AGENTS.md, Cursor rules, Copilot instructions and Windsurf, from stack-aware building blocks.

STACK & CONVENTIONS
OUTPUT FILE
# Project rules for Claude Code

## Language & style

- Use TypeScript strict mode; avoid `any` — prefer `unknown` with narrowing
- Prefer `const` and immutable patterns; use readonly where possible
- Name booleans as is/has/can; keep functions under ~30 lines

## Testing

- Write unit tests for new behaviour; prefer red-green TDD for fixes
- One logical assertion per test; name tests for the behaviour they prove
- Do not mock what you own — use real implementations where cheap

## Git & commits

- Commit messages: imperative subject under 72 characters, explain the why
- Never commit secrets, .env files or build artifacts
- Keep PRs focused — one logical change per pull request

## Change discipline

- Make the smallest change that solves the problem; no drive-by refactors
- Match the existing code style and conventions of the file
- Do not remove existing comments or rename things unrelated to the change

About AI Rules Generator

Pick your languages, frameworks and conventions, then export a ready-made rules file for Claude Code (CLAUDE.md), the universal AGENTS.md, Cursor (.cursor/rules), GitHub Copilot or Windsurf.

Blocks cover TypeScript, Python, Go, Rust, Java, Angular and React plus cross-cutting rules for testing, git discipline, documentation, security and minimal diffs. One source of truth, five editor formats.