skill-optimization SKILL.md skillA
skill-optimization from shinpr/ai-coding-project-boilerplate is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add shinpr/ai-coding-project-boilerplate/skill-optimization@git:20260831.b183037Pins git:20260831.b183037 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- shinpr/ai-coding-project-boilerplate
- Path
.claude/skills-zh-CN/skill-optimization/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260831.b183037, committed Aug 31, 2026
- Size
- 13,533 bytes
- Repository stars
- 234
- License
- MIT
使用 9 种内容模式和 10 条编辑原则评估并优化技能文件质量。适用于创建技能、完善技能内容或审计技能质量的场景。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 技能内容优化 ## 核心理念 1. **基于发现**:每次变更都应解决一个已记录的问题,或遵循一个具名的项目专属来源 2. **具体化**:每种模式都提供检测标准和转换方法 3. **聚焦结构**:优化表达和组织方式;领域知识本身保持不变 4. **保留意图**:在改变结构、措辞、约束、上下文或示例之前,记录原始需求 5. **可追溯**:将每一处应用的变更关联到一个发现或具名的项目来源 6. **自包含**:确保每个纯技能在单独加载时都可独立执行;当每份副本都是独立执行所必需时,跨多个独立加载的纯技能之间的重复内容是合理的 ## 内容优化模式 ### P1:关键问题(必须修复) 会直接降低 LLM 使用该技能时执行准确性的问题。 #### BP-001:否定式指令 → 正向表达 | 检测 | 转换 | |-----------|-----------| | 技能指令中出现“不要”、“禁止”、“永远不要”、“避免” | 首先陈述期望的动作或允许的状态。仅当违反行为是不可逆的操作性动作、调用方通常无法恢复、且纯正向改写会模糊边界时,才保留明确的禁止性表述。将禁止性表述与安全替代方案以及允许跨越该边界的条件配对。可评审的质量策略应改写为正向形式。 | **例外边界示例**: - 允许保留:“将过期记录移至可恢复的归档区。除非用户明确授权永久删除,否则不要永久删除它们。” - 改写为正向形式:“不要臆造问题” → “每个问题都应基于 BP 模式或 10 条原则”、“不要跳过 P1 问题” → “在每次评审中评估所有 P1 问题”、“存在 P1 问题时不要给 A 级” → “仅当 P1 数量为零时才给出 A 级” 质量策略、角色边界、评分标准和一般工作规则始终使用正向表达。调用方会校验、覆盖或丢弃的输出永远不是不可逆的。 **技能示例:** - 修改前:“不要使用通用变量名” - 修改后:“使用能反映用途的描述性变量名(例如 `userId` 而非 `x`)” **为何对技能而言是关键问题**:仅有禁止性表述,会使可执行的目标状态无从确定。 #### BP-002:模糊指令 → 具体标准 | 检测 | 转换 | |-----------|-----------| | 模糊用词(“恰当”、“良好”、“合适”、“最佳”、“应当清晰”)遗留了一个预期成果所需的决策,且不同的合理解读会实质性改变执行或验证方式 | 按照下面的解决步骤,用**限制最少但足够充分的标准**来解决 | | 未指定的格式、长度、范围、语气或成功标准,只要不同的合理解读同样能满足预期结果 | 视为可接受的灵活性;仅当只有一种解读符合要求时才添加约束(如下游使用方需要特定格式,参见 BP-003) | **解决步骤**(针对第一行的发现): …
Read the whole file at its exact version.
How to install
mdr add shinpr/ai-coding-project-boilerplate/skill-optimization@sha256:87eb8125431ef4d6The line at the top of this page pins the label git:20260831.b183037, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_mpnchcneptct7mf4)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Aug 31, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (13533 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
shinpr/ai-coding-project-boilerplate · 234 stars · license MIT · pushed 2026-10-14 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_mpnchcneptct7mf4 GET https://markdownregistry.com/api/v1/resolve?ref=shinpr/ai-coding-project-boilerplate/skill-optimization GET https://markdownregistry.com/api/v1/blob/87eb8125431ef4d6de9b26dca35bf31bce3450e7cfa095f0340e0ca849c2f3d3
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from shinpr/ai-coding-project-boilerplate
Every file in shinpr/ai-coding-project-boilerplate