architecture-audit SKILL.md skillA

architecture-audit from suge8/friedbun is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add suge8/friedbun/architecture-audit@git:20261009.443953a

Pins git:20261009.443953a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
suge8/friedbun
Path
skills/development/architecture-audit/SKILL.md
Versions recorded
3
Latest version
git:20261009.443953a, committed Oct 9, 2026
First version recorded
Oct 8, 2026
Size
3,106 bytes
Repository stars
12
License
MIT

架构体检:找出该合并加深的浅模块,用 eli5 图解呈现,再为选中的一项并行设计几种接口。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 架构体检

找出值得加深的模块:接口几乎和实现一样复杂、理解一个概念要在许多小文件间来回跳、bug 藏在调用方式里的地方。目标是改一处就够、测试只打一个入口。

## 1. 圈范围

用户指了模块、子系统或痛点就只看那里。否则沿较长一段 `git log --oneline` 找反复改动的热点,优先看它们;改动分散时再扩大。按 [fan-out](../fan-out/SKILL.md) 中档按热点拆片,交回摩擦点及证据(文件、调用方)。

判断一个模块是不是透传层,用**删除测试**:想象删掉它,复杂度随之消失的是透传层;复杂度散回 N 个调用方的,它在干活。

## 2. 呈现

按 [eli5](../eli5/SKILL.md) 把候选画成图解,文件放 `$TMPDIR`,不进仓库。每个候选讲清:涉及文件、问题、改法、收益(用行为说:改价格规则只动一个文件,不写「更易维护」)、改前改后对比图、推荐强度(值得做 / 值得探索 / 推测)、依赖类别(见下)。最后说最先做哪一个及原因。此时不提接口方案,问用户想展开哪一个。

## 3. 设计接口

用户选定后,先写一段约束说明(新接口必须满足什么、依赖属于哪一类、一段粗略代码示意)给用户看,同时按 fan-out 高档并行出 3 个以上截然不同的接口:

- 最小接口:1–3 个入口,每个入口承担尽量多的行为。
- 最大灵活:支持多种用例与扩展。
- 为最常见的调用方优化:默认情况最简单。
- (跨进程依赖时)围绕端口与适配器设计。

每份方案交回:接口(类型、不变量、调用顺序、错误形态)、调用示例、藏在接口后面的东西、依赖与适配器、强弱处。逐个展示后比较:调用方学一个接口能用到多少行为、改动会不会集中在一处、接口放在哪。给出明确推荐,能取长补短就提混合方案。需要逐项和用户对齐决策时用 [grilling](../../workflow/grilling/SKILL.md)。

## 依赖类别

类别决定加深后怎么测:

1. **进程内**(纯计算、内存状态):直接合并,经新接口测试。
2. **可本地替代**(PGLite 代 Postgres、内存文件系统):用替代物测,不在接口上开端口。
3. **自有远程服务**:接口处定义端口,生产用 HTTP/队列适配器,测试用内存适配器。
4. **第三方服务**(Stripe 等):作为注入的端口,测试给模拟适配器。

## 判断规则

- 只有一个适配器的端口是假设,两个(通常是生产 + 测试)才是真的;不够两个就别开端口,那只是多一层间接。
- 内部接缝可以给自己的测试用,不为此暴露到接口上。
- 加深后,浅模块上的旧单元测试删掉;改动按 [better-test](../better-test/SKILL.md) 从新接口的真实入口验证。

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add suge8/friedbun/architecture-audit@sha256:39990de24521a9bc

