跳到正文
cccskills
免费在 GitHub 公开

audit

Post-change checks before handing off. Works out which checks apply from the files changed (directory AGENTS.md Checks sections and matching .agents/rules), runs or verifies each, and reports pass/fail/skipped. Use before saying work is done, before pushing, or when asked to audit or verify a change.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Audit

Delegate to the auditor subagent when it is available, passing the base branch (default origin/main), so command output stays out of your context. Otherwise follow these steps yourself.

1. Changed files

base=$(git merge-base HEAD origin/main)
{ git diff --name-only "$base"; git ls-files --others --exclude-standard; } | sort -u

2. Collect the checks

For every changed file:

  • Directory guides. Each AGENTS.md from the file's directory up to the repo root: take its ## Checks section, and the root guide's "Before handing off".
  • Rules. Each file in .agents/rules/ whose paths: globs match the file, plus rules with no paths:. Every bullet is a requirement to verify against the diff; a Check: line is a step to run.
  • Area defaults, when no guide gives a more specific command:
ChangedCheck
Anyjust check
Rust in a packagecargo test -p <package> (SQLX_OFFLINE unset), cargo fmt --all -- --check, just clippy
sqlx::query! or migrations.sqlx/ regenerated and committed; migration works with the code already deployed
Cargo.tomlcargo x deps --check
apps/webbun run check and bun run test for the touched features, in apps/web
User-visible web behaviorExercised in a browser; docs/agent-guide updated if routes, editors, AI surfaces, or composer changed
infra/bun run --cwd infra check; no deploy was run
New or changed flow, cross-service call, queue, or background jobInstrumented per the observability rule; trace verified connected in Tempo, or listed as not verified
Any behavior, API, name, or workflow changeEvery doc that mentions it is updated: touched directories' AGENTS.md, docs/guides/, docs/architecture/, agent guide, READMEs, rules, skills (grep the changed names)
Config, env vars, service URLsEvery copy and Doppler step in the config rule is done or listed as a follow-up

Deduplicate. Run one command per package, not per file.

3. Run and verify

Run each command. For rule bullets that no command covers, read the relevant diff hunks and judge. Don't stop at the first failure; finish the list.

4. Report

One table, failures first:

ResultCheckSourceEvidence
failcargo test -p calendar_servicearea default2 failed: sync::tests::…
passDecorator reserves its heightweb/lexical-nodes.mdFoo.tsx:40 sets aspect-ratio
skippedBrowser checkroot guideNo browser in this environment

A check is pass only if it ran or was verified in this audit. Explain every skipped. Then list fixes for each failure; do not claim the work is done while anything fails.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Wrap a new backend endpoint in the TypeScript SDK (packages/sdk), or record it as skipped. Use when `just coverage` fails, or after adding an endpoint to a Rust service.

中文简介正在准备中。当前显示原文说明。

macro-inc/macro47332026年10月19日 更新

add-tour

免费

Add or change an in-app feature tour (a view's guided flyover) in the web app. Use when adding a tour to a view, adding or editing tour steps, pointing a step at a new control, or when a step's target needs something opened first.

中文简介正在准备中。当前显示原文说明。

macro-inc/macro47332026年10月19日 更新

Enforce hexagonal architecture in the Rust backend. Use before modifying crates/ or Rust services, especially inbound axum/tool/listener adapters, domain services/ports, outbound adapters, authorization, permissions, database access, or external clients.

中文简介正在准备中。当前显示原文说明。

macro-inc/macro47332026年10月19日 更新

Use when adding collaborative markdown, notes, or descriptions to a feature with collab surfaces. Covers parent entities, service entry points, authorization, content storage, and lifecycle.

中文简介正在准备中。当前显示原文说明。

macro-inc/macro47332026年10月19日 更新

Build a new AI tool end-to-end — Rust implementation, toolset wiring, infra, schema generation, and frontend UI.

中文简介正在准备中。当前显示原文说明。

macro-inc/macro47332026年10月19日 更新

Use when building a feature on reusable database storage or UI, such as CRM, or deciding whether it needs a Macro database entity. Covers shared storage, a host-independent database UI and API contract, ownership, authorization, and the _entities naming convention.

中文简介正在准备中。当前显示原文说明。

macro-inc/macro47332026年10月19日 更新

查看 macro-inc 的全部技能

报告此技能的问题