Code Quality
Structured review workflow covering linting, TypeScript strictness, component size, DRY, and dependency injection checks for Flows apps.
- CCM score
- 56 of 100
- skills.sh installs
- 2K
- GitHub stars
- 6
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the review in ordered steps: lint and strict TypeScript baseline, type safety, component size, duplicate logic, dependency injection, and coding patterns
- Includes grep and node commands to find
anyusage, flag-bag state types, oversized.tsxfiles over 150 lines, and direct CDF client construction - Enforces zero
anyinsrc/and requires discriminated unions and derived types over manually duplicated shapes - Designed for reviewing a Flows app before a PR review or after a feature is complete
Install
$ npx -y skills add cognitedata/builder-skills --skill code-quality -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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:
Details
- Repository
- github.com/cognitedata/builder-skills
- Categories
- Code Review & Quality, Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the code-quality skill do?
The code-quality skill reviews a Flows app for code quality, maintainability, and clean code issues, such as any types, naming, dead code, duplication, and component size. It starts by running the linter and the TypeScript compiler in strict mode, then works through the review steps and reports findings with file paths and line numbers.
How do I install the code-quality skill?
Run npx -y skills add cognitedata/builder-skills --skill code-quality -y in your project to install the code-quality skill. Once installed, the code-quality skill lets your agent review a Flows app, a single file, or a PR branch for code quality issues.
Which skills lead the Code Review & Quality category, and how does code-quality compare?
Code-quality sits in the Code Review & Quality category next to improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review. Unlike those, the code-quality skill focuses on Flows app code quality, including eliminating any types, enforcing dependency injection, and checking TypeScript strict mode.
Is code-quality the right skill for a certification code review of a Flows app?
The code-quality skill covers maintainability and clean code checks for a Flows app, while the flows-code-review skill in the same repository is the technical review runner used in the certification flow. The code-quality skill is a good fit when you want focused cleanup of types, duplication, and component structure before that review.
More from cognitedata/builder-skills
All 25- Test Coverage1.9K
- Dependencies Audit1.9K
- Reveal 3d1.9K
- Design1.9K
- Integrate Todo List1.9K
- Correctness And Error Handling1.9K
- Dm Limits And Best Practices1.9K
- Integrate Atlas Chat1.9K
- Security1.9K
- Integrate File Viewer1.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
- Skill Creator2.5K
Similar to Code Quality
More Code Review & Qualityflows-design-reviewcognitedata/builder-skills1.1K installsRuns a semi-automated design review for Flows apps, drafting 1–5 scores for ten quality questions from repo probes.
thermo-nuclear-code-quality-reviewcursor/plugins25.4K installsStrict maintainability review that hunts for structural simplifications, oversized files, and spaghetti conditionals.
react-flow-code-reviewexistential-birds/beagle329 installsA review-gate guide for auditing @xyflow/react code against anti-patterns, performance, and common mistakes.
agent-analyze-code-qualityruvnet/ruflo1.2K installsStructured code quality reviewer that scores readability, maintainability, and performance, flagging code smells and refactoring opportunities.
code-review-excellencegalaxy-dawn/claude-scholar379 installsStructured review workflow and checklists that shift code review toward knowledge sharing and constructive feedback.
code-reviewagno-agi/agno479 installsStructured code review assistant that sorts findings into critical, important, and suggestion severity levels.