Chinese Indie Dev
1c7/chinese-independent-developer
处理 1c7/chinese-independent-developer 仓库的项目提交. An agent skill from 1c7/chinese-independent-developer.
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.
$ npx skills add jtydhr88/screenwriting-skills --skill sw-chinese-opera-qupai -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install jtydhr88/screenwriting-skills sw-chinese-opera-qupai --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/jtydhr88/screenwriting-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/screenwriting/skills/sw-chinese-opera-qupai .claude/skills/sw-chinese-opera-qupai && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "sw-chinese-opera-qupai" agent skill from https://github.com/jtydhr88/screenwriting-skills/tree/main/plugins/screenwriting/skills/sw-chinese-opera-qupai into .claude/skills/sw-chinese-opera-qupai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sw-chinese-opera-qupai", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/jtydhr88/screenwriting-skills/tree/main/plugins/screenwriting/skills/sw-chinese-opera-qupaiType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add jtydhr88/screenwriting-skills --skill sw-chinese-opera-qupai -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install jtydhr88/screenwriting-skills sw-chinese-opera-qupai --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jtydhr88/screenwriting-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/screenwriting/skills/sw-chinese-opera-qupai .agents/skills/sw-chinese-opera-qupai && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sw-chinese-opera-qupai" agent skill from https://github.com/jtydhr88/screenwriting-skills/tree/main/plugins/screenwriting/skills/sw-chinese-opera-qupai into .agents/skills/sw-chinese-opera-qupai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sw-chinese-opera-qupai", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jtydhr88/screenwriting-skills --skill sw-chinese-opera-qupai -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install jtydhr88/screenwriting-skills sw-chinese-opera-qupai --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jtydhr88/screenwriting-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/screenwriting/skills/sw-chinese-opera-qupai .cursor/skills/sw-chinese-opera-qupai && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sw-chinese-opera-qupai" agent skill from https://github.com/jtydhr88/screenwriting-skills/tree/main/plugins/screenwriting/skills/sw-chinese-opera-qupai into .cursor/skills/sw-chinese-opera-qupai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sw-chinese-opera-qupai", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/jtydhr88/screenwriting-skills.git --path plugins/screenwriting/skills/sw-chinese-opera-qupai--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add jtydhr88/screenwriting-skills --skill sw-chinese-opera-qupai -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install jtydhr88/screenwriting-skills sw-chinese-opera-qupai --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jtydhr88/screenwriting-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/screenwriting/skills/sw-chinese-opera-qupai .gemini/skills/sw-chinese-opera-qupai && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sw-chinese-opera-qupai" agent skill from https://github.com/jtydhr88/screenwriting-skills/tree/main/plugins/screenwriting/skills/sw-chinese-opera-qupai into .gemini/skills/sw-chinese-opera-qupai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sw-chinese-opera-qupai", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install jtydhr88/screenwriting-skills sw-chinese-opera-qupaiInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add jtydhr88/screenwriting-skills --skill sw-chinese-opera-qupai -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/jtydhr88/screenwriting-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/screenwriting/skills/sw-chinese-opera-qupai .github/skills/sw-chinese-opera-qupai && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sw-chinese-opera-qupai" agent skill from https://github.com/jtydhr88/screenwriting-skills/tree/main/plugins/screenwriting/skills/sw-chinese-opera-qupai into .github/skills/sw-chinese-opera-qupai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sw-chinese-opera-qupai", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add jtydhr88/screenwriting-skills --skill sw-chinese-opera-qupai -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install jtydhr88/screenwriting-skills sw-chinese-opera-qupai --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/jtydhr88/screenwriting-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/screenwriting/skills/sw-chinese-opera-qupai .opencode/skills/sw-chinese-opera-qupai && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sw-chinese-opera-qupai" agent skill from https://github.com/jtydhr88/screenwriting-skills/tree/main/plugins/screenwriting/skills/sw-chinese-opera-qupai into .opencode/skills/sw-chinese-opera-qupai/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sw-chinese-opera-qupai", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sw-chinese-opera-qupaiChinese opera playwriting for the qupai (曲牌体) system — 元杂剧, 明清传奇, 昆曲, 川剧高腔, where sung text is filled into fixed tune patterns (填词) rather than built from paired lines varied by metre.
Sw Chinese Opera Qupai is an agent skill from jtydhr88/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…
Its SKILL.md is about 4.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `reference-jinji.md`, `reference-taoshu.md` and `reference-tizhi.md`).
The repository describes itself as: Professional agent skills for screenwriting, television writing and dramaturgy. The licence is MIT.
12 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 51115f1. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Sw Chinese Opera Qupai loads about 4.1k tokens when it runs. Until then it costs about 243 tokens; SKILL.md has 428 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from jtydhr88/screenwriting-skills at commit 51115f1, republished under its MIT licence (© jtydhr88). 428 words, ~4,080 tokens.
.claude/skills/sw-chinese-opera-qupai/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.输出语言=提问语言;术语一律锚回原词,见 sw-workflow/terms.md,不自创译名。戏曲术语(曲牌体、宫调、套数、务头、衬字、前腔、换头、幺篇、赠板、帮腔、宾白、科介、折、出、楔子)没有英文对应物,任何语言下保留原词加一句释义。
本 skill 是舞台层里戏曲的曲牌体一格,对偶的一格是 sw-chinese-opera-banqiang。分轴是声腔体系不是剧种:曲牌体的唱词填进固定的字数句式平仄,单位是折与出,一折一宫调;板腔体是七字或十字的上下句,靠板式变化撑起唱段,单位是场。分轴说明见 banqiang 第〇之一节。
各书的分工:李渔《闲情偶寄》给舞台规则(他自养家班,写的是"本子被执行时会怎样");吴梅《顾曲麈谈》《曲学通论》给文律规则(两书详略互见也互相矛盾),《中国戏曲概论》给评判尺度;王季烈《螾庐曲谈》给排场法;孔尚任的凡例与纲领与李渔并列为两个一手源头;关汉卿三本存世杂剧给十二折的硬实证(据维基文库元曲选本);汤显祖、魏明伦、翁偶虹、罗怀臻给改编与现代实践的例外。
表格、逐齣逐折数据、曲牌全表与长引文见 reference.md。不在本 skill 里:板腔体的一切 → banqiang;四十禁第 17–34 条(陈腐、生造、俚俗、蹇涩、太文语、学究语一路)是纯文辞层 → sw-dialogue;改编四问 → sw-format-adaptation;道具与进出场 → sw-scene-craft。
| 任务 | 读 | 跳过 |
|---|---|---|
| 填一支曲牌 | 四、5.1–5.2 | 二、三、六、八、九、十 |
| 定宫调、排一套 | 五、六;先跑 1.4 的开关 | 4.4 以下、八、九、十 |
| 写元杂剧一折 | 二、五、四(衬字只看北曲那一栏) | 三、八 |
| 写明清传奇一出 | 三、五、六、七 | 二 |
| 改老本/古本改可演本 | 九、十一、3.1 | 二、八、十 |
| 写现代新编曲牌体 | 十先读,再读 4.1、5.2、十一 | 5.3–5.4 的套式硬规矩(十已松开) |
| 判断名作能不能照抄 | 十一、1.3 | 其余全部 |
| 诊断已有的本子 | 十三,再按失败项回查 | 其余全部 |
reference.md 是查表用的,只在本文指向某一节时打开。
必须先读:曲牌体的规则是两套人在两个位置上说的话,不先分清立场,后面的规则会互相打架。
1.1 舞台派 vs 案头曲律派(并列,不裁决)。 李渔是舞台派:「圣叹所评,乃文人把玩之《西厢》,非优人搬弄之《西厢》也」。吴梅、王季烈是案头曲律派,先讲音律再讲作剧,与李渔"结构第一、音律第三"正相反。吴梅对李渔的分裂评价两处必须并读:褒——排场与科白"独有千古";贬——"布局虽工,措词殊拙……不足入词坛之月旦"。→ 引李渔时标明他给的是舞台规则,不是文律规则。 王季烈是第三个位置:立场在舞台,方法全是曲律。三分工(製曲=填词,编剧的活/譜曲/度曲)与"曲谱 vs 宫谱"的辨析见 reference-tizhi.md §16——问"查哪本昆曲谱"先问要词还是要腔,分不清就给错书。
1.2 汤沈之争(三方并列,不裁决)。 沈璟"宁律协而词不工"/汤显祖"不妨拗折天下人嗓子"/吴梅不选边("合之两美"),并给一句取舍标准:「宁庵定法,可以力学求之;若士修词,不可勉强企及。」第三方是翁偶虹的中道"只要词明意顺"(互指 banqiang)。本 skill 只收"可学的那一边"。
1.3 戏/曲是两条独立的评分线。《桃花扇》与《长生殿》用文字尺与排场尺量出相反名次;断代句"乾隆以上有戏有曲,嘉道之际有曲无戏,咸同以后无戏无曲"。自检:分两次读本子——一次只看关目排场冷热角色分配,一次只看曲词宫调用韵四声;两张表都要有分数。
1.4 前置开关一:清曲 vs 剧曲。 重韵、衬字、借宫三条单独说都会错,必须先问"场上还是案头"。
| 剧曲(有科白的场上本)·写要上场的本子用我 | 清曲(去科白只歌曲词的散套)·写供清唱的散套或剧中人的清唱用我 | |
|---|---|---|
| 借宫 | 允许(南吕借商调、中吕借般涉) | 不能 |
| 重韵 | 允许且名家不避 | 不能 |
| 衬字 | 可多(临川四梦"愈险愈妙") | 少用 |
| 题材/格律 | 以生旦为主脑;格律宽 | "不必定作儿女语";格律更严 |
失效条件:现代新编把两栏都松开了,见第十节。
1.5 前置开关二:先破一个错误前提。"明清传奇都守宫调"是错的——吴梅指《琵琶记》《拜月亭》正是"不寻宫数调"风气的源头。两条配套:①**《牡丹亭》《桃花扇》现存电子本一律不标宫调**(逐齣核对确认)→ 凡宫调栏带〔拟〕的条目只能当例证,不能当依据;讲宫调与用韵例证一律取元杂剧,传奇里只有北曲三套(〈冥判〉〈硬拷〉〈圆驾〉)与确凿标注者可用。②**"前人这样标过"不是依据**:先问这条是"格"还是"例",是例就再找第二第三个例证(《幽闺记·请盟》误把越调〔看花回〕作仙吕〔点绛唇〕,《邯郸记》《长生殿》连环沿误)。
实证取关汉卿三本存世杂剧(《窦娥冤》《救风尘》《金线池》,据维基文库元曲选本);十二折统计见 reference-tizhi.md §9。
sw-scene-craft 道具节互指)。sw-character-conflict 的三维人物并列而非替代。脚色分配即评价但不等于道德标签:"正色不足,借用丑净"(凡例 14);自检:列"行当—人物—善恶"表,三栏完全对齐说明分配是偷懒的。4.1 "填"是什么。 曲谱是粉本,"拙者不可稍减,巧者亦不能略增""愈旧愈佳,稍稍趋新,则以毫厘之差而成千里之谬"(李渔)。李渔自身的张力要替他写出来:本款说曲谱愈旧愈佳,脱窠臼两款却说"变则新,不变则腐";界线是格律(谱、韵、字格)不可变,情节、科诨、细白必须变(此条是笔记归纳,不是李渔原文)。选曲牌=同时选定节奏、长度与表演形态(罗怀臻)→ 下笔顺序:先定间架、再立主意、再排曲调,最后才选句成章(吴梅,"切忌凑插,切忌将就")。自检:写第一句唱词之前能不能把这一折的曲牌次序连同每支曲承担什么先列出来?列不出就还没到动笔的时候。
4.2 前腔/换头/幺篇三级。 前腔=连用数首、句法一字不易;换头=换前曲之头、增减一二字句;北曲称幺。不区分会把"换头"读成"重复一遍"(现代新编常写"接唱"不标前腔,靠韵与句数判断)。三档幅度与同名异牌、同牌异宫的必查清单见 reference.md §3。
4.3 衬字。 南曲三条硬规矩:①只加在板式繁密处,且只加在句首或句中;句末三字之内与板式疏落处决不可加;②每处至多三字;③宜虚字不宜实字。北曲衬字毫无限制(板无一定,衬字上可加板)——写北套时这三条全部解除。抽板曲与尾声首句一字不许加;八字十字以上超出的部分默认是衬字,不许下实板(汤显祖滥加衬字"令歌者无从句读",被改窜后"文字遂逊原本十倍")。填南曲前先检出板式:上句末板与下句首板隔得远,下句开头一字都不能加。
4.4 务头(曲牌体版的"重点句",四方并列,同一功能位的四种实现:"先找那一句")。
| 谁 | 务头是什么 | 怎么找 |
|---|---|---|
| 李渔(别解,舞台派) | "犹棋中有眼,有此则活,无此则死" | 指出务头是哪一句、哪一二字;指不出就是死曲 |
| 吴梅(声律定义) | "曲中平上去三音联串之处";七字句第三四五字不可同音 | 把末句逐字标四声阴阳,找三音或二音相连处 |
| 王季烈(采吴梅说,给查法) | 同吴梅,补"多在调之末句或中间吃紧处" | 查《北词广正谱》注"上去不可移易"处、南曲谱注"去上妙"处 |
| 陆军(板腔体,互指) | 重点句——体现主题、心情或关系变化的那一句 | 先写重点唱句,再由它定韵 |
与 banqiang 第二节互指。两条附加:务头上宁让四声阴阳,不让文理不顺(唯一允许为文意牺牲格律处,不可推广);务头的位置由作者先行指定。⚠️ 王季烈的更正必须连引:孔尚任"'丝'字是务头"是误合两事——"丝"属支时韵、唱时声从齿缝出,与务头无涉。
4.5 四十禁与四声。 四十禁出王骥德《曲律》、吴梅疏释(全表 reference-jinji.md §12);只取声律层的 1–16、35–40,17–34 条 → sw-dialogue。吴梅的总按语必须一起引:"如不能尽守,须检点去其甚者""为法至苛也"→ 四十禁是体检表不是准入线;跑不完就至少跑六条:重韵、犯韵、拗嗓、衬字多、堆积学问、宫调乱用。四声四条(细则与六类收音法 reference-taoshu.md §6):①绝不可连用四平、四上、四去、四入;②去上连用优于上去→ 调低的句子用上声、调高的用去声;③入声是"药中甘草"——南曲入声自有正音可作平上去,北曲入无正音、已派入三声,不得假借,且南曲用入声韵要通体用入声韵(唯一例外家麻、车蛇);④自检:唱出来听有没有变成另一个字("光"听成"狂"),变了就换字不改腔。收音六类之内往往可通,跨条一律不借——真文、庚青、侵寻混押必错(反例《玉簪记·琴挑》〔朝元歌〕,"无一人能唱得到家")。
4.6 句法、板式与尾声。 句法决定板式,不由文义决定:七字句先定它是上四下三还是上三下四;自检:按板式断开念一遍,断出来的后半截必须自己能成语(《桃花扇·传歌》"配他公子千金体"断成"子千金体"即反例,吴梅因此判"有佳词而无佳调")。正襯与句读是填词者的责任,不是譜曲者的。尾声总用十二板,十一格名目按本宫调用,勿乱次序(reference-taoshu.md §7);可省尾声的三种情形与"随煞"见 reference-taoshu.md §7。末句要放全曲最俊的一句。守法是死,填词是活:前腔/幺篇与上曲四声不同是允许的,但挪移之处必须能举出古人成作为据。⚠️《顾曲麈谈》那张"南曲尾声平仄格式表"不可作依据——两份 OCR 在平仄字串上出入极大,标"待纸本核";十一格名目表(读图所得)可用。
4.7 校验回路:按节而歌。 每写成一支,依谱歌一遍,"稍有拗字,即为改制"(孔尚任《桃花扇本末》,他找的是熟解套数的时优)。李渔从反面给同一条:上声字入曲最低、入白反高,作者写时是念的不是唱的,"念来高者,唱出反低"——此为"利于案头而不利于场上"之通病。→ 写完必须由人唱一遍,不能只念。 这是曲牌体与板腔体"审腔"环节的同一功能位。
5.1 编剧要懂到哪一步。 吴梅一句话锁死:"宫调者,所以限定乐器管色之高低也。"并划定深度:"曲与律,是二事";他自己把律吕划出去,并说宫调名目与律高的对应"莫知其所因"。→ 边界规则:编剧的宫调知识到"管色+联套"为止。 被问到隔八相生、十二律吕、"正宫为什么不是黄钟宫",答"这是律学不是填词要用的,吴梅也说不可解",把问题拉回笛色与联套。
5.2 十七宫调声情表。 顺序固定:先定剧中的离合忧乐 → 定宫调 → 在该宫调内取曲牌联套,不是先挑好听的牌子再凑。
| 宫/调 | 声情 | 宫/调 | 声情 | |
|---|---|---|---|---|
| 仙吕宫 | 清新绵邈 | 般涉调 | 拾掇坑堑 | |
| 南吕宫 | 感叹伤悲 | 歇指调 | 急并虚歇(北亡) | |
| 中吕宫 | 高下闪赚 | 商角调 | 悲伤宛转(南亡) | |
| 黄钟宫 | 富贵缠绵 | 双调 | 健捷激袅 | |
| 正宫 | 惆怅雄壮 | 商调 | 凄怆怨慕 | |
| 道宫 | 飘逸清幽 | 角调 | 咽鸣悠扬(北亡) | |
| 大石调 | 风流蕴藉 | 越调 | 陶写冷笑 | |
| 小石调 | 旖旎妩媚 | 宫调 | 典雅沉重(北亡) | |
| 高平调 | 条拗混漾(南词作羽调) |
(吴梅《曲学通论》第二章 p0027。这十七行原样用,不要改写成现代情绪词——"拾掇坑堑""高下闪赚"本身就是术语。元人守此律的实例:悲剧用南吕、商调;喜剧用黄钟、仙吕;英雄豪杰歌正宫;滑稽嘲笑歌越调。)
名目≠有可用曲牌:北亡三调、南更亡商角;王季烈再收到常用九宫调:仙吕、南吕、黄钟、中吕、正宫、大石、商调、越调、双调。自检:用了九宫以外的宫调,先确认该宫调下真有足够曲牌成套。失效条件:短折、过场、集曲可借用少牌宫调。六宫十一调曲牌全表与曲韵二十一部见 reference.md §1。
5.3 一套一宫调,以及三条越界的成法。 一套之中前后曲不同宫即出宫/犯调,曲律不许("曲文虽佳,不能被入管弦")。借宫(北曲)只能沿用元人成法,不得自行拼接(自检:指得出这个借宫套式出自哪一部元人作品吗?指不出就是"画虎")。集曲(南曲)五规矩:①犯本宫或犯笛色相同的他宫;②笛色高低迥别者决不可合;③首数句必用正曲的首数句;④末数句必用正曲的末数句、中间句用中间句;⑤前后倒置一律不许;集曲所属宫调=首数句那支曲牌的宫调(自检:说得出各犯哪几支、共用哪个笛色吗?说不出就不要用)。犯调总则:管色相同才能犯(笛色—宫调对照表 reference.md §2);并列的保留意见:吴梅对集曲保留而不鼓励;王骥德"仙吕可与双调出入"之说被吴梅明判"不甚合",不要照抄王说。一折之内可以移宫换韵,但必须因排场变动、剧情改换(正例《长生殿·定情》大石=册妃宴饮、越调=深宫密语;反例《琵琶记·吃糠》"无故换调");自检:换宫那一刻场上发生了什么事?答不上来就不要换。
5.4 排套。 南曲的唯一硬标尺:有赠板(慢曲)在前、无赠板(急曲)在后、赠板可有可无者可前可后(赠板三分与三类曲牌表 reference-taoshu.md §5)。引子在出场时、尾声在归结处;一折至多三支,淨丑上场不用引子(细目 reference-taoshu.md §5)。曲情六门选套:欢乐/游览/悲哀/幽怨/行动/诉情,另有普通、武剧、过场、文静四类(逐套清单 reference-taoshu.md §4);诉情的大套长曲只留给全剧主要之折,且宜生旦所唱——自检:最长的诉情套是否落在价值转折最大的那一折(与 sw-scene-craft 价值转折同构)。失效条件:六门是入口不是牢笼。"赚"(不是路) 用在排场改变之际作接榫,全剧以一折为宜、一折不过二支。冷牌子=没人定过板=不可演;自检:选牌前先查《南词定律》《九宫大成》有没有它的板式(失效条件:自集新腔的老手不受限)。
帮腔:高腔(川剧高腔、弋阳腔一路)里由场面或幕后众人接唱的短句。板腔体没有这个装置,所以它在曲牌体正文里成节。实证取魏明伦、南国《巴山秀才》(1983 年九稿,川剧高腔)全剧九段。
sw-format-adaptation 改编四问对照。接 banqiang 第十二节(整理传统题材)与 sw-format-adaptation。
本节与"填词法/宫调套数"并列,不是附属。 三家的实践与吴梅、王季烈"填词必按谱"正面冲突,古今两条并列保留,不合并、不取舍。
处理方式只有一句:「但当学其文,不可效其法。」(吴梅论玉茗四梦)被点名者与被指的毛病:《牡丹亭》/四梦(衬字太多至不可句读;〈冥誓〉出宫犯调;四梦排场俱欠斟酌;平上去韵间杂入声);《桃花扇》(平仄多失调、衬字欠妥贴;〈传歌〉句法误;〈哭坛〉以南〔朝天子〕代北"殊失南北夹套之意";"有佳词而无佳调");《南西厢》(套式最不可遵守,见第九节;李渔判为"功首罪魁");《琵琶记》(支时与鱼模不分、歌罗与家麻并用;倒字凑韵;末八折非高明原作);《拜月亭》(多僻调无定板;与《琵琶》同为南曲"不寻宫数调"之源);《玉簪记·琴挑》(混押庚亭/真文/侵寻三部);《金线池》(第四折无尾声——省尾的第三种出口)。逐条原话与页码见 reference-jinji.md §14。
用法两条:①引名作唱段做范例前先查它在不在这张单子上,在就避开被指的那一处;②**"前人这样标过"不是依据**(1.5)。
两处必须并列保留的分歧:王季烈驳金圣叹改《西厢》——"金氏专事白描正是元人本色处……实西厢之大厄也";吴梅、王季烈同批《桃花扇》而孔尚任的凡例自有一套(长折八曲、反集唐、说白详备)——作者的自定规则与曲律家的判词是两套坐标,两边都写。
| 项 | 曲牌体 | 板腔体 |
|---|---|---|
| 主唱权 | 杂剧一折一人主唱且排他,主唱权=主角权 | 行当分唱,谁都可以唱 |
| 宫调呼应 | 可用同宫调同牌群做跨齣呼应 | 做不到——板式不按情绪归宫 |
| 曲牌名 | 一般不提示内容,甚至有不可解的方言名 | 板式名直接提示速度与情绪 |
| 一段一韵 | 一折/一齣一韵到底、四折不重;套内可重韵(剧曲) | 一段一韵到底,全剧可逐场换辙 |
| 帮腔 | 高腔独有的在场者,可评论、可代言、可换牌 | 无;同功能位是合头/幕内唱 |
通用层的取舍(起承转合能用、BS2 页码不能用、程式不是铺垫、晚进早出不适用)与板腔体一致,见 banqiang 第〇之二节。另加一行:"一人一事"属于李渔—曲牌体传统,板腔体讲同一件事用"纵的集中",两边各用自己的术语。
13.1 诊断清单
13.2 工作流
13.3 训练
© jtydhr88, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files in plugins/screenwriting/skills/sw-chinese-opera-qupai of jtydhr88/screenwriting-skills.
Open the folder on GitHubat commit 51115f1
Sw Chinese Opera Qupai next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Sw Chinese Opera Qupai this skilljtydhr88/screenwriting-skills | 1.6k | — | ~4.1k | Automated safety check: Pass | MIT | |
| Chinese Indie Dev1c7/chinese-independent-developer | 62k | — | ~8.7k | Automated safety check: Pass | None | |
| Humanize Chinesesickn33/agentic-awesome-skills | 47k | 2 repos | ~1.3k | Automated safety check: Pass | MIT | |
| Playwritermikeyobrien/ralph-orchestrator | 3.2k | — | ~716 | Automated safety check: Warn | MIT | |
| Chinese Ppt2brycewang-stanford/Auto-Empirical-Research-Skills | 4.6k | — | ~5.6k | Automated safety check: Pass | Custom licence | |
| Chinese Commit ConventionsjnMetaCode/superpowers-zh | 8.3k | — | ~1.6k | Automated safety check: Pass | MIT |
1c7/chinese-independent-developer
处理 1c7/chinese-independent-developer 仓库的项目提交. An agent skill from 1c7/chinese-independent-developer.
sickn33/agentic-awesome-skills
Detect and rewrite AI-like Chinese text with a practical workflow for scoring, humanization, academic AIGC reduction, and style conversion.
mikeyobrien/ralph-orchestrator
Browser automation via Playwriter (remorses) using persistent Chrome sessions and the full Playwright Page API.
brycewang-stanford/Auto-Empirical-Research-Skills
Upgrade of chinese-ppt for Chinese Beamer decks (xelatex + ctex + fandol, CUFE template).
jnMetaCode/superpowers-zh
Reference for Chinese-language git commits and changelogs: Conventional Commits adapted for Chinese teams, with templates, breaking-change notes and issue links for several platforms.
brycewang-stanford/Auto-Empirical-Research-Skills
PROACTIVE SKILL — automatically apply whenever writing, generating, or editing any text that is mainly in Chinese.
jtydhr88/screenwriting-skills
Writing screenplays in the style of Ozu Yasujiro and Noda Kogo (小津安二郎・野田高梧) — distilled from six complete screenplays (晚春 Late Spring, 麦秋 Early Summer, 东京物语 Tokyo Story, 浮草 Floating Weeds, 秋日和 Late…
jtydhr88/screenwriting-skills
Story structure for screenplays and stage plays (故事结构) — merged from Syd Field's paradigm and plot points, Blake Snyder's Save the Cat beat sheet and board, Robert McKee's Story…
jtydhr88/screenwriting-skills
Writing plays and screenplays in the Chekhovian mode (契诃夫戏剧法) — distilled from the complete plays (没有父亲的人/普拉东诺夫, 伊凡诺夫, 林妖→万尼亚舅舅, 海鸥, 三姊妹, 樱桃园, nine one-acts) plus Chekhov's own letters…
jtydhr88/screenwriting-skills
Writing a Succession-style ensemble series (继承之战群像剧写法) — distilled from Jesse Armstrong's complete shooting scripts for all four seasons, 39 episodes (Faber 2023), with his introductions and…
jtydhr88/screenwriting-skills
Case studies of American screenwriting (美国电影剧作案例) — Mei Feng's readings of the Hollywood Western (value pairs, four oppositions), screwball comedy (strong heroine, buddy vs adversary two-hander)…
jtydhr88/screenwriting-skills
Character creation, protagonist/antagonist design and dramatic conflict for scripts (人物/对手/冲突) — merged from Lajos Egri (three-dimensional character, orchestration, unity of opposites, pivotal…
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. Sw Chinese Opera Qupai is an agent skill from jtydhr88/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.
Sw Chinese Opera Qupai fits situations like: revising a 曲牌体 script; choosing a 宫调 for an emotion; laying out a 套数; filling one tune pattern.
Run `npx skills add jtydhr88/screenwriting-skills --skill sw-chinese-opera-qupai -a claude-code`. Or copy the skill folder (plugins/screenwriting/skills/sw-chinese-opera-qupai in jtydhr88/screenwriting-skills) into .claude/skills/sw-chinese-opera-qupai in your project. Claude Code loads it when a task matches its description.
Run `npx skills add jtydhr88/screenwriting-skills --skill sw-chinese-opera-qupai -a codex`. Or copy the skill folder (plugins/screenwriting/skills/sw-chinese-opera-qupai in jtydhr88/screenwriting-skills) into .agents/skills/sw-chinese-opera-qupai in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jtydhr88/screenwriting-skills --skill sw-chinese-opera-qupai -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sw-chinese-opera-qupai, .gemini/skills/sw-chinese-opera-qupai, .github/skills/sw-chinese-opera-qupai and .opencode/skills/sw-chinese-opera-qupai in your project.
SKILL.md names no scripts, command-line tools or credentials: Sw Chinese Opera Qupai is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Sw Chinese Opera Qupai is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 4.1k tokens (SKILL.md is roughly 16k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Sw Chinese Opera Qupai: Chinese Indie Dev (1c7/chinese-independent-developer, 62k stars), Humanize Chinese (sickn33/agentic-awesome-skills, 47k stars), Playwriter (mikeyobrien/ralph-orchestrator, 3.2k stars) and Chinese Ppt2 (brycewang-stanford/Auto-Empirical-Research-Skills, 4.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
jtydhr88 (a GitHub user) maintains it in jtydhr88/screenwriting-skills, which has 1,621 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 3, 2026.
Source: jtydhr88/screenwriting-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.