Skip to content
Join free
tt-a1i

Archify PR skill

Explain git branch changes, diffs, and GitHub pull requests or GitLab merge requests with visual architecture, workflow, sequence, ERD, or lifecycle walkthroughs.

$npx alyn-cli add archify-pr
View this skill on GitHubtt-a1i/archify/archify-pr/SKILL.md
Pack stars
99,470
Pack installs
222k
Alyn Score
89/99
Updated
4 h ago
License
Apache-2.0

What is the Archify PR skill?

Archify PR is a coding skill by tt-a1i for Claude Code, Cursor, Codex and other AI coding agents. Explain git branch changes, diffs, and GitHub pull requests or GitLab merge requests with visual architecture, workflow, sequence, ERD, or lifecycle walkthroughs.

Turn a branch change or pull request into diagrams that show what changed, where it propagates, and with what neighbours. Read the code as the authority; report evidence, never a risk verdict.

What the SKILL.md covers

  • Route the request
  • Explicit PR visualization
  • Ordinary PR preparation
  • Interaction modes
  • Materiality filter
  • The offer
  • Build and attach
  • Missing core Skill
  • Evidence rules
Author
tt-a1i
Pack
tt-a1i/archify (6 skills)
Category
Coding, #67 of 1826
Alyn Score
89 / 99
Files
4, includes scripts, includes references
License
Apache-2.0
Last updated
4 h ago
Works with
Claude Code, Claude, Cursor, Codex, Gemini CLI, Copilot

Archify PR compared to similar skills

SkillAlyn ScoreGitHub starsUpdated
Archify PR · tt-a1i8999k4 h ago
Dsh Code Review · qufei1993471.9k2 days ago
Cs Backend Review · alirezarezvani6330k2 days ago
Address Github Comments · sickn338250k5 h ago

Install Archify PR

Pick your agent. Every command is ready to paste.

$npx alyn-cli add archify-pr

Detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

$npx skills add tt-a1i/archify --skill archify-pr

Or use the open skills CLI directly.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads archify-pr when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the archify-pr skill”. In Codex, type $archify-pr.

The skill itself

SKILL.md

FolderGitHub

Archify PR

Turn a branch change or pull request into diagrams that show what changed, where it propagates, and with what neighbours. Read the code as the authority; report evidence, never a risk verdict.

Every command goes through this Skill's wrapper, bin/archify-pr.mjs:

node <archify-pr-root>/bin/archify-pr.mjs pr validate <manifest.json> --repo-root <repo> --json

The wrapper delegates unchanged to the installed core archify/bin/archify.mjs. It never downloads or installs anything.

Route the request

Explicit PR visualization

When the user asks to explain or visualize a PR, a branch change, or a git diff, or to run archify pr, start the workflow directly. Read references/pr-workflow.md, pin the three-dot range from git merge-base, and build the pack; do not ask whether a diagram is wanted.

For GitLab merge requests, build static views with --platform gitlab and attach them to a comment using the full MR URL. On GitHub, use the target from the request or preflight policy. When only the default applies and the shared PR already has a written description, show the attach dry run or confirm the target before writing.

Ordinary PR preparation

When the user only asks to create or summarize a PR:

  1. Run node <archify-pr-root>/bin/archify-pr.mjs pr preflight --repo-root <repo> --json. Pass the PR base with --base <ref> when it differs from the repository default.
  2. Read policy and materiality from the result.
  3. Follow the mode:
    • on-demand: stay silent and complete the text-only PR flow.
    • ask: make the optional offer only when the filter recommends it.
    • proactive (opt-in only): attach a diagram to a material PR without asking.

Interaction modes

  • ask (default, no rules line needed): offer diagrams for material changes only, then follow the user's answer.
  • on-demand: never offer; act only on an explicit request. Rule line: [archify pr: on-demand].
  • proactive: build and attach for material changes without asking. Only when the user explicitly requests this mode. Rule line: [archify pr: proactive].

A rule may also select the attach target, for example [archify pr: ask, target=comment]. An explicit request takes precedence (pass --mode or --target to preflight), followed by the current agent’s personal rules, then the repository root’s AGENTS.md or CONTRIBUTING.md. The default is ask with target body. Repository rules requesting proactive resolve to ask. Preflight discovers personal rules for Codex, Claude Code, Cursor and Devin. See personal rule discovery; pass --global-rules <path> to select the current agent’s personal file explicitly.

