Claude
Skill
audit-qc
Does this meet standards?
Download
dhaupin-vant-models_public_vant_skills_vant-skill-audit-qc-e1e348e.zip · 0 KB
Install
skills CLI
npx skills add https://github.com/dhaupin/vant/tree/main/models/public/vant/skills/vant-skill-audit-qc
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install dhaupin-vant@llmmart
Git
git clone https://github.com/dhaupin/vant.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole dhaupin/vant collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Quality Control
Does this meet standards?
What To Check
1. Code Quality
# Check formatting
npm run lint
npm run format
# Check for console.log
grep -rn "console.log" . --include="*.js"
| Check | Issue | Severity |
|---|---|---|
| Lint errors | HIGH | Fail |
| console.log in prod | LOW | Warn |
| No tests | MEDIUM | Warn |
2. Types
# Type errors
npm run type-check
npx tsc --noEmit
| Check | Issue | Severity |
|---|---|---|
| Type error | HIGH | Fail |
| Any type | LOW | Warn |
3. Tests
# Test coverage
npm test
npm run test:coverage
| Check | Issue | Severity |
|---|---|---|
| Tests fail | HIGH | Fail |
| <80% coverage | MEDIUM | Warn |
| No tests | LOW | Warn |
4. Build
# Does it build?
npm run build
| Check | Issue | Severity |
|---|---|---|
| Build fails | HIGH | Fail |
| Build warning | LOW | Warn |
Output
## QC Audit - [file]
### Lint
- [PASS/FAIL] Lint: [errors]
### Types
- [PASS/FAIL] Types: [errors]
### Tests
- [PASS/FAIL] Tests: [result]
- Coverage: [x]%
### Build
- [PASS/FAIL] Build: [result]
### Summary
| Check | Result |
|--------|---------|
| Lint | PASS |
| Types | PASS |
| Tests | PASS |
| Build | PASS |
Standards
| Level | Meaning |
|---|---|
| PASS | Ready to merge |
| WARN | Consider fixing |
| FAIL | Block merge |
Role: QC Auditor Input: Code to check Output: Standards met?
Files (vant)
-
SKILL.md 1.6 KB
--- name: audit-qc description: Does this meet standards? license: MIT metadata: author: vant version: "1.0" --- # Quality Control > Does this meet standards? --- ## What To Check ### 1. Code Quality ```bash # Check formatting npm run lint npm run format # Check for console.log grep -rn "console.log" . --include="*.js" ``` | Check | Issue | Severity | |-------|-------|-----------| | Lint errors | HIGH | Fail | | console.log in prod | LOW | Warn | | No tests | MEDIUM | Warn | ### 2. Types ```bash # Type errors npm run type-check npx tsc --noEmit ``` | Check | Issue | Severity | |-------|-------|-----------| | Type error | HIGH | Fail | | Any type | LOW | Warn | ### 3. Tests ```bash # Test coverage npm test npm run test:coverage ``` | Check | Issue | Severity | |-------|-------|-----------| | Tests fail | HIGH | Fail | | <80% coverage | MEDIUM | Warn | | No tests | LOW | Warn | ### 4. Build ```bash # Does it build? npm run build ``` | Check | Issue | Severity | |-------|-------|-----------| | Build fails | HIGH | Fail | | Build warning | LOW | Warn | --- ## Output ``` ## QC Audit - [file] ### Lint - [PASS/FAIL] Lint: [errors] ### Types - [PASS/FAIL] Types: [errors] ### Tests - [PASS/FAIL] Tests: [result] - Coverage: [x]% ### Build - [PASS/FAIL] Build: [result] ### Summary | Check | Result | |--------|---------| | Lint | PASS | | Types | PASS | | Tests | PASS | | Build | PASS | ``` --- ## Standards | Level | Meaning | |-------|---------| | PASS | Ready to merge | | WARN | Consider fixing | | FAIL | Block merge | --- **Role**: QC Auditor **Input**: Code to check **Output**: Standards met?
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.