Skip to content

chore: vendor humanizer and add a humanize-docs skill - #153

Merged
gantoine merged 2 commits into
mainfrom
claude/language-skills-humanizer-g30s9a
Sep 27, 2026
Merged

gantoine merged 2 commits into
mainfrom
claude/language-skills-humanizer-g30s9a

Conversation

@gantoine

Copy link
Copy Markdown
Member

Adds blader/humanizer and a small skill that runs it over the pages a change edits, as the last step before opening a PR. The main repo (rommapp/romm) uses the same vendored copy.

  • .claude/skills/humanizer/: upstream SKILL.md and LICENSE (MIT), unmodified at 9862685f (v3.0.0). UPSTREAM records the commit and how to update it.

  • .trunk/trunk.yaml: all linters skip that folder, so it stays byte-identical to upstream.

  • .claude/skills/humanize-docs/: run with /humanize-docs, optionally with page paths. With no arguments it takes every page under docs/ that differs from main and rewrites only the changed paragraphs. It leaves these as written:

    • snippet partials, which are included into several pages
    • Navigation.md
    • front matter
    • heading text, because 171 links point at the anchors headings generate
    • MkDocs syntax (admonitions, tabs, includes, attribute lists, captions)
    • UI labels, setting names and env vars

    It finishes with trunk fmt && trunk check and mkdocs build --strict.

Testing:

  • I tested the page-selection command against a throwaway edit. It picks up docs/index.md and skips an edited snippet.
  • docs/**/*.md would have missed top-level pages such as docs/index.md, so the skill uses docs/*.md. The link-check job in pr-checks.yml uses the ** form and has the same gap. This PR doesn't change it.
  • Prettier passes on the new skill. yamllint passes on trunk.yaml. Prettier already flagged trunk.yaml before this change.
  • Trunk itself and mkdocs build didn't run in my environment: the Trunk installer and the Google Fonts download were blocked by network policy. CI runs both.

AI assistance: Claude Code wrote this PR, including the skill text and the vendoring. A human asked for the change and chose where humanizer runs.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XXuG7JWgxP6DPLB182yD9v


Generated by Claude Code

Vendors blader/humanizer (MIT) unmodified at 9862685f, the same copy
rommapp/romm uses, and excludes it from Trunk so it stays byte-identical
to upstream.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XXuG7JWgxP6DPLB182yD9v
Applies the vendored humanizer to the prose a change adds under docs/,
skipping snippet partials and the nav file, and keeping headings (anchor
targets), front matter, MkDocs syntax and UI labels as written. Ends with
trunk and a strict mkdocs build.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XXuG7JWgxP6DPLB182yD9v
@gantoine
gantoine merged commit 4ac781e into main Sep 27, 2026
4 checks passed
@gantoine
gantoine deleted the claude/language-skills-humanizer-g30s9a branch September 27, 2026 18:40
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.

2 participants