Agent Skills
› keychat-io/keychat-app
› lint
lint
GitHub用于对代码库执行静态分析、格式检查和修复。支持自动修复格式问题,或运行完整检查以报告代码质量问题,确保项目代码规范。
Trigger Scenarios
用户要求检查代码质量
用户要求格式化代码
用户要求修复代码风格问题
Install
npx skills add keychat-io/keychat-app --skill lint -g -y
SKILL.md
Frontmatter
{
"name": "lint",
"description": "Run linting, formatting, and static analysis on the codebase",
"allowed-tools": "Bash(melos *), Bash(dart format *), Bash(dart analyze *)",
"argument-hint": "[fix]",
"disable-model-invocation": true
}
Run code quality checks on the Keychat project.
Arguments
$ARGUMENTS- Optional: "fix" to auto-fix formatting issues
Commands
Run all checks (analyze + format check)
melos run lint:all
Run analyzer only
melos run analyze
Check formatting
dart format --set-exit-if-changed .
Fix formatting
dart format .
Workflow
-
If
$ARGUMENTSis "fix":- Run
dart format .to fix formatting - Then run
melos run analyzeto check for remaining issues
- Run
-
Otherwise:
- Run
melos run lint:allto check everything - Report any issues found
- Run
Analysis configuration
The project uses very_good_analysis rules defined in analysis_options.yaml.
Version History
- 294d00d Current 2026-07-05 10:51


