姚元技能(yao-meta-skill)
2026-10-22查看 1复制 0
yao-meta-skill Skill 的源码项目:涵盖受治理的 Skill 创建、重构、评测、打包、审查和分发工作流(MIT)。
📘如何使用这个技能
- 1复制技能内容·点击上方「Copy SKILL.md」复制全部内容,或 Download 下载到本地
- 2打开你的 AI 客户端·支持 Claude Code、Trae、Cursor、ChatGPT、DeepSeek、Kimi 等任意 AI 助手
- 3粘贴为系统提示/知识文件·Claude Code:放入 .claude/skills/ 目录;普通对话:作为首条消息发送并说「请严格按这份技能文档执行」
- 4直接提出你的需求·AI 会按技能定义的工作流、格式和约束来处理,无需再解释背景
💡 提示:技能生效后,每次对话只需一句需求,AI 会按 SKILL.md 的流程执行。
SKILL.md3071 chars
--- name: yao-meta-skill description: Create, improve, or evaluate an existing skill from workflows, prompts, SOPs, scripts. Use for migration/release/package, routing, evals/tests, install/trust checks, 优化已有 skill, 补 trigger 评测. Exclude summary/translation/docs, brainstorming, one-off prompts, copy-only edits, outline-only requests. metadata: author: Yao Team --- # Yao Meta Skill ## Router Rules - Route by frontmatter `description` using the lightest mode. - Keep `SKILL.md` lean: guidance in `references/`, logic in `scripts/`, evidence in `reports/`. ## Modes - `Scaffold`: exploratory; `Production`: team; `Library`: shared; `Governed`: release-critical. - Rules: [Method](references/skill-engineering-method.md), [Modes](references/operating-modes.md), [Boundaries](references/resource-boundaries.md). ## Compact Workflow 1. Require `repeated use` + `reusable output contract`; skip one-offs. 2. Lock target path + identity before writes; self-edits require `--self`. 3. Capture job, output, exclusions, constraints, standards, mode. 4. Scan `3-5` useful external/user/local references. 5. Write `description` early; route edits need `trigger_eval.py`; release gates follow risk. 6. Add deeper profiles only when earned. Playbooks: [Target Safety](references/target-safety.md), [Intent](references/intent-dialogue.md), [Skill IR](references/skill-ir-method.md), [Output Eval](references/output-eval-method.md), [Review Studio](references/review-studio-method.md). ## Updates Activation: `scripts/yao.py check-update --notice --self`; show `notice_text` if requested; continue. “更新”: `scripts/yao.py self-update --self --yes`. ## Skill OS 2.0 Gates For production/library/governed releases, run Skill IR, compiler, trigger/output eval, Atlas, conformance, trust, package/install, upgrade, drift, waiver, Review Studio. ## Governed Package Boundary Governed/file-backed packages: label `input_files` a `file-backed fixture`; include `owner`, `review cadence`, `output contract`, `rollback boundary`; require `trust report` and `reports/output_quality_scorecard.md`; mark unavailable telemetry/approvals/metrics/benchmarks as `missing evidence`; never fabricate evidence. Preserve labels literally when they apply: `file-backed fixture`, `input_files`, `output contract`, `rollback boundary`, `trust report`, `reports/output_quality_scorecard.md`, `missing evidence`. ## First-Turn Style - Infer non-core gaps; ask one core-fork question per round, max two, then use recorded preferred inference. - In Chinese, sound soft and companion-like; use [Intent Dialogue](references/intent-dialogue.md). ## Output Contract Builds: `SKILL.md`, aligned interface, justified assets, boundary/gate summary. Audits: findings + fixes; edit only when asked. No-skill: no files. ## Reference Map Primary: [Method](references/skill-engineering-method.md), [Artifact Design](references/artifact-design-doctrine.md), [Systems](references/systems-thinking-doctrine.md), [Governance](references/governance.md), [SkillOps](references/skillops-decision-policy.md).