AgentSkillsCN

character-abstraction

从特定虚构作品中抽象出角色元素(动作、台词、描述)。适用于被要求“抽象 [元素]”、使元素“更加通用”或“脱离具体场景”、创建“可复用”或“通用”模板时使用。触发短语包括“抽象 [文件名]”、“让 [角色] 更具通用性”、“剥离 [元素] 的细节”。

SKILL.md
--- frontmatter
name: character-abstraction
description: Abstract character elements (actions, quotes, descriptions) from specific fictional sources. Use when asked to "abstract [elements]", make elements "more general" or "setting-agnostic", create "reusable" or "generic" templates. Triggers include "abstract [filename]", "make [character] generic", "strip [element] details".

Character abstraction

Transform setting-specific character elements into portable, reusable templates for worldbuilding.

Mode Detection

Determine mode from user request:

Actions mode:

  • Triggers: "generic actions", "abstract actions", "list of generic actions"
  • Read: references/actions-reference.md

Quotes mode:

  • Triggers: "generic quotes", "abstract quotes", "generate quote structure"
  • Read: references/quotes-reference.md

If ambiguous, ask user which mode.

Workflow

  1. Detect mode from triggers above
  2. Read the appropriate reference doc for that mode
  3. Follow the workflow in that reference doc
  4. Present completed file(s) to user