Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

extension-guide-v3扩展指南 v3

Agent Skill

extension-guide-v3 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

489

周安装

21

GitHub Stars

12

下载量

171
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:extension-guide-v3(扩展指南 v3)
来源仓库:https://github.com/pacphi/sindri
仓库路径:skills/extension-guide-v3
安装命令:
npx skills add https://github.com/pacphi/sindri --skill extension-guide-v3
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/pacphi/sindri --skill extension-guide-v3

简介

extension-guide-v3 介绍 Rust 驱动的 Sindri V3 扩展开发规范。

  • 扩展位于 v3/extensions/,使用 v3/schemas/extension.schema.json 校验。
  • 新增 ai、agents 等 AI 相关分类,兼容矩阵独立维护。
  • 支持 sindri extension docs <name> 自动生成扩展说明文档。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Sindri V3 Extension Development Guide

V3 extensions are YAML-driven, declarative configurations for the modern Rust-based Sindri CLI platform.

V3 Paths and Resources

ResourcePath
Extensions Directoryv3/extensions/
Registryv3/registry.yaml
Schemav3/schemas/extension.schema.json
Compatibility Matrixv3/compatibility-matrix.yaml
Extension DocsGenerated on-demand via sindri extension docs <name>
Catalogv3/docs/EXTENSIONS.md

V3 Categories

# Valid V3 categories (different from V2!)
- ai-agents      # AI agent frameworks
- ai-dev         # AI development tools
- claude         # Claude-specific tools
- cloud          # Cloud provider tools
- desktop        # Desktop environments
- devops         # DevOps/CI/CD tools
- documentation  # Documentation tools
- languages      # Programming runtimes
- mcp            # Model Context Protocol servers
- productivity   # Productivity tools
- research       # Research tools
- testing        # Testing frameworks

Quick Start Checklist

  1. Create directory: v3/extensions/{name}/
  2. Create extension.yaml with required sections
  3. Validate: sindri extension validate {name}
  4. Test: sindri extension install {name}
  5. Add docs section to extension.yaml (optional, for human-written content)
  6. Update catalog: v3/docs/EXTENSIONS.md
  7. Add to registry: v3/registry.yaml (alphabetically by category)
  8. Add to compatibility matrix: v3/compatibility-matrix.yaml (see Compatibility Matrix Management)

Extension Directory Structure

v3/extensions/{name}/
├── extension.yaml       # Required: Main definition
├── mise.toml            # Optional: mise configuration
├── scripts/             # Optional: Custom scripts
│   ├── install.sh
│   └── uninstall.sh
├── templates/           # Optional: Config templates
│   └── SKILL.md         # Project context file
└── resources/           # Optional: Additional resources

Minimal Extension Template

metadata:
  name: my-extension
  version: 1.0.0
  description: Brief description (10-200 chars)
  category: ai-dev  # Use V3 categories!
  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:
      - gpgKey: https://download.docker.com/linux/ubuntu/gpg
        sources: "deb [arch=amd64] https://download.docker.com/linux/ubuntu jammy stable"
    packages:
      - docker-ce
    updateFirst: true

binary (Direct download - Enhanced in V3)

install:
  method: binary
  binary:
    downloads:
      - name: tool
        source:
          type: github-release  # or: direct-url
          url: https://github.com/org/repo
          asset: "tool-linux-amd64.tar.gz"
          version: latest
        destination: ~/.local/bin/tool
        extract: true

npm-global (V3-only method)

install:
  method: npm-global
  npm:
    package: "@scope/package@latest"

script (Custom installation)

install:
  method: script
  script:
    path: scripts/install.sh
    args: ["--option", "value"]
    timeout: 600  # V3 default is 600s

hybrid (Multiple methods)

install:
  method: hybrid
  hybrid:
    steps:
      - method: apt
        apt:
          packages: [build-essential]
      - method: script
        script:
          path: scripts/install.sh

Requirements (V3 Enhanced)

requirements:
  domains:
    - api.github.com
    - registry.npmjs.org
  diskSpace: 500          # MB required
  memory: 256             # MB runtime memory
  installTime: 120        # Estimated seconds
  installTimeout: 600     # Max timeout
  validationTimeout: 30   # Validation timeout
  secrets:
    - GITHUB_TOKEN
  gpu:                    # V3-only: GPU requirements
    required: false
    recommended: true
    type: nvidia          # nvidia, amd, any
    minCount: 1
    minMemory: 4096       # MB
    cudaVersion: "12.0"

