基于匠厂 skill-template 主仓 v1.0.108 派生的业务技能。 核心业务: - 教师在教务系统提交新开课或修订大纲时自动触发 - 格式结构 + 课程目标与毕业要求矩阵匹配 + 课程思政融合度三维体检 - 以批注模式嵌入原 Word 文档,文末给出百分制评分 输出形态: - Word 文档红 / 黄 / 绿三色批注 - 百分制体检评分 + HTML 体检报告 + 修改建议清单 预期提效:教务处培养方案审核环节的返工次数减少 70%;大纲编制的规范性达到 95% 以上。 业务行生命周期:无(一次性体检结果存档,不重复处理) Co-Authored-By: Claude Code <noreply@anthropic.com>
108 lines
3.2 KiB
JSON
108 lines
3.2 KiB
JSON
{
|
||
"schemaVersion": 1,
|
||
"skill": "check-course-syllabus-aa",
|
||
"actions": [
|
||
{
|
||
"id": "health",
|
||
"label": "运行检查",
|
||
"description": "检查技能运行环境、教务系统 API 连通性、培养方案库完整性。",
|
||
"placements": ["skill-detail", "agent"],
|
||
"executionProfile": "sync",
|
||
"entrypoint": {
|
||
"type": "cli",
|
||
"command": "health",
|
||
"args": []
|
||
}
|
||
},
|
||
{
|
||
"id": "version",
|
||
"label": "查看版本",
|
||
"description": "返回技能版本和机器标识。",
|
||
"placements": ["skill-detail"],
|
||
"executionProfile": "sync",
|
||
"entrypoint": {
|
||
"type": "cli",
|
||
"command": "version",
|
||
"args": []
|
||
}
|
||
},
|
||
{
|
||
"id": "config-path",
|
||
"label": "查看配置位置",
|
||
"description": "返回技能配置文件位置。",
|
||
"placements": ["skill-detail"],
|
||
"executionProfile": "sync",
|
||
"entrypoint": {
|
||
"type": "cli",
|
||
"command": "config-path",
|
||
"args": []
|
||
}
|
||
},
|
||
{
|
||
"id": "audit-syllabus",
|
||
"label": "体检这份大纲",
|
||
"description": "对指定课程大纲执行格式结构 + 矩阵匹配 + 思政融合度体检,30 秒~1 分钟内返回百分制评分与不达标项清单。",
|
||
"placements": ["row", "agent"],
|
||
"executionProfile": "sync",
|
||
"bind": {
|
||
"tables": ["课程大纲"],
|
||
"selectionMode": "required",
|
||
"labelColumn": "课程名称"
|
||
},
|
||
"entrypoint": {
|
||
"type": "cli",
|
||
"command": "audit-syllabus",
|
||
"args": ["--syllabus-id", "{row.大纲ID}"]
|
||
}
|
||
},
|
||
{
|
||
"id": "batch-audit-syllabus",
|
||
"label": "批量体检",
|
||
"description": "批量体检某专业或某教研室下所有大纲,按顺序逐份执行并汇总结果。",
|
||
"placements": ["batch", "agent"],
|
||
"executionProfile": "async",
|
||
"bind": {
|
||
"tables": ["课程大纲"],
|
||
"selectionMode": "optional"
|
||
},
|
||
"entrypoint": {
|
||
"type": "cli",
|
||
"command": "batch-audit-syllabus",
|
||
"args": ["--major-id", "{form.major_id}", "--course-ids", "{form.course_ids}"]
|
||
}
|
||
},
|
||
{
|
||
"id": "render-html",
|
||
"label": "查看体检报告",
|
||
"description": "渲染指定体检记录的 HTML 报告,宿主 iframe 预览。",
|
||
"placements": ["row", "skill-detail", "agent"],
|
||
"executionProfile": "sync",
|
||
"bind": {
|
||
"tables": ["体检记录"],
|
||
"selectionMode": "required",
|
||
"labelColumn": "课程名称"
|
||
},
|
||
"entrypoint": {
|
||
"type": "cli",
|
||
"command": "render-html",
|
||
"args": ["--audit-id", "{row.体检ID}"]
|
||
}
|
||
},
|
||
{
|
||
"id": "sync-norm-library",
|
||
"label": "同步编制规范库",
|
||
"description": "从教务系统重新拉取《课程大纲编制规范》红头文件并更新索引。占位 Action,cron 启用后由定时调度。",
|
||
"placements": ["cron", "agent", "toolbar"],
|
||
"executionProfile": "async",
|
||
"bind": {
|
||
"tables": ["编制规范"]
|
||
},
|
||
"entrypoint": {
|
||
"type": "cli",
|
||
"command": "sync-norm-library",
|
||
"args": []
|
||
}
|
||
}
|
||
]
|
||
}
|