Terminal output. Exits with code 0 (pass) or 1 (fail) for CI pipelines.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: lukasstrickler-ai-dev-atelier-code-quality3description: Code Quality4---56# Code Quality78Run comprehensive code quality checks: TypeScript typecheck, ESLint linting, Prettier formatting, and Markdown validation.910## Scripts1112Scripts are embedded in `skills/code-quality/scripts/finalize.sh`. Agents execute:13- `bash skills/code-quality/scripts/finalize.sh agent` - Auto-fixes formatting issues (agent mode)14- `bash skills/code-quality/scripts/finalize.sh ci` - Read-only checks for CI pipelines (no auto-fixes)1516## Checks Performed17181. **TypeScript Type Checking** - Validates type safety192. **ESLint Linting** - Checks code style and potential issues203. **Prettier Formatting** - Ensures consistent code formatting214. **Markdown Quality** - Validates markdown files (trailing whitespace, missing newlines)2223## Workflow2425### Running Quality Checks26271. **Choose mode**:28 - Agent mode: Execute `bash skills/code-quality/scripts/finalize.sh agent` - Auto-fixes formatting issues while checking for type and lint errors29 - CI mode: Execute `bash skills/code-quality/scripts/finalize.sh ci` - Read-only checks suitable for CI pipelines (no auto-fixes)30312. **Review results**: Check terminal output for errors and warnings32 - TypeScript errors show file paths and line numbers33 - ESLint warnings include rule names and suggestions34 - Prettier issues are auto-fixed in agent mode35 - Markdown issues show file paths and line numbers36373. **Fix issues**: Address any errors that weren't auto-fixed38 - Type errors: Fix type mismatches, missing types, or incorrect imports39 - Lint errors: Follow ESLint suggestions or disable rules with comments if needed40 - Markdown issues: Fix trailing whitespace or add missing newlines41424. **Re-run checks**: Execute the same command again to verify all issues are resolved43 - Script exits with code 0 if all checks pass44 - Script exits with code 1 if any check fails (useful for CI pipelines)4546### Integration with Other Skills4748- Run after code-review skill to ensure reviewed code meets quality standards49- Run before docs-check skill to ensure code is clean before documentation review50- Use in CI pipelines as a quality gate before merging PRs5152## Examples5354When agents use this skill, they execute:5556```bash57# Agent mode (auto-fixes)58bash skills/code-quality/scripts/finalize.sh agent5960# CI mode (read-only)61bash skills/code-quality/scripts/finalize.sh ci62```6364## Integration6566- Run after code-review skill to ensure reviewed code meets quality standards67- Run before docs-check skill to ensure code is clean before documentation review68- Use in CI pipelines as a quality gate before merging PRs6970## References7172- `references/documentation-guide.md` - Documentation standards7374## Output7576Terminal output. Exits with code 0 (pass) or 1 (fail) for CI pipelines.7778---79> Converted and distributed by [TomeVault](https://tomevault.io/claim/lukasstrickler) — claim your Tome and manage your conversions.80<!-- tomevault:4.0:skill_md:2026-04-13 -->
Run npx skillmds@latest add tomevault-io/lukasstrickler-ai-dev-atelier-code-quality in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Code Quality It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.