init-ruleslisted
Install: claude install-skill pegregenerate417/claude-rules
# Init Claude Rules
IMPORTANT: You MUST read rule files from this skill's bundled files. Do NOT generate rules from your own knowledge.
Rule files are bundled in this skill's directory. Use `${CLAUDE_SKILL_DIR}` to reference them.
## Workflow
### Step 1: Detect Tech Stack
Scan the current working directory to identify languages and frameworks:
| Signal | Rule File |
|--------|-----------|
| `tsconfig.json` or `*.ts` files | `languages/typescript.md` |
| `package.json` with `"vue"` dependency | `frameworks/vue.md` |
| `package.json` with `"react"` dependency | `frameworks/react.md` |
| `src-tauri/` directory | `frameworks/tauri.md` |
| `*.js` files without `tsconfig.json` | `languages/javascript.md` |
| `*.java` files or `pom.xml` | `languages/java.md` |
| `build.gradle.kts` or `*.kt` files | `languages/kotlin.md` |
| `pom.xml`/`build.gradle` with `spring-boot` | `frameworks/springboot.md` |
| `Package.swift` or `*.swift` files | `languages/swift.md` |
| Swift files with `import SwiftUI` | `frameworks/swiftui.md` |
| `pyproject.toml` or `requirements.txt` | `languages/python.md` |
| `*.html` files | `languages/html.md` |
| `*.css`/`*.scss` files | `languages/css.md` |
| `go.mod` or `*.go` files | `languages/go.md` |
| `Cargo.toml` or `*.rs` files | `languages/rust.md` |
Present detection results and ask user to confirm or adjust before proceeding.
### Step 2: Read Rule Files
Read files from this skill's bundled directory using the Read tool.
Always read:
1. `${CLAUDE