init-rules (CLAUDE.md Initializer)
Auto-detects your project's tech stack and assembles a CLAUDE.md coding-standards file from a bundled rule template library.
Dev & CodingBeginner★ 189⑂ 7AI score 8/10Last updated: Mar 19, 2026
What it does
- Scans the current working directory to detect languages and frameworks (
tsconfig.json, vue/react deps inpackage.json,pom.xml,go.mod,Cargo.toml,Package.swift,pyproject.toml,src-tauri/, and more). - Shows the detection result and asks you to confirm or adjust before writing anything.
- Reads the rule files bundled with the skill (
base/core.md,base/git.md,languages/*,frameworks/*) and concatenates them in a fixed order intoCLAUDE.md. - Warns before overwriting an existing
CLAUDE.md, then reports which rule files were included and the total line count. - Explicitly forbids the model from inventing rules from memory — output stays consistent across projects.
Who it's for
- Developers tired of hand-writing a CLAUDE.md for every new repo.
- Teams working across multiple stacks (TS/Vue/React/Spring Boot/Go/Rust/Swift) that want one consistent convention set.
- Tech leads maintaining a central rule library and rolling it out per project.
Examples
- In a Vue + TypeScript repo, say "init rules" → you get a CLAUDE.md combining core + git rules with typescript.md and vue.md.
- In a Spring Boot repo (
spring-bootinpom.xml) → java.md and springboot.md rules are merged in. - In a repo that already has CLAUDE.md → the skill asks for confirmation before regenerating it from the latest templates.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/lifedever/claude-rules/HEAD/.claude/skills/init-rules/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the .claude/skills/init-rules folder from the GitHub repo lifedever/claude-rules into my ~/.claude/skills/init-rules/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/lifedever/claude-rules.git /tmp/claude-rules && mkdir -p ~/.claude/skills && cp -r /tmp/claude-rules/.claude/skills/init-rules ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone https://github.com/lifedever/claude-rules.git - Create the skills folder:
mkdir -p ~/.claude/skills - Copy the entire skill directory (the rule files must come with it):
cp -r claude-rules/.claude/skills/init-rules ~/.claude/skills/ - Verify with
ls ~/.claude/skills/init-rules— you should seebase/,languages/, andframeworks/. - Open Claude Code inside the project you want standards for and type "init rules".
- Confirm or tweak the detected stack list, and
CLAUDE.mdwill be written to the project root.
View source on GitHub ↗License: MIT