Skip to content

Pack the repository for an outside reviewer

Prepare a bounded, reproducible snapshot of the tracked tree for a reviewer who cannot read the repository directly, with the local half and anything secret left out and the questions the review must answer written down.

majordomus://skill/pack-for-review active version 1reviewarchiveprivacy

the worker needs

  • the question the outside review must answer, and the paths it concerns
  • a committed tree at the revision to be reviewed

the procedure leaves

  • an archive of the tracked tree at a named commit, with its file list and size
  • a brief for the reviewer naming the commit, the scope, the questions and what was left out

Purpose

An outside reviewer, a person or a model without access to the checkout, sees only what is handed over. A copied directory carries ignored files, local records and whatever secret sits in the working tree; a hand-picked set of files carries the picker's assumptions. This skill hands over the tracked tree at a named commit, bounded to what the question needs, with a brief that makes the review answerable.

When to use

When the review happens outside the repository: a second model in another tool, an external auditor, a person without clone access. A reviewer who can read the checkout uses repo-review directly and needs no pack. A ChatGPT project searches text files rather than archives, so for one the pack-for-chatgpt skill writes the same selection as verified, token-bounded shards.

Procedure

1. Write the question first

One paragraph: what the reviewer must decide, the paths that matter, and what a useful answer looks like. A pack without a question gets a summary back, not a review.

2. Fix the revision

Commit what is to be reviewed; the pack is of a commit, never of a working tree. Record the full commit id. Uncommitted work is either committed first or named in the brief as absent.

3. Choose the file set

Start from the index, never from the directory: majordomus archive --list shows the profiles, and majordomus archive <profile> --dry-run shows the file set and its size. The archive reads the git index, so ignored files and the layer's local half are excluded by construction. For a narrower question, name the paths in the brief rather than editing the archive by hand.

4. Check what leaves

Read the dry run's file list for anything that must not leave: credentials, personal data, absolute paths of a machine, material that is not yours to share. majordomus scope <p> names why a path is in or out. Remove such a file from the tree in a commit, or do not send the pack.

5. Build and describe

Run majordomus archive <profile>, record the output path, its size and the file count, and write the brief: commit, profile, scope, the question, what is deliberately absent, and how the reviewer should report (the report-verification-state states work for findings too).

Output

The archive path, its size and file count, the commit it was built from, and the brief. The reviewer's answer is read against that commit, never against whatever the branch has moved to since.

Examples

Read from examples/ beside the skill; the title is each file's first heading.

A second opinion from a model without the checkout

.ai/repo/skills/pack-for-review/examples/second-opinion-from-another-model.md

A design change should be reviewed by a model in another tool that cannot read the repository.

Apply the pack-for-review skill: commit the change, take the context profile of majordomus
archive at that commit, read the dry run for anything that must not leave, and write a brief
naming the commit, the question and what the pack leaves out.

Related skills

Where this comes from

canonical file
.ai/repo/skills/pack-for-review/SKILL.md
content hash
a0dc024c620d675b4130629646436c381cca02bcf1424ceb60bea81025e6bba4
contract
share/schemas/majordomus/skill/skill.v1.schema.json
also served as
MCP resource majordomus://skill/pack-for-review · majordomus skills show pack-for-review

This page is generated from the file above by scripts/generate-site-data; editing the page changes nothing, editing the file changes every surface.

Searches the titles and descriptions of every page this site publishes.