extension-guide-v2
БесплатноБез исполняемых скриптовНе проверенCreate Sindri V2 extensions for the Bash/Docker platform. Use when creating V2 extensions, understanding V2 extension.yaml structure, validating against V2…
от pacphi★ 17 звёзд на GitHubОб этом скилле
Sindri V2 Extension Development Guide
V2 extensions are YAML-driven, declarative configurations for the Bash/Docker-based Sindri platform.
V2 Paths and Resources
| Resource | Path |
|---|---|
| Extensions Directory | v2/docker/lib/extensions/ |
| Schema | v2/docker/lib/schemas/extension.schema.json |
| Registry | v2/docker/lib/registry.yaml |
| Categories | v2/docker/lib/categories.yaml |
| Profiles | v2/docker/lib/profiles.yaml |
| Extension Docs | docs/extensions/{NAME}.md |
| VisionFlow Docs | docs/extensions/vision-flow/VF-{NAME}.md |
V2 Categories
# Valid V2 categories
- base # Core system components
- agile # Project management (Jira, Linear)
- language # Programming runtimes
- dev-tools # Development tools
- infrastructure # Cloud/container tools
- ai # AI/ML tools
- database # Database servers
- monitoring # Observability tools
- mobile # Mobile SDKs
- desktop # GUI environments
- utilities # General tools
Quick Start Checklist
- Create directory:
v2/docker/lib/extensions/{name}/ - Create
extension.yamlwith required sections - Add to
v2/docker/lib/registry.yaml - Validate:
./v2/cli/extension-manager validate {name} - Test:
./v2/cli/extension-manager install {name} - Create docs:
docs/extensions/{NAME}.md - Update catalog:
v2/docs/EXTENSIONS.md
Extension Directory Structure
v2/docker/lib/extensions/{name}/
├── extension.yaml # Required: Main definition
├── mise.toml # Optional: mise configuration
├── scripts/ # Optional: Custom scripts
│ ├── install.sh
│ ├── uninstall.sh
│ └── validate.sh
└── templates/ # Optional: Config templates
└── config.template
Minimal Extension Template
metadata:
name: my-extension
version: 1.0.0
description: Brief description (10-200 chars)
category: dev-tools
dependencies: []
install:
method: mise
mise:
configFile: mise.toml
validate:
commands:
- name: mytool
versionFlag: --version
expectedPattern: "v\\d+\\.\\d+\\.\\d+"
Install Methods
mise (Recommended for language tools)
install:
method: mise
mise:
configFile: mise.toml
reshimAfterInstall: true
apt (System packages)
install:
method: apt
apt:
repositories:
- name: docker
key: https://download.docker.com/linux/ubuntu/gpg
url: https://download.docker.com/linux/ubuntu
suite: jammy
component: stable
packages:
- docker-ce
- docker-ce-cli
binary (Direct download)
install:
method: binary
binary:
url: https://github.com/org/repo/releases/download/v1.0.0/tool.tar.gz
extract: tar.gz # tar.gz, zip, or none
destination: ~/.local/bin/tool
npm (Node.js packages)
install:
method: npm
npm:
packages:
- typescript
- [email protected]
global: true
script (Custom installation)
install:
method: script
script:
path: scripts/install.sh
timeout: 300
hybrid (Multiple methods)
install:
method: hybrid
hybrid:
steps:
- method: apt
apt:
packages: [build-essential]
- method: script
script:
path: scripts/install.sh
Capabilities (Optional - Advanced Extensions)
Most extensions don't need capabilities. Only use for extensions requiring:
- Project initialization (e.g.,
claude-flow init) - Authentication validation
- Lifecycle hooks
- MCP server registration
capabilities:
# Project initialization
project-init:
enabled: true
commands:
- command: "mytool init --force"
description: "Initialize mytool"
requiresAuth: anthropic # or: openai, github, none
conditional: false
state-markers:
- path: ".mytool"
type: directory
description: "Config directory"
validation:
command: "mytool --version"
expectedPattern: "^\\d+\\.\\d+"
# Authentication
auth:
provider: anthropic
required: false
methods: [api-key, cli-auth]
envVars: [ANTHROPIC_API_KEY]
validator:
command: "claude --version"
expectedExitCode: 0
features:
- name: agent-spawn
requiresApiKey: false
description: "CLI-based features"
# Lifecycle hooks
hooks:
pre-install:
command: "echo 'Preparing...'"
description: "Pre-install checks"
post-install:
command: "mytool --version"
description: "Verify installation"
# MCP server
mcp:
enabled: true
server:
command: "npx"
args: ["-y", "@mytool/mcp", "start"]
env:
MYTOOL_MCP_MODE: "1"
tools:
- name: "mytool-action"
description: "Perform action"
Registry Entry
Add to v2/docker/lib/registry.yaml:
extensions:
Установить extension-guide-v2 в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл extension-guide-v2?
Create Sindri V2 extensions for the Bash/Docker platform. Use when creating V2 extensions, understanding V2 extension.yaml structure, validating against V2 schema, or working with VisionFlow extensions. Covers mise, apt, binary, npm, script, hybrid install methods and the capabilities system.
Как установить скилл extension-guide-v2?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл extension-guide-v2 запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub