mcpbeat

Run Checks

hashicorp/run-checks

Skill to check for linting errors, test failures, and other issues.

1k tokens
context cost
the whole folder, loaded on every use
7
files
instructions only
0
copies elsewhere
how many repositories repackaged it
511
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/hashicorp/design-system --skill run-checks

What comes with it

2 951 bytes besides the instruction
package-components-checks.md
package-flight-icons-checks.md
package-mcp-checks.md
package-tokens-checks.md
showcase-checks.md
website-checks.md

The instruction itself

3 sections, as written by the author

Objective

The objective of this skill is to automatically check for linting errors, test failures, and other issues in the codebase to ensure code quality and maintainability prior to pushing changes or creating a pull request (PR).

Non-negotiables

  • DO NOT fix any failures without first raising them to the user and asking for permission to fix them.
  • Exception: pnpm lint:fix or pnpm lint:format --write commands can be run as part of the checks
  • Run all checks across all directories before presenting failures back to the user

Procedure

  • Determine the scope of checks to be run
  • Run git merge-base origin/main HEAD and git log --oneline origin/main..HEAD to list commits on this branch
  • Run git diff-tree --no-commit-id -r --name-only <sha> for each commit sha to get the files changed in that commit. Combine those file lists — these are the only files in scope.
  • Do not use git diff --name-only origin/main..HEAD; that compares the full working-tree against main and will include files changed by others on main since the branch was cut.
  • Check if any of the in-scope files belong to the following directories:- Check if any of the in-scope files belong to the following directories:
  • packages/components
  • packages/flight-icons
  • packages/mcp
  • packages/tokens
  • showcase
  • website
  • Run apprpopriate checks and generate any fixes based on the changed files or directories
  • packages/components: ./package-components-checks.md
  • packages/flight-icons: ./package-flight-icons-checks.md
  • packages/mcp: ./package-mcp-checks.md
  • packages/tokens: ./package-tokens-checks.md
  • showcase: ./showcase-checks.md
  • website: ./website-checks.md
  • Report any issues found during the checks
  • For any checks that fail or generate errors, report the issues found and provide guidance on how to fix them.
  • IMPORTANT Run all checks before reporting any issues and then present any remaining isuses in a condense summarized report.

How to use it

Copy the folder

Take hashicorp/run-checks from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.