codebase-audit SKILL.md skillA
codebase-audit from mangowhoiscloud/geode is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mangowhoiscloud/geode/codebase-audit@git:20260925.c2ce538Pins git:20260925.c2ce538 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mangowhoiscloud/geode
- Path
.agents/skills/codebase-audit/SKILL.md- Versions recorded
- 4
- Latest version
- git:20260925.c2ce538, committed Sep 25, 2026
- First version recorded
- Aug 25, 2026
- Size
- 6,066 bytes
- Repository stars
- 15
- License
- Apache-2.0
Codebase audit + refactoring workflow. Dead code detection, God Object splitting, duplicate function removal, design flaw identification, frontier comparison verification. Triggered by "audit" ("감사"), "dead code" ("데드코드"), "refactor" ("리팩토링"), "god object", "duplication" ("중복"), "design flaw" ("설계 결함") keywords.
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
# Codebase Audit & Refactoring Workflow
A systematic workflow for auditing and improving the entire codebase.
## Workflow
```text
1. Audit
→ Dead code + duplicates + God Object + Parameter Bloat detection
2. Triage
→ Verdict: candidate / refactoring / defer, backed by caller evidence
3. Scope and plan
→ Record keep/change/delete decisions; tracking updates only when requested
4. Workspace Isolation
→ Worktree isolation
5. Implementation + Verification
→ Delete/extract/convert then lint + test
6. Docs-sync + authorized integration
→ CHANGELOG for functional changes; tracking docs follow their main-owned workflow
```
An audit alone does not authorize implementation, merge, global reinstall, or
runtime restart. Use the [canonical workflow](../../../docs/workflow.md) for
the requested scope; deploy or restart only when separately in scope.
## Phase 1: Audit
### Dead Code Detection
```bash
# Check import status per module
for f in $(find core/ -name "*.py" -not -name "__init__.py" -not -path "*__pycache__*"); do
basename=$(basename $f .py)
# Check using actual import path (basename match alone causes false positives)
…Read the whole file at its exact version.
How to install
mdr add mangowhoiscloud/geode/codebase-audit@sha256:4722a940b17558c3The line at the top of this page pins the label git:20260925.c2ce538, 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.
[](https://markdownregistry.com/a/art_oqpezoi54fkr3vxp)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Aug 25, 2026 and Sep 25, 2026, about one every 11 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260925.c2ce538 latest | 2026-09-25 | c2ce538 | 6,066 B | A | view · diff |
| git:20260907.97cb78b | 2026-09-07 | 97cb78b | 5,866 B | A | view · diff |
| git:20260906.dc9349e | 2026-09-06 | dc9349e | 6,079 B | A | view · diff |
| git:20260825.9516eab | 2026-08-25 | 9516eab | 5,130 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (6066 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
mangowhoiscloud/geode · 15 stars · license Apache-2.0 · pushed 2026-10-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_oqpezoi54fkr3vxp GET https://markdownregistry.com/api/v1/resolve?ref=mangowhoiscloud/geode/codebase-audit GET https://markdownregistry.com/api/v1/blob/4722a940b17558c326245cc875e906edc2f12245e1c64cd1fa5b0a7ff02f8067
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 mangowhoiscloud/geode
Every file in mangowhoiscloud/geode