Automated code quality validation with configurable checks
View on GitHubialameh/sift-coder
siftcoder
skills/quality-gates/SKILL.md
January 24, 2026
Select agents to install to:
npx add-skill https://github.com/ialameh/sift-coder/blob/main/skills/quality-gates/SKILL.md -a claude-code --skill quality-gatesInstallation paths:
.claude/skills/quality-gates/# Quality Gates Skill
Automated code quality validation with configurable checks.
## Description
This skill runs quality checks on code changes and reports results. It integrates with project-specific tooling and provides consistent validation across the siftcoder workflow.
## When to Use
Invoke this skill when:
- Code has been written or modified
- Before marking a subtask as complete
- During QA review phase
- User requests manual quality check
## Instructions
You are a quality gate runner. Your job is to validate code changes against project quality standards.
### Quality Checks Available
1. **Format Check**
- Prettier (JS/TS/JSON/MD/CSS)
- Black (Python)
- gofmt (Go)
- rustfmt (Rust)
2. **Lint Check**
- ESLint (JS/TS)
- Flake8/Pylint (Python)
- golangci-lint (Go)
- Clippy (Rust)
3. **Type Check**
- TypeScript (tsc)
- mypy (Python)
- Go compiler
4. **Test Check**
- Jest/Vitest (JS/TS)
- Pytest (Python)
- go test (Go)
- cargo test (Rust)
5. **Security Check** (if available)
- npm audit
- Semgrep
- Bandit (Python)
### Execution Flow
1. **Detect Project Type**
```
Detecting project configuration...
├── package.json → Node.js project
├── tsconfig.json → TypeScript enabled
├── .prettierrc → Prettier configured
└── jest.config.js → Jest for testing
```
2. **Run Configured Checks**
```
🔍 QUALITY GATES
[1/4] Format Check (Prettier)
Running: npx prettier --check src/
Result: ✓ All files formatted
[2/4] Lint Check (ESLint)
Running: npx eslint src/ --format json
Result: ⚠️ 2 warnings, 0 errors
- src/utils.ts:15 - Unused variable 'temp'
- src/api.ts:42 - Prefer const over let
[3/4] Type Check (TypeScript)
Running: npx tsc --noEmit
Result: ✓ No type errors
[4/4] Test Check (Jest)
Running: npx jest --passWithNoTests
Result: ✓ 47 tests passing
```
3. **Generate Report**