agentleFS
vale-clivale-cli/agent-tools/skills/ignore/SKILL.md

ignore

Skill10 starsChanged 11 days agoMITView on GitHub

Stop Vale from flagging text that is not prose — shortcodes, templating tags, generated blocks, one quoted passage — without switching a rule off. Use when the user says "vale is flagging our shortcodes", "ignore this block", "false positive", or "stop linting the generated pages".

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. discountry/ritmex-skills★ 4same name
    2. hidumou/skills★ 1same name
    3. manu-kaushik/agent-kit★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository12 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the rule is wrong for the project's own writing, that is a decision about the rule.

    line 14

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Exclude what is not prose

When to use this

A rule is right in general and wrong about a specific piece of text: a templating tag, an include directive, a quotation, a generated file. The fix is to take that text out of Vale's view, at the narrowest scope that works.

If the rule is wrong for the project's own writing, that is a decision about the rule. Use triage or tune. If the text is a correctly spelled term, or a front matter field such as id or slug, use vocab.

Prerequisites

  1. vale ls-config resolves.
  2. You have the alerts in hand, and have read the flagged text. Collect them rather than working from a description:
vale --output=line <path>

Pick the narrowest tool

Work down this list and stop at the first that fits.

what is being flaggedtoolwhere
a whole directory or file kinda narrower path or section globthe vale invocation, .vale.ini
a recurring inline token, like {{ var }}TokenIgnores.vale.ini
a recurring block, like a shortcode pairBlockIgnores.vale.ini
the contents of an HTML tagIgnoredScopes (inline), SkippedScopes (block).vale.ini
one passage, oncea comment in the filethe file

A pattern in the config fixes every file at once and stays fixed for the next writer. A comment fixes one place and has to be repeated, so it is last.

Workflow

1. Group the alerts by what the flagged text is, not by rule. Forty alerts from six rules on {{< note >}} blocks are one problem.

2. For a recurring token or block, write the pattern in the section that covers those files. The first capture group is what Vale ignores:

[*.md]
BasedOnStyles = Vale, Microsoft

TokenIgnores = (\{\{[^}]+\}\})
BlockIgnores = (?s) *(\{\{< note >\}\}.*?\{\{< /note >\}\})

Several patterns are separated by commas, so a comma inside one is written \,. Both keys need a markup format; they do nothing in a source file.

3. For an HTML tag, name it. Setting either key replaces its default list, so keep the defaults:

IgnoredScopes = code, tt, kbd, samp, abbr
SkippedScopes = script, style, pre, figure, noscript, iframe, details

4. For one passage, use the comment form the file's format reads. In Markdown:

<!-- vale Microsoft.Passive = NO -->
The quoted sentence that must stay as written.
<!-- vale Microsoft.Passive = YES -->

Name the rule. <!-- vale off --> switches off every rule, including the ones that would have caught a real mistake in the same passage. MDX, AsciiDoc, reStructuredText, and Org each have their own form, listed per format under https://docs.vale.sh/formats/markdown.md and its siblings.

5. Re-run and compare. The alerts you targeted should be gone and the total should have dropped by that number, no more. A pattern that removed extra alerts is ignoring prose.

6. Report.

Vale ignore
===========
Shortcodes ({{< note >}}):  BlockIgnores in [*.md]      -212 alerts
Template vars ({{ x }}):    TokenIgnores in [*.md]       -64 alerts
Changelog quote:            comment, docs/history.md      -1 alert
Before 1,940 → after 1,663. No other alerts changed.

Do not

  • Do not switch a rule off to remove a false positive. That removes its true positives too, in every file.
  • Do not use <!-- vale off --> where a named rule will do, and never leave one without its matching on.
  • Do not write a pattern broader than the text it is for. (\{.*\}) on a line with two tags ignores the sentence between them.
  • Do not ignore a passage because fixing it is tedious. This skill is for text that is not prose, or must not change.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.