Generate Rules — AI skill for Claude Code
An intelligent, zero-dependency Node.js CLI tool that automatically inspects any codebase and generates tailored, high-standard guidelines (AGENTS.md and GEMINI.md) for AI coding agents such as Antigr.
How to install Generate Rules
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open PramudithaN/generate-rules and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Generate Rules does
An intelligent, zero-dependency Node.js CLI tool that automatically inspects any codebase and generates tailored, high-standard guidelines (AGENTS.md and GEMINI.md) for AI coding agents such as Antigravity, Gemini Code Assist, Cursor, GitHub Copilot, Claude Code, and OpenAI Codex.
Alternatives in AI
- n8n Node Configuration — Node configuration with dependency rules and AI connections 3.6k ★
- WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
- AutoGroq — AutoGroq is a groundbreaking tool that revolutionizes the way users interact with Autogen™ and other AI assist 1.5k ★
README
Universal Intelligent AI Agent Rules Generator (`generate-rules`)
An intelligent, zero-dependency Node.js CLI tool that automatically inspects any codebase and generates tailored, high-standard guidelines (`AGENTS.md` and `GEMINI.md`) for AI coding agents such as Antigravity, Gemini Code Assist, Cursor, GitHub Copilot, Claude Code, and OpenAI Codex.
Key Features
- Deep Codebase Inspection: Automatically detects languages, runtimes, frameworks, state management libraries, ORMs, UI design systems, bundlers, and testing suites.
- Annotated Directory Mapping: Generates clean visual tree representations of the project structure with architectural annotations.
- Tailored Coding Standards: Emits framework-specific best practices, including Electron process separation and IPC security, Next.js Server/Client component boundaries, Three.js/R3F memory lifecycles, and strict TypeScript, Python, or Rust conventions.
- Zero-Vulnerability Security Guidelines: Injects context isolation, sandboxing rules, IPC validation, environment variable safety, and Row-Level Security (RLS) enforcement based on active dependencies.
- Conventional Commits Specification: Embeds standard commit conventions and scopes directly into the generated agent prompt.
- Dynamic Verification Runbook: Builds repository-specific QA checklists (
npm run lint,npx tsc --noEmit,npm run build,npm test) tailored to availablepackage.jsonscripts and tools. - Custom Template Support: Allows overriding the default output structure using local
templates/AGENTS.template.mdandtemplates/GEMINI.template.mdfiles. - Automated
.gitignoreProtection: Automatically adds generated agent rule files and templates to.gitignore. - Zero External Dependencies: Implemented in pure native Node.js (ES Modules,
node:fs,node:path,node:url).
Supported Ecosystem and Technologies
[`generate-rules.mjs`](file:///d:/Pramuditha/Dev%20projects/generate-rules/
Related Skills
Episoda Core MCP
Episoda Core MCP by Lalith Chandra (@lalithbuilds) — Zero-dependency, pure Python 3 standard library episodic
Yotta Memory
File-based cross-agent memory standard for AI agents. Zero-dependency CLI (init/remember/recall/forget/archive
UX Lint
Deterministic regex-based linter for AI fingerprints. No LLM, no API, no network. CI-friendly — exits non-zero
Sekha
Zero-dependency AI memory system with hook-level rules enforcement for Claude Code
Crackerjack Run
Run crackerjack with AI-powered auto-fixing using intelligent session integration. Automatically tries enhance
Bedrock
Bedrock is a CLI tool that bootstraps AI-ready project configurations by generating standardized rules, skills
Related Agents
Cv Writer
Writes or revises a tailored CV for the user based on a structured job description. Two options: Draft (standa
Gemini GPT Hybrid Soft
Intelligent hybrid agent that uses Gemini and GPT for analysis and problem identification, then returns insigh
Beardrive Designer
Product designer who reviews the BearDrive web app's visual design, UX, and layout. Drives the real UI with Pl