Agent skill
dev-validation-quality-gates
Quality standards that must pass before commit
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/dev-validation-quality-gates
SKILL.md
Quality Gates
These quality gates must pass before any commit.
Code Quality Rules
TypeScript
- No
anytypes without justification - No
@ts-ignoreor@ts-expect-error - Proper type annotations on functions
- Correct import/export syntax
Code Style
- No unused imports or variables
- No console.log in production code
- Consistent formatting (prettier)
- Meaningful variable/function names
Testing
- New code has test coverage
- All existing tests still pass
- Tests cover edge cases
Build
- Bundle size is reasonable
- No build warnings
- Production build succeeds
Server-Authoritative Checks
For multiplayer features:
- Game logic runs on server
- Client doesn't trust itself for gameplay
- Input validation on server
- Hit detection validated server-side
Performance Checks
For performance-critical features:
- No object creation in hot loops
- Proper use of refs for animation
- Memory disposal in cleanup
- Efficient rendering patterns
Pre-Commit Checklist
Before committing, verify:
- All feedback loops pass
- Code follows existing patterns
- No error suppression
- Server processes killed (ports freed)
- Documentation updated if needed
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?