---
name: ourdigital-skill-creator
description: |
  Meta skill for creating OurDigital Claude Skills in Code environment.
  Activated with "ourdigital" keyword + skill creation requests.

  Triggers:
  - "ourdigital 스킬 만들기", "ourdigital skill creator"
  - "create ourdigital skill", "new ourdigital skill"

  Features:
  - Skill suitability evaluation
  - Interactive requirements gathering
  - Directory/file generation
  - Notion history sync
version: "1.0"
author: OurDigital
environment: Code
---

# OurDigital Skill Creator (Code)

Create and manage OurDigital Claude Skills with automated scaffolding.

## Activation

Only when "ourdigital" + skill-related request:
- "ourdigital 스킬 만들어줘"
- "create ourdigital skill for X"

## Quick Start

```bash
# Initialize new skill
python shared/scripts/init_skill.py {skill-name} --number XX

# Validate skill structure
python shared/scripts/validate_skill.py XX-ourdigital-{skill-name}

# Sync to Notion
python shared/scripts/sync_notion.py XX-ourdigital-{skill-name} --action=create
```

## Workflow

### 1. Suitability Check

Before creating, evaluate:

| Criterion | Pass? |
|-----------|-------|
| Clear trigger (includes "ourdigital") | |
| Focused scope (1-3 functions) | |
| Reusable resources needed | |
| Domain-specific knowledge | |
| No overlap with existing skills | |

≥3 passes → proceed with creation.

### 2. Requirements Q&A

Ask in sequence:

1. **Purpose**: Core function of the skill?
2. **Trigger**: When should it activate? (must include "ourdigital")
3. **Tools**: External APIs, MCPs, or scripts needed?
4. **Output**: Expected deliverables?
5. **Environment**: Desktop, Code, or Both?

### 3. Generate Structure

Create directories and files:

```bash
mkdir -p XX-ourdigital-{name}/{code,desktop,shared/{references,templates,scripts},docs/logs}
```

Generate files:
- `desktop/SKILL.md` - MCP-focused version
- `code/SKILL.md` - Action-oriented version
- `shared/references/` - Common documentation
- `docs/CHANGELOG.md` - Initial changelog
- `README.md` - Skill overview

### 4. YAML Frontmatter

Apply standard template:

```yaml
---
name: ourdigital-{skill-name}
description: |
  [One-line purpose]
  Activated with "ourdigital" keyword.

  Triggers:
  - "ourdigital {keyword1}"
  - "ourdigital {keyword2}"

  Features:
  - Feature 1
  - Feature 2
version: "1.0"
author: OurDigital
environment: Code
---
```

### 5. Validation Checklist

- [ ] Directory structure matches template
- [ ] SKILL.md in both code/ and desktop/
- [ ] "ourdigital" in description triggers
- [ ] Body content 800-1,200 words
- [ ] CHANGELOG.md initialized
- [ ] No conflicts with existing skills

### 6. Notion Sync

Record creation to Working with AI database:

```python
# Properties
{
  "Name": "ourdigital-{skill-name} v1.0",
  "Status": "Done",
  "AI used": "Claude Code",
  "AI summary": "Skill description"
}
```

## Scripts

| Script | Purpose |
|--------|---------|
| `init_skill.py` | Scaffold new skill directory |
| `validate_skill.py` | Check skill structure |
| `sync_notion.py` | Sync to Notion database |

## Skill Categories

| Number | Category |
|--------|----------|
| 01-09 | OurDigital Core |
| 10 | Meta (this skill) |
| 11-19 | SEO |
| 20-29 | GTM/Analytics |
| 31-39 | Notion |
| 40-49 | Jamie Clinic |

## Files Reference

```
10-ourdigital-skill-creator/
├── code/SKILL.md           # This file
├── desktop/SKILL.md        # Desktop version
├── shared/
│   ├── references/
│   │   ├── suitability-criteria.md
│   │   └── skill-patterns.md
│   ├── templates/
│   │   └── skill-template/
│   └── scripts/
│       ├── init_skill.py
│       ├── validate_skill.py
│       └── sync_notion.py
└── docs/
    ├── CHANGELOG.md
    └── logs/
```
