audit-code-complexity SKILL.md skillA

audit-code-complexity from marcellocurto/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add marcellocurto/skills/audit-code-complexity@git:20261029.444423a

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

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
marcellocurto/skills
Path
skills/audit-code-complexity/SKILL.md
Versions recorded
7
Latest version
git:20261029.444423a, committed Oct 29, 2026
First version recorded
Aug 20, 2026
Size
6,866 bytes
Repository stars
3
License
none declared

Find needless code complexity and suggest simpler designs that preserve behavior. Use when the user asks to simplify code or find overengineering, or when another skill needs a complexity check.

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

# Audit Code Complexity

Find code that is harder to understand, change, or verify than the problem requires, and propose simpler shapes that keep its behavior. Simpler means easier to understand and change while keeping every real requirement; fewer files, functions, or lines do not by themselves make code simpler. This is an audit: do not edit code unless the user asks.

## 1. Set the scope

- **Current state:** audit the named code as it exists, whenever its complexity was introduced.
- **Change:** audit only complexity that the named commits, branch, or pull request introduced or made worse. Read surrounding code for context.
- **Proposal:** audit a design or code the user proposes before it is built, against the requirements it states. A request to revise the proposal changes the proposal, not the code it describes.

Use the change scope only when the user names a change; uncommitted work in the repository is not a reason to switch. If the user asks for both, report them separately.

For a large target, split it by module across parallel read-only subagents where available, and verify their findings yourself before reporting.

## 2. Look for complexity
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add marcellocurto/skills/audit-code-complexity@sha256:ee6d7e844e154642

The line at the top of this page pins the label git:20261029.444423a, 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_jt3e6fc73ubyrgxc.svg)](https://markdownregistry.com/a/art_jt3e6fc73ubyrgxc)

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

Versions

The registry has recorded 7 versions of this file, between Aug 20, 2026 and Oct 29, 2026, about one every 12 days.

versioncommittedcommitsizeaudit
git:20261029.444423a latest2026-10-29 444423a 6,866 BA view · diff
git:20261002.a2929d42026-10-02 a2929d4 6,753 BA view · diff
git:20260930.5312cda2026-09-30 5312cda 4,417 BA view · diff
git:20260908.9d6436d2026-09-08 9d6436d 4,634 BA view · diff
git:20260906.ccd7ead2026-09-06 ccd7ead 3,929 BA view · diff
git:20260820.df9ee342026-08-20 df9ee34 4,008 BA view · diff
git:20260820.32cf61b2026-08-20 32cf61b 4,348 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 (6866 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

marcellocurto/skills · 3 stars · license none declared · pushed 2026-10-29 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_jt3e6fc73ubyrgxc
GET https://markdownregistry.com/api/v1/resolve?ref=marcellocurto/skills/audit-code-complexity
GET https://markdownregistry.com/api/v1/blob/ee6d7e844e154642ddd740f1cbe76b1ae699a4c202e2cf084bdd1bb650a0f123

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 marcellocurto/skills

AGENTS.md AGENTS.md file
marcellocurto/skills · AGENTS.md
git:20261029.444423a · audit A · 3 stars
babysit-pr SKILL.md skill
marcellocurto/skills · skills/babysit-pr/SKILL.md · Review a pull request with independent agents when it has no review yet, settle its open review comments from reviewers…
git:20261025.4bc4858 · audit A · 3 stars
blast-radius-audit SKILL.md skill
marcellocurto/skills · skills/blast-radius-audit/SKILL.md · Find downstream breakage a code change could cause beyond the files it directly touches. Use when the user asks what a…
git:20261029.444423a · audit A · 3 stars
code-review SKILL.md skill
marcellocurto/skills · skills/code-review/SKILL.md · Review a specific diff, pull request, or commit range for correctness, maintainability, and repository standards. Use…
git:20261029.444423a · audit A · 3 stars
codebase-design SKILL.md skill
marcellocurto/skills · skills/codebase-design/SKILL.md · Design small, type-safe interfaces that hide complexity and give domain logic a clear home. Use when designing or…
git:20261029.444423a · audit A · 3 stars
create-pull-request SKILL.md skill
marcellocurto/skills · skills/create-pull-request/SKILL.md · Open a ready-for-review GitHub pull request for completed local changes, including any needed commit and push. Use when…
git:20261029.444423a · audit A · 3 stars
diagnosing-bugs SKILL.md skill
marcellocurto/skills · skills/diagnosing-bugs/SKILL.md · Reproduce, isolate, and fix difficult bugs or performance regressions. Use when a bug, failure, or slowdown has no…
git:20261029.444423a · audit A · 3 stars
domain-modeling SKILL.md skill
marcellocurto/skills · skills/domain-modeling/SKILL.md · Define and maintain the codebase's shared domain terms and architectural decisions. Use when a domain term is unclear…
git:20261029.444423a · audit A · 3 stars
explain-codebase SKILL.md skill
marcellocurto/skills · skills/explain-codebase/SKILL.md · Trace and explain how an existing code path or subsystem works. Use when the user asks how some code, feature, or flow…
git:20261029.444423a · audit A · 3 stars
frontend-design SKILL.md skill
marcellocurto/skills · skills/frontend-design/SKILL.md · Choose the visual direction, typography, layout, and interface copy for UI work. Use when building new UI or reshaping…
git:20261029.444423a · audit A · 3 stars
grill-with-docs SKILL.md skill
marcellocurto/skills · skills/grill-with-docs/SKILL.md · Stress-test a plan through questions while recording the resulting domain terms and lasting architectural decisions…
git:20261029.444423a · audit A · 3 stars
grilling SKILL.md skill
marcellocurto/skills · skills/grilling/SKILL.md · Stress-test an idea or decision through focused questions about consequential assumptions and tradeoffs. Use when the…
git:20261029.444423a · audit A · 3 stars

Every file in marcellocurto/skills

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