Metadata-Version: 2.4
Name: patchwork-review
Version: 0.1.0
Summary: AI code review for git diffs — powered by Claude
License: MIT
Project-URL: Homepage, https://github.com/Gnomecromancer/patchwork
Project-URL: Repository, https://github.com/Gnomecromancer/patchwork
Keywords: code-review,git,claude,ai,diff
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: anthropic>=0.40.0
Requires-Dist: click>=8.0.0

# patchwork

AI code review for your git diffs. Powered by Claude.

```
pip install patchwork-review
export ANTHROPIC_API_KEY=sk-ant-...
patchwork review
```

## Usage

```
# Review staged + unstaged changes
patchwork review

# Review only staged changes
patchwork review --staged

# Review last 3 commits
patchwork review --since HEAD~3

# Review diff vs main branch
patchwork review --since main

# Review a specific file
patchwork review -f src/auth.py

# Focus the review
patchwork review --focus "security vulnerabilities only"
patchwork review --focus "look for N+1 queries"

# Explain a file
patchwork explain src/utils.py
```

## Output

Structured Markdown:

```markdown
## Summary
...

## Issues
...

## Suggestions
...

## Verdict
**Approve** / **Request Changes** / **Needs Discussion**
```

## Model

Defaults to `claude-opus-4-6`. Override with `--model`:

```
patchwork review --model claude-sonnet-4-6
```

## License

MIT
