Eslint Vitest Rule Tester
Helps with ESLint, Vitest as part of testing, debugging, and quality assurance workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add eslint-vitest-rule-tester npx -- -y @trustedskills/eslint-vitest-rule-tester
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"eslint-vitest-rule-tester": {
"command": "npx",
"args": [
"-y",
"@trustedskills/eslint-vitest-rule-tester"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill, eslint-vitest-rule-tester, automates the process of testing ESLint rules. It executes a rule against a provided test suite and verifies that the output matches an expected result. This ensures that newly created or modified ESLint rules function as intended and maintain code quality.
When to use it
- Developing new ESLint rules: Automatically validate your rule's behavior with comprehensive tests.
- Maintaining existing ESLint rules: Ensure changes don’t introduce regressions by running automated test suites.
- Continuous Integration (CI): Integrate testing into CI pipelines for consistent and reliable validation of ESLint rules.
- Code Reviews: Quickly verify the correctness of rule modifications during code review processes.
Key capabilities
- Automated execution of ESLint rules against test suites.
- Verification of output against expected results.
- Integration with existing testing frameworks (Vitest).
Example prompts
- "Run tests for my new ESLint rule,
my-custom-rule." - "Verify the changes I made to the
no-unused-varsrule." - "Execute the test suite for the
import/orderrule and report any discrepancies."
Tips & gotchas
- Requires a properly configured Vitest environment with ESLint integration.
- The accuracy of the results depends on the quality and completeness of the provided test suite.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.