naravid19/ai-project-rules-generator
generating-project-rules
VerifiedMake sure to use this skill WHENEVER the user mentions creating, generating, or updating project rules files (.cursorrules, AGENTS.md, CLAUDE.md, GEMINI.md, or equivalent) for any software project. This is essential when a user wants to integrate AI skills into their development workflow, or when they need cross-platform AI tool configuration. Skip this for general code generation, refactoring, or tasks unrelated to AI agent configuration files.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 21.0 KB |
| assets/i18n/README.md | markdown | 2.9 KB |
| assets/images/logo.png | binary | 14.1 KB |
| assets/templates/README.md | markdown | 3.1 KB |
| assets/templates/mcp_registry.yaml | config | 1.2 KB |
| assets/templates/rulesrc-template.yaml | config | 7.3 KB |
| scripts/audit.py | script | 6.5 KB |
| scripts/config_runtime.py | script | 4.0 KB |
| scripts/discover-skills.py | script | 26.4 KB |
| scripts/extract-capabilities.py | script | 2.0 KB |
| scripts/indexer.py | script | 15.3 KB |
| scripts/lib/__init__.py | script | 74 B |
| scripts/lib/confidence.py | script | 1.8 KB |
| scripts/lib/config_runtime.py | script | 1.1 KB |
| scripts/lib/design_tokens.py | script | 4.7 KB |
| scripts/lib/semantic_matcher.py | script | 2.1 KB |
| scripts/log_viewer.py | script | 2.7 KB |
| scripts/memory_manager.py | script | 4.6 KB |
| scripts/project_rules_runtime.py | script | 27.3 KB |
| scripts/remote_source.py | script | 2.1 KB |
| scripts/rules_config.py | script | 5.7 KB |
| scripts/skill_metadata.py | script | 7.2 KB |
| scripts/traceability.py | script | 2.9 KB |
| scripts/validate-output.ps1 | script | 24.5 KB |
| scripts/validate-output.sh | script | 19.9 KB |
| scripts/wizard.py | script | 18.1 KB |
assets/i18n/README.md
View on GitHub# 🌐 Multi-Language Support
Guidelines for generating `.cursorrules` and `AGENTS.md` in multiple languages.
## Supported Languages
| Code | Language | Status |
| ---- | ---------------------- | ------------ |
| `en` | English | ✅ Default |
| `th` | ไทย (Thai) | ✅ Supported |
| `ja` | 日本語 (Japanese) | ✅ Supported |
| `zh` | 中文 (Chinese) | ✅ Supported |
| `ko` | 한국어 (Korean) | ✅ Supported |
| `es` | Español (Spanish) | ✅ Supported |
| `fr` | Français (French) | ✅ Supported |
| `de` | Deutsch (German) | ✅ Supported |
| `pt` | Português (Portuguese) | ✅ Supported |
## How Language Selection Works
### Automatic Detection
The workflow detects project language from:
1. **Config file** — `.rulesrc.yaml` → `output_language` field
2. **README.md language** — if the project's README is in Thai, default to Thai
3. **Interactive prompt** — Stage 0 asks the user (if interactive mode is on)
4. **Fallback** — defaults to English (`en`)
### What Gets Translated
| Element | Translated? | Notes |
| ----------------- | ----------- | ----------------------------------------------- |
| Section headers | ✅ Yes | `## Critical Rules` → `## กฎสำคัญ (Critical)` |
| Rule descriptions | ✅ Yes | Natural language descriptions |
| Code examples | ❌ No | Code stays in the original programming language |
| Variable names | ❌ No | Follow project's naming conventions |
| Emoji/icons | ❌ No | Universal across all languages |
| Technical terms | ⚠️ Partial | Keep original term in parentheses |
### Translation Pattern
When translating, always keep the original English technical term in parentheses for clarity:
```markdown
## กฎสำคัญ (Critical Rules) 🔴
### กฎที่ 1: ❌ ห้าม hardcode ชื่อ skill
**ทำไม**: Skill มีการเพิ่ม/เปลี่ยนชื่อ/อัปเดตอยู่ตลอด การ hardcode จะทำให้ไฟล์ล้าสมัยทันที
```
## How to Add a New Language
1. Add the language code to the supported languages table above
2. The AI will automatically generate content in the requested language
3. No additional template files are needed — the workflow handles translation dynamically
> [!TIP]
> You don't need to create separate template files for each language. The workflow generates translated content dynamically based on the language setting.
## Configuration
Set the output language in `.rulesrc.yaml`:
```yaml
output_language: th
```
Or specify during the interactive prompt (Stage 0):
```
> Preferred output language? [en/th/ja/zh/ko/es/fr/de/pt]: th
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 471k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |