跳到主要内容
知仓学习社ZHICANG

harness-skill-creator

Use when bootstrapping or tightening the smallest harness-oriented skill from an existing repository, workflow, evaluation corpus, or harness-analys…

不碰外部(只输出文字)无严重或高危命中QoderAI/better-harness

它会碰到什么

扫了多少2 个文本文件,7 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Harness Skill Creator

Create the smallest skill that makes another agent repeat one harness job with

evidence, validation, and clear ownership.

Workflow

  1. Resolve source, target, and host: canonical skills/<name>/, .agents/skills/ wrapper, or both.
  2. Inspect the source chain before designing: entry SKILL.md, first-hop

references, scripts, validators, templates, specs, tests, plugin manifests,

and any real smoke evidence.

  1. Load references/bootstrap-patterns.md after the first inventory. Use it to

extract patterns, not product-specific rules.

  1. Draft the minimum viable skill map:
  • skill name and trigger sentence
  • one job the skill owns
  • files to create under skills/<skill-name>/, usually SKILL.md plus one reference
  • evidence boundary and validation commands
  • forward-test prompt and pass/fail gates
  1. Initialize new canonical skills with the system skill-creator helper when

available. Add scripts/ only for stable repeated automation; keep ad-hoc

evaluation prompts out of runtime scripts.

  1. Write the SKILL.md as a router. Put trigger conditions in frontmatter

description, keep the body short, and route detailed rules to first-hop

references.

  1. Validate locally, then forward-test. Treat qodercli output as model evidence;

local validators and file inspection decide pass/fail.

Design Gates

  • Prefer one skill over a stage tree until the target process proves multiple

reusable stages.

  • Copy ownership shape, not product names, branch policy, private commands, or

source-specific team routing.

  • Keep .agents/skills/ as a wrapper or mirror when the workflow is shared by

the plugin; canonical judgment belongs under root skills/.

  • Do not add install, network, server, migration, or dependency-changing

commands unless the user requested them and source evidence supports them.

  • Prefer portable Node/Python validators or target-owned commands. Do not default generated validation gates to Unix-only grep/find checks.
  • In attachment-only or no-tools forward-tests, never emit tool-call markup, shell probes, or inspection plans; return the skill map with status: "insufficient-evidence" when needed.
  • Forward-test files is a string array of skills/<skill-name>/... paths, not objects.
  • If the generated skill cannot pass quick_validate.py <skill-dir>, do not

describe it as usable.

  • After any forward-test, verify git status or file inventory for every repo the

model was allowed to read or write.

Validation

Run the narrowest useful gates for the created skill:

python3 <skill-creator-root>/scripts/quick_validate.py <skill-dir>
qodercli --cwd <neutral-dir> --plugin-dir <harness-root> -p "<forward-test prompt>"
qodercli plugin validate <harness-root>

Reject missing frontmatter, stale placeholders, broken links, unsupported

commands, source-only assumptions, pseudo tool calls, or broad reports.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。