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

doctor

Skill10 starsChanged 11 days agoMITView on GitHub

Check a Vale setup end to end and say what is working, what is broken, and the command that fixes each thing. Use when the user says "vale isn't working", "why is the hook silent", "is vale set up right", "vale reports nothing", or after cloning a repository that uses Vale.

96 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use uninstall, cancel and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    uninstall

    Uninstall a community skill that was installed via the hub. Confirms before deleting files, refuses to touch first-party plugin skills, and logs every action. Use when the user wants to fully remove a community skill ("uninstall [skill]", "remove this skill") rather than just disable it.

    Also in 6 projects that use this

  • woosikkimSkill

    cancel

    Clear any stale OMC-Slim state

    Also in 4 projects that use this

  • ibahgatSkill

    hud

    Control omi visual HUD profile and keep status output readable in normal, compact, or hidden mode.

    Also in 3 projects that use this

  • ibahgatSkill

    ralplan

    Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.

    Also in 3 projects that use this

  • diego-tobalinaSkill

    build-fix

    Fix build and compilation errors systematically. Run when build fails.

    Also in 3 projects that use this

  • Arman-KudaibergenovSkill

    inspect

    Этот скилл MUST быть вызван для анализа и инспекции любого объекта 1С из XML-выгрузки: конфигурация (cf-info), объект метаданных (meta-info), управляемая форма (form-info), схема компоновки данных СКД (skd-info), макет табличного документа MXL (mxl-info), подсистема (subsystem-info), роль и права (role-info). SHOULD вызывать как подготовительный шаг перед любой модификацией объекта. Do NOT использовать для модификации — для изменений используй соответствующие edit/compile скиллы.

    Also in 4 projects that use this

  • +1 more from ibahgat

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 72 edited versions we read keep these.

  • 2

    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. Distinctive:

    Do not "fix" a silent hook by widening its level unless the user wants warnings on every edit.

    line 73
  2. Very specific:

    Do not edit the configuration to make a check pass.

    line 75
  3. Distinctive:

    Do not report a setup as healthy from the first three lines.

    line 77

“Common” is measured: kept by at least 6 in 10 of the 72 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

Check a Vale setup

When to use this

Something about Vale is not behaving, or someone wants to know a setup is sound before relying on it. Most Vale problems are silent: a config that lints nothing, styles that were never synced, a hook with nothing to say. This skill turns silence into a checklist.

It diagnoses. It does not fix anything without being asked.

Workflow

1. Run the check from the repository root:

sh ${CLAUDE_SKILL_DIR}/scripts/doctor.sh
sh ${CLAUDE_SKILL_DIR}/scripts/doctor.sh docs/guide/install.md   # try a particular file

${CLAUDE_SKILL_DIR} is the directory this file is in; if it reaches you as literal text, use that path. The script only reads.

ok    vale 3.27.0 at /usr/local/bin/vale
ok    configuration loads: .vale.ini
FAIL  styles named in the configuration are not on disk: Microsoft
      -> vale sync
ok    vocabulary Docs: 12 terms accepted
warn  a run on README.md reports nothing
      -> if that is a surprise, check that a [section] glob in the configuration matches this file

It checks, in order: the binary, whether the configuration loads, whether every style it names is on disk, the vocabulary and whether git tracks it, whether a real run on a real file works, whether a user-level configuration changes the result, the markup parsers AsciiDoc and reStructuredText need, and the hooks.

2. Report it as it is. Lead with the FAIL lines and their fixes, then the warnings, then one line saying the rest is fine. Do not turn a warning into a problem or a clean result into a longer one.

3. Fix only what the user asks for, and only what the script named. Each -> line is the fix. vale sync is safe to run. Anything that edits .vale.ini or .gitignore is the team's file: say what you would change.

What the silent cases usually are

  • "The hook does nothing." It reports errors only, by default, and only on files the assistant edits. A file with warnings and no errors is silence by design. The level is a plugin setting.
  • "Vale reports nothing on this file." No [section] glob matches it. vale ls-config shows the sections; a glob is matched against the path from the config's directory.
  • "It worked yesterday." StylesPath is not in git, and a fresh clone or a cleaned checkout has no styles until vale sync runs.
  • "It passes locally and fails in CI", or the reverse. A user-level config on one machine is being merged in. The check names the file and gives the alert count with and without it; vale ls-dirs shows where Vale looks.
  • "Every word is a spelling error." A file in another language read as English, or a dictionary file that is not a dictionary. See setup and vocab.

Do not

  • Do not "fix" a silent hook by widening its level unless the user wants warnings on every edit.
  • Do not edit the configuration to make a check pass. A missing style is synced, not removed from BasedOnStyles.
  • Do not report a setup as healthy from the first three lines. The run on a real file is the check that matters.

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.