
Code Quality
This runs a seven-step code review on your Flows app, starting with lint and TypeScript strict checks before touching a single file manually. It hunts down `any` types, flags components over 150 lines, greps for duplicate logic, and enforces dependency injection so your SDK client comes from context instead of imports. The type safety section is solid: it pushes you toward discriminated unions over boolean flag bags and branded types for primitives that shouldn't be mixed up. It's opinionated about deriving types with Pick and Omit instead of duplicating interfaces. If you're about to open a PR or just finished a feature and want to catch technical debt before it fossilizes, this gives you a structured sweep with actual grep commands and line numbers.
- skills.sh installs
- 2K
- GitHub stars
- 6
- last updated
- Aug 21, 2026
Install
$ npx -y skills add cognitedata/builder-skills --skill code-quality --agent claude-codeInstalls into .claude/skills of the current project.
Files
Code Quality Review
Review $ARGUMENTS (or the whole app if no argument is given) for code quality issues. Work through every step below in order and report all findings with file paths and line numbers.
Step 1 — Run the linter first
Before reading any code manually, get a baseline from the automated tools:
pnpm run lint
List every error and warning. Fix all errors before proceeding — lint errors are not negotiable. Warnings should be reviewed and resolved unless there is a documented exception.
Also run the TypeScript compiler in strict mode to surface any hidden type issues:
pnpm exec tsc --noEmit
List every type error. These must be fixed.
Step 2 — TypeScript type safety
2a — Eliminate any types
Search for any usage across the codebase:
grep -rn --include="*.ts" --include="*.tsx" -E ": any|as any|<any>" src/
For each hit, replace with the correct type. Common substitutions:
Sponsors
Details
- Repository
- github.com/cognitedata/builder-skills
- Categories
- Frontend Development, Git & Pull Requests, Code Review & Quality
- First seen
- Jun 3, 2026
More from cognitedata/builder-skills
All 26- Test Coverage1.9K
- Dependencies Audit1.9K
- Design1.9K
- Reveal 3d1.9K
- Integrate Todo List1.9K
- Correctness And Error Handling1.9K
- Dm Limits And Best Practices1.9K
- Integrate Atlas Chat1.9K
- Integrate File Viewer1.9K
- Security1.9K
- Setup Python Tools1.9K
- Graph Viewer1.9K
- Setup Flows Auth1.9K
- Performance1.9K
- Create Client Tool1.9K
- Pull Changes Resolve Conflicts1.9K
- Use Topbar1.9K
- Migrate App To Flows1.7K
- Integrate Fusion Agent1.7K
- Flows Code Review1.6K
- Flows Design Review1.1K
- Flows App Brief1.1K
- Flows External App Submit1.1K
- Flows App Review298