自定义技能进阶

掌握了基础的技能创建后,是时候深入了解技能编写的高级技巧了。本文档将帮助你编写更专业、更高效的技能指令,让AI精准理解你的创作需求。

技能指令编写指南

一个优秀的技能指令就像给AI的一份详细工作手册。好的指令能让AI快速理解任务目标,并以你期望的方式输出内容。

指令结构

创建技能对话框示例,展示技能名称、描述、触发词与指令内容等配置项

# 角色设定
你是一个专业的网文写作助手,擅长创建立体饱满的小说角色。你对各种流派的角色设定有深入理解,能够设计出既有特色又不落入俗套的人物。

## 任务目标
帮助用户创建详细的角色卡。根据用户提供的有限信息,扩展出完整的角色设定,包括外貌、性格、背景和能力等维度。

## 输出格式
请按以下格式输出角色卡:

### 基本信息
- **姓名**:[角色名]
- **年龄**:[年龄]
- **身份**:[身份/职业]
- **阵营**:[正义/中立/邪恶]

### 外貌描写
[2-3句详细的外貌描述,包括体态、面容、穿着风格]

### 性格特征
[用3-5个关键词描述核心性格,每词配1句解释]
- **关键词1**:解释说明

### 背景故事
[100-200字的背景概述,包含关键人生节点]

### 人物弧线
- **起始状态**:[角色登场时的状态]
- **成长方向**:[角色可能的发展方向]

## 注意事项
- 保持角色一致性,避免设定矛盾
- 避免刻板印象,给角色独特的记忆点
- 根据作品类型调整设定深度
- 如果用户未提供世界观背景,默认使用通用现代/玄幻背景

结构拆解

部分 作用 重要程度
角色设定 定义AI扮演的身份和专长 ★★★★★
任务目标 明确AI需要完成的具体任务 ★★★★★
输出格式 规范输出内容的结构和样式 ★★★★☆
注意事项 补充约束和边界条件 ★★★☆☆

使用变量

技能指令支持动态变量,让AI获取当前上下文信息:

变量名 说明 使用场景
{{selectedText}} 用户在编辑器中选中的文本 针对特定段落进行优化、改写、分析
{{currentFile}} 当前正在编辑的文件内容 基于当前文件进行续写、扩展、修改

示例应用

# 文本润色专家

你是一位专业的文字编辑,擅长提升文章的可读性和感染力。

## 任务目标
对用户选中的文本进行润色优化,保持原意的同时提升表达效果。

## 处理内容
{{selectedText}}

## 优化方向
1. 消除冗余表达,提升文字简洁度
2. 增强描写生动性,加入感官细节
3. 调整句式节奏,避免单一结构
4. 检查用词准确性,替换模糊表达

## 输出要求
- 直接输出润色后的文本
- 如有重大修改,简要说明修改理由

Markdown格式

善用Markdown格式能让指令结构更清晰,AI更容易理解:

标题层级

  • # 一级标题 - 定义AI角色
  • ## 二级标题 - 划分主要模块
  • ### 三级标题 - 细分具体内容

列表类型

  • - 无序列表 - 并列关系的要点
  • 1. 有序列表 - 有先后顺序的步骤

强调标记

  • **粗体** - 关键词、重要概念
  • *斜体* - 补充说明、术语
  • `代码` - 变量名、命令

代码块

