rule-creation

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

rule-creation

规则创建

Purpose

目的

Guide the creation of a new rule document or rule set with explicit audience, scope, enforcement, exclusions, and precedence.
指导创建包含明确受众、范围、执行要求、例外情况和优先级的新规则文档或规则集。

Supported Tools

支持的工具

  • generic
  • openai
  • claude-code
  • opencode
  • generic
  • openai
  • claude-code
  • opencode

Inputs

输入项

  • rule request
  • creators/questionnaires/rule.yaml
  • rules/README.md
  • 规则需求
  • creators/questionnaires/rule.yaml
  • rules/README.md

Outputs

输出项

  • rule creation package
  • drafted rule content
  • validation checklist
  • 规则创建包
  • 草拟的规则内容
  • 验证检查清单

Guardrails

约束规则

  • Ask about precedence only when conflicts may exist.
  • Keep rules concrete and behaviorally testable.
  • Make the target audience explicit.
  • 仅当可能存在冲突时才询问优先级相关问题。
  • 确保规则具体且可通过行为测试。
  • 明确指定目标受众。

Process

流程

  1. Run intake and normalize the target rule path.
  2. Gather required and conditional rule questions.
  3. Draft the package and validate it.
  1. 接收需求并规范化目标规则路径。
  2. 收集必需和条件性的规则相关问题。
  3. 草拟规则包并进行验证。

Adapter Notes

适配器说明

  • generic: do not hide rule conflicts behind vague wording.
  • generic:不要用模糊表述掩盖规则冲突。