Agent Skills
› keychat-io/keychat-app
› lint
lint
GitHub对代码库运行 lint、格式化和静态分析检查,支持自动修复格式问题。用于确保代码质量和规范一致性。
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


