Skip to content

Conversation

@aireilly
Copy link
Member

@aireilly aireilly commented Nov 19, 2025

Script to automate Vale rule term reviews to filter out false postives or terms that are not useful to have in the rules. The script does not add new terms.

The script was created using Claude Code and does the following:

  1. Clones a docs repo and runs Vale with RedHat rules against the repo adoc
  2. Dedupes errors to identify unique false positives across files
  3. Uses Claude Code CLI to review errors and determine which are false positives
  4. Updates Vale rules and test fixtures to exclude false positives (modifying .yml files and
    .adoc test files)

Example output:
#981
#980

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
@github-actions
Copy link

github-actions bot commented Nov 19, 2025

🎊 Navigate the preview: https://redhat-documentation-vale-at-red-hat-982.surge.sh 🎊

@aireilly aireilly marked this pull request as draft November 19, 2025 12:07
@aireilly aireilly changed the title Adding Claude Vale rules review tool Adding Claude Vale rules review script Nov 19, 2025
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