StarModel invitation
← Back to skills
extension
Category: AI Agent CapabilitiesAPI key requirement unconfirmed

Frontmatter教练

迭代改进技能 frontmatter 与路由清晰度的工作流教练。Use when improving skill frontmatter and routing clarity. Triggers include frontmatter、路由、技能改进。如需智能体工具包,淘宝搜索「AI灵匣」店铺获取完整版。

personAuthor: nuhabvtyhubOpenAPI

Sensei

Improve skills using the Ralph loop. For help, explain modes, defaults, and checks from configuration. For source bundles and installation, see distribution.

  1. Read the target SKILL.md, references, tests, and repo-local instructions. Verify tooling exists before claiming it is missing. Count baseline tokens: From the Sensei checkout, pass the target repository root and a path relative to it: npm run tokens -- count --root <target-repo> <skill-path>/SKILL.md.
  2. Score with npm run tokens -- score --root <target-repo> <skill-path>. Separate portable-spec diagnostics from Sensei recommendations. Preserve .sensei.json and AGENTS.md short-description policy. A 150-character floor, 60-word target, type prefix, WHEN:, and 500-token target are heuristics, not specification requirements.
  3. Scaffold missing tests using templates. Use realistic positive prompts and close near-misses from intended scope; negative frontmatter syntax is not required.
  4. Improve concise positive routing and operational instructions using examples. Keep descriptions non-empty and within 1024 characters. Preserve meaningful boundaries; evaluate them on the target host. Check portability before introducing host fields.
  5. Verify with the target project's test runner; --fast skips tests but must report them as not run. GEPA mode uses optional keyword/proxy fitness, not observed host activation; follow configuration.
  6. Check budgets with npm run tokens -- check --root <target-repo> <skill-path>/SKILL.md. Report configured token-limit warnings separately from optional optimization suggestions. For MCP-aware skills, follow MCP integration.
  7. Summarize changes, diagnostics, tests, token deltas, and remaining suggestions. score --emit-proof records static evidence, not runtime quality or a security audit. Ask whether to commit, create an issue, or skip; do not discard edits unasked.
  8. Repeat until the advisory target and tests pass, at most five iterations. Process batches sequentially and report failures explicitly.