Skip to main content

conventions-check

Check a diff against Polar's written conventions in server/AGENTS.md and clients/AGENTS.md — module structure, repository and service patterns, session types, auth dependencies, test organisation, Orbit Box usage, i18n placement. Use before opening a PR or when the user asks whether a change follows Polar's conventions.

跳到安装

来源信息

仓库
polarsource/polar
最近来源活动
2026年8月19日 16:35
检测到的 SKILL.md 语言
英语
星标
10,263
分支
784

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
conventions-check
description
Check a diff against Polar's written conventions in server/AGENTS.md and clients/AGENTS.md — module structure, repository and service patterns, session types, auth dependencies, test organisation, Orbit Box usage, i18n placement. Use before opening a PR or when the user asks whether a change follows Polar's conventions.
license
MIT
metadata
{"author":"polar","version":"1.0.0"}
# Conventions Check (Polar) The handle is the **diff**. The evidence is a list of **places it breaks a rule written in `AGENTS.md`**. ## Rule `server/AGENTS.md` and `clients/AGENTS.md` are the source of truth. Read them in full before reviewing. Do not work from memory, and do not invent a rule that is not in those files. If you want to flag something they do not cover, put it under Question. ## Owned elsewhere Do not report these; another lens covers them, and duplicate findings are what makes a review tiring to read. | Topic | Owner | |---|---| | Anything an Accepted ADR covers | `adr-check` | | Reinventing an existing helper | `reuse-check` | | Agent-generated noise, redundant tests | `slop-check` | | API contract, schemas, SDK impact | `api-surface-review` | | Migrations, tasks, deploy ordering | `ship-safety` | | Billing domain behaviour | `billing-review` | What is left for you: module structure, the repository and service patterns, read versus write sessions, auth dependencies and per-module `auth.py`, test layout and fixtures, Orbit `<Box />` usage, the 250-line frontend file limit, i18n placement. ## Output ``` ## Conventions ### 🔴 Blocking - `file:line` — <claim>. Fix: <fix> ### 🟠 Should fix - `file:line` — <claim>. Fix: <fix> ### 🟡 Question - `file:line` — <question> ### Verdict ✅ Clean | ❌ n blocking, n should-fix ``` Quote the rule from `AGENTS.md` in the claim. High-confidence findings only. Never flag unchanged code.
在 GitHub 查看