Full-Process Scriptwriting: A Skill Pipeline from Inspiration to Production-Ready Script Packages

Preface

When using Large Language Models (LLMs) to write scripts, common issues include mixed output formats (a blend of novel style, English scene notes, and inconsistent episode logic) and workflow fragmentation: stopping after the outline, or lacking “consultation” (doctor passes) and dialogue-layer revisions. Relying solely on a single long prompt makes it difficult to string together “Framework → Draft → Consultation → Dialogue → Integration” into a reproducible workflow.

“Script Creation Workflow” (剧本创作全流程) is a SkillHub Community Skill (located at @user_5cb34834/script-master). It employs a single-entry master controller plus internal invocation of multiple expert reference documents, breaking creation down into S0–S9 stages and producing outputs under a unified Chinese script standard format (Chinese Short Drama shooting script format). The unified version number annotated within the system documents is v2.2 (updated 2026-07-18); the SkillHub listing package version is 1.0.0.

What is this

One-sentence positioning: A script creation Skill that uses SKILL.md as the master orchestrator and reads expert documents under references/ according to the stage.

Item Content
Name Script Creation Workflow (剧本创作全流程)
Coordinate @user_5cb34834/script-master
Category content-creation
Source community
Publisher user_5cb34834
SkillHub Package Version 1.0.0
System Unified Version v2.2
Tags requires_api_key=false (No API Key required)

Official Page: SkillHub - Script Creation Workflow
API Address: https://api.skillhub.cn/user_5cb34834/script-master

Core Features

Five-Layer Knowledge Base

The Master Controller invokes the following distilled libraries as needed during stages S1–S8, rather than making users read through all files directly:

  1. pattern-library: Macro patterns (distilled rules of excellent scripts)
  2. writing-craft-library: Meso-level scenes (writing techniques)
  3. lines-library: Micro-level dialogue (mechanics, templates, comparisons)
  4. martial-arts-library: Action layer (moves and spectacle)
  5. sound-design-library: Sound narrative layer

Single-Entry Directory Structure

The typical layout after installation is as follows (the material uses TRAE SOLO’s .trae/skills/ as an example; for other Agents’ skills directories, see the installation section below):

.trae/skills/
└── script-master/              ← User's sole interaction entry point
    ├── SKILL.md                ← Master Orchestrator
    └── references/
        ├── framework.md        ← Script Framework (S1-S3)
        ├── writing.md          ← Script Writing (S4/S6/S8)
        ├── doctor.md           ← Script Doctor (S5)
        ├── dialogue.md         ← Dialogue Expert (S7)
        ├── visual-director.md  ← Director's Visual Version (User-triggered)
        ├── pattern-library.md
        ├── lines-library.md
        ├── writing-craft-library.md
        ├── martial-arts-library.md
        └── sound-design-library.md

SKILL.md is responsible for stage judgment and orchestration; references/ is read internally by the Master Controller and is not for direct user file-by-file operation.

S0–S9 Overall Workflow

User Inspiration
  ↓
Script Master Controller Stage Judgment (S0)
  ↓
framework.md → Project Archive and Outline (S1-S3)
  ↓
writing.md → First Draft (S4)
  ↓
doctor.md → Consultation (S5)
  ↓
writing.md → Revision (S6)
  ↓
dialogue.md → Line-by-line Dialogue Diagnosis (S7)
  ↓
writing.md → Integrate Dialogue (S8)
  ↓
Master Controller outputs final executable script package (S9)

v2.2 and Format Governance (As specified in the material)

  • Format Unification: The entire system uses the Chinese Script Standard Format; M1 standard film/TV format, M2 novelized narrative, M3 episode switches, and old conventions like FADE IN / CUT TO are deprecated.
  • Short Drama First 20 Episodes Structure: Short dramas, comic dramas, “satisfying” dramas, and comedies default to the first 20 episodes’ structural rules (four elements per episode: conflict, reversal, hook/cliffhanger, function; first 10 episodes include the Episode 9 hook and the Episode 10 first paywall point; episodes 11–20 include the Episode 18 minor explosion and the Episode 20 second paywall point).
  • Mandatory Invocation Declaration: SKILL.md has added prohibition/mandatory behavior rules at the beginning to reduce instances of the model skipping the Skill and generating output directly.
  • Format Lock: The framework.md project archive contains a 【Script Format】 format lock field.
  • Format Specification Diagnosis: doctor.md includes §2.12b Format Specification Diagnosis and the basis for checking paywall points for traffic operators.
  • v2.1 Rule Grading: The “Usage Rules (Mandatory)” in the five knowledge bases were changed to “Usage Rules (Graded),” changing hard constraints like word counts/frequency/seconds to directional reminders.

