2.8 KiB
2.8 KiB
| name | description |
|---|---|
| dialogue-components-standardizer | A unified skill for standardizing the production and review of 6 dialogue interaction components. Core logic is fixed; optimizations are handled via branch files and scripts for repeatability. Enter skill only when components change dynamically. |
文本输出规范(强制执行)
所有输出的文本内容(台词、题目、选项、解析、音频文本、阅读文章等)必须遵守以下规则:
- 禁止 Markdown 标记:禁止使用 ** * __ _ 等加粗/斜体标识,也禁止使用 # > - 等块级 Markdown 语法。所有文本纯文本输出。
- 英式拼写优先:单词涉及英美式拼写差异时(如 colour/color、centre/center、travelling/traveling),统一选择英式拼写。
- 标点符号规范:严格区分全角/半角符号。中文内容使用全角标点(,。!?),英文内容使用半角标点(. , ! ?),不得混用。
Dialogue Components Standardizer
Overview
This skill provides a modular structure for standardizing dialogue components:
- Core (Fixed): Component types, workflows, and policies (defined here).
- Branch Files:
component_configs.yamlfor component-specific details (modify for optimizations). - Scripts: Automated execution for repeatable tasks (e.g., generation, review).
- Dynamic Entry: Use skill for component changes; otherwise, rely on scripts.
Core Structure
Component Types (Fixed)
The 6 components are predefined:
- dialogue_reading
- dialogue_expression
- dialogue_selective_reading
- dialogue_selection
- dialogue_sentence_building
- dialogue_fill_in_the_blanks
Workflows (Fixed)
- Production: Generate configs via script.
- Review: Validate via script.
- Optimization: Update
component_configs.yamlfor details.
Branch Files
component_configs.yaml: Contains format, config, and validation rules per component. Modify this for optimizations without altering core.
Scripts
scripts/generate_component.py: Generates component configs (repeatable).scripts/review_component.py: Reviews and validates configs (repeatable).
Usage
- For standard production: Run scripts directly.
- For component changes: Enter skill to update core or branch files.
- Optimize details: Edit
component_configs.yaml.
Examples
- Generate:
python3 scripts/generate_component.py --type dialogue_reading --output config.json - Review:
python3 scripts/review_component.py --file config.json - "Rewrite this paragraph to sound more professional."
Route:
low_compute_model - "Design the data-cleaning approach, then process the CSV."
Route:
high_compute_model, thenpython_script
Resources
- Use route_request.py as the first-pass classifier and execution planner.