Initial commit
This commit is contained in:
26
skills/skill-creator/templates/CHANGELOG.md.j2
Normal file
26
skills/skill-creator/templates/CHANGELOG.md.j2
Normal file
@@ -0,0 +1,26 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to the {{ skill_name }} skill will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [{{ version }}] - {{ date }}
|
||||
|
||||
### Added
|
||||
- Initial release of {{ skill_name }}
|
||||
{% for feature in initial_features -%}
|
||||
- {{ feature }}
|
||||
{% endfor %}
|
||||
|
||||
### Features
|
||||
{% for feature in key_features -%}
|
||||
- **{{ feature.name }}**: {{ feature.description }}
|
||||
{% endfor %}
|
||||
|
||||
### Status
|
||||
- Proof of concept
|
||||
- Tested locally on 1-2 projects
|
||||
- Ready for community feedback and testing
|
||||
|
||||
[{{ version }}]: https://github.com/cskiro/claudex/releases/tag/{{ skill_name }}@{{ version }}
|
||||
109
skills/skill-creator/templates/README.md.j2
Normal file
109
skills/skill-creator/templates/README.md.j2
Normal file
@@ -0,0 +1,109 @@
|
||||
# {{ skill_title }}
|
||||
|
||||
{{ description }}
|
||||
|
||||
## Quick Start
|
||||
|
||||
```
|
||||
User: "{{ trigger_phrases[0] }}"
|
||||
```
|
||||
|
||||
Claude will:
|
||||
1. [Action 1]
|
||||
2. [Action 2]
|
||||
3. [Action 3]
|
||||
|
||||
## Features
|
||||
|
||||
### Feature 1: [Feature Name]
|
||||
- [Capability 1]
|
||||
- [Capability 2]
|
||||
- [Capability 3]
|
||||
|
||||
### Feature 2: [Feature Name]
|
||||
- [Capability 1]
|
||||
- [Capability 2]
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
/plugin install {{ skill_name }}@claudex
|
||||
```
|
||||
|
||||
Or manually:
|
||||
|
||||
```bash
|
||||
cp -r {{ skill_name }} ~/.claude/skills/
|
||||
```
|
||||
|
||||
## Usage Examples
|
||||
|
||||
### Example 1: [Scenario Name]
|
||||
|
||||
**Scenario:** [Description of scenario]
|
||||
|
||||
```
|
||||
User: "{{ trigger_phrases[0] }}"
|
||||
```
|
||||
|
||||
**Result:**
|
||||
- [Outcome 1]
|
||||
- [Outcome 2]
|
||||
|
||||
### Example 2: [Another Scenario]
|
||||
|
||||
**Scenario:** [Description of scenario]
|
||||
|
||||
```
|
||||
User: "{{ trigger_phrases[1] if trigger_phrases|length > 1 else trigger_phrases[0] }}"
|
||||
```
|
||||
|
||||
**Result:**
|
||||
- [Outcome 1]
|
||||
- [Outcome 2]
|
||||
|
||||
## Requirements
|
||||
|
||||
- [Requirement 1]
|
||||
- [Requirement 2]
|
||||
|
||||
## Configuration
|
||||
|
||||
{% if has_config %}
|
||||
[TODO: Describe configuration options]
|
||||
{% else %}
|
||||
No additional configuration required.
|
||||
{% endif %}
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Issue 1: [Issue Name]
|
||||
**Problem:** [Description]
|
||||
**Solution:** [Steps to resolve]
|
||||
|
||||
### Issue 2: [Issue Name]
|
||||
**Problem:** [Description]
|
||||
**Solution:** [Steps to resolve]
|
||||
|
||||
## Best Practices
|
||||
|
||||
- [Practice 1]
|
||||
- [Practice 2]
|
||||
- [Practice 3]
|
||||
|
||||
## Limitations
|
||||
|
||||
- [Limitation 1]
|
||||
- [Limitation 2]
|
||||
|
||||
## Contributing
|
||||
|
||||
See [CONTRIBUTING.md](https://github.com/cskiro/claudex/blob/main/CONTRIBUTING.md) for contribution guidelines.
|
||||
|
||||
## License
|
||||
|
||||
Apache 2.0
|
||||
|
||||
## Version History
|
||||
|
||||
See [CHANGELOG.md](./CHANGELOG.md) for version history.
|
||||
124
skills/skill-creator/templates/SKILL.md.j2
Normal file
124
skills/skill-creator/templates/SKILL.md.j2
Normal file
@@ -0,0 +1,124 @@
|
||||
---
|
||||
name: {{ skill_name }}
|
||||
version: {{ version }}
|
||||
description: {{ description }}
|
||||
author: {{ author }}
|
||||
---
|
||||
|
||||
# {{ skill_title }}
|
||||
|
||||
## Overview
|
||||
|
||||
{{ detailed_description }}
|
||||
|
||||
## When to Use This Skill
|
||||
|
||||
**Trigger Phrases:**
|
||||
{% for phrase in trigger_phrases -%}
|
||||
- "{{ phrase }}"
|
||||
{% endfor %}
|
||||
**Use Cases:**
|
||||
{% for use_case in use_cases -%}
|
||||
- {{ use_case }}
|
||||
{% endfor %}
|
||||
|
||||
## Response Style
|
||||
|
||||
- **Characteristic 1**: [TODO: Define first response characteristic]
|
||||
- **Characteristic 2**: [TODO: Define second response characteristic]
|
||||
- **Characteristic 3**: [TODO: Define third response characteristic]
|
||||
|
||||
{% if has_modes %}
|
||||
## Quick Decision Matrix
|
||||
|
||||
```
|
||||
User Request → Mode → Action
|
||||
───────────────────────────────────────────────────────────
|
||||
{% for mode in modes -%}
|
||||
"{{ mode.trigger }}" → {{ mode.name }} → {{ mode.action }}
|
||||
{% endfor -%}
|
||||
```
|
||||
|
||||
## Mode Detection Logic
|
||||
|
||||
```javascript
|
||||
{% for mode in modes -%}
|
||||
// Mode {{ loop.index }}: {{ mode.name }}
|
||||
if (userMentions("{{ mode.keyword }}")) {
|
||||
return "{{ mode.name|lower|replace(' ', '-') }}";
|
||||
}
|
||||
|
||||
{% endfor -%}
|
||||
// Ambiguous - ask user
|
||||
return askForClarification();
|
||||
```
|
||||
|
||||
{% endif %}
|
||||
## Core Responsibilities
|
||||
|
||||
### 1. [First Responsibility]
|
||||
- ✓ [Detail 1]
|
||||
- ✓ [Detail 2]
|
||||
- ✓ [Detail 3]
|
||||
|
||||
### 2. [Second Responsibility]
|
||||
- ✓ [Detail 1]
|
||||
- ✓ [Detail 2]
|
||||
|
||||
## Workflow
|
||||
|
||||
{% if has_phases %}
|
||||
{% for phase in phases %}
|
||||
### Phase {{ loop.index }}: {{ phase.name }}
|
||||
{% for step in phase.steps -%}
|
||||
{{ loop.index }}. {{ step }}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
### Phase 1: Initial Assessment
|
||||
1. [Step 1]
|
||||
2. [Step 2]
|
||||
3. [Step 3]
|
||||
|
||||
### Phase 2: Main Operation
|
||||
1. [Step 1]
|
||||
2. [Step 2]
|
||||
|
||||
### Phase 3: Verification
|
||||
1. [Step 1]
|
||||
2. [Step 2]
|
||||
{% endif %}
|
||||
|
||||
## Error Handling
|
||||
|
||||
Common issues and how to handle them:
|
||||
- **Error 1**: [Solution]
|
||||
- **Error 2**: [Solution]
|
||||
|
||||
## Success Criteria
|
||||
|
||||
- [ ] [Criterion 1]
|
||||
- [ ] [Criterion 2]
|
||||
- [ ] [Criterion 3]
|
||||
|
||||
{% if has_reference_materials %}
|
||||
## Reference Materials
|
||||
|
||||
See additional documentation in:
|
||||
{% if has_data_dir -%}
|
||||
- `data/` - Best practices and standards
|
||||
{% endif -%}
|
||||
{% if has_modes_dir -%}
|
||||
- `modes/` - Detailed mode workflows
|
||||
{% endif -%}
|
||||
{% if has_examples_dir -%}
|
||||
- `examples/` - Sample outputs
|
||||
{% endif -%}
|
||||
{% if has_templates_dir -%}
|
||||
- `templates/` - Reusable templates
|
||||
{% endif -%}
|
||||
{% endif %}
|
||||
|
||||
---
|
||||
|
||||
**Remember:** [TODO: Add key reminder about using this skill effectively]
|
||||
39
skills/skill-creator/templates/plugin.json.j2
Normal file
39
skills/skill-creator/templates/plugin.json.j2
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"name": "{{ skill_name }}",
|
||||
"version": "{{ version }}",
|
||||
"description": "{{ description }}",
|
||||
"author": "{{ author }}",
|
||||
"license": "Apache-2.0",
|
||||
"homepage": "https://github.com/cskiro/claudex/tree/main/{{ skill_name }}",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/cskiro/claudex"
|
||||
},
|
||||
"keywords": [
|
||||
{% for keyword in keywords -%}
|
||||
"{{ keyword }}"{% if not loop.last %},{% endif %}
|
||||
|
||||
{% endfor -%}
|
||||
],
|
||||
{% if has_requirements -%}
|
||||
"requirements": {
|
||||
{% for req, version in requirements.items() -%}
|
||||
"{{ req }}": "{{ version }}"{% if not loop.last %},{% endif %}
|
||||
|
||||
{% endfor -%}
|
||||
},
|
||||
{% endif -%}
|
||||
"components": {
|
||||
"agents": [
|
||||
{
|
||||
"name": "{{ skill_name }}",
|
||||
"manifestPath": "SKILL.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
"metadata": {
|
||||
"category": "{{ category }}",
|
||||
"status": "proof-of-concept",
|
||||
"tested": "1-2 projects locally"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user