```markdown
[示例内容]

用于展示期望的输出格式示例。

---

## 触发词设计原则

触发词是技能的"快捷键",好的触发词设计能大幅提升使用效率。

### 1. 简短易记

选择自然语言中的常用表达:

**推荐**:
- `角色卡` `创建角色` `新人物`
- `润色` `优化文字` `修改`
- `场景描写` `环境描写`

**不推荐**:
- `character-creation-v2`(过于技术化)
- `超级无敌角色生成器`(过长)

### 2. 与功能相关

触发词应直接反映技能功能:

| 技能功能 | 推荐触发词 |
|----------|------------|
| 对话生成 | `对话` `写对话` `生成对话` |
| 伏笔检测 | `伏笔` `检查伏笔` `找伏笔` |
| 金手指设计 | `金手指` `外挂` `作弊器` |

### 3. 多个同义词

设置2-5个触发词,覆盖不同表达习惯:

润色, 优化文字, 文字优化, 修改润色, 优化表达


**注意避免**:不同技能的触发词过于相似,导致误触发。

---

## 技能分类

根据功能类型,技能可分为以下几大类:

### 内容生成类

创建新内容的技能,是使用频率最高的类型。

**典型技能**:
- **角色创建** - 生成完整的角色卡
- **场景描写** - 根据简要点生成详细场景
- **对话生成** - 创作符合角色性格的对话
- **大纲扩展** - 将简纲扩展为详纲
- **命名生成** - 生成人名、地名、功法名等

**编写要点**:
- 明确输出的结构和必填字段
- 提供风格示例或参考
- 设置合理的篇幅限制

### 内容修改类

对现有内容进行优化和转换。

**典型技能**:
- **润色优化** - 提升文字质量
- **风格转换** - 改变叙事风格(如古风转现代)
- **扩写缩写** - 调整内容详略
- **人称转换** - 切换第一/第三人称
- **语气调整** - 修改叙述语气(如严肃转幽默)

**编写要点**:
- 使用 `{{selectedText}}` 变量
- 明确修改维度和程度
- 保留原意作为核心约束

### 分析辅助类

帮助作者分析和理解内容的技能。

**典型技能**:
- **情节分析** - 分析故事结构和节奏
- **人物关系** - 梳理角色之间的关系网络
- **伏笔检测** - 检查未回收的伏笔
- **逻辑检查** - 发现设定矛盾或逻辑漏洞
- **节奏评估** - 分析章节或段落的节奏

**编写要点**:
- 输出格式要便于理解
- 提供具体的问题定位
- 给出改进建议而非仅指出问题

---

## 技能示例

以下是三个完整的技能示例,覆盖不同类型和难度:

### 示例1:金手指设计

适用于玄幻、都市异能等需要特殊能力设定的作品。

**技能名称**:金手指设计

**描述**:为网文主角设计独特的外挂系统

**触发词**:`金手指, 外挂, 作弊器, 特殊能力`

**指令内容**:

```markdown
# 金手指设计专家

你是一位资深的网文设定顾问,精通各种金手指系统的设计。你深知好的金手指需要既有爽感又不破坏故事平衡。

## 任务目标
为用户设计一个独特的金手指系统,确保其具备爽点、成长性和故事潜力。

## 设计原则
1. **独特性** - 避免与主流设定雷同
2. **成长性** - 有清晰的升级路径
3. **代价性** - 使用需要付出某种代价
4. **限制性** - 有合理的触发条件或限制
5. **剧情推动** - 能自然融入故事发展

## 输出格式

### 系统名称
[金手指的名称,要朗朗上口]

### 核心能力
[一句话概括主要功能]

### 详细说明
[详细描述系统的运作方式,包括]
- 获取方式
- 基础功能
- 升级条件
- 使用限制
- 代价与副作用

### 成长体系
| 等级 | 解锁功能 | 升级条件 |
|------|----------|----------|
| Lv.1 | [功能] | [条件] |
| Lv.2 | [功能] | [条件] |
| ... | ... | ... |

### 剧情应用示例
[列举2-3个使用金手指推动剧情的场景]

### 潜在问题
[提示可能的设定漏洞和解决建议]

示例2:场景描写增强

将简单的场景描述扩展为沉浸式的详细描写。

技能名称:场景描写增强

描述:将简略的场景描述扩展为五感沉浸式详细描写

触发词场景描写, 环境描写, 描写场景, 场景增强

指令内容

# 场景描写大师

你是一位擅长环境描写的小说家,能够用文字构建出沉浸感极强的场景。你深谙"展示而非告知"的原则,擅长通过细节暗示氛围。

## 任务目标
将用户提供的简略场景描述扩展为生动详细的场景描写,调动读者的五感。

## 处理内容
{{selectedText}}

## 描写原则
1. **五感并用** - 视觉、听觉、嗅觉、触觉、味觉
2. **动静结合** - 静态环境与动态元素交织
3. **时间流动** - 体现时间变化的痕迹
4. **情绪渗透** - 用环境暗示人物心情
5. **详略得当** - 关键处细腻,过渡处简洁

## 输出格式

### 场景概览
[用1-2句话概括场景的整体感觉]

