Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

sindri-extension-guide

БесплатноБез исполняемых скриптовНе проверен

Guide users through creating Sindri extensions. Use when creating new extensions, understanding extension.yaml structure, validating extensions against…

pacphiот pacphi★ 17 звёзд на GitHub16 установок в других каталогах

Об этом скилле

Sindri Extension Development Guide

What's New: Extension Capabilities System

Recent Addition (Jan 2026): Sindri now supports an optional capabilities system for advanced extensions:

  • Project Initialization - Commands to set up new projects (project-init)
  • Multi-Method Authentication - Support both API key and CLI auth (auth)
  • Lifecycle Hooks - Pre/post install and project-init hooks (hooks)
  • MCP Integration - Register as Model Context Protocol servers (mcp)

Most extensions don't need capabilities - they're only for extensions that extend project management functionality (like Claude Flow, Agentic QE, Spec-Kit). Regular extensions (nodejs, python, docker) work exactly as before.

Slash Commands (Recommended)

For reliable extension creation with all documentation updates, use these commands:

Command Purpose
/extension/new <name> [source] Create new extension with complete documentation workflow
/extension/update-docs <name> Update documentation for existing extension

Example:

/extension/new mdflow https://github.com/johnlindquist/mdflow
/extension/update-docs nodejs

These commands enforce the complete workflow including all required documentation updates.


Overview

This skill guides you through creating declarative YAML extensions for Sindri. Extensions are YAML files, not bash scripts - all configuration is driven by declarative YAML definitions.

Documentation Locations

IMPORTANT: After creating any extension, you must update the relevant documentation.

Key Documentation Files

Type Path Purpose
Schema v2/docker/lib/schemas/extension.schema.json Extension validation schema
Registry v2/docker/lib/registry.yaml Master extension registry
Profiles v2/docker/lib/profiles.yaml Extension profile definitions
Categories v2/docker/lib/categories.yaml Category definitions
Extension Docs docs/extensions/{NAME}.md Individual extension documentation
Catalog v2/docs/EXTENSIONS.md Overview of all extensions
Authoring Guide v2/docs/EXTENSION_AUTHORING.md Detailed authoring reference
Slides docs/slides/extensions.html Visual presentation

Quick Start Checklist

  1. Create directory: v2/docker/lib/extensions/{name}/
  2. Create extension.yaml with required sections
  3. Add to v2/docker/lib/registry.yaml
  4. Validate: ./v2/cli/extension-manager validate {name}
  5. Test: ./v2/cli/extension-manager install {name}
  6. Update documentation (see Post-Extension Checklist below)

Extension Directory Structure

v2/docker/lib/extensions/{extension-name}/
├── extension.yaml       # Required: Main definition
├── scripts/             # Optional: Custom scripts
│   ├── install.sh       # Custom installation
│   ├── uninstall.sh     # Custom removal
│   └── validate.sh      # Custom validation
├── templates/           # Optional: Config templates
│   └── config.template
└── mise.toml            # Optional: mise configuration

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+"

Extension YAML Sections

Extensions consist of required sections (metadata, install, validate) and optional sections (requirements, configure, remove, upgrade, bom, capabilities).

IMPORTANT: Capabilities are OPTIONAL - Most extensions (nodejs, python, docker, etc.) don't need capabilities. Only extensions requiring project initialization, authentication, lifecycle hooks, or MCP integration need the capabilities section.

1. Metadata (Required)

metadata:
  name: extension-name # lowercase with hyphens
  version: 1.0.0 # semantic versioning
  description: What it does # 10-200 characters
  category: dev-tools # see categories below
  author: Your Name # optional
  homepage: https://... # optional
  dependencies: # other extensions needed
    - nodejs
    - python

Valid Categories:

  • base - Core system components
  • language - Programming runtimes (Node.js,
Полный SKILL.md на GitHub

Установить sindri-extension-guide в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Glob
Grep
Bash
Write
Edit

Вложенные файлы

EXAMPLES.mdREFERENCE.md

FAQ

Что делает скилл sindri-extension-guide?

Guide users through creating Sindri extensions. Use when creating new extensions, understanding extension.yaml structure, validating extensions against schemas, or learning about extension installation methods (mise, apt, binary, npm, script, hybrid). Includes NEW capabilities system for project-init, authentication (multi-method API key + CLI auth), lifecycle hooks, and MCP integration. Helps with extension development, registry updates, and category assignment.

Как установить скилл sindri-extension-guide?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл sindri-extension-guide запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить sindri-extension-guide с