Mandatory Testing & Linting Guard
CommunityEnsure code quality: test and lint every change, no exceptions.
Software Engineering#code quality#testing#linting#development workflow#npm#regression prevention#pre-commit
AuthorspartDev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enforces critical code quality standards by ensuring that npm test and npm run lint are executed and pass after every single code modification. It prevents regressions, maintains high code quality, and ensures compliance with project standards, eliminating the risk of "small changes" breaking the build.
Core Features & Use Cases
- Mandatory Execution: Explicitly requires running
npm testandnpm run lintafter every code change, enforcing a strict quality gate. - Comprehensive Test Suite Overview: Provides insights into the project's 875+ tests, coverage, and testing frameworks for informed development.
- Troubleshooting & Auto-Fix Strategies: Offers solutions for common test failures, linting issues, and low code coverage, including
npm run lint:fixand coverage-driven testing. - Use Case: A developer has just implemented a new feature. Before committing, this Skill reminds them to run all tests and lint checks, guiding them through fixing any failures to ensure the new code integrates flawlessly and adheres to project standards.
Quick Start
I've just finished making code changes. Guide me through the mandatory testing and linting process to ensure code quality before I commit.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Mandatory Testing & Linting Guard Download link: https://github.com/spartDev/My-Prompt-Manager/archive/main.zip#mandatory-testing-linting-guard Please download this .zip file, extract it, and install it in the .claude/skills/ directory.