Skip to content
Agentmart
Submit a tool

consistency-check

Check consistency across LLM Rail docs (learn/), skills, agents, README, and source code

Skill by neuradex

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/neuradex-consistency-check

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Check consistency across LLM Rail docs (learn/), skills, agents, README, and source code

Use cases: ml

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/consistency-check

Tools it pre-approves 4

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Read,
  • Glob,
  • Grep,
  • Bash

What's inside

Skill name
consistency-check
Description
Check consistency across LLM Rail docs (learn/), skills, agents, README, and source code
License
MIT
Allowed tools
Read,, Glob,, Grep,, Bash
Instructions
114 lines in SKILL.md · view on GitHub

Before installing

  • Pre-approves any shell command

Agent Skills spec issues

  • name: missing

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Consistency Check

You are auditing the LLM Rail repository for inconsistencies. The key principle: **`learn/` (lrail docs) is the single source of truth** for all concepts, procedures, and guidelines. Agents and skills must reference docs, not duplicate them.

## Sources of Truth

| Domain | Source of truth | Location |
|---|---|---|
| CLI commands | Source code | `src/cli.ts` |
| Types / schema | Source code | `src/types.ts` |
| Assertion operators | Source code | `src/engine/validator.ts` (`opHandlers`) |
| Step types & agent selection | lrail docs | `learn/concepts/step-types.md` |
| Validation & assertions | lrail docs | `learn/concepts/validation.md` |
| Policy system | lrail docs | `learn/concepts/policy.md` |
| Actions system | lrail docs | `learn/concepts/actions.md` |
| Workflow phases | lrail docs | `learn/concepts/phases.md` |
| Execution procedure | lrail docs | `learn/workflow/execution.md` |
| Review methodology | lrail docs | `learn/workflow/review.md` |
| Design principles | lrail docs | `learn/workflow/design-tips.md` |

## What to cross-check

### 1. lrail docs ↔ Source Code
- Assertion operators in `learn/concepts/validation.md` must match `opHandlers` in `src/engine/validator.ts` and `AssertionOp` in `src/types.ts`
- Step type descriptions in `learn/concepts/step-types.md` must match behavior in `src/engine/runner.ts` and `src/engine/workflow.ts`
- CLI commands in `learn/workflow/execution.md` and `learn/workflow/first-run.md` must match `src/cli.ts`
- Policy behavior in `learn/concepts/policy.md` must match `src/engine/policy.ts`

### 2. Agents/Skills → lrail docs (no duplication)
- **Agents** (`agents/*.md`) and **skills** (`skills/*/SKILL.md`) must NOT contain inline explanations of concepts that belong in `learn/`
- They should reference `lrail docs <topic>` instead
- Check for: assertion operator tables, step type decision matrices, agent selection guides, execution flow details, policy explanations
- If found inline → flag as duplication, suggest replacing with `lrail docs` reference

### 3. CLI Commands
- **Source of truth**: `src/cli.ts` (usage function and command routing)
- **Must match**: `learn/workflow/execution.md`, `learn/workflow/first-run.md`, `agents/workflow-designer.md` CLI Reference, `README.md`

### 4. Schema / Type Definitions
- **Source of truth**: `src/types.ts` (StepDef, WorkflowDef, ParamDef, etc.)
- **Must match**: `agents/workflow-designer.md` schema reference (this is the one place schema stays inline — it's the designer's core reference)

### 5. Package & Plugin
- `package.json` `files` array — all listed paths must exist
- `.claude-plugin/plugin.json` version should match `package.json` version

### 6. Skill & Agent Metadata
- Each skill's `description` in frontmatter must reflect what it does
- Each agent's `description` must reflect its role
- `allowed-tools` in skills must include all tools actually used
- Agent `tools` list must match tools the agent is told to use

### 7. Translated READMEs (i18n sync)
- **Source of truth**: `README.md` (English)
- **Must match**: `docs/README.ko.md` (Korean), `docs/README.ja.md` (Japanese)
- Check for:
  - Missing or outdated sections (compare section headings between English and translations)
  - Old product naming (`lrail` used as framework name instead of `LLM Rail`, old npm package name)
  - Old syntax in code examples (`run:` instead of `shell:`/`js:`, missing `instruction` field in agentic steps)
  - Stale numbers (e.g., operator count, step counts)
  - Old skill prefix (`/lrail:` instead of `/llm-rail:`)
  - Badge URLs not matching English (npm, license)
  - CLI Reference section missing commands that exist in English
  - Feature Summary table rows missing or outdated
- Tone check:
  - Korean: 합니다체 (polite but not overly formal). 반말/다체 is wrong.
  - Japanese: です・ます調 (polite form). だ体/である体 is wrong.

### 8. Terminology
- **LLM Rail** = the framework name
- **`lrail`** = the CLI command
- Docs and agents should not confuse these (e.g., "lrail is a framework" is wrong — "LLM Rail is a framework, `lrail` is its CLI" is correct)

## Process

1. **Gather sources**: Read `src/cli.ts`, `src/types.ts`, `src/engine/validator.ts`, all `learn/**/*.md`
2. **Gather dependents**: Read all `skills/*/SKILL.md`, all `agents/*.md`, `README.md`, `docs/README.ko.md`, `docs/README.ja.md`, `package.json`
3. **Compare each check category** above. For each inconsistency:
   - **Where**: which files conflict
   - **What**: the specific mismatch (quote both sides)
   - **Fix**: which file should be updated (source code or `learn/` is always right)
4. **Report summary**:
   - 🔴 **Breaking**: wrong behavior or would confuse agents (e.g., wrong CLI command, duplicated outdated info)
   - 🟡 **Stale**: outdated but not harmful (e.g., missing new operator from docs)
   - 🟢 **Minor**: cosmetic or low-impact

## Output Format

```
## Consistency Report

### lrail docs ↔ Source Code
- 🔴 validation.md missing `verify_source` operator (added in validator.ts)

### Agents/Skills Duplication
- 🟡 workflow-designer.md has inline assertion ops table — should reference `lrail docs concepts/validation`

### CLI Commands
- 🔴 first-run.md shows `lrail hello validate` but CLI expects `lrail wf hello validate`

### Translated READMEs (i18n)
- 🔴 README.ko.md missing "Variants" section (present in English)
- 🟡 README.ja.md uses だ体 — should use です・ます調

### Terminology
- 🟢 step-runner.md says "lrail framework" — should say "LLM Rail framework"

## Summary
- 🔴 Breaking: N
- 🟡 Stale: N
- 🟢 Minor: N
```

From neuradex/llm-rail, MIT.

Signals

Stars
0
Forks
0
Open issues
2
Last commit (this folder)
Mar 23, 2026 (7 months ago)
Last release
Jul 30, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from neuradex

Cite this page

consistency-check skill. Agent Mart. https://agentmart.dev/skills/neuradex-consistency-check (last updated 2026-10-24)