skill-creator-smoke-test
GitHub内部工具,作为元技能创建流程的步骤,对候选SKILL.md执行G3(正向)和G4(反向)冒烟测试。通过模拟元解析验证技能有效性,返回JSON结果,支持降级模式处理配置缺失或故障情况。
Trigger Scenarios
Install
npx skills add opensquilla/opensquilla --skill skill-creator-smoke-test -g -y
SKILL.md
Frontmatter
{
"name": "skill-creator-smoke-test",
"provenance": {
"origin": "opensquilla-original",
"license": "Apache-2.0"
},
"description": "Internal tool (not user-invocable). Called by meta-skill-creator as a DAG step (kind: agent) to run G3 (positive smoke) and G4 (negative smoke) gates against a candidate meta-skill SKILL.md. Cross-vendor: fixture-generation LLM != classifier LLM. Returns JSON.",
"user-invocable": false,
"disable-model-invocation": true
}
Skill Creator Smoke Test
When invoked as a kind: agent, skill: skill-creator-smoke-test step, this sub-agent:
- Receives
skill_md,fixture_gen_model,classifier_modelfrom the parent step'swith: - Calls
simulate_meta_resolutionwith a positive fixture (LLM-generated usingfixture_gen_model) - Calls
simulate_meta_resolutionwith a negative fixture (LLM-generated, cross-domain) - Returns
{"G3": {...}, "G4": {...}}JSON
If OPENROUTER_API_KEY is absent OR either fixture_gen_model/classifier_model is unconfigured, the sub-agent falls back to the deterministic fixture generator and pins classifier_model="stub". In both cases the smoke step still emits G3/G4 records, but with a degraded: true flag.
Fallback
If the sub-agent fails entirely, output {"G3": {"passed": false, "reason": "smoke unavailable"}, "G4": {"passed": false, "reason": "smoke unavailable"}}.
Version History
- 7f72a32 Current 2026-07-05 18:39


