Edits or audits prose to remove machine-writing patterns while preserving claims and voice. Supports multiple registers (strict, flavored, voiced) and an audit mode for no-change inspection.
Ships in plugins. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Edit an existing draft without changing what it claims. The caller supplies the prose and, when it knows, the register. Return only the prose when another skill invokes this one.
Explicit edit intent wins. A request to rewrite, tighten, or humanize remains an edit even when it also asks for findings or a score.
Use audit only when the caller explicitly asks for no changes, an audit, or
findings without a rewrite. Text written by somebody else is not automatically
read-only. Protect quoted third-party passages, but offer or make a requested
rewrite of the surrounding draft.
A caller-provided register wins. Otherwise, use the document's primary purpose:
| Register | Primary purpose | Loaded references |
|---|---|---|
strict | procedure, runbook, safety text, operator-facing error | mechanical and all of compression |
flavored | README, technical docs, PR or MR body, Jira prose, code comment | mechanical and the shared part of compression |
voiced | announcement, community message, blog post, personal prose | mechanical and voice |
audit | explicit no-change inspection | all three references; recommendations follow the document's primary purpose |
Purpose outranks a byline. A technical README with an author's name remains
flavored. When the purpose is genuinely ambiguous and choosing wrong would
materially change the rewrite, ask one focused question. Otherwise use
voiced, which makes the least structural change.
Use one numeric primary score. Do not invent a register map. In a mixed
document, keep its primary register and manually apply strict rules to
procedural and safety sections. This local override does not produce a second
score.
If the user supplies a sample of their own writing, read it before the draft.
Its stable sentence rhythm, vocabulary, punctuation, transitions, and quirks
govern voiced edits. A sample can justify em dashes, curly quotes, repeated
openings, or other deliberate habits that are weak evidence by themselves.
Never write beside this installed skill. Create a unique directory with the system temporary-directory API. Keep these paths inside it:
source.md: an unchanged snapshot used for the meaning check.rewrite.md: the only bytes scored before and after; edit this file.before.json: the baseline report for that exact normalized rewrite.md
path.voice.md: an unchanged snapshot of a supplied writing sample, when present.For pasted text, write the supplied bytes to source.md, then copy it to
rewrite.md. For a user file, copy the file to both paths and do not touch the
original until the rewrite passes every guard. Use process argument arrays
where the host supports them. If a shell is unavoidable, quote every path,
including the trusted skill directory and all temporary paths. Never paste a
user-controlled path into an unquoted command.
When the user supplies a writing sample, copy its exact bytes to voice.md and
pass --voice-sample "<unique-temp-dir>/voice.md" on both linter runs. Omit the
option on both runs when there is no sample. A different or changed sample makes
the baseline incompatible.
Resolve scripts/lint.py relative to this SKILL.md. The equivalent shell
shape without a writing sample is:
python "<skill-dir>/scripts/lint.py" --json --register <register> \
"<unique-temp-dir>/rewrite.md" > "<unique-temp-dir>/before.json"
When a sample exists, insert
--voice-sample "<unique-temp-dir>/voice.md" after the register argument.
Use the host's UTF-8 file APIs or redirection in the temporary directory. Do
not use a fixed before.json. Delete the unique directory after delivery.
Skip to Audit for audit. For an edit:
Load the references named by the register. Read every rule that applies.
Score rewrite.md and save the complete JSON as before.json.
Read all violations, samples, markers, and manual checks. A zero score
does not clear a marker or a rule that needs judgment.
Build a private source inventory. Record every proposition, condition, exception, scope qualifier, modal force, name, number, version, date, quote, citation, identifier, and safety consequence.
Rewrite rewrite.md. Change the smallest useful span, except when several
patterns cluster in one paragraph; then rewrite that paragraph around its
concrete point.
Score the same normalized rewrite.md path against before.json:
python "<skill-dir>/scripts/lint.py" --json --register <register> \
--baseline "<unique-temp-dir>/before.json" \
"<unique-temp-dir>/rewrite.md"
When the baseline used a writing sample, insert the same
--voice-sample "<unique-temp-dir>/voice.md" argument after the register.
A baseline metadata or path mismatch is a failed verification, not a score. Correct the invocation and rerun it. Never reuse a report from another register, quote policy, file, or linter score version.
Make at most one more rewrite-and-score pass.
Compare source.md with rewrite.md in both directions. Every source
proposition and qualifier must survive, and every output proposition must
come from the source or an explicit user instruction. Preserve must,
should, may, can, uncertainty, negation, and exceptions unless the
source itself licenses the change.
Run the manual checklist and an adversarial final read. Ask: "What still sounds generated?", "What fact or limit disappeared?", and "What did this rewrite add?" Repair any defect those questions expose.
Only now copy the final prose to the requested destination. For a user file, replace its prose while preserving protected spans. For pasted text, return the rewrite.
If Python cannot run, perform the same reference, inventory, and adversarial checks by eye. Say not linted and report no estimated number.
Do not rewrite or create an output document.
--register audit.Never change fenced or inline code, commands, identifiers, part numbers, units, error strings used for search, YAML frontmatter, data, or link targets. Link text is prose. Preserve quoted third-party language when context identifies it as a quotation, title, example under discussion, or externally owned text.
Blockquotes, callouts, and table cells are not inherently quotations. Lint and
edit their first-party prose. Use --quote-safe only when the caller explicitly
identifies the running prose as examples or third-party quotation that must be
excluded. It suppresses findings only in those protected regions. The option
must not hide ordinary first-party prose elsewhere in the document.
Consume the full JSON object. Never decide from the exit code alone.
| Key | Meaning |
|---|---|
violations and samples | high-confidence counts that contribute to the score, with examples |
markers | possible issues that require contextual judgment and do not contribute to the score |
by_layer | the reference layer that owns each scored category |
manual_checks | rules the linter cannot certify |
file_identity, voice_sample_identity | canonical inputs that make baseline comparison safe |
delta | compatible baseline before, after, and improved values |
total_per100w | one primary density score, not a quality verdict |
fail_over, over_fail_over | optional caller-supplied finite, nonnegative CI threshold and its result; absent without --fail-over N |
Singleton transitions, curly quotes, em dashes, short emphatic sentences, and
deliberate repetition are markers, not proof of machine writing. Score them
only when they form the repeated or clustered pattern documented by the
reference. A supplied voice sample outranks those style defaults in voiced.
| Caller | Return |
|---|---|
| another skill editing final outbound prose | final prose only; keep register and score metadata in the transcript |
| person who pasted prose | final rewrite, register, score delta, and unresolved findings |
| person who supplied a file | edit the file, then report register, score delta, and unresolved findings |
explicit audit | findings and one score; no rewrite |
Another skill invokes this pass exactly once, after it has composed all free-form prose and before it shows, gates, or posts that prose. A transport layer does not invoke it. Do not apply it automatically to structured payloads, commands, checksums, generated reports, ADRs, AGENTS files, skills, PRDs, or other local documents with an owning authoring skill. An explicit user request can still edit any prose document.
Work is complete only when:
rewrite.md, voice
sample, score version, register, and quote policy, or the response says
not linted;What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/plugins:prose-editingfrom plugins
npx claudepluginhub redhat-developer/rhdh-skills --plugin plugins19 skills in this plugin
/backstage-api-changesNames the breaking and notable changes between the early Backstage New Frontend System alpha and the current GA surface, for Red Hat Developer Hub plugins: NavItemBlueprint removed in favour of nav auto-discovery from PageBlueprint, config.schema replaced by top-level configSchema with direct zod/v4 imports, AppRootWrapperBlueprint Component renamed to component and moved to @backstage/plugin-app-react, defaultPath/defaultTitle/defaultGroup renamed, SubPageBlueprint added, useRouteRef returning undefined, and AppDrawerContentBlueprint taking element rather than loader. Use when NFS code that used to compile now fails, a Blueprint param produces a TypeScript error, or a plugin migrated against an older alpha needs bringing forward./mutation-gateSupplies the approval rule another RHDH skill applies when it is already about to change something outside the session: how to state each operation, what approval binds to, what to report afterwards, and how to keep credentials out of a plan preview. Cited by name from the skill doing the work. Not an entry point — it performs no forge, Jira, or repository action itself, and a request to open, comment, transition, push, or post belongs to the skill that owns that target./rhdh-backportAutomate the RHDH plugin backport process from PR cherry-pick to changelog. Handles: cherry-pick with AI conflict resolution, PR creation, CI monitoring, auto-merge, Version Packages detection, and overlays update. Pre-2.1: release-x.y/{plugin} per-plugin branches. 2.1+: unified release-x.y branch. Accepts a release version and PR number/URL. Auto-detects plugin from PR files. Modes: auto (full workflow), create (PR only, stops for review), finish (after manual merge). Use when you need to backport changes to a release branch (e.g., "backport PR #3456 to 1.10").
/rhdh-backstage-upgradeMoves the @backstage/* dependency versions of a Backstage plugin, workspace, app, or the redhat-developer/rhdh monorepo forward to a chosen release, staying within what a Red Hat Developer Hub version ships: read backstage.json and package.json, pick the target from the RHDH compatibility matrix or an explicit version, run versions:bump and versions:migrate, preserve the repository's dependency range style, audit stale resolutions, work through release changelogs, and re-verify the repository. Use for "upgrade @backstage dependencies", "bump Backstage in rhdh", "versions:bump", "which Backstage version does RHDH 1.8 ship", moved package namespaces, or dependencies that are too old for the API they need./rhdh-forgeReads GitHub and GitLab and constructs unexecuted forge payloads for the other RHDH skills: parse an issue, pull request, or merge request reference, fetch issue detail, resolve a plugin workspace, inspect checks or pipelines, read repository files, or build the exact command for a GitHub pull request, GitLab merge request, comment, label, assignee, approval, or /publish write. Use for a forge URL, a bare #number, a !number merge request, "which workspace is this issue in", a stale statusCheckRollup, "why did that check fail", or safe gh, glab, and jq command construction./rhdh-localOperates a local Red Hat Developer Hub environment with the rhdh-local-setup customization system: enable or disable dynamic plugins, apply configuration, switch pristine and customized modes, start or stop containers, inspect health and logs, run plugin verification, and back up or restore customizations. Use for local RHDH, podman compose plugin testing, PR artifact verification, 504 or startup troubleshooting, and local Extensions Catalog checks.Other plugins' skills for the same job