Skip to content

ci: lint documentation prose with Vale - #84

Merged
howmanysmall merged 26 commits into
mainfrom
chore/vale-prose-linting
Oct 7, 2026
Merged

howmanysmall merged 26 commits into
mainfrom
chore/vale-prose-linting

Conversation

@howmanysmall

@howmanysmall howmanysmall commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

ci.yaml
  vale
    setup toolchain (vale)
    vale sync
    vale --no-color .

Packages in .vale.ini is the style source. Synced styles stay gitignored. The tracked vocabulary is hooks, God, and simple.

 published docs
-  first person ("I made `@pobammer-ts/small-rules`")
+  impersonal voice

Rule rationale pages were rewritten so they pass Google, ai-tells, alex, and proselint. Agent skills, docs/, migrations, release notes, and the agent meta docs stay on spelling-only Vale. Zed's Markdown and MDX buffers include the vale language server. mise installs vale and vale-ls.

Evidence

  • Before: the introduction said "I made @pobammer-ts/small-rules" and CI did not run Vale. The first Vale run failed on tracked docs/ and migrations/ prose.
    After: those paths are spelling-only. git ls-files | xargs vale --minAlertLevel=error exits 0 with no errors. A clean checkout of vale --no-color . matches that. A dirty local tree still fails, because Vale walks untracked copies under .claude/skills/ and plans/.

Merge Danger

Door: two-way

The job, .vale.ini, and the wording revert cleanly. No rule behavior changes.

Blast Radius: CI

Later Markdown and MDX edits fail the Vale job, except the spelling-only paths. Consumers of the published rules are unaffected.

Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Replace "I" and "I'd" phrasing in the anti-slop rule docs with neutral,
impersonal prose. Also fix a few inline code spans and minor wording
issues while touching these files.

Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Rename several rule titles to use plainer terms ("Turn Off" for
"Disable", "Unread Store" for "Dead Store", "Regular Expressions" for
"Regex"), and reword rationale text across multiple rule pages for
clarity, replacing first-person phrasing and converting raw links to
inline anchors.

Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Enable suggestion-level alerts and add Google, Microsoft, RedHat, alex,
proselint, and write-good styles. Extend coverage to MDX and TSX files,
and tailor rules for README and project meta-docs.

Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Add the Readability package and base the markdown style on it. Drop the
AsciiDoc package and the mdx-to-md format mapping, and widen the mdx
TokenIgnores pattern to also skip inline code spans.

Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Only the Project vocabulary is committed. Other Vale style content is
downloaded at runtime, so ignore it and re-include just the custom
accept list.

Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Add a Vale job to the CI workflow that lints markdown, MDX, and
documentation files. Styles are fetched from the packages declared in
.vale.ini at runtime, since the .vale/styles directory is gitignored.

Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Replace first-person narration in the documentation with neutral,
direct wording across the configuration, introduction, index, and
quick-start pages. Also fix a few small inconsistencies such as the
missing hyphen-free "Turn a rule off inline" heading wording and the
"Pass rule options" intro duplication.

Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Refresh the computedHash entries for the dry-refactoring and fallow
skills in skills-lock.json to match their current upstream SKILL.md
content.

Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Bundle size

Artifact Base Pull request Change
dist/index.js 484.18 kB 484.18 kB 0 B (+0.00%)

Raw, uncompressed bytes from the minified prepublishOnly build. Measured for commit 9a9eb3f against base 8c1b798.

Signed-off-by: howmanysmall <26746527+howmanysmall@users.noreply.github.com>
@howmanysmall
howmanysmall merged commit 3bfa142 into main Oct 7, 2026
8 checks passed
@howmanysmall
howmanysmall deleted the chore/vale-prose-linting branch October 7, 2026 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant