Init Rules

SKILLAI 工具
AI 工具 未标注权限 许可证不明确
安装这个技能

交互式生成个性化代理规则,询问技术栈、工作方式和偏好后生成定制规则文件,适用于用户说“i...”的场景。

累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

ClawHub 市场
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install clawhub_clarezoe/init-rules

技能档案

AI 工具
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方clawhub_clarezoe仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式ClawHub 市场安装包 clawhub
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791624147
正文体量3.3 KBSKILL.md 原文大小,越大说明说明书写得越细

SKILL.md 全文

3.3 KB
模型实际读到的说明书原文,来自技能仓库

Init Rules

> Requires Skill Genie. This skill generates rule files for the skill-genie rules/ directory. Install skill-genie first, then run this skill.

Generate personalized agent rule files through a short interview.

Process

Ask the user these questions ONE AT A TIME. After each answer, move to the next. Skip questions the user says aren't relevant.

1. Work style

  • "How should I behave? (e.g., execute without asking, ask before acting, explain reasoning, be concise)"

2. Tech stack

  • "What's your default tech stack? (e.g., Nuxt + Appwrite, Next.js + Supabase, Rails, Swift/macOS, none)"

3. Package manager

  • "Package manager preference? (pnpm, npm, yarn, bun, or N/A)"

4. Deployment

  • "How do you deploy? (e.g., Vercel, Dokploy, Docker, AWS, manual, none)"

5. Git workflow

  • "Git rules? (e.g., never push without asking, auto-push OK, use PRs, conventional commits)"

6. Code quality

  • "Any hard code rules? (e.g., no any, max file length, test required, specific linter)"

7. Skills integration

  • "Should I auto-load skills when a task matches? (yes/no)"

8. Session behavior

  • "Anything special at session start? (e.g., check upstream, read AGENTS.md, run status)"

Output

Before writing, if rules/ already contains .md files:
1. Read all existing rule files fully — understand the user's current preferences and intent
2. Back them up: mv rules/ rules.bak.$(date +%Y%m%d%H%M)/ && mkdir rules/
3. When generating new rules, compare the user's new answers against their existing rules:
- No conflict: Keep the existing rule as-is in the new output
- Conflict detected: Explain the conflict to the user, suggest which version is better and why, then ask which to use
- New rule with no existing equivalent: Add it
4. The goal is to produce rules that reflect the user's FULL intent — both what they said in this interview AND what they previously established

After collecting answers, generate these files in the skill-genie rules/ directory:

  • rules/router.md — Universal top-level rules
  • rules/session-sync.md — Session start behavior
  • rules/workflow-tools.md — Tool and workflow preferences
  • rules/stack-and-deployment.md — Tech stack and deployment (skip if "none")
  • rules/external-tools.md — Skills and external tool usage

Then run setup.sh to apply them.

Rules format

Each file should be concise Markdown, under 30 lines. Use bullet points. No fluff. Example:

# Workflow and tools

- Prefer CLI over MCP when both can do the job.
- Batch independent operations.
- Verify feature doesn't already exist before creating it.

Important

  • Do NOT include project-specific details — those belong in project AGENTS.md
  • Keep rules universal (apply to any project the user works on)
  • If user says "same as example", copy from rules.example/

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。