check
Check cross-artifact consistency — reference integrity, orphans, contradictions
Prepare NLPM for this project — detect artifacts, set strictness, capture baseline trend snapshot
> /plugin marketplace add xiaolai/nlpm > /plugin install nlpm@xiaolai
How it fires
How this command gets triggered: by you, by Claude, or both.
/initContext preview
What this command does when you run it.
Prepare NLPM for this project — detect artifacts, set strictness, capture baseline trend snapshot
name: init description: "Prepare NLPM for this project — detect artifacts, set strictness, capture baseline trend snapshot" allowed-tools: Read, Write, Glob, Bash, AskUserQuestion, Task disable-model-invocation: true
Read `.claude/nlpm.local.md`. If exists, show current settings and ask: "Reconfigure? (yes/no)". If no → stop.
Run artifact discovery (same as /nlpm:ls) to show what's in the project.
AskUserQuestion:
question: "What strictness level?"
header: "Strictness"
options:
- label: "Relaxed"
description: "Threshold 60 — only flag seriously broken artifacts"
- label: "Standard (Recommended)"
description: "Threshold 70 — flag artifacts that need improvement"
- label: "Strict"
description: "Threshold 80 — flag anything below good quality"Create `.claude/` directory if needed. Write `.claude/nlpm.local.md`:
---
# NLPM Configuration
strictness: {chosen}
score_threshold: {60|70|80}
---
# NLPM Settings
When scoring NL artifacts in this project, use **{strictness}** strictness.
Flag artifacts scoring below **{threshold}/100** for improvement.Append the following to `.gitignore` (skip lines already present):
# nlpm generated artifacts .claude/nlpm-history.json
Score every NL artifact discovered in Step 2 so `/nlpm:trend` has a starting point.
1. Dispatch `nlpm:scorer` and `nlpm:vague-scanner` in parallel over the discovered artifacts (same dispatch pattern as `/nlpm:score`). The vague-scanner's counts override the scorer's heuristic detection. 2. Persist the result by following `${CLAUDE_PLUGIN_ROOT}/commands/shared/append-history.md` with `scope: "full"` and `files_scored` equal to the artifact count.
If Step 2 found zero artifacts, skip this step — there is nothing to score and the partial declines to write empty snapshots.
NLPM is ready for this project.
Strictness: {standard}
Threshold: {70}/100
Artifacts found: {N}
Baseline score: {overall}/100 (snapshot saved to .claude/nlpm-history.json)
Config: .claude/nlpm.local.md
Run /nlpm:score to re-score later, or /nlpm:trend to compare against this baseline.If Step 6 was skipped (zero artifacts), omit the "Baseline score" line and replace the final sentence with "No artifacts found yet — re-run /nlpm:init after adding artifacts to the project."
**Error handling:**
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
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
Scan a Claude Code plugin for security risks in executable artifacts (hooks, scripts, MCP configs, dependencies).