code-insights

Analyze changed TS/TSX and C# files for PR nudges and DTO insights.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/johwer/marketplace --skill code-insights
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-insights
Source: https://github.com/johwer/marketplace/tree/main/skills/code-insights
Command: npx skills add https://github.com/johwer/marketplace --skill code-insights

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

An opt-in code-review assistant that analyzes changed files to provide nudges for quick improvements and DTO insights with mermaid diagrams for PR descriptions.

Core Features & Use Cases

  • Quick Nudges: identify small, high-impact improvements in changed frontend (.ts/.tsx) and backend (.cs) files.
  • Deep Insights: generate DTO-focused analysis and mermaid diagrams to enrich PR descriptions.
  • Workflow Support: supports both single-mode nudges and a combined "both" mode for end-to-end PR readiness.

Quick Start

Run the /code-insights command to analyze your current changes and receive actionable feedback.

Frequently Asked Questions about code-insights

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

FAQPage Schema
How do I generate mermaid diagrams for PR descriptions from changed files?

You can generate mermaid diagrams for PR descriptions by analyzing changed source files to extract DTO alterations and output a structured diagram. This provides deep insights into data transfer object changes within your codebase.

Can I analyze both frontend TSX and backend C# changes for code review nudges?

Yes, you can analyze both frontend TS/TSX and backend C# changes for code review nudges. The tool detects patterns like async/await usage and DTO alterations across these specific file types.

What is a quick nudge in code review for TypeScript changes?

A quick nudge in code review identifies small, high-impact improvements in changed frontend TypeScript files. It validates changes and detects patterns to suggest actionable edits for optimizing your pull request.

How do I get end-to-end PR readiness analysis for DTO alterations?

You can achieve end-to-end PR readiness by using a combined mode that applies both quick nudges and deep insights. This validates changes, detects async/await patterns, and generates mermaid diagrams for your PR descriptions.

Does this code review tool generate suggested edits for async/await usage?

Yes, the code review tool detects async/await usage patterns in your changed source files and generates suggested edits. It analyzes the diff to provide actionable nudges for optimizing your code.

What are the limitations of using automated diff analysis for pull request optimization?

Automated diff analysis for pull request optimization is limited to frontend TS/TSX and backend C# file changes. It focuses on DTO alterations and async/await patterns, meaning unsupported file types will not receive nudges or diagram generation.