2026-06-10 19:15:24 +08:00
|
|
|
{
|
|
|
|
|
"schema_version": "agent-skill.v1",
|
|
|
|
|
"name": "yg-rules-pipeline",
|
|
|
|
|
"display_name": "YG Rules Pipeline",
|
|
|
|
|
"description": "Run YG-Rules from a fixed input folder through direct project code to generated Excel and Markdown outputs.",
|
|
|
|
|
"triggers": [
|
|
|
|
|
"从固定文件夹生成规则",
|
|
|
|
|
"采集输入目录并生成excel和markdown",
|
|
|
|
|
"run YG-Rules pipeline",
|
|
|
|
|
"folder to YG-Rules output"
|
|
|
|
|
],
|
|
|
|
|
"entrypoints": {
|
|
|
|
|
"script": "scripts/run_pipeline.py",
|
|
|
|
|
"codex": "SKILL.md",
|
|
|
|
|
"claude": "CLAUDE.md",
|
|
|
|
|
"generic_manifest": "skill.json"
|
|
|
|
|
},
|
|
|
|
|
"runtime": {
|
|
|
|
|
"working_directory": "repository_root",
|
|
|
|
|
"language": "python",
|
|
|
|
|
"requires_flask_server": false,
|
|
|
|
|
"dependencies_file": "requirements.txt"
|
|
|
|
|
},
|
|
|
|
|
"commands": {
|
|
|
|
|
"default": "python skill/yg-rules-pipeline/scripts/run_pipeline.py --input input --limit 2 --create-sql",
|
|
|
|
|
"help": "python skill/yg-rules-pipeline/scripts/run_pipeline.py --help"
|
|
|
|
|
},
|
|
|
|
|
"inputs": {
|
|
|
|
|
"default_dir": "input",
|
|
|
|
|
"domains": ["domains.xlsx", "domains.xls", "domains.csv", "domains.json"],
|
|
|
|
|
"schema": ["schema.xlsx", "schema.xls"],
|
|
|
|
|
"guidance_dir": "guidance",
|
|
|
|
|
"shared_guidance_dir": "guidance/_all",
|
|
|
|
|
"domain_guidance_pattern": "guidance/<risk_domain>/*"
|
|
|
|
|
},
|
|
|
|
|
"outputs": {
|
|
|
|
|
"task_dir": "output/rules-{task_id}",
|
|
|
|
|
"excel": "output/rules-{task_id}/rules-{task_id}.xlsx",
|
|
|
|
|
"markdown": "output/rules-{task_id}/rules-{task_id}.md",
|
|
|
|
|
"task_state": "output/tasks/{task_id}.json"
|
|
|
|
|
},
|
|
|
|
|
"related_skills": ["yg-rules-output"]
|
|
|
|
|
}
|