Agent Skills
› keychat-io/keychat-app
› lint
lint
GitHub用于对 Keychat 项目执行代码质量检查,包括静态分析、格式化和 lint。支持自动修复格式问题或全面检查,基于 very_good_analysis 规则确保代码规范。
触发场景
用户要求检查代码质量
用户要求运行 lint 或格式化代码
用户明确要求修复代码格式
安装
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.
版本历史
- 294d00d 当前 2026-07-05 10:51