Capabilities (Optional - Advanced Extensions)

project-init (with priority)

capabilities:
  project-init:
    enabled: true
    priority: 50          # V3-only: Lower = earlier execution
    commands:
      - command: "mytool init --force"
        description: "Initialize mytool"
        requiresAuth: anthropic
        conditional: false
    state-markers:
      - path: ".mytool"
        type: directory
    validation:
      command: "mytool --version"
      expectedPattern: "^\\d+\\.\\d+"

auth (Multi-method)

capabilities:
  auth:
    provider: anthropic   # anthropic, openai, github, custom
    required: false
    methods: [api-key, cli-auth]
    envVars: [ANTHROPIC_API_KEY]
    validator:
      command: "claude --version"
      expectedExitCode: 0
    features:
      - name: agent-spawn
        requiresApiKey: false
        description: "Works with CLI auth"
      - name: api-integration
        requiresApiKey: true
        description: "Requires API key"

hooks (Lifecycle)

capabilities:
  hooks:
    pre-install:
      command: "echo 'Pre-install'"
      description: "Preparation"
    post-install:
      command: "mytool doctor"
      description: "Health check"
    pre-project-init:
      command: "mytool check"
    post-project-init:
      command: "echo 'Ready'"

mcp (MCP Server Registration)

capabilities:
  mcp:
    enabled: true
    server:
      command: "npx"
      args: ["-y", "@mytool/mcp-server", "start"]
      env:
        MYTOOL_MCP_MODE: "1"
    tools:
      - name: "mytool-action"
        description: "Perform action"
      - name: "mytool-query"
        description: "Query data"

project-context (V3-only: CLAUDE.md merging)

capabilities:
  project-context:
    enabled: true
    mergeFile:
      source: templates/SKILL.md
      target: CLAUDE.md
      strategy: append-if-missing  # append, prepend, merge, replace, append-if-missing

features (Advanced feature flags)

capabilities:
  features:
    core:
      daemon_autostart: true
      flash_attention: true
      unified_config: true
    swarm:
      default_topology: hierarchical-mesh
      consensus_algorithm: raft
    llm:
      default_provider: anthropic
      load_balancing: false
    advanced:
      sona_learning: false
      security_scanning: true
      claims_system: false
      plugin_system: true
    mcp:
      transport: stdio  # stdio, http, websocket

collision-handling (V3-only: Smart conflict resolution)

capabilities:
  collision-handling:
    enabled: true

    # Conflict rules for specific files
    conflict-rules:
      - path: "CLAUDE.md"
        type: file
        on-conflict:
          action: append  # overwrite, append, prepend, merge-json, merge-yaml, backup, skip, prompt
          separator: "\n\n---\n\n"

      - path: ".claude"
        type: directory
        on-conflict:
          action: merge
          backup: true

      - path: ".claude/config.json"
        type: file
        on-conflict:
          action: merge-json

    # Version detection markers
    version-markers:
      - path: ".claude/config.json"
        type: file
        version: "v3"
        detection:
          method: content-match
          patterns: ["\"version\":\\s*\"3\\."]

      - path: ".claude"
        type: directory
        version: "v2"
        detection:
          method: directory-exists
          exclude-if: [".claude/config.json"]

    # Upgrade scenarios
    scenarios:
      - name: v2-to-v3-upgrade
        detected-version: "v2"
        installing-version: "v3"
        action: prompt
        message: "Detected v2 configuration. Upgrade to v3?"
        options:
          - label: "Upgrade (backup existing)"
            action: backup
            backup-suffix: ".v2-backup-{timestamp}"
          - label: "Skip v3 config"
            action: skip

Validation Commands

# Validate extension
sindri extension validate my-extension

# Install extension
sindri extension install my-extension

# List extensions
sindri extension list

# Check extension status
sindri extension status my-extension

# Preview generated documentation
sindri extension docs my-extension

Docs Section (Optional - Human-Written Content)

The docs section provides human-written content that is combined with auto-derived content (BOM, requirements, env vars, validation) when generating documentation via sindri extension docs <name>. Documentation is generated on-demand and does not require manually creating markdown files.

