he-yufeng

RuleForge — AI skill for Claude Code

AI community

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

How to install RuleForge

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

What RuleForge does

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

Alternatives in AI

  • Open Researcher — 🔥 Visual AI research assistant that displays real-time thinking, provides split-view analysis, and automatic 634 ★
  • EasyCode — Easy Code (formerly DeepV Code) — A highly customizable AI coding assistant compatible with all major AI model 421 ★
  • DeepVCode — DeepV Code - A highly customizable AI coding assistant compatible with all major AI models 406 ★

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