To switch personal modes, only when the user asks, write or replace one rule line in the current agent's global rules file (such as ~/.codex/AGENTS.md, ~/.claude/CLAUDE.md or ~/.config/devin/AGENTS.md) and name the file. Deleting the line restores the repository or default policy. Never switch to proactive unasked.

Materiality filter

If materiality.shouldOffer is false, finish the ordinary PR flow silently. For a candidate, inspect the changed code before offering. Stay silent when the change is any of:

  • docs, Markdown, comments or copy only;
  • lockfiles, version or dependency manifests, or simple configuration values;
  • formatting, lint fixes, or file renames without a logic change;
  • tests only, with no production architecture, interface or state change;
  • a small single-point edit: one or two files clearly under about 40 changed lines, with no cross-module chain, API contract, state machine or migration change. Schema and migration changes remain candidates even below this threshold.

Offer a diagram only when at least one is true:

  • a cross-module or cross-service topology or responsibility change spanning two or more layers or three or more core modules;
  • an async queue, scheduled job, retry, idempotency or state-machine transition change;
  • a database schema, foreign-key or index migration, or an added, removed or changed public API contract.

When unsure, stay silent. A missed offer costs less than an unwanted interruption.

The offer

Use the user's current language and at most three short lines:

  1. Name the part of this diff that is hard to read, concretely.
  2. State the concrete value: for example one looping story walkthrough plus collapsible static before/after diagrams, hosted through GitHub user-attachments. On GitLab, offer static diagrams in an MR comment.
  3. Say it is optional. If the user declines or ignores it, finish the text-only PR and do not ask again.

Build and attach

When the user agrees, or asks explicitly, read PR workflow for the full manifest, change-mark, story, command and attach loop. It covers:

  • the git merge-base three-dot range and pinned baseSha / headSha;
  • merged-superset views with one hop of context and change marks;
  • the Story dynamic walkthrough with storyOnly helper views and collapsed static references;
  • detail.mode: "diff" excerpts from real Git revisions;
  • pr validate, pr build, pr attach --dry-run, then pr attach;
  • diagnostic repair for pr-pack/*, pr-story/* and pr-attach/*.

Missing core Skill

If the wrapper exits with archify-pr/core-skill-missing, the core archify Skill is not installed or ARCHIFY_BIN is wrong. Report the diagnostic and the install command it suggests to the user. Never run npx skills add, install, update or uninstall the core Skill yourself unless the user explicitly asks.

Evidence rules

  • Reproduce the three-dot diff the forge shows; never diff the working tree or a moved two-dot base.
  • Cite repository paths and lines at the pinned revisions.
  • Never write SAFE, LOW RISK, MERGEABLE, NO IMPACT, VERIFIED PR or any other risk verdict. Report counts, names and diagrams; the reviewer owns the verdict.
  • Do not pad a pack with a view whose only content is unchanged.

Tips for Archify PR

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • This skill ships scripts. Read them before the first run, and run it in a project without secrets first.
  • • It bundles reference files. The agent reads them only when needed, so they cost no context until then.
  • • It is part of a pack with 6 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Archify PR

What does the Archify PR skill do?

Explain git branch changes, diffs, and GitHub pull requests or GitLab merge requests with visual architecture, workflow, sequence, ERD, or lifecycle walkthroughs.

How do I install Archify PR?

Run "npx alyn-cli add archify-pr" in your project. The Alyn CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Archify PR work in Cursor and Codex?

Yes. Archify PR uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

What is inside the Archify PR skill?

The SKILL.md covers Route the request, Explicit PR visualization, Ordinary PR preparation, Interaction modes, Materiality filter, The offer, and the skill folder has 4 files including scripts.

What is a good alternative to Archify PR?

Dsh Code Review by qufei1993 is the highest-ranked similar skill from another creator, with an Alyn Score of 47 compared to 89 for Archify PR.

Is Archify PR free?

Archify PR is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.

Who made Archify PR?

Archify PR is published by tt-a1i in the tt-a1i/archify repository, together with 5 other skills.