docs:
  title: string           # Display name (fallback: title-case of metadata.name)
  overview: string         # Extended description (fallback: metadata.description)
  last-updated: string     # ISO date (YYYY-MM-DD)
  features:                # Key features bullet list
    - "Feature one"
    - "Feature two"
  usage:                   # Usage examples grouped by section
    - section: "Getting Started"
      examples:
        - description: "Check version"
          code: "mytool --version"
          language: "bash"
        - code: |
            mytool init
            mytool run
  related:                 # Related extensions
    - name: other-extension
      description: "Provides complementary tooling"
  notes: string            # Freeform notes (markdown supported)
FieldTypeRequiredDescription
titlestringNoDisplay name (fallback: title-case of metadata.name)
overviewstringNoExtended description (fallback: metadata.description)
last-updatedstringNoISO date (YYYY-MM-DD) of last content update
featuresarray[string]NoKey features as bullet points
usagearray[object]NoUsage examples grouped by section
usage[].sectionstringYesSection heading for the example group
usage[].examplesarrayYesList of code examples
usage[].examples[].descriptionstringNoDescription of what the example shows
usage[].examples[].codestringYesCode snippet
usage[].examples[].languagestringNoLanguage hint for syntax highlighting (default: bash)
relatedarray[object]NoRelated extensions
related[].namestringYesExtension name
related[].descriptionstringNoWhy the extension is related
notesstringNoFreeform notes (markdown supported)

BOM Tool Types

The bom.tools[].type field uses kebab-case values. The Rust enum uses #[serde(rename_all = "kebab-case")], so multi-word variants are hyphenated.

IMPORTANT: Use cli-tool, NOT cli. Use package-manager, NOT package-manager shorthand.

YAML ValueRust VariantUse For
runtimeRuntimeLanguage runtimes (Node.js, Python, Ruby, Java)
compilerCompilerCompilers (GCC, rustc, javac)
package-managerPackageManagerPackage managers (npm, pip, cargo, apt)
cli-toolCliToolCLI tools and utilities (kubectl, aws-cli, docker)
libraryLibraryLibraries and SDKs
frameworkFrameworkFrameworks (Spring, Django, Rails)
databaseDatabaseDatabase engines (PostgreSQL, Redis, SQLite)
serverServerServer software (nginx, Apache)
utilityUtilitySystem utilities and helpers
applicationApplicationFull applications

Type Selection Guide

  • Most extensions should use cli-tool (the most common type)
  • Language extensions (nodejs, python, ruby): use runtime for the language, package-manager for its package manager
  • MCP servers: use server
  • AI agents/tools: use cli-tool (they are CLI tools, not applications)

Common Mistakes

WrongCorrectWhy
type: clitype: cli-toolcli is not a valid variant
type: tooltype: cli-tooltool is not a valid variant
type: package_managertype: package-managerMust use kebab-case (hyphens, not underscores)
type: CLI-Tooltype: cli-toolMust be lowercase

Common V3 Patterns

Language Runtime

metadata:
  name: nodejs
  version: 1.0.0
  description: Node.js LTS runtime
  category: languages  # V3 uses 'languages' not 'language'

install:
  method: mise
  mise:
    configFile: mise.toml

validate:
  commands:
    - name: node
      expectedPattern: "v\\d+\\.\\d+\\.\\d+"

bom:
  tools:
    - name: node
      version: dynamic
      source: mise
      type: runtime
      license: MIT

CLI Tool (e.g., AI coding assistant)

metadata:
  name: kilo
  version: 1.0.0
  description: AI coding assistant CLI
  category: ai-dev
  dependencies: [mise-config, nodejs]

install:
  method: mise
  mise:
    configFile: mise.toml
    reshimAfterInstall: true

validate:
  commands:
    - name: kilo
      versionFlag: --version
      expectedPattern: "\\d+\\.\\d+\\.\\d+"

bom:
  # NOTE: Versions researched 2026-02-16
  tools:
    - name: kilo
      version: "1.0.21"
      source: mise
      type: cli-tool       # NOT 'cli' - must be 'cli-tool'
      license: Apache-2.0
      homepage: https://kilo.ai
      purl: pkg:npm/%40kilocode/cli@1.0.21

MCP Server Extension

metadata:
  name: my-mcp
  version: 1.0.0
  description: MCP server for service integration
  category: mcp

install:
  method: npm-global
  npm:
    package: "@myorg/mcp-server@latest"

validate:
  commands:
    - name: my-mcp
      expectedPattern: "\\d+\\.\\d+"