The line at the top of this page pins the label git:20261009.443953a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_4av4kdrk5gfoh4mq.svg)](https://markdownregistry.com/a/art_4av4kdrk5gfoh4mq)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Oct 8, 2026 and Oct 9, 2026, more than one a day.

versioncommittedcommitsizeaudit
git:20261009.443953a latest2026-10-09 443953a 3,106 BA view · diff
git:20261008.63782432026-10-08 6378243 3,112 BA view · diff
git:20261008.3911d612026-10-08 3911d61 3,085 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3106 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

suge8/friedbun · 12 stars · license MIT · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_4av4kdrk5gfoh4mq
GET https://markdownregistry.com/api/v1/resolve?ref=suge8/friedbun/architecture-audit
GET https://markdownregistry.com/api/v1/blob/39990de24521a9bcfe1c0e850c0064a2687332e6fb59b8f87bf1628c5ba3cb9e

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from suge8/friedbun

AGENTS.md@skills AGENTS.md file
suge8/friedbun · skills/AGENTS.md
git:20261011.f56249e · audit A · 12 stars
copywriting SKILL.md skill
suge8/friedbun · skills/creative/copywriting/SKILL.md · 撰写或优化以转化为目标的网站和产品文案:标题、Hero、CTA、价值主张、落地页、定价页、功能页和产品描述
git:20261008.80eac82 · audit A · 12 stars
gpt-image SKILL.md skill
suge8/friedbun · skills/creative/gpt-image/SKILL.md · 通过 gptimage 模型生成优美 AI 图片、海报、插图或 Logo
git:20261011.7f79f8f · audit A · 12 stars
post SKILL.md skill
suge8/friedbun · skills/creative/post/SKILL.md · 把实测数据或经验写成社媒帖:核数、按平台语言写文案、出数据图、排期发布并回查
git:20261008.9ccea24 · audit A · 12 stars
promo SKILL.md skill
suge8/friedbun · skills/creative/promo/SKILL.md · 制作项目宣传物料:Hero/OG/社媒图、商店截图、README 配图和演示 GIF/视频。根据项目现状产出到 design/promo/;应用 UI 用 ui-craft,单独 Logo 用 gpt-image。
git:20261008.662804f · audit A · 12 stars
video SKILL.md skill
suge8/friedbun · skills/creative/video/SKILL.md · 视频统一入口:把主题策划成运动优先的动画,用 Remotion 实现、配声音、检查并渲染成片,或通过 Grok/Seedance 直接生成带音轨 MP4
git:20261011.f56249e · audit A · 12 stars
better-test SKILL.md skill
suge8/friedbun · skills/development/better-test/SKILL.md · 验证改动、写测试、审查或清理测试时使用:验证方法、什么测试值得留、端到端测试写法、DELETE/REWRITE/KEEP 判决。
git:20261009.443953a · audit A · 12 stars
eli5 SKILL.md skill
suge8/friedbun · skills/development/eli5/SKILL.md · 把话题讲到没读过代码的技术读者也能准确理解,默认 HTML 图解
git:20261008.a717a7c · audit A · 12 stars
fan-out SKILL.md skill
suge8/friedbun · skills/development/fan-out/SKILL.md · 调研、审计、设计探索拆给子代理并行的低中高三档;research、grilling、architecture-audit、better-test 按档引用,用户也可直接点档位。
git:20261008.3911d61 · audit A · 12 stars
pr SKILL.md skill
suge8/friedbun · skills/development/pr/SKILL.md · 写 PR 描述时使用。
git:20261008.3911d61 · audit A · 12 stars
project-setup SKILL.md skill
suge8/friedbun · skills/development/project-setup/SKILL.md · 项目体检:新项目开工、半途补缺、开源前检查或“这个项目缺什么”。盘点文档骨架、工单约定与验证链,报告缺口,确认后补齐。
git:20261008.b610344 · audit A · 12 stars
prototype SKILL.md skill
suge8/friedbun · skills/development/prototype/SKILL.md · 构建原型 Demo 来回答设计问题。当用户想要检验状态模型或逻辑是否合理,或探索 UI 应该是什么样时使用。
git:20261008.8636f2f · audit A · 12 stars

Every file in suge8/friedbun

Other files named architecture-audit

architecture-audit SKILL.md skill
tylerjrbuell/reactive-agents-ts · .agents/skills/architecture-audit/SKILL.md · Use when the architecture may have drifted from documentation, packages have grown complex, dead code or disabled…
git:20260819.8eb1198 · audit A · 31 stars
architecture-audit SKILL.md skill
dbc-oduffy/coordinator-claude · skills/architecture-audit/SKILL.md · Rotational arch audit: score systems, audit the top. No code edits.
git:20261017.2cbdbb2 · audit A · 6 stars
architecture-audit SKILL.md skill
fabioc-aloha/alex_skill_mall · plugins/architecture-patterns/architecture-audit/skills/architecture-audit/SKILL.md · Comprehensive project consistency review across code, documentation, diagrams, and configuration
git:20260728.80a7ab6 · audit A · 5 stars
architecture-audit SKILL.md skill
marielynneblock/arcanum-artifex · skills/analysis/architecture-audit/SKILL.md · Provides a repeatable, evidence-based framework for reviewing software architectures.
v1.0.0 · audit A · 4 stars
architecture-audit SKILL.md skill
karsten-s-nielsen/mad-scientist-skills · plugins/mad-scientist-skills/skills/architecture-audit/SKILL.md · Comprehensive architecture audit with two modes and a single tier (beta). Planning mode evaluates architectural…
git:20260926.35dafdd · audit A · 3 stars

Browse by kind, by grade A, or by owner.