plugin-tests
把常见命名冲突和清单错误自动化检测,降低发布失败风险。
运行 pytest 可能会执行插件代码或钩子,存在执行未审代码的风险。
针对 Claude Code 插件结构、清单与 MCP 接线的 pytest 静态分析测试套件。
为 Claude Code 插件做静态分析的 pytest 测试套件,用来校验插件目录结构、manifest、MCP 接线、trigger-phrase 覆盖和同名冲突等问题。开发或 CI 时运行,可以提前发现 manifest 漏配、MCP 注册错误、桥接预检缺失、cache 修剪回归等常见问题。实现上采用 Python 的 pytest 标准脚本,把插件发布前的结构性错误自动捕捉并报告。
▸ 展开 SKILL.md 英文原文
Static-analysis test harness for Claude Code plugins. Triggers on "test plugin", "validate plugin", "check skill resolution", "run plugin tests", "lint plugin", "verify manifest", "namesake collision", "MCP registration check". Runs Python stdlib pytest scripts that catch namesake collisions, manifest drift, MCP misregistration, trigger-phrase coverage gaps, bridge pre-flight gaps, agent-surface drift, and cache-prune regressions. Routed as build-loop's 4th orchestrator mode (Build / Optimize / Research / Test).
帮我安装这个 skill:https://raw.githubusercontent.com/tyroneross/build-loop/main/skills/plugin-tests/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/tyroneross/build-loop/main/skills/plugin-tests/SKILL.md"<!-- SPDX-FileCopyrightText: 2025-2026 Tyrone Ross, Jr <46267523+tyroneross@users.noreply.github.com> | SPDX-License-Identifier: Apache-2.0 --> # Plugin Tests — Static-Analysis Harness A pytest-stdlib test suite that validates a Claude Code plugin's structure, manifest, MCP wiring, skill descriptions, and bridge preflights. Designed to catch the bug classes that have actually shipped through build-loop's history (namesake collisions, manifest version drift, missing frontmatter on commands, bare MCP server names). This is the **static** tier — pure text/JSON validation, zero runtime dependencies, runs in under a second. Runtime tests (live MCP round-trip, real bridge delegation) are out of