DEV Community

Taj Sarkar
Taj Sarkar

Posted on

DevInsight — A CLI Tool for Git Repository Analysis and Developer Insights

GitHub Copilot CLI Challenge Submission

This is a submission for the GitHub Copilot CLI Challenge

What I Built

I built DevInsight, a command-line tool that analyzes Git repositories and provides developer productivity insights directly in the terminal.

The tool helps developers quickly understand:

  • Project structure and language distribution
  • Dependency summaries
  • Git activity and commit insights
  • Frequently modified files and refactor candidates
  • Repository health checks and suggestions
  • Automated project reports

The goal of DevInsight is to make it easier to understand the state of a codebase without opening multiple tools or dashboards.

Key features:

  • Interactive CLI interface
  • Repository analysis and dashboard
  • Smart insights based on Git history
  • Health scoring and suggestions
  • Markdown report generation

The tool is published on npm and can be installed using:

npx @tajsarkar/devinsight


Demo

GitHub Repository:

https://github.com/Taj-Sarkar/devinsight

npm Package:

https://www.npmjs.com/package/@tajsarkar/devinsight

How it works:

  1. Install or run using npx
  2. Run:
    devinsight

  3. Choose an option from the interactive menu:

  4. Analyze Repository

  5. Developer Dashboard

  6. Smart Insights

  7. Health Check

  8. Generate Report

Screenshots

Repository Analysis

Repository Analysis

Developer Dashboard

Dashboard

Smart Insights

Smart Insights

Health Check

Health Check

Report

Report
Report


My Experience with GitHub Copilot CLI

GitHub Copilot CLI helped speed up development by assisting with:

  • Generating command structures and CLI flows
  • Writing utility functions for file scanning and Git analysis
  • Suggesting patterns for handling command inputs and menus
  • Improving code organization and reducing repetitive work

It was especially useful when:

  • Structuring the CLI commands
  • Writing logic to parse files and directories
  • Generating boilerplate and refining implementations

Using Copilot CLI made the development process faster and allowed me to focus more on designing useful features rather than writing repetitive code.

Top comments (0)