Add plugin manifest and hook configuration consistency tests

未关闭 适合新手
#4 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@nyx60002 已经在做这个了。

开始于 2026年12月5日。

  • #20 来自 @nyx60002 —— 未关闭

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
75/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
testing

调研方向

首先找到 Claude Code 和 Codex 的清单文件、钩子配置,以及现有的 unittest 发现命令。添加使用标准库的测试,用于比较清单名称和版本、验证所引用的本地文件,并检查预期的钩子事件和基本配置结构。运行发现命令;在两个宿主客户端都未安装的情况下,所有检查均通过即表示完成。

由索引模型根据 Issue 内容生成。

描述

enhancement good first issue

The repository has separate Claude Code and Codex manifests and hook configurations. Add lightweight standard-library tests to catch accidental metadata or configuration drift.

Acceptance criteria:

  • Check that the two plugin manifests have matching names and versions.
  • Validate that referenced local hook/configuration files exist where applicable.
  • Check expected hook events and basic configuration structure without requiring the host clients to be installed.
  • Integrate tests into the existing unittest discovery command.
主要语言
Python
星标
1
派生
1
平均合并
2 小时 28 分钟
30 天内合并 PR
6

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

JTHCode/secretguard 的其他 Issue

查看 JTHCode/secretguard 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。