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
- 其他examples/gold-standard-card.tsx2.6 KB
- 参考文档package-lock.json7.0 KB
- 参考文档package.json356 B
- 参考文档README.md1.3 KB
- 参考文档resources/architecture-checklist.md613 B
- 其他resources/component-template.tsx1.0 KB
- 参考文档resources/stitch-api-reference.md1.2 KB
- 参考文档resources/style-guide.json473 B
- 脚本scripts/fetch-stitch.sh1009 B
- 脚本scripts/validate.js2.4 KB
- 参考文档skill-report.json7.5 KB
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.