XN

xiaolai/nlpm

效率工作流

本页由 AI 翻译,技术细节请以原文为准。 查看原文

158 stars 质量 75 趋势 21ISC

自然语言编程管理器——用Claude原生的优质评分扫描、剥离和评分自然语言伪影

概览

自然语言编程管理器——对NL工件进行评分、检查、修复和测试。基于层级的评分,并带有每个工具的叠加层。 NLPM 包含多工具验证功能,用于检查——即 bug类,SKILL.md 存在于磁盘上但plugin.json中无声缺失(因此安装 claude 插件后不可见)。已在包括 Anthropic 官方插件验证器和 Linux 基金会 skills-ref 在内的 8+ 工具上验证。相关研究请参见 analysis/ecosystem-gap.md。 NLPM将自然语言工件处理为。正如ESLint评分JavaScript,ruff评分Python,NLPM评分驱动AI行为的markdown文件:技能、代理、命令、规则、钩子、提示、CLAUDE.md 和内存文件。 Slash 命令作为 Claude Code 插件发布。评分评分标准涵盖三个生态系统(Claude Code、Codex CLI、Antigravity),通过层级感知覆盖层——参见 analysis/multi-tool-design-2026-05.md。独立的 Python 3。

概述(AI 翻译)

自然语言编程管理器——评分、检查、修复和测试 Claude Code、Codex CLI 和 Antigravity** 的自然语言文源。基于层级的评分,并带有每个工具的叠加层。

小米插件市场的一部分。

NLPM 包含多工具验证,检查 manifest-vs-disk 一致性——即磁盘上存在 SKILL.md 但 plugin.json 中无声缺失(因此在 claude plugin install 之后不可见)的 bug 类。已在包括 Anthropic 官方 plugin-validator 和 Linux 基金会 skills-ref 在内的 8+ 工具间验证。相关研究请参见 analysis/ecosystem-gap.md。

它的作用

NLPM将自然语言产物视为可被添加的程序。正如ESLint评分JavaScript、ruff评分Python,NLPM评分驱动AI行为的markdown文件:技能、代理、命令、规则、钩子、提示、CLAUDE.md 和内存文件。

八个命令,每个指令执行一项任务:

命令 它的作用
/nlpm:ls 在仓库中发现并清点所有NL文物
/nlpm:score 评分伪造质量(100分制)
/nlpm:check 跨组分一致性检查

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

nlpm

Natural-Language Programming Manager — score, check, fix, and test NL artifacts across Claude Code, Codex CLI, and Antigravity. Tier-aware scoring with per-tool overlays.

Part of the xiaolai plugin marketplace.

NLPM includes multi-tool validation that checks manifest-vs-disk consistency — the bug class where a SKILL.md exists on disk but is silently missing from plugin.json (and therefore invisible after claude plugin install). Verified across 8+ tools including Anthropic’s official plugin-validator and the Linux Foundation’s skills-ref. See analysis/ecosystem-gap.md for the research.

What it does

NLPM treats natural language artifacts as programs that can be linted. Just as ESLint scores JavaScript and ruff scores Python, NLPM scores the markdown files that drive AI behavior: skills, agents, commands, rules, hooks, prompts, CLAUDE.md, and memory files.

Eight commands, each doing one thing:

Command What it does
/nlpm:ls Discover and inventory all NL artifacts in a repo
/nlpm:score Score artifact quality (100-point scale)
/nlpm:check Cross-component consistency checks
/nlpm:fix Auto-fix fixable issues
/nlpm:trend Track quality score trends over time
/nlpm:test Run NL artifact tests against spec files (TDD)
/nlpm:init Initialize NLPM for a project
/nlpm:security-scan Scan plugins for security risks in executable artifacts

Slash commands ship as a Claude Code plugin. The scoring rubric covers three ecosystems (Claude Code, Codex CLI, Antigravity) via tier-aware overlays — see analysis/multi-tool-design-2026-05.md. The standalone Python 3.11+ validator (bin/nlpm-check) has no Claude Code dependency and runs in pre-commit hooks or CI on any tool’s artifacts.

Beyond linting: the learning loop

NLPM also runs as a self-evolving GitHub Actions pipeline that audits real plugin repos, contributes fix PRs, harvests teaching examples from clean ones, and feeds learnings back into its own rule catalog:

  • Exemplar pipeline (v0.8.17+): repos that audit clean at score ≥ 90 produce a teaching artifact under auditor/exemplars/ — 62 published so far, covering 31 of the 50 Rules with real-world positive references. See the gallery.
  • Rule-citation auto-PR (v0.8.18+): auditor-cite-exemplars.yml runs weekly and opens a human-gated PR adding > Real-world example: [] links to skills/nlpm/rules/SKILL.md, so each rule documents both the bad case (in the rule body) and the good case (in a real repo).
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add xiaolai/nlpm
新手?先看 mcpskill.org 教程 →