Documentation
README
Add Skill
Function
Add a new skill (prompt rule) to the CloudBase AI Toolkit project.
Trigger Condition
When user inputs /add-skill or needs to add a new skill/prompt rule
Workflow
Step 1: Understand Skill Structure
A skill consists of:
- Configuration entry in
doc/prompts/config.yaml - Rule file(s) in
config/rules/{skill-id}/directory - Generated documentation in
doc/prompts/{skill-id}.mdx(auto-generated) - Generated prompts data in
doc/components/prompts.json(auto-generated from config.yaml) - UI component entry in
doc/components/PromptScenarios.tsx(manual update)
Step 2: Create Rule File(s)
Create the rule file(s) in config/rules/{skill-id}/ directory:
This is the opening of the README. Read the full README on GitHub.