
Wenfeng Skill
Distill one novel’s narrative craft into a reusable author-style SKILL.md for agents to write or continue fiction in that voice.
Overview
Wenfeng Skill is an agent skill for the Build phase that turns a single novel’s corpus into an executable author-style SKILL.md without copying source prose.
Install
npx skills add https://github.com/xtmingyue/wenfeng-skill --skill wenfeng-skillWhat is this skill?
- Single-work focus: refuses multi-book mashups unless user picks one primary corpus
- Seven analysis dimensions: narrative model, language fingerprint, motifs, character, plot craft, do-not rules, honesty b
- Three-gate rule for techniques: recurrence, generative power, and exclusivity vs generic advice
- Delivers only [skill-name]/SKILL.md with no verbatim quotes or near-paraphrase of source text
- Default naming [name]-novelist and writes to the environment skills directory
- 7 analysis dimensions (narrative model through honesty bounds)
- 3-gate technique filter (recurrence, generative power, exclusivity)
- 5+ binary do-not rules and 3+ honesty-boundary items required in output skill
Adoption & trust: 1 installs on skills.sh; 2 GitHub stars; 2/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
What problem does it solve?
You want consistent AI-assisted fiction in one author’s voice but only have raw book text and no structured skill for your agent.
Who is it for?
Creators with rights-safe access to one full work who need a durable style skill for agents.
Skip if: Multi-author blend requests, legal-risk scraping without permission, or quick plot summaries without building a skill.
When should I use this skill?
User supplies one novel corpus or path and requests distill author, 文风 skill, or 从这本书生成 Skill.
What do I get? / Deliverables
You receive a standalone [name]-novelist/SKILL.md with distilled rules and triggers so later sessions can write, continue, or analyze in that style.
- [skill-name]/SKILL.md with frontmatter, triggers, and style rules
- Documented honesty boundaries and do-not-write constraints
Recommended Skills
Journey fit
How it compares
Skill-pack generator from one corpus—not a live MCP or a generic creative-writing prompt sheet.
Common Questions / FAQ
Who is wenfeng-skill for?
Solo writers and indie content builders who ship fiction or narrative products with coding agents and want one-book style distillation.
When should I use wenfeng-skill?
When you provide a single novel’s text or path and ask to distill the author,提炼文风, or build a XX-style writing Skill.md.
Is wenfeng-skill safe to install?
It is procedural text analysis; review the Security Audits panel on this page and only analyze works you are allowed to use.
SKILL.md
READMESKILL.md - Wenfeng Skill
# 文风 Skill(单本作品版) 目标:从一部作品中提炼可执行的叙事操作系统,生成一个可直接作为 Agent Skill 使用的 `SKILL.md`。 最终只交付目标 skill 文件: ```text [skill-name]/ └── SKILL.md ``` ## 工作原则 - 只分析一部作品。用户给多部作品时,请其选择一部主作品。 - 捕捉 HOW:提炼写法、结构、节奏、语言习惯和创作规则,不复述 WHAT。 - 最终 `SKILL.md` 不引用、不摘抄、不近似改写原作句子、段落、对话或具体情节。 - 不把通用写作建议包装成独门技法。一个规则至少要在作品中反复出现,并能指导新文本生成。 - 信息不足时先说明缺口,生成保守版本,不编造作家生平、评论或作品事实。 ## 输入确认 开始前只确认必要信息: 1. 单本作品来源:本地文本路径、粘贴文本、或用户明确提供的可分析材料。 2. 目标 skill 名称:默认从作品名或作者名归一化为 `[name]-novelist`。 3. 输出位置:用户未指定时,默认写入当前运行环境的 skills 目录下,例如 `<skills-dir>/[name]-novelist/SKILL.md`。 如果没有可访问的作品文本或足够材料,先向用户索要文本或路径;不要改走网搜作家研究路线。 ## 分析流程 ### 1. 阅读作品 - 短篇或中篇:尽量完整阅读。 - 长篇:优先阅读开篇、关键中段、高潮段、结尾;若用户指定章节,以指定内容为主。 - 阅读时只记录可抽象为技法的观察,不在最终 skill 中保留原文。 ### 2. 提炼维度 按以下维度提炼: - 叙事模型:3-5 个最有辨识度的结构手法。 - 语言指纹:句式节奏、段落长度、词汇偏好、对话密度、感官侧重。 - 母题意象:2-4 个反复出现的主题、意象或隐喻机制。 - 人物塑造:角色原型、人物弧线、关系推进、对话差异。 - 情节技法:开篇、转场、节奏、悬念、冲突、爽点或情绪释放方式。 - 不可写:5 条以上二元禁令,帮助生成时保持风格边界。 - 诚实边界:3 条以上,说明取样范围、分析限制和不确定之处。 ### 3. 判断技法是否可写入 一个技法进入目标 `SKILL.md` 前,至少满足前两项,最好满足三项: 1. 复现性:在同一作品中出现不止一次。 2. 生成力:能指导面对新场景时怎么写。 3. 排他性:不是所有小说都会使用的普通建议。 不满足的内容降级为普通偏好;仍无把握时不要写入。 ## 目标 SKILL.md 模板 生成的目标文件使用以下结构。根据作品实际情况压缩或展开,但不要新增阅读系统、融合系统或额外产物。 ```markdown --- name: [skill-name] description: | [作品名/作者名]风格写作 Skill。基于单本作品《[作品名]》提炼叙事模型、语言指纹、母题意象和创作规则。 用于写作、续写、改写、文风分析和创作建议。触发词:「用[名称]的风格写」「[名称]会怎么处理」「切换到[名称]」「按《[作品名]》的笔法写」。 --- # [名称] · 单作品叙事操作系统 > [一句话创作信条] ## 使用方式 - 写作/续写/改写:直接按本 skill 的语言和叙事规则创作。 - 分析/建议/评价:用本 skill 的风格规则诊断文本问题,并给出改写方向。 - 默认:先判断用户要创作还是分析,再回应。 ## 身份卡 [用 2-4 行说明这个叙事人格的核心气质、题材重心和创作立场。不要冒充现实作者本人。] ## 叙事模型 ### 1. [模型名] - 描述:[一句话说明这个模型如何运转] - 使用:[遇到什么场景时怎么应用] - 边界:[什么时候不适合用] ### 2. [模型名] - 描述: - 使用: - 边界: ### 3. [模型名] - 描述: - 使用: - 边界: ## 语言指纹 ### 句式节奏 - [平均句长、长短句切换、段落呼吸、叙述密度] ### 词汇光谱 - 高频词类:[抽象成词类或意象类,不摘抄原句] - 禁用表达:[与该风格冲突的现代词、标签词、套话] ### 对话风格 - [台词长短、对话标记、潜台词、人物差异] ### 感官偏好 - [视觉/听觉/触觉/嗅觉/味觉的侧重和功能] ## 母题与意象 - [母题 1]:[如何在故事中反复变形] - [母题 2]: - [意象系统]:[自然、器物、身体、空间、颜色等如何服务叙事] ## 人物塑造 - 角色原型:[主角、配角、反派或关键关系类型] - 人物弧线:[人物如何变化] - 关系推进:[冲突、亲密、误解、背叛或传承如何推进] - 命名/称谓:[如作品有明显规律则写,无则省略] ## 情节技法 - 开篇:[如何开局] - 节奏:[如何铺垫、加速、停顿、释放] - 冲突:[主要冲突如何升级] - 悬念:[信息如何隐藏与揭示] - 转场:[场景如何切换] - 收束:[结尾如何回收或留白] ## 创作规则 1. [可执行规则] 2. [可执行规则] 3. [可执行规则] 4. [可执行规则] 5. [可执行规则] ## 不可写 1. 绝不[风格禁令]。 2. 绝不[风格禁令]。 3. 绝不[风格禁令]。 4. 绝不[风格禁令]。 5. 绝不[风格禁令]。 ## 诚实边界 1. 本 skill 只基于单本作品《[作品名]》,不能代表作者全部创作阶段。 2. 若只分析了节选或抽样章节,必须说明覆盖范围。 3. 语言指纹来自归纳,不保证能复现原作全部细节。 ## 来源 - 主作品:《[作品名]》 - 分析范围:[全文/节选/章节范围/用户提供文本] ``` ## 生成要求 - `name` 使用小写字母、数字和连字符。 - `description` 写清楚用途和触发词;不要超过 1024 字符。 - 正文以操作规则为主,少写评论性赞美。 - 每个叙事模型都必须能指导新场景创作。 - 最终文件必须是可运行的 `SKILL.md`,不是研究报告。 ## 校验 交付前检查: - YAML frontmatter 只有 `name` 和 `description`。 - 至少有 3 个叙事模型、5 条创作规则、5 条不可写、3 条诚实边界。 - 没有原作摘录、具体对话、长段情节复述或近似改写。 .DS_Store __pycache__/ *.pyc # Avoid accidentally publishing source novels or private corpora. *.txt corpus/ novels/ source-texts/ sources/ tmp/ MIT License Copyright (c) 2026 xiongtao Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHER