quality-gates
Run quality checks before commits
๋ํ ๋ค์์์ ์ฌ์ฉํ ์ ์์ต๋๋ค: Barnhardt-Enterprises-Inc,ArieGoldkin
Manual code quality checks slow down development and allow bugs to slip through. This skill automatically runs linting, type checking, tests, and security audits before every commit or deployment.
์คํฌ ZIP ๋ค์ด๋ก๋
Claude์์ ์ ๋ก๋
์ค์ โ ๊ธฐ๋ฅ โ ์คํฌ โ ์คํฌ ์ ๋ก๋๋ก ์ด๋
ํ ๊ธ์ ์ผ๊ณ ์ฌ์ฉ ์์
ํ ์คํธํด ๋ณด๊ธฐ
"quality-gates" ์ฌ์ฉ ์ค์ ๋๋ค. Run quality gates before my commit
์์ ๊ฒฐ๊ณผ:
- Quality Gate Results: 5/6 Passed
- Lint: PASS (0 errors, 2 warnings)
- Type Check: PASS (0 errors)
- Tests: PASS (124 passed, 0 failed, 87% coverage)
- Build: PASS (build completed successfully)
- Security Audit: PASS (no critical vulnerabilities)
- Secrets Check: PASS (no secrets detected in staged files)
- Ready to commit!
"quality-gates" ์ฌ์ฉ ์ค์ ๋๋ค. Run security audit on my dependencies
์์ ๊ฒฐ๊ณผ:
- Security Audit Results: 3 vulnerabilities found
- Critical: 0 | High: 1 | Moderate: 2
- High: Prototype pollution in lodash < 4.17.21
- Run 'npm audit fix' to resolve
- Recommendation: Update lodash to latest version
๋ณด์ ๊ฐ์ฌ
์์ This is a documentation-only skill file (SKILL.md) that defines quality assurance workflows. All command executions are standard development tools (npm, eslint, vitest) running locally. The heuristic finding is a false positive - this skill DEFENDS against credential leaks by checking git diffs for secrets, not exfiltrating credentials. No malicious intent present.
์ํ ์์ธ
โ๏ธ ์ธ๋ถ ๋ช ๋ น์ด (5)
ํ์ง ์ ์
๋ง๋ค ์ ์๋ ๊ฒ
Pre-commit quality checks
Run automated checks before every commit to catch issues early and maintain consistent code quality.
Pre-deploy validation
Verify build success, security compliance, and test coverage before deploying to production.
Quality standards enforcement
Define and enforce team-wide quality gates that all contributors must pass before merging.
์ด ํ๋กฌํํธ๋ฅผ ์ฌ์ฉํด ๋ณด์ธ์
Run quality gates for linting only on the changed files in this commit.
Run all pre-commit quality gates including linting, type checking, and tests.
Run security audit to check for vulnerabilities in dependencies and suggest fixes.
Run comprehensive pre-deploy quality gates: lint, typecheck, tests, build verification, and security audit.
๋ชจ๋ฒ ์ฌ๋ก
- Configure quality gates in package.json with lint, typecheck, and test scripts for consistent execution
- Use Husky or similar git hooks to prevent bypassing quality gates accidentally
- Set realistic coverage thresholds that encourage improvement without blocking development
ํผํ๊ธฐ
- Skipping quality gates for quick fixes that eventually become technical debt
- Setting coverage thresholds too high causing developers to write tests for the sake of metrics
- Ignoring lint warnings as they accumulate and create noise that hides real issues
์์ฃผ ๋ฌป๋ ์ง๋ฌธ
Which tools does this skill support?
How long do quality gates take?
Can I skip gates for emergency fixes?
Is my code sent to external services?
What happens if a gate fails?
How is this different from Husky?
๊ฐ๋ฐ์ ์ธ๋ถ ์ ๋ณด
์์ฑ์
AI-Vibe-Prompts๋ผ์ด์ ์ค
MIT
๋ฆฌํฌ์งํ ๋ฆฌ
https://github.com/Atman36/AI-Vibe-Prompts/tree/main/.claude/skills/core/quality-gates์ฐธ์กฐ
main
ํ์ผ ๊ตฌ์กฐ
๐ SKILL.md