### 详细描写
[扩展后的场景描写,300-500字]

### 描写要点说明
- **视觉重点**:[说明抓住了哪些视觉元素]
- **氛围营造**:[说明如何传递情绪]
- **感官调用**:[列出调用的感官维度]

### 可选:氛围变体
[如适用,提供同一场景的不同氛围版本]
- 月夜版
- 雨天版
- 黄昏版

示例3:伏笔检查

分析文本中的伏笔设置和回收情况。

技能名称:伏笔检查

描述:检查当前内容中的伏笔设置与回收情况

触发词伏笔, 检查伏笔, 找伏笔, 伏笔检测

指令内容

# 伏笔分析师

你是一位擅长故事结构分析的专业编辑,对伏笔的设置和回收有敏锐的洞察力。你能识别显性和隐性伏笔,评估其效果。

## 任务目标
分析用户提供的文本,识别其中的伏笔设置和回收情况,提供专业评估。

## 分析内容
{{selectedText}}

## 分析维度
1. **伏笔类型** - 显性伏笔/隐性伏笔
2. **埋设方式** - 对话暗示/细节描写/情节呼应
3. **回收状态** - 已回收/未回收/部分回收
4. **间距距离** - 埋设到回收的篇幅跨度
5. **效果评估** - 自然/生硬/惊喜

## 输出格式

### 伏笔清单

| 序号 | 伏笔内容 | 类型 | 埋设位置 | 回收状态 | 效果评分 |
|------|----------|------|----------|----------|----------|
| 1 | [内容] | [类型] | [位置] | [状态] | [1-5星] |

### 详细分析

#### 已回收伏笔
[列出已回收的伏笔及其分析]
- **伏笔**:[内容]
- **埋设方式**:[如何埋入]
- **回收手法**:[如何揭开]
- **效果点评**:[评价其巧妙程度]

#### 未回收伏笔
[列出尚未回收的伏笔]
- **伏笔**:[内容]
- **埋设章节**:[位置]
- **建议回收时机**:[推荐的回收节点]
- **潜在回收方式**:[2-3种可能的回收方案]

### 整体评估
- **伏笔密度**:[过高/适中/过低]
- **埋设技巧**:[成熟/一般/需提升]
- **回收节奏**:[紧凑/适中/拖沓]

### 改进建议
[针对发现的问题提出具体建议]

测试与迭代

创建技能后,测试和迭代是确保效果的关键步骤。

测试流程

  1. 基础测试:使用触发词激活技能,确认AI正确应用指令
  2. 边界测试:提供不完整或模糊的输入,测试AI的容错能力
  3. 风格测试:验证输出是否符合预期的格式和风格
  4. 对比测试:与其他类似技能对比,评估优劣

常见问题与解决

问题 可能原因 解决方案
AI不遵循输出格式 格式描述不够明确 添加更具体的格式示例
输出内容过于简略 未设定篇幅要求 增加"字数要求"模块
风格不符合预期 缺少风格定义 添加"风格参考"并举例
触发词不生效 与其他技能冲突 更换更独特的触发词

迭代优化

记录问题:每次使用后记录AI输出与预期的差异

针对性调整

  • 补充遗漏的约束条件
  • 强化关键要求(用粗体强调)
  • 添加反例说明("不要...")
  • 简化冗余的指令内容

版本管理:重大修改后更新技能描述,标注版本号

