AGENT SKILL

lint

How to lint and typecheck in this project. Load when implementing or verifying code.

使用场景代码审查
License 许可
MIT
最近更新
2026-06-24
Stars
★ 66
Forks
24

01 前言 Front Matter

name
lint
description
How to lint and typecheck in this project. Load when implementing or verifying code.
allowed-tools
Bash

02 资源文件 11

03 SKILL.md 正文

Lint Skill

Project-specific linting and typechecking.

Lint Commands

# Run linter
# TODO: Add your lint command
npx eslint {files}
# ruff check {files}
# golangci-lint run

# Auto-fix
npx eslint {files} --fix
# ruff check {files} --fix

Typecheck Commands

# Run typecheck
# TODO: Add your typecheck command
npx tsc --noEmit
# mypy {files}
# go build ./...

Common Issues

Import Order

Run auto-fix to sort imports.

Unused Variables

Remove or prefix with _.

Type Errors

Check that types match expected signatures.

04 同仓库更多 Skills