Add starter template for new skills

This commit is contained in:
Michael 2026-01-07 20:14:06 -06:00
parent 8bc7bcac35
commit 583cf2dec8
3 changed files with 50 additions and 0 deletions

View file

@ -35,6 +35,8 @@ Avoid duplicating Apple docs without adding value.
```bash
cp -r assets/templates/skill-template my-skill-name
mv my-skill-name/SKILL.template.md my-skill-name/SKILL.md
mv my-skill-name/references/example.template.md my-skill-name/references/topic.md
```
### 3. Write frontmatter

View file

@ -0,0 +1,28 @@
---
name: skill-name
description: What it does + when to invoke it. Include trigger keywords.
---
# Skill Title
## Overview
One to two sentences describing purpose.
## Workflow
### 1. First step
Actionable instruction.
```swift
// Code example
```
### 2. Next step
More instructions with examples.
## Reference material
- See `references/topic.md` for detailed patterns.

View file

@ -0,0 +1,20 @@
# Topic name
## Basic usage
```swift
// Minimal example showing the pattern
```
## Common patterns
| Pattern | Use case |
|---------|----------|
| Pattern A | When X |
| Pattern B | When Y |
## Advanced
```swift
// More complex example
```