Brief

From tykisgod/quick-question · View interactive version

Brief is an AI agent skill from the GitHub repository tykisgod/quick-question. Compare the current branch against its base branch and generate two review documents: architecture change diagram + PR review checklist.

How to use this skill

Skill file

Respond in the user's preferred language (detect from their recent messages, or fall back to the language setting in CLAUDE.md).

Arguments: $ARGUMENTS

Execution Steps

Part 1: Collect Change Scope

Part 2: Architecture Change Diagram

Identify architectural changes, ordered from most to least significant:

Tier 1 — Cross-module contract changes

Tier 2 — New modules/subsystems

Tier 3 — Internal refactoring of existing modules

Tier 4 — Extension points/configuration changes

Draw at least one Mermaid diagram for every architectural change:

Diagram requirements:

Part 3: PR Review Checklist

Read the full content of all files touched by the diff, and evaluate across these dimensions:

P0 — Must be human-reviewed

P1 — Recommended attention

P2 — Quick scan

Part 4: Output

Write two files to the same directory:

File 1: Docs/qq/<branch-name>/arch-review_<timestamp>.md

# Architecture Change Overview

> X modules affected, Y new modules, Z contract changes

## Tier 1 — Cross-module contract changes
### 1.1 Change Title
**Scope**: which modules are affected
**Nature of change**: one sentence

<diagram>


**Key points**: explanation of key decisions

## Tier 2/3/4 ... (same format)

## Module Change Heatmap
| Module | New Files | Modified Files | +Lines | Key Changes |
|--------|-----------|---------------|--------|-------------|

File 2: Docs/qq/<branch-name>/pr-review_<timestamp>.md

## Review File Overview
| File | Priority | Change Summary |
|------|----------|---------------|

---
## P0 — Must be human-reviewed
1. **Filename:line** — description
   Risk: ...
   Suggestion: ...

## P1 — Recommended attention
## P2 — Quick scan

---
## PR Summary (ready to paste into PR description)

Branch name: use git branch --show-current | tr '/' '_'.

Timestamp format: YYYY-MM-DD-HHmm.

Both files share the same timestamp.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.