什么是 ruler-rules-init?
使用英语优先的模板、基于预设的项目检测以及安全的幂等设置,跨存储库迁移和引导基于 Ruler 的 AI 规则。在创建或标准化“.ruler/*”文件、生成“AGENTS.md”/“CLAUDE.md”、将“ruler:apply”连接到“package.json”、在“.gitignore”中添加生成文件忽略以及设计“applyTo”范围模式(例如“**”和“web/**”)时使用。 来源:adonis0123/adonis-skills。
使用英语优先的模板、基于预设的项目检测以及安全的幂等设置,跨存储库迁移和引导基于 Ruler 的 AI 规则。在创建或标准化“.ruler/*”文件、生成“AGENTS.md”/“CLAUDE.md”、将“ruler:apply”连接到“package.json”、在“.gitignore”中添加生成文件忽略以及设计“applyTo”范围模式(例如“**”和“web/**”)时使用。
通过命令行快速安装 ruler-rules-init AI 技能到你的开发环境
来源:adonis0123/adonis-skills。
Migrate a repository to a reusable Ruler rules structure with a safe audit/apply workflow. Keep default templates in English and avoid overwriting existing repository-specific content unless explicitly forced.
Support different project types through preset-based template selection.
Presets control the content of project-specific template files (10-project-context.md, 20-dev-commands.md, 30-coding-conventions.md). Universal files (ruler.toml, AGENTS.md, 00-core-principles.md) are always sourced from the base directory.
使用英语优先的模板、基于预设的项目检测以及安全的幂等设置,跨存储库迁移和引导基于 Ruler 的 AI 规则。在创建或标准化“.ruler/*”文件、生成“AGENTS.md”/“CLAUDE.md”、将“ruler:apply”连接到“package.json”、在“.gitignore”中添加生成文件忽略以及设计“applyTo”范围模式(例如“**”和“web/**”)时使用。 来源:adonis0123/adonis-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/adonis0123/adonis-skills --skill ruler-rules-init使用英语优先的模板、基于预设的项目检测以及安全的幂等设置,跨存储库迁移和引导基于 Ruler 的 AI 规则。在创建或标准化“.ruler/*”文件、生成“AGENTS.md”/“CLAUDE.md”、将“ruler:apply”连接到“package.json”、在“.gitignore”中添加生成文件忽略以及设计“applyTo”范围模式(例如“**”和“web/**”)时使用。 来源:adonis0123/adonis-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/adonis0123/adonis-skills --skill ruler-rules-init 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/adonis0123/adonis-skills