2.2 KiB
2.2 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. |
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.