pr-hygiene
Skill17k starsChanged 3 months agoApache-2.0View on GitHub
Enforces pull request scope, atomicity, and software design standards distilled from human reviewer feedback across A2UI pull requests. Use when authoring, preparing, splitting, or reviewing a pull request, or when a change introduces new modules, abstractions, or comments.
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 11 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Keep each PR scoped to a single logical objective.
- Distinctive: line 18
If a change is becoming broad, split it into smaller, logically isolated PRs.
- Distinctive: line 32
If a refactoring is required to support a new feature, implement the refactoring first in a dedicated PR (or foundational stacked layer), …
- Distinctive: line 45
Do not modify repository tooling, package manager wrappers, or shared build scripts unless that is the explicit objective of the PR.
- Distinctive: line 56
Write a clear, self-contained PR description that details the specific problem, solution, and verification steps for this PR alone.
- Distinctive: line 57
Avoid relying on ephemeral stack metadata (e.g., avoid "Part 2 of 5" or "stacked on top of #123").
- Very specific: line 58
When a PR modifies the public API or consumer-facing behavior of a published package, update its CHANGELOG.md following update-changelog.
- Distinctive: line 59
Ensure the PR compiles cleanly and passes all format checks, lints, and unit tests independently before requesting review.
- Distinctive: line 70
Add a comment only when it explains a line or block that is hard to understand on its own, or the reasoning behind a decision, invariant, …
- Distinctive: line 71
Keep docstrings and JSDoc blocks focused on what a caller needs: what the symbol is for and any contract the signature does not show.
- Distinctive: line 73
Prefer a clearer identifier or a smaller helper function over a comment that explains a confusing one.
- Distinctive: line 85
Reduce Complexity, Don't Move It: Avoid fixes that merely relocate complexity or make future changes harder.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PR Hygiene, Atomicity, Scope Control & Software Design
Principles
1. Enforce Atomic, Minimal PRs for Review Velocity
- Problem & Rationale: Large, monolithic pull requests overwhelm human reviewers, increase merge conflict risks, delay reviews, and make post-merge debugging or bisecting painful. PRs must be atomic and as minimal as possible to facilitate quick, high-confidence reviews.
- Actionable Guidance:
- Keep each PR scoped to a single logical objective.
- If a change is becoming broad, split it into smaller, logically isolated PRs.
- Stack split PRs (for example with
gh stack) when changes build sequentially upon one another, improving logical isolation while maintaining developer flow.
- Reviewer / Agent Checklist:
- Is this PR atomic and minimal? Can it be reviewed thoroughly in under 15 minutes?
- Could this PR be split into smaller, stacked PRs to improve logical isolation and review velocity?
2. Never Bundle Features with Unrelated Refactoring
- Problem & Rationale: Bundling "feature X" with "a bit of refactoring in module Y" (or even refactoring within the same module) conflates behavioral changes with structural adjustments. Reviewers cannot easily distinguish intentional functional changes from refactoring artifacts, increasing the risk of subtle regressions slipping through.
- Actionable Guidance:
- Separate features and refactorings into independent PRs.
- PRs should strictly contain only the changes required to fulfill their specific objective.
- If a refactoring is required to support a new feature, implement the refactoring first in a dedicated PR (or foundational stacked layer), verify all existing tests pass, and then implement the feature in a separate PR on top.
- Reviewer / Agent Checklist:
- Flag any refactoring, structural cleanup, or renaming bundled into a feature PR.
- Request separating the feature and the refactoring into two independent PRs.
3. Eliminate Unrelated Tooling, License Header, and Formatting Noise
- Problem & Rationale: Incidental edits, such as updating copyright years on untouched files, tweaking package manager wrappers, reformatting untouched lines, or modifying unrelated build scripts, distract reviewers, inflate diff size, and create misleading
git blamehistory. - Actionable Guidance:
- Revert any unsolicited copyright year updates on untouched files.
- Confine formatting changes strictly to the code lines being modified.
- Do not modify repository tooling, package manager wrappers, or shared build scripts unless that is the explicit objective of the PR.
- Reviewer / Agent Checklist:
- Revert unsolicited copyright year updates and script wrapper tweaks in existing files.
- Ensure formatting changes are strictly confined to modified code.
4. Self-Contained Descriptions & Independent CI Validation
- Problem & Rationale: Reviewers evaluate PRs individually. PR descriptions with missing context or commits that break CI midway through a series stall review cycles and block CI pipelines.
- Actionable Guidance:
- Write a clear, self-contained PR description that details the specific problem, solution, and verification steps for this PR alone.
- Avoid relying on ephemeral stack metadata (e.g., avoid "Part 2 of 5" or "stacked on top of #123").
- When a PR modifies the public API or consumer-facing behavior of a published package, update its
CHANGELOG.mdfollowingupdate-changelog. - Ensure the PR compiles cleanly and passes all format checks, lints, and unit tests independently before requesting review.
- Reviewer / Agent Checklist:
- The PR description clearly explains the motivation, changes, and verification steps independently.
- All CI checks (formatting, linting, unit tests) pass cleanly for this PR alone.
5. Comment Only What the Code Cannot Say
- Problem & Rationale: Comments that restate the code or the identifier, or that repeat the PR description in every file, add reading time without adding information, and drift out of date.
- Actionable Guidance:
- Add a comment only when it explains a line or block that is hard to understand on its own, or the reasoning behind a decision, invariant, or tradeoff that is not obvious from the code.
- Keep docstrings and JSDoc blocks focused on what a caller needs: what the symbol is for and any contract the signature does not show. Do not echo parameter names or types that are already in the type signature.
- State a shared design once (in the module header or PR description); do not repeat it per symbol.
- Prefer a clearer identifier or a smaller helper function over a comment that explains a confusing one.
- Reviewer / Agent Checklist:
- Every added comment states something the code itself does not.
- Docstrings and JSDoc blocks are concise and free of restated type signatures.
6. Prefer Deep Modules and Reduce System Complexity
- Problem & Rationale: Shallow modules that expose complex configuration or internal mechanics for minimal functionality increase cognitive load across the codebase. Similarly, tactical quick patches that shift complexity from one caller to another accumulate technical debt.
- Actionable Guidance:
- Prefer Deep Modules: Design simple, narrow, and predictable public interfaces that hide meaningful implementation complexity behind a clean abstraction.
- Reduce Complexity, Don't Move It: Avoid fixes that merely relocate complexity or make future changes harder; decrease overall system complexity.
- Obvious Design: Choose naming and structure that make the design and intent obvious at the call site.
- Strategic over Tactical Changes: Favor strategic designs that solve the root cause cleanly over tactical patches that work around the immediate symptom.
- Reviewer / Agent Checklist:
- Does the module expose a narrow, predictable interface relative to the complexity it encapsulates?
- Does the change reduce overall complexity rather than pushing burden onto callers?
Trending
Less talk lately.about the whole repository
Who's talking about google/A2UI
- WorldofAI“Google A2UI: Agent-to-User Interface - Build AI Generated Apps EASILY! (CopilotKit AG-UI) Opensource”YouTube · Dec 30, 2025 · 59k views
- AI with Surya“A2UI: The Protocol That Makes AI Design Functional UIs”YouTube · Jan 10, 2026 · 29k views
- Fahd Mirza“Google A2UI: Agent-to-User Interface: Full Hands-on Guide”YouTube · Dec 25, 2025 · 13k views
- Code with Ahsan“A2UI: The Framework That Lets AI Build Interfaces”YouTube · Dec 25, 2025 · 10k views
- Hackathon Labs“A2UI - The Future of UI (Getting Started)”YouTube · Dec 21, 2025 · 4.4k views
The biggest 5 of 73 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 73
Talked about on GitHub, YouTube, Bluesky and Hacker News (73 times).
On GitHub · 50
- Feb 10, 2026[Feat]: Extension Governance Framework for A2A — a2aproject/A2A8 reactions · 1 comment
- Apr 10, 2026FR : Integrations with the A2UI and AG‑UI Protocols — Chainlit/chainlit4 reactions · 2 comments
- Jan 16, 2026Question: json-render interoperability with Google A2UI (agent-to-UI protocol) — vercel-labs/json-render4 reactions · 5 comments
- May 14, 2026[ci] e2e_tests seems to be flaky — a2ui-project/a2ui2 reactions · 3 comments
- May 13, 2026feat(web-core): implement locale support and fix pluralize — a2ui-project/a2ui2 reactions
45 more on GitHub
- May 13, 2026Release automation. — flutter/genui2 reactions · 3 comments
- May 8, 2026Automate release process. — a2ui-project/a2ui2 reactions · 5 comments
- Apr 21, 2026docs(react,0.9): fix quick-start example — a2ui-project/a2ui2 reactions · 2 comments
- Apr 17, 2026fix(react,v0.9): wire `@a2ui/markdown-it` as default `MarkdownContext` value — a2ui-project/a2ui2 reactions
- Dec 16, 2025Update lit sample npm registry — a2ui-project/a2ui2 reactions · 1 comment
- Jun 2, 2026fix: enable inlineSources in tsconfig to fix broken sourcemaps in npm packages — a2ui-project/a2ui1 reaction · 8 comments
- Jun 1, 2026refactor(react, lit): tighten `ChildList` `any`/`unknown` types — a2ui-project/a2ui1 reaction
- May 31, 2026Explain goal and usage of the table 'Package publishing'. — dart-lang/ecosystem1 reaction · 9 comments
- May 29, 2026./scripts/fix_format.sh — a2ui-project/a2ui1 reaction · 1 comment
- May 27, 2026Kick off publish workflow. — flutter/genui1 reaction · 1 comment
- May 26, 2026Enable publishing workflows. — flutter/genui1 reaction
- May 20, 2026feat(specification): add steps property to Slider in v0.10 basic catalog — a2ui-project/a2ui1 reaction
- May 19, 2026feat(catalogs): allow binding to openUrl url — a2ui-project/a2ui1 reaction · 5 comments
- May 16, 2026Move submodules to repo root. — flutter/genui1 reaction
- May 15, 2026Improve e2e and eval workflows. — a2ui-project/a2ui1 reaction
- May 14, 2026Update e2e_test.yaml to run on schedule, because it is flacky. — a2ui-project/a2ui1 reaction · 2 comments
- May 14, 2026refactor(web_core): allow overriding recursion depth in DataValueSchema for v0_8 — a2ui-project/a2ui1 reaction · 1 comment
- May 13, 2026docs: add Lit custom component registration guide for v0.9 and v0.8 — a2ui-project/a2ui1 reaction · 3 comments
- May 6, 2026Add gcloud authentication prerequisites to Cloud Run deployment guide — a2ui-project/a2ui1 reaction
- May 3, 2026Add generative UI expression blog outline — reedwhetstone/coffee-app1 reaction · 1 comment
- Apr 28, 2026Migrate remaining Kotlin unit tests to conformance tests — a2ui-project/a2ui1 reaction
- Apr 28, 2026React (v0.9) basic catalog `Image` distorts when placed in a flex `Row` — a2ui-project/a2ui1 reaction · 1 comment
- Apr 23, 2026React renderer reset-styles should not affect custom registered components — a2ui-project/a2ui1 reaction · 2 comments
- Apr 22, 2026Fix A2UI agent examples unable to deploy to Gemini Enterprise Agent Engine and Cloud Run issues — a2ui-project/a2ui1 reaction · 2 comments
- Apr 17, 2026Don't use z.infer to fix closure compiler issues — a2ui-project/a2ui1 reaction · 5 comments
- Apr 16, 2026(React) Style widgets using CSS variables. — a2ui-project/a2ui1 reaction · 1 comment
- Apr 14, 2026Angular renderer does not export `provideMarkdownRenderer` function — a2ui-project/a2ui1 reaction · 2 comments
- Apr 10, 2026Add missing license header to fix CI failure — a2ui-project/a2ui1 reaction
- Apr 8, 2026Track full v0.9 JSON schema validation coverage in a2ui-swift — BBC6BAE9/a2ui-swift1 reaction
- Mar 29, 2026Showcase: Oat CSS as the foundation for an A2UI renderer — knadh/oat1 reaction · 1 comment
- Mar 24, 2026Both Getting Started guides fail on macOS (Quickstart + README) — a2ui-project/a2ui1 reaction · 8 comments
- Mar 10, 2026The complexity should be either supported by CUJ or removed. — a2ui-project/a2ui1 reaction · 5 comments
- Mar 10, 2026Revamp and expand the theming documentation based on learnings. — a2ui-project/a2ui1 reaction · 6 comments
- Feb 23, 2026Add Lit3 support — candrewlee14/effect-smol1 reaction
- Jan 30, 2026Clarify v0.9 draft state in docs — easyops-cn/a2ui-sdk1 reaction
- Oct 22, 2026[v1.0][docs] A2UI Express has no guide or reference page on a2ui.org (docs/public/) and the glossary links to the wrong GitHub org (a2ui-project/a2ui) — a2ui-project/a2ui0 reactions · 1 comment
- Jun 1, 2026[web_core] Loose `unknown`/`any` types in basic-catalog `ChildList` rendering — a2ui-project/a2ui0 reactions · 2 comments
- May 27, 2026[bug/docs] [react/a2ui_explorer] Missing package.json prevents dev server from starting — a2ui-project/a2ui0 reactions · 3 comments
- May 27, 2026Some `updateDataModel` edge cases could do with some clarification — a2ui-project/a2ui0 reactions · 2 comments
- May 18, 2026Explore runtime component contracts with JSON Schema / Standard Schema — cmx-tools/packages0 reactions
- May 1, 2026Replace CRUD operations with JSON patch — a2ui-project/a2ui0 reactions · 16 comments
- Apr 28, 2026The web renderers handle `Image` inconsistently with each other and with the spec — a2ui-project/a2ui0 reactions · 1 comment
- Apr 27, 2026Unify System Instruction Generation for Text and Tool Output Modes — a2ui-project/a2ui0 reactions · 2 comments
- Apr 24, 2026Support "portable A2UI web Components" which can be installed in a Catalog for *any* framework adapter — a2ui-project/a2ui0 reactions · 4 comments
- Apr 22, 2026Track: Migrate Kickstart to Zod v4 (post-#1088) — sabbour/kickstart0 reactions · 3 comments
On YouTube · 17
- Dec 30, 2025Google A2UI: Agent-to-User Interface - Build AI Generated Apps EASILY! (CopilotKit AG-UI) Opensource — WorldofAI59k views · 20 comments
- Jan 10, 2026A2UI: The Protocol That Makes AI Design Functional UIs — AI with Surya29k views · 27 comments
- Dec 25, 2025Google A2UI: Agent-to-User Interface: Full Hands-on Guide — Fahd Mirza13k views · 11 comments
- Dec 25, 2025A2UI: The Framework That Lets AI Build Interfaces — Code with Ahsan10k views · 24 comments
- Dec 21, 2025A2UI - The Future of UI (Getting Started) — Hackathon Labs4.4k views
12 more on YouTube
- Dec 31, 2025A2UI实测:AI一键生成可交互界面 A2UI Test: AI Generates Interactive UI with One Command — 大雷早上好2.4k views · 4 comments
- Mar 14, 2026A2UI: Google's Agent-to-User Interface Standard #shorts — Prism Labs1.4k views
- Jan 2, 2026Google A2UI Explained: The End of Boring AI Chatbots? — AIProphet814 views · 2 comments
- Apr 17, 2026A2UI Makes Building AI Agents Actually Simple #ai #tutorial — GithubTrends482 views
- Dec 25, 2025Google's A2UI Explained: AI That Generates Apps, Not Just Text — AINexLayer237 views · 1 comment
- Feb 4, 2026AIエージェントキャッチアップ #63 - A2UI — ジェネラティブエージェンツ / Generative Agents221 views
- Aug 3, 2026Generative UI: How AI Builds Interfaces in Real Time — In Simple Terms with Satish122 views
- Dec 25, 2025Google A2UI — RandomTechAce81 views
- Apr 19, 2026Build with AI: "B2B AI Agents: RAG & Secure Data Integration" ONLINE — GDG Ahlen75 views
- Mar 13, 2026google/A2UI - Gource visualisation — Gourcer49 views
- May 23, 2026A2UI — AI in the Whitebox - データサイエンスに関わる気になる話題をやさしく解説34 views
- Jul 21, 2026One Question That Sorts Every AI Agent Protocol (MCP, A2A, AG-UI,ANP) — SimplyExplain20 views
On Bluesky · 5
- Jan 29, 2026A2UI: Agent-to-User Interface — @tommis.fi4 likes and reposts
- Mar 12, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 google / A2UI ⭐ 12,289 (+220) 🗒 TypeScript — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Jan 16, 2026📢 A2UI: Agent-to-User Interface #veille — @camilleroux.com2 likes and reposts
- Mar 12, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 google / A2UI ⭐ 12,289 (+220) 🗒 TypeScript — @github-trending.bsky.social1 likes and repost · 1 reply
- Dec 28, 2025⭐️🔗 GitHub github.com/google/A2UI 👉 Discuss with me in Discord: linktr.ee/qdrddr — @qdrddr.bsky.social1 likes and repost
On Hacker News · 1
- Dec 23, 2025A2UI: Agent-to-User Interface1 point · 1 comment
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- MaggieAppleton/maggieappleton.com-V3★ 221same name
- imrangadzhiev/anti-slop★ 27same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/public/reference/agents.mdAGENTS.md
- swift/AGENTS.mdAGENTS.md
- tools/composer/AGENTS.mdAGENTS.md
- a2ui-add-eval-datapointSkill
- a2ui-auditSkill
- a2ui-doc-sync-checkSkill
- a2ui-generate-pydantic-modelsSkill
- a2ui-implement-new-sdks-for-client-languageSkill
- a2ui-issue-triageSkill
- a2ui-release-pythonSkill
- a2ui-remediate-problemSkill
- a2ui-test-quality-checkSkill
- coding-principlesSkill
- inspect-aiSkill
- natural-writingSkill
- update-changelogSkill
- a2ui-blueprint-complianceSkill
- a2ui-blueprint-maintenanceSkill
- a2ui-blueprint-navigatorSkill
- a2ui-create-feature-blueprintSkill
- a2ui-implement-feature-from-blueprintSkill
- inference-format-optimizerSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

