Skills for Real Engineers. Straight from my .agents directory.
sw-chinese-opera-qupai
Agent skill fromjtydhr88/screenwriting-skills
Chinese opera playwriting for the qupai (曲牌体) system — 元杂剧, 明清传奇, 昆曲, 川剧高腔, where sung text is filled into fixed tune patterns (填词) rather than built from paired lines varied by metre. Covers stage vs study (李渔 vs 吴梅/王季烈), the 清曲/剧曲 switch, the zaju branch (四折一楔子, one 宫调 and one rhyme per act, 一人主唱, 题目正名), the chuanqi branch (出, 副末开场, 南北合套, 集唐下场诗), tune-filling (格律, 前腔/换头/幺, 衬字, 务头, 尾声, 四十禁), the seventeen 宫调 and their affects, 套数, 排场 alternation, the spoken-to-sung cue, 帮腔, adaptation, and modern practice. From 李渔《闲情偶寄》, 吴梅《顾曲麈谈》《曲学通论》, 王季烈《螾庐曲谈》, 孔尚任's 凡例, 关汉卿, 汤显祖, 魏明伦. Use when writing or revising a 曲牌体 script, choosing a 宫调 for an emotion, laying out a 套数, filling one tune pattern, writing a zaju act or a chuanqi scene, cutting an old 传奇 into a playable version, writing a modern qupai opera, or judging whether a famous script's prosody may be copied. Not for 京剧/豫剧/越剧, which are the banqiang system; see sw-chinese-opera-banqiang.
How to install sw-chinese-opera-qupai
npx skills add jtydhr88/screenwriting-skills# or add only this skill to Claude Code: copy the folder
plugins/screenwriting/skills/sw-chinese-opera-qupai/
# into
~/.claude/skills/sw-chinese-opera-qupai/ (all projects)
.claude/skills/sw-chinese-opera-qupai/ (one project)
1# 戏曲编剧·曲牌体(Chinese Opera Playwriting: the Qupai System)23> **输出语言=提问语言**;术语一律锚回原词,见 [sw-workflow/terms.md](../sw-workflow/terms.md),不自创译名。戏曲术语(曲牌体、宫调、套数、务头、衬字、前腔、换头、幺篇、赠板、帮腔、宾白、科介、折、出、楔子)没有英文对应物,任何语言下保留原词加一句释义。45本 skill 是舞台层里戏曲的**曲牌体**一格,对偶的一格是 [sw-chinese-opera-banqiang](../sw-chinese-opera-banqiang/SKILL.md)。**分轴是声腔体系不是剧种**:曲牌体的唱词**填**进固定的字数句式平仄,单位是折与出,一折一宫调;板腔体是七字或十字的**上下句**,靠板式变化撑起唱段,单位是场。分轴说明见 banqiang 第〇之一节。67**各书的分工**:**李渔《闲情偶寄》给舞台规则**(他自养家班,写的是"本子被执行时会怎样");**吴梅《顾曲麈谈》《曲学通论》给文律规则**(两书详略互见也互相矛盾),**《中国戏曲概论》给评判尺度**;**王季烈《螾庐曲谈》给排场法**;**孔尚任的凡例与纲领**与李渔并列为两个一手源头;**关汉卿三本存世杂剧给十二折的硬实证**(据维基文库元曲选本);**汤显祖、魏明伦、翁偶虹、罗怀臻**给改编与现代实践的例外。89表格、逐齣逐折数据、曲牌全表与长引文见 [reference.md](reference.md)。**不在本 skill 里**:板腔体的一切 → banqiang;四十禁第 17–34 条(陈腐、生造、俚俗、蹇涩、太文语、学究语一路)是纯文辞层 → `sw-dialogue`;改编四问 → `sw-format-adaptation`;道具与进出场 → `sw-scene-craft`。1011## 按任务读哪几节(不要通读)1213| 任务 | 读 | 跳过 |14|---|---|---|15| 填一支曲牌 | 四、5.1–5.2 | 二、三、六、八、九、十 |16| 定宫调、排一套 | 五、六;先跑 1.4 的开关 | 4.4 以下、八、九、十 |17| 写元杂剧一折 | 二、五、四(**衬字只看北曲那一栏**) | 三、八 |18| 写明清传奇一出 | 三、五、六、七 | 二 |19| 改老本/古本改可演本 | 九、十一、3.1 | 二、八、十 |20| 写现代新编曲牌体 | **十先读**,再读 4.1、5.2、十一 | 5.3–5.4 的套式硬规矩(十已松开) |21| 判断名作能不能照抄 | 十一、1.3 | 其余全部 |22| 诊断已有的本子 | **十三**,再按失败项回查 | 其余全部 |2324reference.md 是查表用的,只在本文指向某一节时打开。2526---2728## 一、开篇立场:两派、两条评分线、两个前置开关2930**必须先读**:曲牌体的规则是两套人在两个位置上说的话,不先分清立场,后面的规则会互相打架。31…
Excerpt shown under the repository's MIT license.
More skills in screenwriting-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
