check
Check cross-artifact consistency — reference integrity, orphans, contradictions
Shared partial: classify a file path to its NL artifact type — command, agent, skill, rule, hook-config, manifest, etc. Used by /nlpm:score, /nlpm:fix, /nlpm:test, and /nlpm:check.
> /plugin marketplace add xiaolai/nlpm > /plugin install nlpm@xiaolai
How it fires
How this command gets triggered: by you, by Claude, or both.
/classifyContext preview
What this command does when you run it.
Shared partial: classify a file path to its NL artifact type — command, agent, skill, rule, hook-config, manifest, etc. Used by /nlpm:score, /nlpm:fix, /nlpm:test, and /nlpm:check.
description: "Shared partial: classify a file path to its NL artifact type — command, agent, skill, rule, hook-config, manifest, etc. Used by /nlpm:score, /nlpm:fix, /nlpm:test, and /nlpm:check." user-invocable: false disable-model-invocation: true
**Purpose:** Classify a file's artifact type from its path.
**Input:** file path (absolute or relative) **Output:** artifact type string
Checked in order — **first match wins**:
| # | Condition | Type | |---|-----------|------| | 1 | Path matches `commands/shared/**/*.md` | `shared-partial` | | 2 | Path matches `.claude/commands/**/*.md` | `user-command` | | 3 | Path matches `commands/**/*.md` | `command` | | 4 | Path matches `agents/**/*.md` | `agent` | | 5 | Filename is `SKILL.md` | `skill` | | 6 | Path matches `.claude/rules/**/*.md` | `rule` | | 7 | Path matches `hooks/**/*.json` | `hook-config` | | 8 | Filename is `plugin.json` AND parent directory is `.claude-plugin` | `manifest` | | 9 | Filename is `marketplace.json` AND parent directory is `.claude-plugin` | `marketplace` | | 10 | Filename is `.mcp.json` | `mcp-config` | | 11 | Filename is `.lsp.json` | `lsp-config` | | 12 | Path contains `/memory/` AND filename ends in `.md` | `memory` | | 13 | Filename is `CLAUDE.md` AND path is NOT at the repo root | `claude-md` | | 14 | Filename is `CLAUDE.md` | `claude-md` | | 15 | Path matches `.claude/**/*.local.md` | `plugin-config` | | 16 | Path matches `.claude/settings*.json` | `settings` | | 17 | (fallback) | `document` |
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.
Check cross-artifact consistency — reference integrity, orphans, contradictions
Auto-fix fixable findings in NL artifacts — missing fields, heading gaps, field renames
Prepare NLPM for this project — detect artifacts, set strictness, capture baseline trend snapshot
Discover all natural language programming artifacts in a repository
Render a self-contained HTML report — per-file scores, score trend, cross-artifact graph, vocabulary noun-verb map, drift…
Score NL programming artifacts — 100-point quality score per file