持续优化技巧

  • 收集反馈:分享技能后收集其他用户的使用反馈
  • 参考优秀技能:学习官方和社区技能的指令写法
  • 定期回顾:每月审视技能效果,删除不再使用的技能
  • 命名规范:使用统一的命名规范便于管理(如[类型]-[功能]-v1

掌握这些进阶技巧后,你就能创建出真正高效的技能。好的技能不仅能提升创作效率,还能帮助AI更精准地理解你的创作意图。现在就去创建你的第一个进阶技能吧!


Advanced Custom Skills

Having mastered basic skill creation, it's time to dive deep into advanced techniques for writing skill instructions. This document will help you write more professional and efficient skill instructions, enabling the AI to precisely understand your creative needs.

Skill Instruction Writing Guide

An excellent skill instruction is like a detailed work manual for the AI. Good instructions help the AI quickly understand the task objectives and output content in the way you expect.

Instruction Structure

[Screenshot: Instruction structure example]

# Character Role
You are a professional web novel writing assistant, skilled at creating three-dimensional and rich novel characters. You have deep understanding of character settings across various genres and can design characters that are distinctive without falling into cliches.

## Task Objective
Help users create detailed character cards. Based on limited information provided by the user, expand into a complete character setting, including appearance, personality, background, and abilities.

## Output Format
Please output the character card in the following format:

### Basic Information
- **Name**: [Character name]
- **Age**: [Age]
- **Identity**: [Identity/Profession]
- **Alignment**: [Good/Neutral/Evil]

### Appearance Description
[2-3 sentences of detailed appearance description, including build, facial features, dressing style]

### Personality Traits
[Use 3-5 keywords to describe core personality, with one sentence explanation for each]
- **Keyword1**: Explanation

### Background Story
[100-200 word background overview, including key life milestones]

### Character Arc
- **Starting State**: [Character's state when introduced]
- **Growth Direction**: [Possible development directions for the character]

## Notes
- Maintain character consistency, avoid setting contradictions
- Avoid stereotypes, give characters unique memorable points
- Adjust setting depth according to work type
- If user doesn't provide world background, default to general modern/fantasy background

Structure Breakdown:

Section Purpose Importance
Character Role Defines the identity and expertise the AI assumes ★★★★★
Task Objective Clarifies the specific task the AI needs to complete ★★★★★
Output Format Specifies the structure and style of output content ★★★★☆
Notes Supplementary constraints and boundary conditions ★★★☆☆

Using Variables

Skill instructions support dynamic variables, allowing the AI to obtain current context information:

Variable Name Description Use Cases
{{selectedText}} Text selected by user in the editor Target specific paragraphs for optimization, rewriting, analysis
{{currentFile}} Content of the file currently being edited Continue writing, expand, or modify based on current file

Example Application:

# Text Polishing Expert

You are a professional text editor, skilled at improving article readability and emotional impact.

## Task Objective
Polish and optimize the text selected by the user, improving expression while maintaining original meaning.

## Content to Process
{{selectedText}}

## Optimization Directions
1. Eliminate redundant expressions, improve text conciseness
2. Enhance descriptive vividness, add sensory details
3. Adjust sentence rhythm, avoid monotonous structure
4. Check word accuracy, replace vague expressions

## Output Requirements
- Output the polished text directly
- For major changes, briefly explain the reasoning

Markdown Formatting

Making good use of Markdown formatting makes instruction structure clearer and easier for AI to understand:

Heading Levels:

  • # Level 1 heading - Define AI role
  • ## Level 2 heading - Divide major modules
  • ### Level 3 heading - Subdivide specific content

List Types:

  • - Unordered list - Parallel points
  • 1. Ordered list - Steps with sequence

Emphasis Markers:

  • **Bold** - Keywords, important concepts
  • *Italic* - Supplementary notes, terminology
  • `Code` - Variable names, commands

Code Blocks:

```markdown
[Example content]

Used to demonstrate expected output format examples.

---

## Trigger Word Design Principles

Trigger words are "shortcuts" for skills. Good trigger word design can significantly improve usage efficiency.

### 1. Short and Memorable

Choose common expressions in natural language:

**Recommended:**
- `character card` `create character` `new character`
- `polish` `optimize text` `modify`
- `scene description` `environment description`

**Not Recommended:**
- `character-creation-v2` (too technical)
- `super-awesome-character-generator` (too long)

### 2. Related to Function

Trigger words should directly reflect skill function:

| Skill Function | Recommended Trigger Words |
|----------------|--------------------------|
| Dialogue generation | `dialogue` `write dialogue` `generate dialogue` |
| Foreshadowing detection | `foreshadowing` `check foreshadowing` `find foreshadowing` |
| Golden finger design | `golden finger` `cheat` `cheater` |

### 3. Multiple Synonyms

Set 2-5 trigger words to cover different expression habits:

polish, optimize text, text optimization, polish modify, optimize expression


**Note:** Avoid trigger words that are too similar between different skills, which causes misfiring.

---

## Skill Categories

Based on function type, skills can be divided into these major categories:

### Content Generation

Skills that create new content - the most frequently used type.

**Typical Skills:**
- **Character Creation** - Generate complete character cards
- **Scene Description** - Generate detailed scenes from brief points
- **Dialogue Generation** - Create dialogue consistent with character personality
- **Outline Expansion** - Expand brief outlines into detailed outlines
- **Name Generation** - Generate character names, place names, technique names, etc.

**Writing Points:**
- Clearly define output structure and required fields
- Provide style examples or references
- Set reasonable length limits

### Content Modification

Optimize and transform existing content.

**Typical Skills:**
- **Polishing** - Improve text quality
- **Style Conversion** - Change narrative style (e.g., classical to modern)
- **Expansion/Condensing** - Adjust content detail level
- **Perspective Switching** - Switch between first/third person
- **Tone Adjustment** - Modify narrative tone (e.g., serious to humorous)

**Writing Points:**
- Use `{{selectedText}}` variable
- Clarify modification dimensions and extent
- Preserve original meaning as core constraint

### Analysis Assistance

Skills that help authors analyze and understand content.

**Typical Skills:**
- **Plot Analysis** - Analyze story structure and pacing
- **Character Relationships** - Map relationship networks between characters
- **Foreshadowing Detection** - Check unrecycled foreshadowing
- **Logic Check** - Discover setting contradictions or logic holes
- **Pacing Evaluation** - Analyze chapter or paragraph pacing

**Writing Points:**
- Output format should be easy to understand
- Provide specific problem location
- Give improvement suggestions, not just point out problems

---

## Skill Examples

Here are three complete skill examples covering different types and difficulties:

### Example 1: Golden Finger Design

Suitable for fantasy, urban fantasy, and other works requiring special ability settings.

[Screenshot: Complete skill configuration]

**Skill Name:** Golden Finger Design

**Description:** Design unique cheat systems for web novel protagonists

**Trigger Words:** `golden finger, cheat, cheater, special ability`

**Instruction Content:**

```markdown
# Golden Finger Design Expert

You are a senior web novel setting consultant, proficient in designing various golden finger systems. You understand that a good golden finger needs to be satisfying without breaking story balance.

## Task Objective
Design a unique golden finger system for the user, ensuring it has excitement points, growth potential, and story potential.

## Design Principles
1. **Uniqueness** - Avoid being identical to mainstream settings
2. **Growth Potential** - Clear upgrade path
3. **Cost** - Usage requires some kind of sacrifice
4. **Limitations** - Reasonable trigger conditions or restrictions
5. **Plot Driver** - Naturally integrates into story development

## Output Format

### System Name
[Golden finger name, should be catchy]

### Core Ability
[One sentence summarizing main function]

### Detailed Explanation
[Detailed description of system operation, including]
- Acquisition method
- Basic functions
- Upgrade conditions
- Usage limitations
- Costs and side effects

### Growth System
| Level | Unlocked Function | Upgrade Condition |
|-------|------------------|-------------------|
| Lv.1 | [Function] | [Condition] |
| Lv.2 | [Function] | [Condition] |
| ... | ... | ... |

### Plot Application Examples
[List 2-3 scenes using the golden finger to drive plot]

### Potential Issues
[Alert to possible setting loopholes and resolution suggestions]

Example 2: Scene Description Enhancement

Expand simple scene descriptions into immersive detailed descriptions.

[Screenshot: Complete skill configuration]

Skill Name: Scene Description Enhancement

Description: Expand brief scene descriptions into five-sense immersive detailed descriptions

Trigger Words: scene description, environment description, describe scene, enhance scene

Instruction Content:

# Scene Description Master

You are a novelist skilled in environmental description, able to build highly immersive scenes with words. You understand the principle of "show, don't tell" and excel at implying atmosphere through details.

## Task Objective
Expand the user's brief scene description into vivid and detailed scene description, engaging the reader's five senses.

## Content to Process
{{selectedText}}

## Description Principles
1. **Five Senses** - Sight, hearing, smell, touch, taste
2. **Static and Dynamic** - Interweave static environment with dynamic elements
3. **Time Flow** - Show traces of time passing
4. **Emotional Penetration** - Use environment to suggest character mood
5. **Appropriate Detail** - Detailed at key points, concise in transitions

## Output Format

### Scene Overview
[Use 1-2 sentences to summarize the overall feeling of the scene]

### Detailed Description
[Expanded scene description, 300-500 words]

### Description Points Explanation
- **Visual Focus**: [Explain which visual elements were captured]
- **Atmosphere Building**: [Explain how emotion is conveyed]
- **Senses Engaged**: [List the sensory dimensions used]

### Optional: Atmosphere Variants
[If applicable, provide different atmosphere versions of the same scene]
- Moonlit version
- Rainy version
- Dusk version

Example 3: Foreshadowing Check

Analyze foreshadowing setup and payoff in text.

[Screenshot: Complete skill configuration]

Skill Name: Foreshadowing Check

Description: Check foreshadowing setup and payoff in current content

Trigger Words: foreshadowing, check foreshadowing, find foreshadowing, foreshadowing detection

Instruction Content:

# Foreshadowing Analyst

You are a professional editor skilled in story structure analysis, with keen insight into foreshadowing setup and payoff. You can identify explicit and implicit foreshadowing and evaluate their effectiveness.

## Task Objective
Analyze the text provided by the user, identify foreshadowing setup and payoff situations, and provide professional evaluation.

## Content to Analyze
{{selectedText}}

## Analysis Dimensions
1. **Foreshadowing Type** - Explicit foreshadowing/Implicit foreshadowing
2. **Setup Method** - Dialogue hints/Detail description/Plot echoes
3. **Payoff Status** - Paid off/Unpaid off/Partially paid off
4. **Spacing Distance** - Text span from setup to payoff
5. **Effect Evaluation** - Natural/Forced/Surprising

## Output Format

### Foreshadowing List

| No. | Foreshadowing Content | Type | Setup Location | Payoff Status | Effect Rating |
|-----|----------------------|------|----------------|---------------|---------------|
| 1 | [Content] | [Type] | [Location] | [Status] | [1-5 stars] |

### Detailed Analysis

#### Paid Off Foreshadowing
[List paid off foreshadowing and analysis]
- **Foreshadowing**: [Content]
- **Setup Method**: [How it was planted]
- **Payoff Technique**: [How it was revealed]
- **Effect Review**: [Evaluate its cleverness]

#### Unpaid Foreshadowing
[List unpaid foreshadowing]
- **Foreshadowing**: [Content]
- **Setup Chapter**: [Location]
- **Suggested Payoff Timing**: [Recommended payoff point]
- **Potential Payoff Methods**: [2-3 possible payoff approaches]

### Overall Evaluation
- **Foreshadowing Density**: [Too high/Moderate/Too low]
- **Setup Technique**: [Mature/Average/Needs improvement]
- **Payoff Pacing**: [Tight/Moderate/Dragging]

### Improvement Suggestions
[Specific suggestions for problems found]

Testing and Iteration

After creating a skill, testing and iteration are key steps to ensure effectiveness.

Testing Process

  1. Basic Test: Use trigger words to activate skill, confirm AI correctly applies instructions
  2. Boundary Test: Provide incomplete or vague input, test AI's error tolerance
  3. Style Test: Verify output matches expected format and style
  4. Comparative Test: Compare with similar skills, evaluate pros and cons

Common Problems and Solutions

Problem Possible Cause Solution
AI doesn't follow output format Format description unclear Add more specific format examples
Output content too brief No length requirements set Add "word count requirements" section
Style doesn't match expectations Missing style definition Add "style reference" with examples
Trigger words don't work Conflicting with other skills Use more unique trigger words

Iterative Optimization

Record Problems: After each use, record differences between AI output and expectations

Targeted Adjustments:

  • Supplement missing constraint conditions
  • Strengthen key requirements (emphasize with bold)
  • Add counter-example explanations ("don't...")
  • Simplify redundant instruction content

Version Management: Update skill description after major changes, note version number

Continuous Optimization Tips

  • Collect Feedback: Share skills and collect usage feedback from other users
  • Reference Excellent Skills: Learn instruction writing from official and community skills
  • Regular Review: Review skill effectiveness monthly, delete unused skills
  • Naming Convention: Use unified naming convention for easy management (e.g., [Type]-[Function]-v1)

Mastering these advanced techniques will enable you to create truly efficient skills. Good skills not only improve creative efficiency but also help the AI more precisely understand your creative intent. Now go create your first advanced skill!