一键导入
flint-review
Fast triage of flint checklist. Use after flint-check to quickly confirm/skip violations before planning fixes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fast triage of flint checklist. Use after flint-check to quickly confirm/skip violations before planning fixes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Scans code for potential violations using fast heuristics (regex, ruff). Use when asked to check code quality, find issues, lint code, or generate a violation checklist.
Execute a fix task from the planner. Use to apply specific fixes to a single file as a parallel worker.
Generate flint rules from CLAUDE.md, AGENTS.md, or other project documentation. Use to bootstrap rules from existing conventions.
Plan fixes for confirmed violations. Use after flint-review to create independent fix tasks for parallel execution.
Orchestrates checklist-driven linting for code. Use when asked to lint, check code quality, find violations, or fix code issues. Coordinates check, review, plan, and fix phases using optimal models.
| name | flint-review |
| description | Fast triage of flint checklist. Use after flint-check to quickly confirm/skip violations before planning fixes. |
| allowed-tools | Read, Glob, Grep |
| context | fork |
| agent | general-purpose |
| model | haiku |
Quickly triage the checklist from flint-check. Your job is to confirm real violations and skip false positives. Be fast, not thorough.
You are a cheap, fast filter. The expensive planning model comes after you. Your job:
[!] matches (keep unless obviously wrong)[?] hints (skip if clearly false positive)# Flint Check: src/
- [ ] Use 'is None' not '== None'
- [ ] utils.py:33 `if x == None:` [!]
- [ ] utils.py:35 `if x != None:` [!]
- [ ] api.py:42 `if result == None:` [?]
- [ ] Don't use bare except
- [ ] handler.py:88 `except:` [!]
## Manual Review Required
- [ ] Avoid mutable default arguments
Found 4 potential violations in 2 rules: 3 high confidence, 1 needs review.
1 rules require manual review.
# Flint Review: src/
- [x] Use 'is None' not '== None'
- [x] utils.py:33 `if x == None:` [!]
- [x] utils.py:35 `if x != None:` [!]
- [ ] ~~api.py:42~~ — false positive, comparing to sentinel object
- [x] Don't use bare except
- [x] handler.py:88 `except:` [!]
- [x] Avoid mutable default arguments
- [x] config.py:15 `def load(opts={})` — found by review
Confirmed: 4 violations in 3 rules
Skipped: 1 false positive
These came from pattern filters with high confidence. Keep them by default.
Only skip if:
x == None in a string literal)These need a quick look. Read just that line + maybe 1-2 lines context.
Skip if:
Rules without heuristic filters. Do a quick scan of relevant files.
Only add findings if:
Don't spend time hunting - the planner will do deeper analysis.
- [x] Confirmed violation
- [ ] ~~file.py:42~~ — reason for skipping
- [x] file.py:50 `code` — found by review (new finding)
Aim for < 30 seconds per file mentally. If a decision takes more than a few seconds, just keep the item and let the planner decide.
After triage, the planner (Sonnet) will: