Skill with Assets
Description: Demonstrates how skills can bundle data files and configuration templates.
When to use: When a skill needs to reference structured data, templates, or configuration files.
Workflow
- Identify that configuration or data is needed
- Load the appropriate asset from
assets/directory - Parse and use the data
Available Assets
config.json- Example configuration file demonstrating bundled data
Key Points
- Assets can be JSON, YAML, templates, etc.
- Assets are loaded on-demand (progressive disclosure)
- Useful for configuration, templates, test data
- Assets should be static data, not code
Example Usage
User asks: "Show me the config" Response:
- Read
assets/config.json - Parse the JSON
- Present the configuration
When to Bundle Assets
Bundle assets when you need:
- Configuration templates
- Test data or fixtures
- Reference tables or mappings
- Example files
- Static structured data
Scan to join WeChat group