/omni-dsdd:skill-craftfrom omni-dsdd
Evaluates, repairs, creates, and audits Claude Skills using an 8-module quality framework with weighted scoring. Performs structural scanning, anti-pattern detection, completeness verification, and decision-gate checks.
Ships in omni-dsdd. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
按用户语言响应(Respond in the user's language)
check 模式(同时满足):
fix 模式(同时满足):
create 模式(同时满足):
audit 模式(同时满足):
不触发:
歧义处理:
默认:
以下规则在整个会话期间有效,不因对话长度而放松:
tentative / unresolved — 适用 check/fix/audit/create 所有模式。每次输出前自检此条。其他准则:
| 操作 | 首选工具 | 降级条件 | 降级工具 |
|---|---|---|---|
| 读取文件 | Read | Read 返回错误 | Bash cat |
| 查找文件 | Glob | Glob 返回 0 且路径确认存在 | Bash ls -R |
| 搜索关键词 | Grep | Grep 连续 2 次失败 | Bash grep |
| 修改已有文件 | Edit | Edit 失败(如 old_string 不唯一) | 调整 old_string 范围后重试 Edit |
| 创建新文件 | Write | — | — |
禁止输出:
模式特定禁止:
每个模式的详细步骤(含失败降级路径和 ✅ Checkpoint)在对应 reference 文件中,执行时按需加载。每步必须输出 Checkpoint 后才能进入下一步。
references/check-guide.mdreferences/fix-guide.mdreferences/create-guide.mdreferences/audit-guide.mdcheck: 检查清单 → 评估步骤(不自创标准) → Decision Gate 检查 → 报告引用评分(不重估) → 行动项总数 == 各步问题数之和 fix: 评估结果 → 问题清单(不遗漏) → 逐项修复 → 回归 Decision Gate → 修复数 + 未修复数 == 问题总数 create: 需求 → 规模判断(基于需求) → 必需模块(全部填充) → Decision Gate 模板 → 自检(逐项核对) → 已填充数 == 必需模块数 audit: 系统扫描 → 覆盖所有 Skill → 路由/一致性/Decision Gate → 发现总数 == 各步问题数之和
check 深度: 8模块/7反模式/3原则 可并行 3 个子 agent,各收到目标内容 + 检查清单原文(复制不转述),边界明确,合并时去重+一致性+计数验证 fix: 评估可并行,修复不可并行(修复间有依赖) create: 通常不需要子 agent audit: 路由审计 + 一致性审计 可并行 2 个子 agent
每次 check/fix/audit 完成后,将结果追加到审计历史文件(一行一条 JSON):
存储路径(按优先级):
${CLAUDE_PLUGIN_DATA}/audit-history.jsonl(plugin 安装时可用)~/.claude/skill-craft-data/audit-history.jsonl(fallback){"ts":"2026-03-26T10:00:00Z","mode":"check","skill":"skill-name","path":"/abs/path","weights_version":"2.0","score":7.2,"p0":1,"p1":3,"p2":2,"modules":"6/8","antipatterns_high":1,"dg":"Pass"}
读取时机:
上次 → 本次)写入时机:报告输出后,先展示待写入记录;仅在用户确认后写入。fix 模式写入修复后的分数。
score 语义不同;读取 audit-history.jsonl 时按 weights_version 字段区分,不同版本记录不得直接生成 上次 → 本次 对比,需标注 "⚠️ 基线变更 (v{旧} → v{新})"。所有模式: 结论必须引用来源(文件路径+行号),无来源 = 不输出。
| 场景 | 正确输出 | 禁止输出 |
|---|---|---|
| 模块缺失 | "ABSENT: 模块 N 不存在" | "模块 N 较弱" |
| 反模式无风险 | "PASS: 未发现漏洞指标" | 编造风险 |
| 无法判断 | "UNABLE TO ASSESS: [原因]" | 猜测评分 |
标注: 工具确认→无标注 / 降级推测→"⚠️ 降级分析" / 领域建议→"💡 通用建议"
fix: 修复仅限审计发现,不可"顺便优化";每项修复须说明出处+内容+验证结果 create: 触发条件基于用户描述,不添加用户未要求的领域知识 audit: 路由冲突基于实际 description 对比;旧口径通过 grep 验证
README-CN.md (opens in a new tab)README-EN.md (opens in a new tab)README.md (opens in a new tab)pyrightconfig.json (opens in a new tab)references/audit-guide.md (opens in a new tab)references/check-guide.md (opens in a new tab)references/create-guide.md (opens in a new tab)references/decision-gates.md (opens in a new tab)references/fix-guide.md (opens in a new tab)references/practical-best-practices.md (opens in a new tab)references/quality-standards.md (opens in a new tab)references/report-template.md (opens in a new tab)references/skill-scaffold.md (opens in a new tab)scripts/validate-metadata.py (opens in a new tab)scripts/validate-structure.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zte-aicloud/co-omnispec --plugin omni-dsdd63 skills in this plugin
/analyze制品一致性分析技能。对 spec.md、design.md、tasks.md 做跨制品一致性分析并自动修复,不设轮数上限,全程不询问用户。残留问题完整打印后继续正常结束。用于分析制品、检查一致性、质量审查。/archive将变更指示文件中的需求/设计/接口变更回流到 DOC_DIR/specs 下的要素文档. 当需要从 feature 变更目录同步更新到 DOC_DIR/specs 下的需求、场景、实体、功能和接口文档及其清单与关联关系时使用/brainstormingYou MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation./brainstorming-sdd-bridgeExpert workflow adapter that converts an approved brainstorming *-design.md into the standard SDD document interface consumed by tasks/implement/review/local-sandbox-fix. Use only after expert brainstorming and before tasks.Other plugins' skills for the same job