code-quality-analysis

Analyze Angular and Cumulocity Web SDK code for anti-patterns and bugs.

5|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/Cumulocity-IoT/cumulocity-skills --skill code-quality-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-quality-analysis
Source: https://github.com/Cumulocity-IoT/cumulocity-skills/tree/main/skills/code-quality-analysis
Command: npx skills add https://github.com/Cumulocity-IoT/cumulocity-skills --skill code-quality-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automatically identifies and reports common anti-patterns, bugs, and quality issues in Angular and Cumulocity Web SDK codebases, leading to more maintainable and robust applications.

Core Features & Use Cases

  • Anti-Pattern Detection: Identifies specific coding violations like incorrect Angular control flow usage, improper change detection, and overuse of any.
  • Best Practice Enforcement: Ensures adherence to TypeScript, Angular, and Cumulocity SDK best practices.
  • Use Case: During a code review, use this skill to automatically flag components that are not using standalone features or have missing trackBy in loops, providing immediate suggestions for improvement.

Quick Start

Use the code-quality-analysis skill to analyze the file 'src/app/my-component.component.ts' for any anti-patterns.

Frequently Asked Questions about code-quality-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect Angular anti-patterns and Cumulocity SDK issues in my TypeScript code?

To detect Angular anti-patterns and Cumulocity SDK issues, analyze your TypeScript files to automatically identify incorrect control flow syntax, non-standalone components, missing trackBy in loops, and improper RxJS usage for maintainability and correctness.

What are common Angular code quality issues and how are they flagged during a code review?

Common Angular code quality issues include non-standalone components, missing trackBy in loops, improper change detection, and overuse of any. They are flagged during code review by analyzing components, services, and modules against TypeScript and Angular best practices.

Can I use this code review tool to check Cumulocity Web SDK components and services?

Yes, you can use this tool to check Cumulocity Web SDK components and services. It applies specific C8Y SDK usage rules alongside Angular and TypeScript best practices to ensure your applications are maintainable, performant, and correct.

How do I analyze a specific TypeScript file for maintainability and performance bugs?

To analyze a specific TypeScript file for maintainability and performance bugs, run the code analysis skill targeting your component path like 'src/app/my-component.component.ts' to automatically report detected anti-patterns and quality issues.

Does this analysis cover improper RxJS usage and incorrect change detection in Angular?

Yes, this analysis covers improper RxJS usage and incorrect change detection in Angular. It evaluates your codebase to detect these specific violations, enforcing Angular idioms to improve overall robustness and maintainability.

Why should I enforce standalone components in my Angular codebase?

You should enforce standalone components in your Angular codebase to adhere to modern Angular idioms and best practices. The analysis identifies components not using standalone features, providing immediate suggestions for improvement during code reviews.