with one click
lint
Run code quality checks including linting, formatting, and type checking.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Run code quality checks including linting, formatting, and type checking.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | lint |
| description | Run code quality checks including linting, formatting, and type checking. |
Run code quality checks including linting, formatting, and type checking.
/lint [target] [--fix] [--strict]
target: Specific file or directory (default: src/ tests/)--fix: Auto-fix issues where possible--strict: Fail on warnings (for CI)When this skill is invoked:
Read prd/00_technology.md to find the correct commands
Run all checks in sequence:
# Linting (see prd/00_technology.md for specific command)
{lint_check_command} src/ tests/
# Formatting check
{format_check_command} src/ tests/
# Type checking
{type_check_command} src/
Report Results:
==================== Lint Results ====================
📋 Linting
✅ No issues found
📐 Formatting
⚠️ 2 files need formatting:
- src/{project}/api/routes
- tests/unit/test_config
🔍 Type Checking
✅ No type errors
==================== Summary ====================
✅ Linting: Passed
⚠️ Formatting: 2 issues (run with --fix)
✅ Type Checking: Passed
Run '/lint --fix' to auto-fix formatting issues.
# Fix linting issues
{lint_fix_command} src/ tests/
# Fix formatting
{format_fix_command} src/ tests/
Report what was fixed:
🔧 Auto-fixed issues:
Linting:
- src/{project}/api/routes: Removed unused import
- src/{project}/services/user: Sorted imports
Formatting:
- src/{project}/api/routes: Reformatted
- tests/unit/test_config: Reformatted
✅ All issues fixed!
Run individual checks (commands from prd/00_technology.md):
# Linting only
{lint_check_command} src/
# Formatting only
{format_check_command} src/
# Type checking only
{type_check_command} src/
# Security rules only (if supported)
{security_lint_command} src/
For CI pipelines, use strict mode:
From .claude/rules/code-quality.md:
$ /lint
🔍 Running code quality checks...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 Linting
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ All 15 files passed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📐 Formatting
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ All files formatted correctly
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔍 Type Checking
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Success: no issues found in 15 source files
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ All checks passed!
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Write a structured handoff at session end. Preserves context so the next agent can resume without human briefing. Invoke before ending any feature session longer than 30 minutes.
Multi-perspective code review against project standards with P1/P2/P3 severity classification. Works in Claude Code (Agent + optional GitHub MCP) and Cursor (Task subagents + gh/git). Use when the user invokes /review, asks for a PR or diff review, or wants a standards-aligned review with severity tags.
Multi-perspective code review (P1/P2/P3) for Cursor: inline checklists plus three parallel Task subagents (perf-auditor, security-reviewer, simplicity-reviewer with combined data-integrity prompt). Use when the user invokes /review, asks for a PR review, or wants repo-standard findings with severity.
Create well-formatted git commits following conventional commit standards.
Red→green→refactor discipline for new behavior — forces a failing test before implementation and a passing test before any claim of done.
Create or manage a git worktree for isolated parallel development — lets multiple agents work in the repo simultaneously without branch collisions.