capabilities:
  mcp:
    enabled: true
    server:
      command: "my-mcp"
      args: ["serve"]
    tools:
      - name: "service-query"
        description: "Query service data"

AI Agent Tool with Full Capabilities

metadata:
  name: claude-flow-v3
  version: 3.0.0
  description: Multi-agent orchestration with 10x performance
  category: ai-agents
  dependencies: [nodejs]

install:
  method: mise
  mise:
    configFile: mise.toml

configure:
  environment:
    - key: CF_SWARM_TOPOLOGY
      value: "hierarchical-mesh"
      scope: bashrc

capabilities:
  project-init:
    enabled: true
    priority: 50
    commands:
      - command: "claude-flow init --full"
        description: "Initialize Claude Flow v3"
        requiresAuth: anthropic

  auth:
    provider: anthropic
    methods: [api-key, cli-auth]
    features:
      - name: agent-spawn
        requiresApiKey: false
        description: "CLI features"

  hooks:
    post-install:
      command: "claude-flow doctor --check"
    post-project-init:
      command: "claude-flow status"

  mcp:
    enabled: true
    server:
      command: "npx"
      args: ["-y", "@claude-flow/cli@alpha", "mcp", "start"]
    tools:
      - name: "agent-spawn"
        description: "Spawn agents"
      - name: "swarm-coordinate"
        description: "Coordinate swarms"

  collision-handling:
    enabled: true
    conflict-rules:
      - path: ".claude"
        type: directory
        on-conflict:
          action: merge
          backup: true

  project-context:
    enabled: true
    mergeFile:
      source: templates/SKILL.md
      target: CLAUDE.md
      strategy: append-if-missing

V3-Specific Notes

  1. Extension Discovery: V3 auto-discovers extensions from v3/extensions/ directory, but v3/registry.yaml must be maintained for registry listing
  2. Rust Validation: V3 uses native Rust schema validation (faster, stricter)
  3. Enhanced Binary Downloads: Supports GitHub release asset patterns
  4. GPU Requirements: First-class GPU specification for AI workloads
  5. Collision Handling: Smart conflict resolution for cloned projects
  6. Project Context: Automatic CLAUDE.md file management
  7. Generated Docs: Extension documentation is generated on-demand via sindri extension docs <name> combining human-written docs section content with auto-derived data from the extension YAML

Post-Extension Checklist

After creating an extension:

  1. Preview docs: Run sindri extension docs <name> to preview generated documentation
  2. Catalog: v3/docs/EXTENSIONS.md (add to category table + extension list)
  3. Registry: v3/registry.yaml (add alphabetically under correct category)
  4. Test locally: sindri extension install {name} && sindri extension status {name}

Registry Entry Format

Add to v3/registry.yaml under the appropriate category section (alphabetically):

extensions:
  # Category Section (e.g., # MCP Servers)
  your-extension:
    category: "mcp"
    description: "Brief description matching extension.yaml"

Compatibility Matrix Management

When creating or modifying extensions, you MUST also update the compatibility matrix at v3/compatibility-matrix.yaml.

When to Update

  • New extension created - add entry to all applicable CLI version sections
  • Extension version bumped - update semver range if the new version falls outside existing range
  • Extension removed - remove entry from all CLI version sections

How to Add a New Extension

  1. Read v3/compatibility-matrix.yaml
  2. Read the new extension's extension.yaml to get metadata.version and metadata.category
  3. Add an entry under compatible_extensions in each CLI version section, placed alphabetically within the correct category comment group
  4. Use semver range format: ">=X.Y.Z,<NEXT_MAJOR.0.0"

Entry Format

compatible_extensions:
  # Category Comment (e.g., # MCP Servers)
  my-extension: ">=1.0.0,<2.0.0"

Determining the Category Comment Group

Map extension metadata.category to the matrix comment groups:

Extension CategoryMatrix Comment Group
ai-agents, ai-dev# AI & Agentic Tools
claude# Claude Ecosystem
cloud# Cloud & Infrastructure
devops# DevOps & Tools
mcp# MCP Servers
languages# Language extensions
desktop# Desktop & UI
testing# Testing
documentation# Documentation & Content
productivity, research# Productivity

Example: Adding notebooklm-mcp-cli (category: mcp, version: 1.0.0)

For a newly created extension, use the same range for all current CLI series — the extension is new, so there is no version difference between CLI series yet.

