Token导航 LogoToken导航

Agent Skill · 运维和基础设施

plugin-validator(插件验证器)

plugin-validator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

plugin-validator 是运维和基础设施类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证为 MIT,第三方扫描已通过,按安装量在运维和基础设施类的 2,449 个 Skill 里排第 1,828。

总安装 376周安装 16GitHub Stars 127下载 132核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/anton-abyzov/specweave --skill plugin-validator

这个 Skill 是做什么的

运维和基础设施类 Skill 处理部署、监控、日志和云资源,多数需要较高的执行权限。

这项技能可确保您永远不会浪费时间调试插件问题。它主动验证您的环境,自动安装缺少的组件,并根据您的工作建议相关插件。结果:您专注于构建功能,而不是对设置进行故障排除。有问题吗?

检查上面的故障排除部分 运行specweave validate-plugins --help 访问:https://spec-weave.com/docs/plugin-validation 技能版本:1.0.0 推出:SpecWeave v0.9.4 最后更新:2025-11-09 每周安装量 16 存储库 安东阿比佐夫 GitHub 之星 127 第一次看到 2026 年 1 月 22 日 安全审计 Gen Agent Trust Hub 通行证

来源仓库内路径:skills/plugin-validator

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/anton-abyzov/specweave --skill plugin-validato…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

plugin-validator 怎么安装?

在终端执行 npx skills add https://github.com/anton-abyzov/specweave --skill plugin-validator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

plugin-validator 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

plugin-validator 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

plugin-validator 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

plugin-validator 用的人多吗?

公开数据是累计安装 376 次,近一周安装 16 次,下载 132 次,GitHub 127 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

plugin-validator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理运维和基础设施类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

运维和基础设施类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
brainstorming

头脑风暴 · Codex、Claude

3,148,776173,131操作浏览器MIT通过
copywriting

文案写作 · Codex、Claude

1,996,72425,583需要联网MIT通过
openclaw-secure-linux-cloud

OpenClaw secure linux cloud 命令行 · Codex、Claude

1,853,08840接触敏感数据未明确未通过
xget

xget 命令行 · Codex、Claude

1,799,28040执行命令未明确未通过
requesting-code-review

代码审查请求 · Codex、Claude

1,590,144173,103权限未标注MIT通过
plugin-validator

插件验证器 · 本页

376127操作浏览器MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Plugin Validator Skill

Purpose: Validate and install SpecWeave plugins when explicitly requested by the user.

Activation: Triggers ONLY when user explicitly requests plugin validation (e.g., "validate plugins", "check plugins", or runs specweave validate-plugins command). Does NOT auto-activate for workflow commands to prevent false positive errors.

What This Skill Does

This skill ensures that your SpecWeave environment is properly configured with all required plugins BEFORE you start working. It prevents frustrating errors and wasted time from missing components.

Key Features

  1. Marketplace Validation: Ensures SpecWeave marketplace is registered in ~/.claude/settings.json
  2. Core Plugin Check: Verifies specweave plugin is installed
  3. Context Detection: Analyzes your increment description and suggests relevant plugins
  4. Auto-Installation: Can automatically install missing components (with your permission)
  5. Clear Guidance: Shows exactly what's missing and how to fix it

When This Skill Activates

✅ ONLY activates when explicitly requested:

  • You mention "plugin validation" or "validate plugins"
  • You mention "environment setup" or "check plugins"
  • You run: specweave validate-plugins
  • You ask: "Can you validate my plugins?"
  • You report: "I'm getting plugin errors"
  • During: specweave init (initial setup only)

❌ Does NOT auto-activate for:

  • /sw:increment commands
  • /sw:do commands
  • Any other workflow commands
  • Reason: Prevents false positive errors when plugins are installed but detection fails

Validation Process

Phase 1: Marketplace Check

What: Checks if SpecWeave marketplace is registered in Claude Code Where: ~/.claude/settings.json Expected:

{
  "extraKnownMarketplaces": {
    "specweave": {
      "source": {
        "source": "github",
        "repo": "anton-abyzov/specweave",
        "path": ".claude-plugin"
      }
    }
  }
}

If missing: Auto-creates the configuration

Phase 2: Core Plugin Check

What: Verifies specweave plugin is installed Command: /plugin list --installed | grep "specweave" Expected: Plugin appears in the list

If missing: Suggests /plugin install specweave

Phase 3: Context-Aware Plugin Detection

What: Scans your increment description for keywords Examples:

