# Rewrite

> 重写或修改已有章节。当用户要求修改某章、改写某段、换视角重写、调整对话时使用。

- **Type:** Skill
- **Install:** `agentstack add skill-alfredxw-nova-rewrite`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [alfredxw](https://agentstack.voostack.com/s/alfredxw)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [alfredxw](https://github.com/alfredxw)
- **Source:** https://github.com/alfredxw/denova/tree/master/skills/rewrite

## Install

```sh
agentstack add skill-alfredxw-nova-rewrite
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 章节重写与修改

根据作者要求修改已有的章节内容。

## 工作流程
1. 使用 read_file 读取 `setting/outline.md`、`setting/progress.md` 和 `setting/character-states.md`，并结合常驻资料库和资料库索引了解上下文；如修改内容属于当前章节组，也读取 `setting/chapter-groups/` 下对应细纲
2. 根据作者要求进行修改，完全重写，只需要考虑前面和后面章节的连贯性
3. 使用 write_file 写回修改后的章节
4. 更新 `setting/progress.md` 中的章节摘要和最近事件，并更新 `setting/character-states.md` 中的角色当前状态
5. 如果角色身份、人设、长期关系、能力体系、世界规则等稳定设定有变化，使用 write_lore_items 批量同步资料库对应条目
6. 除非作者明确要求调整大纲，不更新 `setting/outline.md`

## 修改类型

- **改对话**：调整角色对白，保持性格一致
- **调情节**：修改事件走向，注意前后文连贯
- **换视角**：用不同角色的视角重写，保持信息一致
- **扩写**：在保持主线不变的前提下丰富细节
- **缩写**：精简冗余描写，保留核心情节
- **风格调整**：改变叙事语调或文风

## 注意事项

- 修改后必须与前后章节保持连贯
- 重大情节变化需提醒作者检查后续章节是否需要调整
- 保持角色性格和说话方式的一致性
- 修改后主要更新 `setting/progress.md` 和 `setting/character-states.md`；只有长期设定发生明确变化时才用 write_lore_items 更新资料库
- 修改章节定稿时同步检查当前章节组细纲是否还成立；如明显偏离，只提示作者确认是否调整细纲，不要擅自重写长期大纲
- 不要把已完成章节复盘写进 `setting/outline.md`，也不要把未来章节规划写进资料库
- 除非作者明确提出重构主线、调整卷章或修改章节目标，不轻易更新 `setting/outline.md`

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [alfredxw](https://github.com/alfredxw)
- **Source:** [alfredxw/denova](https://github.com/alfredxw/denova)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-alfredxw-nova-rewrite
- Seller: https://agentstack.voostack.com/s/alfredxw
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
