plugin-tests

仓库创建 2026年4月7日最近提交 21 天前SkillHot 收录 21 天前
▸ 精选理由

把常见命名冲突和清单错误自动化检测,降低发布失败风险。

▸ 风险提示

运行 pytest 可能会执行插件代码或钩子,存在执行未审代码的风险。

这个 Skill 做什么

针对 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).

开发编程插件测试静态分析通用
1
Stars
0
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/tyroneross/build-loop/main/skills/plugin-tests/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/tyroneross/build-loop/main/skills/plugin-tests/SKILL.md"
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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有