qiaomu-cut
Verified把一句话需求转成可复现、可验收视频工程的乔木智能剪辑导演。Use when the user asks to create, plan, edit, remix, explain, narrate, subtitle, animate, composite, or render a video—including one-line requests such as “制作一个科普视频:介绍 LLM 中的 RL”. Builds English-learning movie mixes, person profiles, explainers, code-drawn motion graphics (UI morph loops, showreels, kinetic-type promos, line-art/pixel/Three.js animation, lyric MVs), product launch videos, cinematic shorts, social clips, course/PPT videos, AI image/video/TTS/music-assisted stories, stock-footage stories, or multi-source montage. Routes across 33台词, ClipSeek/open media, local files, ListenHub, image generation, HTML/SVG/Canvas motion graphics with beat-grid storyboards and determinism probes, Manim, ffmpeg-full, captions, sound design, frame-0 video covers with YouTube thumbnails, and release checks.
scripts/validate_skill.py
View on GitHub#!/usr/bin/env python3
import argparse
import json
import re
import sys
from pathlib import Path
def main() -> int:
parser = argparse.ArgumentParser(description="Validate the qiaomu-cut package contract.")
parser.add_argument("root", nargs="?", default=".")
root = Path(parser.parse_args().root).resolve()
errors = []
warnings = []
required = [
"SKILL.md",
"README.md",
"agents/interface.yaml",
"agents/openai.yaml",
"evals/trigger_cases.json",
"reports/skill-ir.json",
"references/workflows.md",
"references/source-adapters.md",
"references/trust-boundary.md",
"references/explainer-autopilot.md",
"references/aesthetic-preferences.md",
"scripts/qcut.js",
"scripts/explainer_pipeline.js",
"scripts/explainer_pipeline_smoke.js",
"scripts/explainer_e2e_smoke.js",
"assets/explainer-social/base.css",
]
for rel in required:
if not (root / rel).exists():
errors.append(f"missing required file: {rel}")
skill = root / "SKILL.md"
if skill.exists():
text = skill.read_text(encoding="utf-8")
match = re.match(r"^---\n(.*?)\n---\n", text, re.S)
if not match:
errors.append("SKILL.md missing YAML frontmatter")
else:
frontmatter = match.group(1)
if not re.search(r"^name:\s*qiaomu-cut\s*$", frontmatter, re.M):
errors.append("SKILL.md frontmatter name must be qiaomu-cut")
if "description: |" not in frontmatter:
errors.append("SKILL.md description should use block scalar: description: |")
if "missing evidence" not in text.lower():
warnings.append("SKILL.md should mention missing evidence boundary")
for required_phrase in ["一句话科普快速通道", "向阳乔木 v1.1", "左侧彩色竖线", "image2pipe"]:
if required_phrase not in text:
errors.append(f"SKILL.md missing v0.6 contract: {required_phrase}")
readme = root / "README.md"
if readme.exists():
readme_text = readme.read_text(encoding="utf-8")
bad = ["TODO", "your-org/your-repo", "特性 1", "[问题 1]"]
for token in bad:
if token in readme_text:
errors.append(f"README contains placeholder: {token}")
for phrase in ["npx skills add", "Troubleshooting", "前置条件", "你可以这样说"]:
if phrase not in readme_text:
warnings.append(f"README may be missing section/phrase: {phrase}")
for rel in ["evals/trigger_cases.json", "reports/skill-ir.json"]:
file = root / rel
if file.exists():
try:
json.loads(file.read_text(encoding="utf-8"))
except Exception as exc:
errors.append(f"{rel} is invalid JSON: {exc}")
report = {
"ok": not errors,
"root": str(root),
"errors": errors,
"warnings": warnings,
}
print(json.dumps(report, ensure_ascii=False, indent=2))
return 0 if not errors else 1
if __name__ == "__main__":
raise SystemExit(main())
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |