RuleForge banner
he-yufeng he-yufeng

RuleForge

AI community

Description

Auto-generate AI assistant rules (CLAUDE.md, .cursorrules, copilot-instructions) from codebase analysis

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

RuleForge — auto-generate AI assistant rules from your codebase

[![PyPI version](https://img.shields.io/pypi/v/ruleforge-ai)](https://pypi.org/project/ruleforge-ai/) [![CI](https://github.com/he-yufeng/RuleForge/actions/workflows/ci.yml/badge.svg)](https://github.com/he-yufeng/RuleForge/actions) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

[**Quick Start**](#quick-start) · [**What It Detects**](#what-it-detects) · [**Formats**](#supported-output-formats) · [中文](README.zh-CN.md)

ruleforge generate .

RuleForge scans your project — languages, frameworks, linters, test setup, CI config — and generates ready-to-use rule files for **Claude Code** (`CLAUDE.md`), **Cursor** (`.cursorrules`), **GitHub Copilot** (`.github/copilot-instructions.md`), the tool-agnostic **`AGENTS.md`** convention, **Windsurf** (`.windsurfrules`), **Cline** (`.clinerules`), **Gemini CLI** (`GEMINI.md`), **Zed** (`.rules`), and **Aider** (`CONVENTIONS.md`).

Stop writing these files by hand. Let your codebase speak for itself.

Why?

Every AI coding assistant works better with project-specific context. But most developers either:

  • Skip writing rules entirely (leaving performance on the table)
  • Copy-paste generic templates that don't match their actual stack
  • Spend 30+ minutes hand-crafting rules that go stale

RuleForge generates accurate, stack-aware rules in seconds by actually reading your project config.

What It Detects

Category Examples
Languages Python, TypeScript, JavaScript, Go, Rust, Java, C++, and 20+ more
Frameworks FastAPI, Flask, Django, React, Next.js, Vue, Svelte, Express, Gin, Axum...
Package Managers pip, poetry, hatch, pnpm, yarn, bun, npm, cargo
Linters & Formatters ruff, black, eslint, prettier, biome, clippy, go fmt
**T