·skill-laws
</>

skill-laws

定义所有 Skill 必须遵循的设计法则(Skill Laws),包括 AI 优先、人类中心、即调即用等核心法则。何时使用:当用户创建新 Skill、优化现有 Skill、询问 Skill 设计规范、或需要评估 Skill 质量时。

10Installs·1Trend·@steelan9199

Installation

$npx skills add https://github.com/steelan9199/wechat-publisher --skill skill-laws

How to Install skill-laws

Quickly install skill-laws AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/steelan9199/wechat-publisher --skill skill-laws
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: steelan9199/wechat-publisher.

SKILL.md

View raw

| 7 | 检查核心法则 | 对照【核心法则检查表】逐项验证,全部通过才算完成 | | 8 | 创建 references | 如内容 > 500 行,将详细内容移到 references/ 目录 |

| ⭐⭐⭐ 人类中心 | 用户只需说自然语言,不需要手动操作文件或运行命令 | ⬜ | 添加 AI 执行步骤,删除用户手动操作 | | ⭐⭐⭐ AI 优先 | 使用祈使句指令(运行/检查/调用/执行),表格展示决策逻辑 | ⬜ | 将"你可以..."改为"运行...",长段落改为表格 | | ⭐⭐⭐ 即调即用 | 顶部有"触发映射"区块,用户输入 → AI 动作一一对应 | ⬜ | 添加触发映射表 | | 渐进披露 | 核心内容 < 500 行,详细内容放 references/ | ⬜ | 将超过 500 行的内容移到 references | | 错误处理 | 包含常见错误场景和处理方式表格 | ⬜ | 添加错误处理表格 |

| 目录已存在 | mkdir 报错目录已存在 | 运行 LS 检查目录内容,如为空则继续,如有内容则询问用户是否覆盖 | | 文件写入失败 | Write 返回错误 | 检查路径是否正确,如路径含空格需用引号包裹,重试写入 | | 变量未替换 | SKILL.md 含 {skill-name} 等占位符 | 运行 SearchReplace 替换所有占位符为实际值 | | 内容超过 500 行 | SKILL.md 行数 > 500 | 将详细内容移到 references/ 目录,核心内容保留精简版 |

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/steelan9199/wechat-publisher --skill skill-laws
Category
</>Dev Tools
Verified
First Seen
2026-03-10
Updated
2026-03-11

Browse more skills from steelan9199/wechat-publisher

Quick answers

What is skill-laws?

定义所有 Skill 必须遵循的设计法则(Skill Laws),包括 AI 优先、人类中心、即调即用等核心法则。何时使用:当用户创建新 Skill、优化现有 Skill、询问 Skill 设计规范、或需要评估 Skill 质量时。 Source: steelan9199/wechat-publisher.

How do I install skill-laws?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/steelan9199/wechat-publisher --skill skill-laws Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/steelan9199/wechat-publisher