mcpField
P
pm-selfcheck

pm-selfcheck

github.com/konglong87Agent workflows8476 installsUpdated 4d ago
Repository

About pm-selfcheck

pm-selfcheck is a read-only diagnostic skill for the super-pm skill package. It checks installation layout, expected skills, metadata, and unusually long skill files without accessing the network or changing the business project.

Key features

  1. 01Detects layout from the script path
  2. 02Checks for missing expected skills
  3. 03Validates skill metadata
  4. 04Flags skills over 600 lines
  5. 05Read-only; leaves projects unchanged

Use cases

  1. 01Verify a super-pm package installation
  2. 02Find missing skills or invalid metadata
  3. 03Check skills for excessive length

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/konglong87/superpm --skill pm-selfcheck

After installing, type/pm-selfcheckin Claude Code to confirm it loaded.

Bundled filesexpected-skills.txtscripts/selfcheck.sh

Details

From the project README

super-pm 安装与内容自检

这是显式诊断工具,不是每次技能调用都要运行的更新检查。先从已加载的本 SKILL.md 路径定位同目录下的 scripts/selfcheck.sh,然后执行:

bash "<当前 pm-selfcheck skill 的绝对目录>/scripts/selfcheck.sh"

不要把当前业务项目的 VERSION、.git 或工作目录当成技能包根目录。脚本根据自身的真实路径识别两种安装布局:

  • 完整 Git 仓库/软链接:扫描包内技能和版本。
  • npx skills add --copy 扁平安装:仅检查该包预期技能名;缺少任一技能时以非零状态报告 MISSING,不会把单独安装当作全包健康。

检查元数据(name、description、allowed-tools)和超长技能(>600 行)。把实际输出解释给用户;MISSING 和 BAD_METADATA 不能汇报为通过。单独复制此 skill 时提示安装完整技能包。不要在没有实际运行命令的情况下生成“健康报告”,也不要自动联网或改动业务项目。

需要升级时请另行调用 /super-pm-upgrade;本 skill 只读。

Comments

Markdown supported