implement-destinationlisted
Install: claude install-skill segmentio/action-destinations
# Destination Implementation Generator
This skill generates complete Segment action-destination code from analysis documents and user-selected actions.
**Supported Analysis Sources:**
- OpenAPI specifications (via `/openapi-analyze`)
- Website documentation (via `/web-analyze`)
- Any analysis document following the Standard Analysis Format
All analysis documents must follow the format defined in `.claude/skills/implement-destination/analysis-format.md`.
## Instructions
### Step 1: Gather Inputs
Ask the user for the following information:
1. **Analysis Document Path** - Path to the analysis markdown file (should be in `packages/destination-actions/.claude/openapi-analyses/`)
2. **Destination Name** - Human-readable name (e.g., "Acme Marketing", "Braze")
3. **Destination Slug** - Auto-suggest based on name (e.g., "acme-marketing" from "Acme Marketing")
- Remove "actions-" prefix if user includes it - this is added automatically to the path
- Use lowercase, hyphens instead of spaces
4. **Selected Actions** - Comma-separated list of action names to implement (from the analysis doc)
### Step 2: Parse Analysis Document
Read the analysis markdown file and extract:
- API name, version, base URL
- Authentication scheme and required fields
- Test authentication endpoint
- Selected action specifications:
- Endpoint path and method
- Operation ID
- Description
- Field mappings table
- Request body schema
- Batch support
- Default subscription
### Step 3: C