agentleFS
tykisgodtykisgod/quick-question/skills/brief/SKILL.md

brief

Skill12 starsChanged 8 months agoMITView on GitHub

Compare the current branch against its base branch and generate two review documents: architecture change diagram + PR review checklist.

78 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use capture, strategy and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • toneron2Skill

    capture

    Capture thoughts to inbox with automatic classification

    Also in 6 projects that use this

  • EpistatesSkill

    strategy

    Plan weekly or monthly X content strategy. Use when the user wants to plan their content calendar, set growth goals, build a content pipeline, or think strategically about their X presence.

    Also in 4 projects that use this

  • aleksander-dytkoSkill

    decision

    Make a product decision with full context from the vault and available sources

    Also in 3 projects that use this

  • dirienSkill

    decide

    Three-agent adversarial debate protocol for strategic decisions. Two advocates steelman opposing positions while a moderator identifies risks and synthesizes a binding consensus. Use when choosing between alternatives, evaluating tradeoffs, or making high-stakes decisions.

    Also in 5 projects that use this

  • JaimeGBASkill

    ingest

    Digest an external source (article, paper, transcript, URL, book chapter) and integrate its content into the knowledge base

    Also in 7 projects that use this

  • howellsSkill

    reconcile

    Audit a project against current plugin conventions and offer to update structure.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 71 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No arguments: compare against the default base branch (develop if it exists, else main, else master)

    line 8
  2. Very specific:

    Use git diff <base>...HEAD --numstat to get accurate added/deleted line counts per module

    line 20
  3. Very specific:

    Use style or ::: to annotate added and modified nodes

    line 55
  4. Distinctive:

    No more than 15 nodes per diagram

    line 56
  5. Distinctive:

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

    line 61
  6. Distinctive:

    Write two files to the same directory:

    line 85
  7. Distinctive:

    If the diff is empty, tell the user the branch has no differences from the base and write no files

    line 138

“Common” is measured: kept by at least 6 in 10 of the 71 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

Arguments: $ARGUMENTS

  • No arguments: compare against the default base branch (develop if it exists, else main, else master)
  • --base <branch>: specify a custom base branch for comparison
  • --commits: only look at the changes from the most recent commit

Execution Steps

Part 1: Collect Change Scope

  • git diff <base>...HEAD --name-only | grep '\.cs$' — get all changed C# files
  • git diff <base>...HEAD --diff-filter=A --name-only | grep '\.cs$' — get newly added files
  • git log <base>..HEAD --oneline — get the commit list
  • Group and count changes by module
  • Use git diff <base>...HEAD --numstat to get accurate added/deleted line counts per module

Part 2: Architecture Change Diagram

Identify architectural changes, ordered from most to least significant:

Tier 1 — Cross-module contract changes

  • Interface additions/modifications under Contracts/
  • .asmdef dependency changes
  • Public enum/data structure changes
  • Global static state isolation in multi-instance scenarios

Tier 2 — New modules/subsystems

  • New Service modules or subdirectories
  • New Manager/Factory/Registry classes
  • New state machines or process orchestration

Tier 3 — Internal refactoring of existing modules

  • Initialization flow changes
  • Pattern changes such as singleton → dependency injection
  • Data flow direction changes

Tier 4 — Extension points/configuration changes

  • New interface implementations
  • Config structure changes
  • New events/callbacks

Draw at least one Mermaid diagram for every architectural change:

  • Module dependency changes → graph LR, color-coded: new (green) / modified (orange) / deleted (red)
  • Data flow / lifecycle → sequenceDiagram or flowchart
  • State machines → stateDiagram-v2
  • Class relationships → classDiagram

Diagram requirements:

  • Each diagram has a title indicating "Before vs After"
  • Use style or ::: to annotate added and modified nodes
  • No more than 15 nodes per diagram
  • Stable, unchanged modules use gray/dashed styling

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

  • Public interface changes
  • New cross-.asmdef module dependencies
  • Data format changes
  • State management / lifecycle changes
  • Anti-pattern matches from AGENTS.md
  • Global static state isolation
  • Resource cleanup / event unsubscription

P1 — Recommended attention

  • Business logic branches / condition changes
  • Performance-sensitive paths (O(N²) patterns)
  • Error handling / edge cases
  • New public methods or classes

P2 — Quick scan

  • Pure getter/setter, logging, comment changes
  • Test code
  • Config value tweaks

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

```mermaid
<diagram>

Key points: explanation of key decisions

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

Module Change Heatmap

ModuleNew FilesModified Files+LinesKey Changes

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

Review File Overview

FilePriorityChange 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

- The heatmap covers every changed module
- Each P0 item names its specific risk and what to check
- If the diff is empty, tell the user the branch has no differences from the base and write no files

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.