bestcreator01

Repository Inspector

Community bestcreator01
Updated

TypeScript tool that inspects Git repository changes and runs validation commands, with CLI and MCP interfaces.

Repository Inspector

This is a small TypeScript developer tool that inspects changes in a Gitrepository, runs optional validation commands, and produces a Markdown report.It can be used from a command line or exposed to AI clients through MCP.

Your task

Investigate the repository and improve it as you judge best. The starter worksfor a narrow happy path, but production use may expose correctness, safety,reliability, contract, output, documentation, or testing weaknesses.

You are not expected to finish everything. We care about how you investigate,prioritize, implement, verify, and explain a meaningful scope.

Product decision

This tool may be used directly by developers and by AI coding agents. Decidewhether its production interface should be CLI-first, MCP-first, orhybrid. Implement improvements consistent with your decision.

There is no preferred label. Explain:

  • The primary user and execution environment you assumed.
  • The trust boundary and allowed capabilities.
  • Reliability, discoverability, latency/context, and output-size tradeoffs.
  • How the interfaces you continue to advertise stay behaviorally consistent.
  • What evidence would change your decision.

Time and rules

  • Maximum 90 focused minutes within 48 hours of receiving the invitation.
  • Use AI coding tools freely. Verify their work and document at least onesuggestion you corrected or rejected.
  • Work in your own repository created from this template.
  • Commit as you work and complete SUBMISSION.md in your final commit.
  • Completion is not required. Accurate scope and verification matter more thana large diff.

Setup

npm install
npm run typecheck
npm test

CLI

npm run inspector -- review --repo ./path/to/repo --format markdown
npm run inspector -- review --repo ./path/to/repo --validate "npm test"

The report is written to review-report.md.

MCP

Start the stdio server with:

npm run mcp-server

It exposes a review_repository tool taking repo_path (required), base_ref(optional), and validation_commands (optional array of shell commands).

MCP arguments can be steered by content inside the repository under review(prompt injection), so running validation commands over MCP is disabled bydefault. To enable it, the server operator must set both of theseenvironment variables — setting only one leaves validation disabled:

  • INSPECTOR_ALLOW_VALIDATION=1
  • INSPECTOR_VALIDATION_ALLOWLIST="npm test,npm run typecheck" — acomma-separated list of the exact commands permitted to run; anything elseis skipped.

When validation is disabled or a command isn't on the allowlist, the toolstill returns a full read-only report; the skipped command is reported withstatus: skipped and a reason instead of being silently dropped.

Project layout

src/core.ts         shared review orchestration
src/cli.ts          command-line adapter
src/mcp-server.ts   MCP adapter
src/git.ts          Git inspection
src/validation.ts   validation execution
src/report.ts       Markdown report generation
test/               public starter tests

When finished, submit via Security → Report a vulnerability on thisrepo — see SECURITY.md for exactly what to include. Do not reply by email;that submission channel is not monitored.

MCP Server · Populars

MCP Server · New

    frankchu91

    MindBase — Karpathy's LLM Wiki, as a product

    Karpathy's LLM Wiki idea as a product — an AI that builds and maintains a markdown wiki from your notes and sources. MCP server + web UI, runs on free local models (Ollama), no API key needed. MIT.

    Community frankchu91
    aakarim

    📜 OpenLore

    A minimal, extensible, agent-native knowledge base that keeps shared context current and inspectable

    Community aakarim
    sv-grid

    @svgrid/mcp

    Native Svelte 5 data grid. Headless-first engine + drop-in render component. Row + column virtualization (1M rows), Excel-style filters, inline editing, grouping, pivot, server-side data. MIT core (@svgrid/grid), MCP server for Claude / Cursor. https://svgrid.com

    Community sv-grid
    cinderline

    NorthCinder

    Buyer-run, ad-neutral shopping-agent MCP software with deterministic ranking, signed purchase mandates, and a local audit trail.

    Community cinderline
    amanhij

    Zikkaron

    Biologically-inspired persistent memory engine for Claude Code. 26 cognitive subsystems, Hopfield networks, predictive coding, causal discovery, successor representations, all running locally over SQLite.

    Community amanhij