Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Jamie-BitFlightMIT
Reviews your staged, unstaged and untracked changes against shared project instructions before you push or open a PR. Its PreToolUse hook runs on every Write or Edit call, so check what it does before installing.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
1 caution to review before installing
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
pre-push, project-instructions, compliance, textlint, agents-md, style-guide, way-of-working, hooks
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
This is a linter for an AI (artificial intelligence) agent's own writing. It gates the documents an agent drafts for clarity, readability, and vocabulary consistency. It checks against a per-project-approved vocabulary. That is a checkable target. A generic style guide is not.
"Write following ASD-STE100 guidelines" is already a prompt pattern that agents respond well to. It produces shorter, clearer text. This package turns that pattern into something enforceable and gateable, not just a hope. It ships deterministic textlint rules. It also ships an optional semantic-adjudication subsystem. That subsystem calls a small model, served locally by llama.cpp, for the checks that genuinely need judgement.
It is meant to run inside a pre-commit hook. Husky, prek, and the Python pre-commit framework all
work, invoked via npx. It most often checks documentation an agent has just drafted. That way, the
agent's vocabulary stays consistent with the project's own, before the commit lands.
This package does not implement ASD-STE100 and makes no claim of conformance with it. The standard and its dictionary are proprietary. Neither was available to this repository. ASD-STE100 is referenced here as a known target agents already understand, not as a specification this package reproduces. Every rule shipped here is an authored plain-English heuristic, marked
provisional. Readdocs/DISCLAIMER.mdbefore using this anywhere it matters.
Deterministic rules stay deterministic. A model only adjudicates the things that genuinely depend on syntax, context, meaning, or technical-domain interpretation. Only then is its output schema-validated, threshold-gated, span-anchored, and traced.
┌────────────────────────────────┐
markdown / text → │ document reader → │ → deterministic rules → violations
│ text units → sentences → words │ ↘
│ (offsets preserved throughout) │ candidates → broker → evaluator → verdict
└────────────────────────────────┘ (optional, local, off by default)
Markdown structure is read through a real parser, @textlint/markdown-to-ast,
not hand-written regex over masked text. See docs/architecture.md for the
reasoning and issue #25
for the history.
npm install --save-dev textlint textlint-rule-preset-ste-ai
pnpm add -D, yarn add -D and vp install -D all work the same way. Nothing here needs this
repository's own toolchain.
.textlintrc.json:
{
"plugins": { "@textlint/markdown": true, "@textlint/text": true },
"rules": { "preset-ste-ai": true }
}
npx textlint docs/**/*.md
npx textlint --fix docs/**/*.md # applies only gated fixes
No model is needed. Semantic analysis is off by default. The deterministic rules never touch the network.
The intended audience is an AI agent generating text. The goal: keep that agent's vocabulary
consistent with the project's own approved, preferred, and unapproved terms. A repository can
supply its own approvedTerms list on top of whichever pack is active. A repository can also
replace the bundled provisional pack entirely with its own rulePack.
That serves several distinct consumer surfaces, at different stages of readiness. They are not the same shape, and should not be conflated.
1. Pre-commit hooks — works today. Husky, prek, and the Python pre-commit framework can all
invoke this via npx. Each can lint documentation files before a commit lands. Both pieces this needs
are real today, not proposed:
rulePack (a path to a JSON file, or an inline object) and approvedTerms are both shared-config
options. approvedTerms layers on top of whichever pack is active. rulePack replaces the
bundled provisional pack entirely, not just adds to it. See
docs/configuration.md and
docs/rule-pack-import.md.0 — clean1 — errors present (or review-required, with --fail-on-review)2 — usage error3 — any error-level run notice. See
docs/configuration.md
for the full list: a protection mechanism failing, or a rule skipped for invalid options.pre-commit-hooks.yaml manifest at its root.
The Python pre-commit framework and prek can both point straight at this repository. Neither
needs a hand-copied repo: local block.Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (jamie-bitflight/textlint-rule-preset-ste-ai) — no native marketplace selected
npx claudepluginhub p/jamie-bitflight-ste-ai-compliancePlugins from other owners that cover similar ground