PR #54''s CI failed on Static analysis (ktlint) even though the local /preflight gate was green. The gate ran assembleDebug + testDebugUnitTest + lintDebug, but CI''s Static analysis job runs :app:ktlintCheck :app:detekt — and lintDebug does not cover the test/androidTest source sets, so a style violation there slipped through locally and only failed after push.
Change
Docs/tooling only — no code:
.claude/skills/preflight/SKILL.md — add :app:ktlintCheck :app:detekt to the steps, note it mirrors CI''s Static analysis job and covers the source sets lintDebug skips, and point at the ktlint/detekt reports on failure. Updated the skill description accordingly.
CLAUDE.md — add the same command to the build/test/lint block and update the "fast CI gate" sentence to match.
## Why
PR #54''s CI failed on **Static analysis** (ktlint) even though the local `/preflight` gate was green. The gate ran `assembleDebug` + `testDebugUnitTest` + `lintDebug`, but CI''s Static analysis job runs `:app:ktlintCheck :app:detekt` — and `lintDebug` does not cover the `test`/`androidTest` source sets, so a style violation there slipped through locally and only failed after push.
## Change
Docs/tooling only — no code:
- `.claude/skills/preflight/SKILL.md` — add `:app:ktlintCheck :app:detekt` to the steps, note it mirrors CI''s Static analysis job and covers the source sets `lintDebug` skips, and point at the ktlint/detekt reports on failure. Updated the skill description accordingly.
- `CLAUDE.md` — add the same command to the build/test/lint block and update the "fast CI gate" sentence to match.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why
PR #54''s CI failed on Static analysis (ktlint) even though the local
/preflightgate was green. The gate ranassembleDebug+testDebugUnitTest+lintDebug, but CI''s Static analysis job runs:app:ktlintCheck :app:detekt— andlintDebugdoes not cover thetest/androidTestsource sets, so a style violation there slipped through locally and only failed after push.Change
Docs/tooling only — no code:
.claude/skills/preflight/SKILL.md— add:app:ktlintCheck :app:detektto the steps, note it mirrors CI''s Static analysis job and covers the source setslintDebugskips, and point at the ktlint/detekt reports on failure. Updated the skill description accordingly.CLAUDE.md— add the same command to the build/test/lint block and update the "fast CI gate" sentence to match.🤖 Generated with Claude Code