Delivery and Extended Output

  • Inputting “Deliver Script” (交付剧本), “Show Client” (给甲方看), “Delivery Mode” (交付模式), “External Version” (对外版本), “Clean Version” (干净版), etc., triggers the Master Controller’s Delivery Mode. It outputs two independent documents (referencing the juben.pro script website and Feishu project book formats; the material does not expand on template fields).
  • Director’s Visual Version: User-triggered output via visual-director.md.
  • Test Run: Input Stress Test (压测) or test mode to run S0–S9 with minimal samples, used for familiarizing oneself with the pipeline.

Installation and Activation

The installation guide provided on the SkillHub page is: follow the SkillHub Installation Documentation, and install the coordinate @user_5cb34834/script-master.

1. Install SkillHub CLI (If not already installed)

command -v skillhub && skillhub --version

If not installed, you can execute a full installation (CLI + Default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install only the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install this Skill to the current Agent’s skills directory

During installation, you must use --dir to point to the skills directory recognized by the current environment; otherwise, it defaults to ./skills/ which might not be loadable by the Agent.

skillhub install @user_5cb34834/script-master --dir <skills directory>

Common paths (from SkillHub installation documentation):

  • Cursor: ~/.cursor/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project
  • Claude Code: ~/.claude/skills/

In the material, the Master Controller is auto-discovered by TRAE SOLO via SKILL.md, with the corresponding directory example being .trae/skills/ in the project or environment. If you are using the TRAE ecosystem, simply point --dir to that environment’s skills root directory.

After installation, restart or refresh the Skill index according to the requirements of your client. This Skill is marked as requires_api_key=false, so it does not depend on additional API Key configuration.

Typical Usage

When conversing with the Master Controller, simply choose a path based on the material you have; the Master Controller will judge the stage and internally read the corresponding references/ files.

Path 1: Project Type Known

Directly state the type, and the Master Controller will apply the quick-start template:

Your Input Master Controller Applies Template Next Steps to Confirm
Short Drama (短剧) Short Drama Quick Start Genre / Protagonist Persona / Core “Satisfying” Points
AI Micro Film AI Micro Film Quick Start Theme / Protagonist in a sentence / Core Emotion
Movie (电影) Long-form Movie Quick Start Genre / Protagonist Flaw / Theme / Benchmark Works
Overseas Release (出海) Overseas Project Quick Start Target Market / Genre / Protagonist Persona / Language Version

Example (Short Drama):

Short Drama. Genre: Urban Reversal. Protagonist: Delivery rider, stubborn mouth but soft heart. Core Satisfying Point: Identity reversal slapping face in public.

Path 2: Only an Inspiration

Send the inspiration to the Master Controller. The Master Controller will: judge S0, ask for 5 basic pieces of information, recommend mode and rhythm, and read framework.md to generate the project archive.

Path 3: Existing Partial Materials

Paste any combination of inspiration, project archive, outline, first draft, consultation report, or dialogue diagnosis report. The Master Controller will identify the stage, recommend the next step, and invoke the corresponding expert document.

Path 4: Familiarize with the Full Workflow First

Stress Test (压测)

Or:

test mode

Path 5: External Delivery

After the script is completed for a stage, you can use:

Delivery Mode (交付模式)

The Master Controller outputs a combination of clean version documents ready for external use.

Applicable Scenarios & Notes

Who is it for

  • Teams or individuals writing short dramas, comic dramas, AI micro films, or long-form movie scripts who need unified shooting script formats and staged quality checks.
  • Users who want to incorporate “Consultation” and “Dialogue Layer” into a fixed workflow rather than generating a final draft in one go.
  • Users using Agent environments that support SkillHub installation, such as TRAE SOLO, Cursor, etc.

Limitations & Notes

  • Expert documents are invoked by the Master Controller within references/; if the model does not load the Skill or does not obey the SKILL.md mandatory invocation chapter, it may still skip the pipeline and output directly—v2.2 has added constraints targeting this issue. When using, rely on the Master Controller’s stage prompts.
  • v2.2 has deprecated various old formats and the M3 episode switch; migration of old projects requires accepting the unified Chinese Short Drama shooting script format.
  • The Short Drama first 20 episodes structure and paywall rules are default structural patterns. Due to genre differences, knowledge base rules starting from v2.1 are “Graded” rather than uniformly mandatory.
  • SkillHub statistics (ratings, downloads, etc.) are based on real-time page data; at the time of writing, the visible package version on the page was 1.0.0, which coexists with the system document v2.2 but has different meanings (listing package vs. skill system version).

Conclusion

“Script Creation Workflow” breaks script production down into reproducible S0–S9 processes, uses a five-layer knowledge base and unified format locks to reduce format drift, and supports short drama start-up templates, stress test runs, and delivery modes. To enable it in a local Agent, simply install @user_5cb34834/script-master according to the SkillHub instructions.

Official Skill Page: https://www.skillhub.cn/skills/user_5cb34834/script-master

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye