一键导入
assistant-skill-creator
Create or update V1 skills and contracts. Use for skill scaffolding, contract design, or contract-compliance validation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create or update V1 skills and contracts. Use for skill scaffolding, contract design, or contract-compliance validation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Clarify ambiguous or multi-intent requests. Use when the user asks to untangle, structure, or restate what they mean.
Manage durable memory safely. Use for explicit remember, recall, forget, or memory-health requests and stable corrections or preferences.
Review code and re-review fixes until clean. Use for explicit code review or the workflow Review phase; QA runs only when required.
Run proportional development phases. Use to plan, build, implement, fix, migrate, or refactor project artifacts.
Generate and rank options. Use light mode for quick improvement scans and deep mode for explicit brainstorming or broad exploration.
Diagnose unknown failures by reproducing and isolating before fixing. Use for debugging, root causes, flaky tests, or unexplained breakage.
| name | assistant-skill-creator |
| description | Create or update V1 skills and contracts. Use for skill scaffolding, contract design, or contract-compliance validation. |
| effort | medium |
| triggers | [{"pattern":"create skill|new skill|add contracts|skill contracts|scaffold skill|create a skill|make a skill|build a skill","priority":75,"min_words":3,"reminder":"This request matches assistant-skill-creator. You MUST invoke the Skill tool with skill='assistant-skill-creator' BEFORE creating skill files directly."}] |
Create compact, contract-backed V1 skills with precise routing, typed boundaries, safe fallback behavior, and offline validation.
SKILL.md concise and move detail to on-demand references.Canonical tier files are contracts/input.yaml, contracts/output.yaml, and
contracts/phase-gates.yaml.
Read contracts/index.yaml first and load only the active boundary:
entry for purpose, category, triggers, dependencies, policy, and existing path;current_phase for CAPTURE, DESIGN, VERIFIED_DISTILLATION, BUILD, or VALIDATE;contract_design for ordinary contract design;harness_design only for loop-based Process skills;verified_distillation only when promoting a completed workflow/lesson;validation only for the final checklist; andcompletion only for the artifact being returned.Missing or invalid selectors fall back to the full named canonical contract. Do not load every contract or reference at entry.
The skill-local contract guide is generated from docs/skill-contract-design-guide.md;
edit the docs source, then run
tools/skills/sync-skill-contract-guide.sh --apply.
assistant-skill-creator owns skill contract design, routing precision, and contract validation. Generic workflow may coordinate file edits and review, but specialist gates are authoritative.
Resolve name, purpose, category, triggers, dependencies, policy constraints, and
effort. Existing skill shortcut: when existing_skill_path exists, read the
current skill and proceed to DESIGN without asking for captured facts again.
Contract tiers:
Load contract_design. Define typed input/output fields, recovery actions,
binary phase gates, invariants, and matching handoffs where applicable. Present
new or materially changed contract design for user review before BUILD. A small,
reversible existing-skill edit may proceed when direction is already explicit.
For a Process skill with multi-round review, QA, optimization, or restart loops,
load harness_design and apply references/harness-patterns.md: bounded rounds,
rubric/score progression, drift/stagnation handling, separate generation and
evaluation, and explicit completion/pivot artifacts.
When turning a completed workflow or lesson into a reusable skill, load
verified_distillation. Require distillation_verification with
verifier_result: approved before writing. Remove task progress, PR numbers,
secrets, logs, and stale facts; otherwise return a revision checklist.
Create skills/<name>/SKILL.md, required tier contracts, and focused evals.
Keep canonical contract headers and descriptions precise. Reuse repository
templates; add references only when they reduce root load.
Load validation; run the 13 contract design guide rules plus company-safety,
source validation, eval validation, sync checks, and relevant P0-P4 contracts.
Fix failures before reporting VALIDATE COMPLETE.
Return status, changed files, contract tier/summary, validation evidence, policy-safety summary, and unresolved gaps.