This automatically detects story genres, time periods, and themes from your writing conversation, then loads the relevant knowledge bases in the background without you asking. Say you're writing a "1920s revenge romance" and it pulls in three knowledge bases: romance writing conventions, revenge story beats, and 1920s China historical details. It's designed to save tokens compared to loading 50 different skills upfront. You just write naturally and it activates the right reference material as it recognizes keywords like "言情", "复仇", or "民国". The detection is fuzzy enough to catch "重生后要报仇" as a revenge trigger. Currently supports five genre types and 1920s China references, with more planned. You can always ask what's activated or manually override if it guesses wrong.

skills.sh installs
339
GitHub stars
270
last updated
Aug 21, 2026

Install

$ npx -y skills add wordflowlab/novel-writer-skills --skill setting-detector --agent claude-code

Installs into .claude/skills of the current project.

Files

故事设定自动检测器

核心功能

自动激活知识库系统 - 这是Novel Writer Skills的核心竞争力。

当你提到特定关键词时,我会自动:

  1. 检测故事的类型、时代、主题
  2. 加载对应的写作知识库
  3. 在整个创作过程中应用专业知识

无需手动调用 - 完全自动化,后台运行。


工作原理

关键词映射表

我监听以下关键词并自动激活对应知识库:

类型知识库(Genres)

言情小说(romance):

触发词:言情、爱情、恋爱、浪漫、感情线、关系弧、CP、甜文、虐文、
       HE、BE、双洁、破镜重圆、先婚后爱、契约关系

激活:templates/knowledge-base/genres/romance.md

悬疑推理(mystery):

触发词:悬疑、推理、侦探、破案、谜团、线索、真相、凶手、犯罪、
       密室、诡计、不在场证明、推理小说

激活:templates/knowledge-base/genres/mystery.md

历史小说(historical):

触发词:历史、古代、朝代、考据、时代背景、历史小说、古言、
       穿越、重生古代、架空历史、宫斗、宅斗

激活:templates/knowledge-base/genres/historical.md

复仇爽文(revenge):

触发词:复仇、报仇、打脸、爽文、逆袭、反击、重生复仇、
       穿越复仇、系统、金手指、女主爽文、男主爽文

激活:templates/knowledge-base/genres/revenge.md

武侠小说(wuxia):

触发词:武侠、江湖、武功、侠客、门派、武学、剑客、
       轻功、内功、武林、江湖恩仇、侠义

激活:templates/knowledge-base/genres/wuxia.md
参考资料库(References)

1920年代中国(china-1920s):

触发词:1920、民国、军阀、北洋、穿越民国、二十年代、
       民国时期、军阀混战

激活:templates/knowledge-base/references/china-1920s/

自动激活流程

示例1:单一类型检测

Sponsors

Details

Repository
github.com/wordflowlab/novel-writer-skills
Category
Documentation
First seen
Jun 3, 2026

More from wordflowlab/novel-writer-skills

All 13
1makenotion avatarnotion-meeting-intelligencemakenotion/claude-code-notion-pluginPrepares meeting materials by gathering context from Notion, enriching with Claude research, and creating both an internal pre-read and external agenda saved to338skills.sh installs
2onewave-ai avatarinbound-lead-qualifieronewave-ai/claude-skillsAnalyze inbound leads (form fills, demo requests) and score based on ICP fit, intent, and urgency. Auto-generates qualification questions, routes to right rep, 338skills.sh installs
3pproenca avatarorvalpproenca/dot-skillsOrval OpenAPI TypeScript client generation best practices. This skill should be used when configuring Orval, generating TypeScript clients from OpenAPI specs, s338skills.sh installs
4webflow avatarcms-collection-setupwebflow/webflow-skillsCreate a new CMS collection in Webflow with specified fields and relationships. Use when setting up blog posts, products, team members, portfolios, or other con337skills.sh installs
5sergiodxa avatarfrontend-js-best-practicessergiodxa/agent-skillsJavaScript performance optimization guidelines. Use when writing, reviewing, or refactoring JavaScript/TypeScript code to ensure optimal performance patterns. T336skills.sh installs
6wsimmonds avatarnextjs-advanced-routingwsimmonds/claude-nextjs-skillsGuide for advanced Next.js App Router patterns including Route Handlers, Parallel Routes, Intercepting Routes, Server Actions, error boundaries, draft mode, and336skills.sh installs