EXAMPLE: Extension README
This is an example of what your extension README should look like after customization. Delete this file and replace README.md with content similar to this.
My Extension
Brief description of what your extension does and why it's useful.
Features
- Feature 1: Description
- Feature 2: Description
- Feature 3: Description
Installation
bash
# Install from catalog
specify extension add my-extension
# Or install from local development directory
specify extension add --dev /path/to/my-extensionConfiguration
Create configuration file:
bashcp .specify/extensions/my-extension/config-template.yml \ .specify/extensions/my-extension/my-extension-config.ymlEdit configuration:
bashvim .specify/extensions/my-extension/my-extension-config.ymlSet required values:
yamlconnection: url: "https://api.example.com" api_key: "your-api-key" project: id: "your-project-id"
Usage
Command: example
Description of what this command does.
bash
# In Claude Code
> /speckit.my-extension.examplePrerequisites:
- Prerequisite 1
- Prerequisite 2
Output:
- What this command produces
- Where results are saved
Configuration Reference
Connection Settings
| Setting | Type | Required | Description |
|---|---|---|---|
connection.url | string | Yes | API endpoint URL |
connection.api_key | string | Yes | API authentication key |
Project Settings
| Setting | Type | Required | Description |
|---|---|---|---|
project.id | string | Yes | Project identifier |
project.workspace | string | No | Workspace or organization |
Environment Variables
Override configuration with environment variables:
bash
# Override connection settings
export SPECKIT_MY_EXTENSION_CONNECTION_URL="https://custom-api.com"
export SPECKIT_MY_EXTENSION_CONNECTION_API_KEY="custom-key"Examples
Example 1: Basic Workflow
bash
# Step 1: Create specification
> /speckit.spec
# Step 2: Generate tasks
> /speckit.tasks
# Step 3: Use extension
> /speckit.my-extension.exampleTroubleshooting
Issue: Configuration not found
Solution: Create config from template (see Configuration section)
Issue: Command not available
Solutions:
- Check extension is installed:
specify extension list - Restart AI agent
- Reinstall extension