Your DescriptionDetected KeywordsSuggested Plugin
"Add GitHub sync"github, syncspecweave-github
"Stripe billing with React UI"stripe, billing, react, uispecweave-payments, specweave-frontend
"Deploy to Kubernetes"kubernetes, deployspecweave-kubernetes
"Add Jira integration"jira, integrationspecweave-jira

Full Keyword Map (15+ plugins):

  • specweave-github: github, git, issues, pull request, pr, repository
  • specweave-jira: jira, epic, story, sprint, backlog
  • specweave-ado: azure devops, ado, work item, boards
  • specweave-payments: stripe, billing, payment, subscription, invoice
  • specweave-frontend: react, nextjs, vue, angular, frontend, ui
  • specweave-kubernetes: kubernetes, k8s, helm, pod, deployment
  • specweave-ml: machine learning, ml, tensorflow, pytorch, model
  • specweave-observability: prometheus, grafana, monitoring, metrics
  • specweave-security: security, owasp, vulnerability, audit
  • specweave-diagrams: diagram, c4, mermaid, architecture
  • specweave-backend-nodejs: nodejs, express, fastify, nestjs, backend
  • specweave-backend-python: python, fastapi, django, flask
  • specweave-backend-dotnet: dotnet,.net, aspnet, c#
  • specweave-e2e-testing: playwright, e2e, end-to-end, browser

Usage Examples

Example 1: Fresh Environment

Scenario: You cloned a project to a new VM and want to start working.

Action: Run /sw:increment "Add authentication"

What Happens:

🔍 Validating SpecWeave environment...

❌ Missing components detected:
   • SpecWeave marketplace not registered
   • Core plugin (specweave) not installed

📦 Installing missing components...
   ✅ Marketplace registered (.claude/settings.json)
   ✅ Core plugin installed (specweave v0.9.4)

🎉 Environment ready! Proceeding with increment planning...

Example 2: Context Detection

Scenario: You're adding a new feature that uses GitHub and React.

Action: Run /sw:increment "Add GitHub sync with React UI"

What Happens:

🔍 Validating SpecWeave environment...

✅ Marketplace registered
✅ Core plugin installed (specweave v0.9.4)

🔎 Detected context plugins from your description:
   • specweave-github (keywords: github, sync)
   • specweave-frontend (keywords: react, ui)

❌ Missing context plugins:
   • specweave-github
   • specweave-frontend

📦 Would you like to install these plugins?
   They provide specialized expertise for your use case.

   1. Yes, install now (recommended)
   2. No, skip for now (limited capabilities)

Your choice [1]:

Example 3: Manual Validation

Scenario: You want to check your environment without running a command.

Action: Run specweave validate-plugins --verbose

What Happens:

[PluginValidator] Checking marketplace registration...
[PluginValidator] Marketplace registered ✓
[PluginValidator] Checking core plugin (specweave)...
[PluginValidator] Core plugin installed ✓ (0.9.4)

✅ All plugins validated!
   • Core plugin: installed (v0.9.4)
   • Cache: miss

Example 4: Dry-Run Mode

Scenario: You want to see what would be installed without actually installing.

Action: Run specweave validate-plugins --context="Add Stripe billing" --dry-run

What Happens:

🔍 Validating SpecWeave environment...

✅ Marketplace registered
✅ Core plugin installed

🔎 Detected context plugins:
   • specweave-payments (keywords: stripe, billing)

❌ Missing: specweave-payments

💡 Dry-run mode: No changes made.
   To install, remove --dry-run flag.

CLI Command Reference

Basic validation:

specweave validate-plugins

Auto-install missing components:

specweave validate-plugins --auto-install

With context detection:

specweave validate-plugins --context="Add GitHub sync for mobile app"

Dry-run (preview only):

specweave validate-plugins --dry-run --context="Add Stripe billing"

Verbose mode:

specweave validate-plugins --verbose

Combined flags:

specweave validate-plugins --auto-install --context="Deploy to Kubernetes" --verbose

Troubleshooting

Error: "Claude CLI not available"

Symptom: Validation fails with "command not found"

Solution:

  1. Ensure Claude Code is installed
  2. Restart your terminal
  3. Verify: claude --version
  4. If still failing, install plugins manually using /plugin install command

Error: "Marketplace configuration invalid"

Symptom: Marketplace is registered but validation fails

Solution:

  1. Check ~/.claude/settings.json structure
  2. Ensure marketplace points to GitHub source
  3. If using local marketplace (dev mode), this is expected
  4. Re-run validation to auto-fix configuration

Error: "Plugin installation failed"

Symptom: Auto-install tries but fails

