Skip to content
Agentmart
Submit a tool

screenwriting-refactor

在编剧理论约束下重构故事结构。读取当前 wiki,生成带 diff 的重构提案, 用户确认后写入变更。支持类型转换、结构强化、角色重塑等。 Triggers on: "/screenwriting-refactor", "重构", "调整结构", "restructure".

Skill by e06084

IndexedMIT★ 9
Write a review

Chalk Labs

Need help deploying screenwriting-refactor?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/e06084-screenwriting-refactor

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

在编剧理论约束下重构故事结构。读取当前 wiki,生成带 diff 的重构提案, 用户确认后写入变更。支持类型转换、结构强化、角色重塑等。 Triggers on: "/screenwriting-refactor", "重构", "调整结构", "restructure".

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/screenwriting-refactor

What's inside

Skill name
screenwriting-refactor
Description
在编剧理论约束下重构故事结构。读取当前 wiki,生成带 diff 的重构提案, 用户确认后写入变更。支持类型转换、结构强化、角色重塑等。 Triggers on: "/screenwriting-refactor", "重构", "调整结构", "restructure".
License
MIT
Instructions
80 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: missing

Files (2)

  • SKILL.md
  • refactor-rules.md · references/

SKILL.md (first lines)

# Screenwriting Refactor

在编剧理论约束下重构故事结构,确保变更不破坏核心戏剧原则。

## 流程

### Step 1: 读取当前状态

1. 读取 `wiki/meta/logline.md` — 理解核心前提
2. 读取 `wiki/beats/` — 获取当前 15-beat 结构
3. 读取 `wiki/characters/` — 获取角色设定
4. 读取 `wiki/meta/genre.md` — 理解类型约束

### Step 2: 分析重构方向

根据用户指令判断重构类型:

| 类型 | 示例指令 | 影响范围 |
|------|----------|----------|
| 类型转换 | "调整为心理惊悚" | beats + 部分角色 |
| 结构强化 | "加强 B Story" | 特定 beats |
| 角色重塑 | "让反派更有深度" | 角色卡 + 关联 beats |
| 节奏调整 | "中段太拖" | beats 7-12 |
| 主题聚焦 | "主题不够清晰" | meta + theme-related beats |

### Step 3: 生成重构提案

按 `references/refactor-rules.md` 中的约束规则,生成:

1. **变更清单**: 哪些文件会被修改
2. **Diff 展示**: 每个文件的旧→新对比
3. **理论依据**: 为什么这样改(引用具体理论原则)
4. **风险评估**: 这个改动可能引入什么新问题

### Step 4: 确认与执行

1. 展示完整提案给用户
2. 等待用户确认(可以选择"全部接受"/"逐项确认"/"取消")
3. 确认后批量写入修改
4. 在 `wiki/log.md` 追加重构记录(含 diff 摘要)

## 重构约束

完整规则见 `references/refactor-rules.md`。核心不可违反原则:

1. **15-beat 框架不可删减** — 可以调整内容,不能跳过 beat
2. **主角 Wants/Needs 张力必须保持** — 重构后两者仍需冲突
3. **Catalyst 外力性不可破坏** — 催化事件必须是外力而非主角自发
4. **弧光方向不可无理由逆转** — 除非明确是类型转换
5. **来源追溯不可断裂** — 新内容标注来源为"refactor"

## 输出示例

```
🔄 重构提案: "调整为心理惊悚"

影响范围: 9 个 beat + 2 个角色

--- wiki/beats/beat-01-开场画面.md ---
- 内容: 阳光明媚的小镇广场
+ 内容: 表面平静的小镇,但画面构图暗示不安(过于对称的房屋、过于整齐的草坪)

--- wiki/beats/beat-04-催化剂.md ---
- 内容: 收到一封工作邀请
+ 内容: 深夜目睹邻居在花园秘密掩埋什么东西

--- wiki/characters/小明.md ---
- opinions: 小镇生活很平静
+ opinions: 表面上觉得平静,但总有一种说不清的不安感

📝 理论依据:
- 心理惊悚的 Opening Image 需要"表面正常 + 微妙不安"的视觉暗示
- Catalyst 在惊悚类型中应是"发现了不应该发现的事"

⚠️ 风险: B Story 可能需要相应调整以承载"信任vs怀疑"主题

确认应用?(y/全部接受 | n/取消 | p/逐项确认)
```

From e06084/claude-screenwriting, MIT.

More from e06084/claude-screenwriting

Signals

Stars
9
Forks
1
Open issues
0
Last commit (this folder)
May 17, 2026 (5 months ago)
Last release
Jun 14, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from e06084

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get screenwriting-refactor running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying screenwriting-refactor?

CallGet help
Cite this page

screenwriting-refactor skill. Agent Mart. https://agentmart.dev/skills/e06084-screenwriting-refactor (last updated 2026-10-24)