Manual Qztc

v5.3.0

仅供QZTC内部使用。教学工作手册生成工具 v5.3。Generator+Reviewer双模式,支持Pipeline一键生成+审查。

0· 155·0 current·0 all-time
by林捷@alukardo

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for alukardo/manual-qztc.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Manual Qztc" (alukardo/manual-qztc) from ClawHub.
Skill page: https://clawhub.ai/alukardo/manual-qztc
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install manual-qztc

ClawHub CLI

Package manager switcher

npx clawhub@latest install manual-qztc
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (教学工作手册生成与审查) match the included Python code: manual_generator.py produces Word docs from Excel and scripts/review_document.py validates them. No unrelated binaries, env vars, or services are required.
Instruction Scope
SKILL.md instructs running the included scripts on local Excel and docx files, which is appropriate. The code reads user-supplied Excel and template files and writes an output .docx and may create a local config.env in the skill directory. This file I/O is expected for the stated purpose, but be aware the scripts will access any file paths you supply and will write output files to the same directory as the input Excel.
Install Mechanism
No install spec; the skill is instruction-only with bundled Python scripts. No network downloads or external package installation are performed by the skill itself. It depends on standard Python libraries plus pandas and python-docx (not installed by the skill).
Credentials
The skill declares no required environment variables, credentials, or config paths. The code does create/modify a local config.env in the skill/script directory to store TEMPLATE_DIR by default — this is local and proportional to template lookup functionality.
Persistence & Privilege
always:false and normal autonomous invocation settings. The only persistent action is creating a config.env file in the skill's directory if missing (config_loader.py). That is limited in scope and does not modify other skills or system-wide settings.
Assessment
This skill appears to do what it says: generate and review teaching manuals from Excel templates. Before running it: (1) inspect the template directory it will use (defaults to ~/Documents/QZTC/教学文档模版) or supply a template you control; (2) only pass Excel files you trust (the scripts will read any file path you provide and write outputs next to those files); (3) note the script will create a config.env file in the skill's directory to store TEMPLATE_DIR — if you prefer, create that file yourself with TEMPLATE_DIR and OUTPUT_DIR entries; (4) ensure pandas and python-docx are installed in your Python environment. If you want extra assurance, run the scripts in an isolated environment (temporary VM or container) and review the full manual_generator.py file (the manifest shown was truncated in the listing) before processing sensitive data.

Like a lobster shell, security has layers — review code before you run it.

latestvk97287ydn1hj0vg277e16ytpcd84k222
155downloads
0stars
2versions
Updated 2w ago
v5.3.0
MIT-0

教学工作手册生成工具 v5.3

🎯 设计模式: Generator + Reviewer + Pipeline + Tool Wrapper 📁 代码文件: manual_generator.py 🔍 审查脚本: scripts/review_document.py 📖 规则参考: references/grading-formula.md


🚀 快速开始

Pipeline 一键执行(推荐)

# 生成 + 审查
python3 manual_generator.py <Excel文件> --pipeline

单独使用

# 生成
python3 manual_generator.py 数据可视化-23级计算机.xls

# 审查
python3 scripts/review_document.py 教学工作手册.docx

📁 目录结构

manual-qztc/
├── SKILL.md                      # 本文件
├── manual_generator.py             # 主生成器(Generator模式)
├── scripts/
│   └── review_document.py        # 质量审查(Reviewer模式)v1.0
└── references/
    └── grading-formula.md        # 工具规则(Tool Wrapper)

🔄 Pipeline 工作流

┌─────────────────────────────────────────────────────────────┐
│  STEP 1: 生成 (Generator)                                  │
│  python3 manual_generator.py <Excel> --pipeline             │
│       ↓                                                    │
│  ✅ CHECKPOINT 1: 文件生成成功?                             │
│       ↓                                                    │
│  STEP 2: 审查 (Reviewer)                                   │
│  python3 scripts/review_document.py <输出.docx>             │
│       ↓                                                    │
│  ✅ CHECKPOINT 2: 所有检查项通过?                          │
│       ↓                                                     │
│  STEP 3: 交付                                              │
└─────────────────────────────────────────────────────────────┘

🧪 测试数据

# C#程序设计(48学生,软工)
python3 manual_generator.py "~/Documents/QZTC/2026/C#程序设计-23级软工.xls" --pipeline

# 数据可视化(52学生,计算机)
python3 manual_generator.py "~/Documents/QZTC/2026/数据可视化-23级计算机.xls" --pipeline

📋 表格结构

作业表(学生作业登记表)

内容
cells[0]学号
cells[1]姓名
cells[2-14]作业1-13(填√或空)

成绩表(学生课程成绩登记表)

内容
cells[0]学号
cells[1]姓名
cells[8]平时成绩
cells[9]期中成绩
cells[10]期末成绩
cells[11]总评

分页

  • 每表21行(1表头+20数据)
  • 不足20学生时多余行留空

🔧 审查检查项

检查项说明
✅ placeholders所有{*}占位符已替换
✅ homework_tables作业表结构正确
✅ grade_tables成绩表结构正确

📐 占位符规则

占位符含义示例
{as}学年2025 - 2026
{ay}学年学期2025-2026-2
{sm}学期
{g}年级23
{mj}专业软工
{g}{mj}复合23软工
{tot}总人数48
{v}平均成绩78.5
{y} {m} {d}年/月/日2026 / 4 / 9
{c}班号1

📦 依赖

import pandas as pd
from docx import Document

🔄 更新日志

版本日期内容
v5.12026-04-09全面切换至{* }占位符格式
v4.62026-03-28文本替换格式、居中、分页

v5.1 - 2026-04-09 - Generator + Reviewer + Pipeline + Tool Wrapper

Comments

Loading comments...