Solution:

  1. Check internet connection (GitHub access required)
  2. Verify Claude Code is running
  3. Try manual installation: /plugin install specweave
  4. Check Claude Code logs for detailed errors

False Positive: Wrong Plugin Suggested

Symptom: Context detection suggests irrelevant plugin

Example: Description "Add GitHub Actions" suggests specweave-github (but you meant CI/CD, not issue tracking)

Solution:

  1. Skip the suggestion (choose option 2)
  2. Install correct plugin manually later
  3. This is rare (2+ keyword matches required for suggestion)

Performance

Validation Speed:

  • ✅ With cache: <2 seconds
  • ✅ Without cache: <5 seconds
  • ✅ With auto-install: <30 seconds (1-2 plugins)

Caching:

  • Results cached for 5 minutes
  • Speeds up repeated commands
  • Invalidated after plugin changes
  • Cache location: ~/.specweave/validation-cache.json

Configuration

Validation can be configured in .specweave/config.json:

{
  "pluginValidation": {
    "enabled": true,           // Enable/disable validation (default: true)
    "autoInstall": true,       // Auto-install missing components (default: true)
    "verbose": false,          // Show detailed logs (default: false)
    "cacheValidation": true,   // Cache results (default: true)
    "cacheTTL": 300            // Cache TTL in seconds (default: 300 = 5 min)
  }
}

Disable validation (not recommended):

{
  "pluginValidation": {
    "enabled": false
  }
}

Integration with Commands

All SpecWeave commands validate plugins before execution (STEP 0):

  • /sw:increment - Validates before PM agent runs
  • /sw:do - Validates before task execution
  • /sw:next - Validates before next increment
  • /sw:done - Validates before completion
  • ... (all 22 commands)

Workflow:

User: /sw:increment "Add feature"
        ↓
   [STEP 0: Plugin Validation]
        ↓ (only proceeds if valid)
   [STEP 1: PM Agent Planning]
        ↓
   [STEP 2: Architect Design]
        ↓
   [STEP 3: Implementation]

Benefits

✅ Zero manual setup - Plugins install automatically ✅ Seamless migration - Works across local/VM/Cloud IDE ✅ Context-aware - Suggests relevant plugins based on your work ✅ Clear errors - No more cryptic "command not found" messages ✅ Fast - Caching ensures minimal overhead (<2s cached, <5s uncached) ✅ Non-blocking - Can skip validation if needed (not recommended)

Edge Cases

1. Offline Mode

  • Validation detects missing plugins but can't install
  • Shows manual instructions instead
  • Validation still useful (identifies what's missing)

2. Development Mode

  • Local marketplace detected (not GitHub)
  • Shows warning: "Development mode detected"
  • Validation passes (assumes dev knows what they're doing)

3. Concurrent Validation

  • Multiple commands run simultaneously
  • Uses cache to prevent duplicate validations
  • Race conditions handled gracefully

4. Partial Installation

  • Marketplace exists, but plugin missing (or vice versa)
  • Installs only missing components
  • Doesn't reinstall existing components

Manual Installation (Fallback)

If auto-install fails, follow these steps:

Step 1: Register Marketplace

Edit ~/.claude/settings.json:

{
  "extraKnownMarketplaces": {
    "specweave": {
      "source": {
        "source": "github",
        "repo": "anton-abyzov/specweave",
        "path": ".claude-plugin"
      }
    }
  }
}

Step 2: Install Core Plugin

In Claude Code, run:

/plugin install specweave

Step 3: Restart Claude Code

Close and reopen Claude Code for changes to take effect.

Step 4: Verify Installation

Run:

specweave validate-plugins

Should show:

✅ All plugins validated!
   • Core plugin: installed (v0.9.4)

Step 5: Install Context Plugins (Optional)

If you need specific plugins:

/plugin install sw-github@specweave
/plugin install sw-payments@specweave
/plugin install sw-frontend@specweave

Summary

This skill ensures you NEVER waste time debugging plugin issues.

It proactively validates your environment, auto-installs missing components, and suggests relevant plugins based on your work. The result: you focus on building features, not troubleshooting setup.

Questions?


Skill Version: 1.0.0 Introduced: SpecWeave v0.9.4 Last Updated: 2025-11-09

平台分布

Claude Code

29.97%
按下载量换算40

Antigravity

22.1%
按下载量换算29

Cursor

20.41%
按下载量换算27

Gemini CLI

13.55%
按下载量换算18

OpenCode

8.09%
按下载量换算11

Codex

3.69%
按下载量换算5

安全审计

Gen Agent Trust Hub

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills