with one click
lint
// Apply coding standards and linting to specified code areas. Use when enforcing style guidelines, fixing lint errors, or standardizing code formatting across files.
// Apply coding standards and linting to specified code areas. Use when enforcing style guidelines, fixing lint errors, or standardizing code formatting across files.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | lint |
| description | Apply coding standards and linting to specified code areas. Use when enforcing style guidelines, fixing lint errors, or standardizing code formatting across files. |
Apply applicable coding standards to ensure consistent code quality across the specified files. Standards are discovered at runtime from all active plugins and system context.
uncommitted): The area within each file to focus linting on. The linter agent interprets this value at runtime. Common values:
uncommitted — Focus on line ranges with uncommitted changes (staged + unstaged). The linter uses git diff to identify changed hunks and lints those areas plus their immediate surrounding context (enclosing functions/blocks).all — Lint each file in its entirety (legacy behavior).mocks, handlers, a function name) — The linter interprets the value as a hint for which sections of the code to focus on.5): Maximum lint passes to run. The skill delegates iteration to /loop, which re-invokes /coding:lint with --max-iterations=1 until either zero violations are reported or the cap is reached. Use --max-iterations=1 to force a single pass and skip looping entirely.Lead pre-filter for uncommitted scope: Before batching, the lead runs git diff --name-only to identify files with uncommitted changes. Files with no changes are excluded from batching to save linter tokens. If no specifier is given, all changed files are included. If a specifier is given, only changed files matching the specifier are batched.
What this command does NOT do:
When to REJECT:
--scope=uncommitted but no uncommitted changes in the specified files)ultrathink: you'd perform the following steps
Parse --max-iterations from $ARGUMENTS (default 5; positive integer).
max_iterations > 1: invoke the Skill tool with skill: "loop" and args: "/coding:lint <original-args-minus-max-iterations> --max-iterations=1". The /loop skill self-paces, re-firing /coding:lint --max-iterations=1 each cycle. It stops when the inner report says violations_found_total: 0 or when its own iteration count reaches the original --max-iterations. After the Skill call returns, emit a final aggregated summary (iteration count, total violations fixed, termination reason: converged | hard_cap_reached | no_progress) and exit. Do not run Steps 1–3 in this outer call.max_iterations == 1: skip the Skill invocation and continue to Step 1. This is the per-iteration single pass; the existing workflow runs unmodified, and Step 3 reporting must surface the convergence signal described below.This dispatch keeps lint's convergence logic out of the skill — /loop owns iteration and pacing.
Follow references/team-mode.md exactly. Standards are passed by path only —
you never read them. Concurrency: max 4 linters (haiku), max 2 reviewers
(sonnet); retire any agent at context_level >= 60%.
Output Format (same for both modes):
The report MUST begin with the following top-level keys so /loop's pacing model can read convergence state without parsing prose:
violations_found_total: <int> # sum across all batches in this pass
status: compliant | success | partial | failure
iteration_hint: max_iterations=<N> # echoed from input so the loop model can track its cap
Use status: compliant and violations_found_total: 0 together to signal convergence (no further /loop iterations needed). Use status: success when violations were found and all fixed (loop should continue to verify a clean pass). Use partial or failure when issues remain unresolved.
The remainder of the summary follows below:
[✅/❌] Command: $ARGUMENTS
## Summary
- Scope: [uncommitted|all|custom]
- Files scanned: [count]
- Files modified: [count]
- Files already compliant: [count]
- Standards compliance: [PASS/FAIL]
- Linting status: [all_pass/some_fail]
- Execution mode: [team/subagent]
## Actions Taken
1. Added/updated JSDoc comments in [X] files
2. Reordered functions in [Y] files
3. Standardized error messages in [Z] files
4. Fixed logging formats in [W] files
## Workflows Applied
- Linting workflow: [Status]
## Review Cycles (team mode only)
- Batch 1: [N] review rounds until both reviewers approved
- Batch 2: compliant — review skipped
- ...
## Review Coverage (team mode only)
- Batches reviewed: [count] (violations found, sent to reviewers)
- Batches skipped: [count] (already compliant, review not needed)
## Agent Lifecycle (team mode only)
- Agents spawned: [count]
- Agents reused: [count]
- Agents retired (context >= 60%): [count]
## Issues Found (if any)
- **Issue**: [Description]
**Fix**: [Applied fix or suggestion]
For the full set of usage examples (default, scope variants, team-mode walkthrough, subagent fallback walkthrough, looping, single-pass), see references/examples.md.