In the 3.0.x section, under # MCP Servers:

      notebooklm-mcp-cli: ">=1.0.0,<2.0.0"

In the 3.1.x section, under # MCP Servers:

      notebooklm-mcp-cli: ">=1.0.0,<2.0.0"

In the 4.0.x section, under # MCP Servers:

      notebooklm-mcp-cli: ">=2.0.0,<3.0.0"

Version Range Rules

CLI SeriesRange PatternNotes
3.0.x>=CURRENT,<NEXT_MAJORUse the extension's current metadata.version
3.1.x>=CURRENT,<NEXT_MAJORSame as 3.0.x unless this extension shipped a real software change for 3.1.x
4.0.x>=NEXT_MAJOR,<NEXT_NEXT_MAJORPlaceholder for future major version (aspirational, not enforced today)

Key principle: Only bump the minimum version for a CLI series when the extension itself ships a real software change for that series (actual BOM version updates, new features, changed install scripts). Do not auto-bump minimums just because a new CLI series exists.

Validation

After updating, verify:

  • Entries are alphabetically sorted within their category group
  • All three CLI version sections have an entry for the new extension
  • Semver ranges are valid (use >= and < operators)
  • No duplicate entries exist

Extension Version Upgrade

When a user asks to upgrade an extension's software versions, follow this introspection-and-research workflow.

Trigger Phrases

  • "upgrade extension X", "update versions for X", "check for newer versions in X"
  • "refresh versions", "bump versions", "update cloud-tools versions"

Step 1: Introspect the Extension

Read the extension directory to identify all version sources:

Version SourceWhere to LookExample
versions.envv3/extensions/{name}/versions.envAWS_VERSION="2.33.21"
mise.tomlv3/extensions/{name}/mise.tomlpython = "3.13"
extension.yaml BOMbom.tools[].version in extension.yamlversion: "2.33.21"
extension.yaml binaryinstall.binary.downloads[].source.versionversion: "v1.2.3"
install scriptsv3/extensions/{name}/scripts/install.shHardcoded version variables or download URLs
npm packageinstall.npm.package"@scope/pkg@1.2.3"

Build a version inventory - a list of every software component and its current pinned version.

Example inventory for cloud-tools:

aws-cli:     2.33.21  (versions.env: AWS_VERSION, bom)
azure-cli:   2.83.0   (versions.env: AZURE_CLI_VERSION, bom)
gcloud:      556.0.0  (versions.env: GCLOUD_VERSION, bom)
flyctl:      0.4.11   (versions.env: FLYCTL_VERSION, bom)
aliyun-cli:  3.2.9    (versions.env: ALIYUN_VERSION, bom)
doctl:       1.150.0  (versions.env: DOCTL_VERSION, bom)
ibmcloud:    2.41.1   (versions.env: IBM_VERSION, bom)

Step 2: Research Latest Versions

For each component in the inventory, use WebSearch to find the latest stable release version:

Search strategies by tool type:

Tool TypeSearch Query TemplateAuthoritative Sources
GitHub-hosted CLI"{tool-name} latest release site:github.com"GitHub releases page
Language runtime"{language} latest stable version {year}"Official language site
Cloud CLI"{cloud} CLI latest version {year}"Cloud provider docs
npm package"{package-name} npm latest version"npmjs.com
pip package"{package-name} pypi latest version"pypi.org
Cargo crate"{crate-name} crates.io latest"crates.io

Key rules:

  • Only consider stable releases (no alpha, beta, RC, nightly, dev)
  • For GitHub releases, use gh api repos/{owner}/{repo}/releases/latest via Bash when possible (faster and more reliable than web search)
  • Skip tools with version: dynamic or version: lts (these resolve at install time)
  • Include the current year in search queries for freshness

Step 3: Compare Versions

For each component, determine if the latest version is newer:

Semver comparison (most tools): Compare major.minor.patch numerically

  • 2.33.21 vs 2.35.0 -> newer (minor bump)
  • 0.4.11 vs 0.4.15 -> newer (patch bump)
  • 3.2.9 vs 3.2.9 -> same (skip)

Date-based versions (e.g., Google Cloud SDK 556.0.0): Compare as integers

  • 556.0.0 vs 563.0.0 -> newer

Symbolic versions (e.g., lts, latest): Skip - these auto-resolve

Step 4: Apply Updates

For each component with a newer version available, update ALL locations where the version appears:

4a. Update versions.env

