Lint and validate
Skill BAKUGOS1/SkilledAgents-Toolkit/plugins/skilled-agents/skills/lint-and-validate
MANDATORY: Run validation after EVERY code change. No task is done until the code is error-free.From its SKILL.md
npx -y skills add BAKUGOS1/SkilledAgents-Toolkit --skill lint-and-validateAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.8 KB, 456 tokens by cl100k_base, as published. Nobody here has run it
Lint and Validate — Wrkly Edition
MANDATORY: Run validation after EVERY code change. Do not finish a task until the code is error-free.
Quality Loop
- Write/Edit Code
- Run Audit (see commands below)
- Analyze Report — check for errors, warnings, type mismatches
- Fix & Repeat — submitting code with failures is NOT allowed
Validation Commands
Backend (wrkly-api/)
# Type check
cd wrkly-api && npx tsc --noEmit
# Run tests
cd wrkly-api && pnpm test
# Run tests with coverage
cd wrkly-api && pnpm test:coverage
# Security audit
cd wrkly-api && npm audit --audit-level=high
Frontend (wrkly-web/)
# Full build (includes type check + lint)
cd wrkly-web && pnpm build
# Type check only
cd wrkly-web && npx tsc --noEmit
# Lint
cd wrkly-web && pnpm lint
Full Project Validation
# Run this before every commit
cd wrkly-api && npx tsc --noEmit && pnpm test && cd ../wrkly-web && pnpm build
Error Handling
| Error Type | Action |
|---|---|
| TypeScript error | Fix type mismatch immediately — never use // @ts-ignore |
| ESLint warning | Fix the style issue or disable with inline comment + justification |
| Test failure | Fix the code, not the test (unless the test is wrong) |
| Build failure | Check import paths, missing dependencies, Next.js config |
| Prisma error | Run npx prisma generate after schema changes |
Strict Rules
- ❌ Never commit code that fails
tsc --noEmit - ❌ Never commit code that fails
pnpm test - ❌ Never commit code that fails
pnpm build - ✅ Always run the full validation loop before marking a task as done
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.