Repository context for code review

Review the change.
Know the codebase.

co-maintainer turns your code, pull requests, and commit history into repository-specific guides. Every review starts with that context, whether it runs on your laptop or on your server.

$ npm install -g co-maintainer
Repository knowledge

Built once. Available at review time.

Open the dashboard guide →

Reads from the repository

Codebase

Current source, structure, and workflows

Pull requests

Decisions, diffs, and review discussions

Commit history

How the default branch changed over time

Writes repository-specific guides

Contribution guidance SKILL.md
Architecture and behavior CODEBASE.md
Review decisions PR_REVIEW_GUIDE.md

How it works

Context is built before review begins.

Not a prompt pasted onto a diff. co-maintainer first learns the repository and keeps that knowledge available for later reviews.

  1. 01
    probe

    Samples the repository and gives you a bounded init command.

  2. 02
    init / remake

    Builds and refreshes evidence-backed guides from code and project history.

  3. 03
    review

    Reviews a local diff or GitHub pull request against those guides.

One review, three paths

Use the context where your team needs it.

Self-hosted

One server for context, reviews, and operations.

serve runs the dashboard, GitHub App webhooks, background jobs, and the remote review API. Your repository context stays under your control.

$ co-maintainer serve --port=5000 Read the guide →

Start with one repository.

Install the CLI, run probe, and follow the command it gives you.

Read the quickstart