# Before
AWS_VERSION="2.33.21"
# After
AWS_VERSION="2.35.0"

Also update the # Updated: date comment at the top of the file.

4b. Update mise.toml

# Before
[tools]
python = "3.13"
# After
[tools]
python = "3.14"

4c. Update extension.yaml BOM entries

bom:
  tools:
    - name: aws
      version: "2.35.0"      # Updated from 2.33.21
      purl: pkg:generic/awscli@2.35.0    # Update version in purl too
      cpe: cpe:2.3:a:amazon:aws_cli:2.35.0:*:*:*:*:*:*:*  # Update CPE if present

4d. Update install scripts (if versions are hardcoded)

Search for the old version string in scripts/install.sh and replace with the new version.

4e. Update npm package version (if pinned)

install:
  method: npm-global
  npm:
    package: "@scope/package@2.0.0"  # Updated from 1.5.0

4f. Update bom comment date

bom:
  # NOTE: Versions researched YYYY-MM-DD

4g. Update docs.last-updated

docs:
  last-updated: "YYYY-MM-DD"

Step 5: Bump Extension Version and Update References

After updating software versions, bump the extension's own metadata.version:

  • Patch bump (e.g., 2.1.0 -> 2.1.1): Only patch-level software updates
  • Minor bump (e.g., 2.1.0 -> 2.2.0): Minor or mixed software version updates
  • Major bump (e.g., 2.1.0 -> 3.0.0): Major software version update (e.g., Python 3.x -> 4.x)

Then update all external references to the extension version:

  1. v3/docs/EXTENSIONS.md - Update the version number shown in the extensions catalog
  2. v3/compatibility-matrix.yaml - Ensure the new version falls within the semver range; if not, update the range (see Compatibility Matrix Management)
  3. v3/registry.yaml - Update description if the extension's capabilities changed

When NOT to Bump

  • Do NOT bump metadata.version if only the CLI version changed but the extension's software, install scripts, configuration, and capabilities remain identical. metadata.version tracks extension content changes (software versions, install methods, config, BOM), not CLI release cadence.
  • Do NOT inflate compatibility matrix ranges to require higher minimums for extensions with no changes. If extension v1.0.0 works fine with CLI 3.1.x, the range should still say >=1.0.0. The matrix should reflect reality.
  • Do NOT auto-bump 3.1.x minimums for newly created extensions. A new extension gets the same range across all current CLI series since there is no version difference yet.

Step 6: Report Changes

Present a summary table to the user:

Extension: cloud-tools (2.1.0 -> 2.2.0)

| Component    | Old Version | New Version | Change Type |
|-------------|-------------|-------------|-------------|
| aws-cli     | 2.33.21     | 2.35.0      | minor       |
| azure-cli   | 2.83.0      | 2.84.0      | minor       |
| gcloud      | 556.0.0     | 563.0.0     | minor       |
| flyctl      | 0.4.11      | 0.4.11      | (current)   |
| aliyun-cli  | 3.2.9       | 3.2.9       | (current)   |
| doctl       | 1.150.0     | 1.152.0     | minor       |
| ibmcloud    | 2.41.1      | 2.41.1      | (current)   |

Files modified:
- v3/extensions/cloud-tools/versions.env
- v3/extensions/cloud-tools/extension.yaml (bom + metadata.version)
- v3/docs/EXTENSIONS.md (version reference updated)
- v3/compatibility-matrix.yaml (if version range needed adjustment)

Skipping Upgrades

Some version types should NOT be upgraded automatically:

  • version: dynamic - resolved at install time
  • version: lts - symbolic, always resolves to latest LTS
  • version: latest - always resolves to latest
  • Tools where the extension description explicitly states a specific major version constraint (e.g., "Python 3.x runtime" should not jump to Python 4.x)

Troubleshooting

IssueSolution
Invalid categoryUse V3 categories (ai-agents, languages, etc.)
Binary download failsCheck GitHub asset pattern
Collision not detectedVerify version-markers paths
MCP not registeringCheck server command and args
GPU validation failsEnsure proper CUDA setup
Missing from compat matrixRun through Compatibility Matrix Management
Version upgrade missed a fileCheck all locations: versions.env, mise.toml, bom, scripts, purl, cpe

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.56%
按下载量换算63

Claude

33.31%
按下载量换算57

Cursor

18.21%
按下载量换算31

Gemini CLI

9.41%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills