# Translation

Convert skills between AI agent formats

## Basic Translation

```
skillkit translate react-patterns --to cursor
```

## Translate All

```
skillkit translate --all --to windsurf
```

## Preview Mode

```
skillkit translate my-skill --to codex --dry-run
```

## Batch Translation

```
skillkit agent translate --source ./my-skills --to cursor
skillkit agent translate --source ./skills --to cursor --recursive
```

## Format Mapping

| Source     | Target   | Notes                     |
|------------|----------|---------------------------|
| SKILL.md   | .mdc    | Cursor format             |
| SKILL.md   | Markdown | GitHub Copilot            |
| .mdc      | SKILL.md | Reverse conversion        |

## How It Works

```
Universal Format (SKILL.md)
        ↓
    Adapter Interface
        ↓
Agent-Specific Formats
```

Each adapter implements:

- `getConfigPath()` \- Returns skill directory
- `generateConfig()` \- Converts content to target format
