AGENT SKILL

theangry-ai-code-audit

Use when reviewing AI-generated or agent-generated code for slop, speculative abstractions, duplicated helpers, fake safety, brittle structure, missing proof, or generated-code residue before shipping or committing.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 0
Forks
1

01 前言 Front Matter

name
theangry-ai-code-audit
description
Use when reviewing AI-generated or agent-generated code for slop, speculative abstractions, duplicated helpers, fake safety, brittle structure, missing proof, or generated-code residue before shipping or committing.

02 资源文件 1

03 SKILL.md 正文

TheAngry AI Code Audit

Audit code that may have been generated by agents or rushed through an AI-assisted implementation pass.

This skill does not replace review, review-and-ship, proof-orchestrator, or aegis-structured-execution. It adds a sharper anti-generated-code lens.

Use When

Use when Vitor asks to:

  • review AI-generated code;
  • check for slop;
  • clean up a Codex-generated implementation;
  • audit agent work before commit;
  • find speculative abstractions or fake safety;
  • compare implementation against repo style after an AI pass.

Required Context

Inspect:

  • changed files;
  • surrounding source;
  • repo instructions;
  • tests and proof surfaces;
  • original spec or user request when available.

Do not review only the patch if surrounding architecture determines whether the change is good.

Audit Lens

Look for:

  • duplicated helper logic;
  • generic wrappers that do not carry domain value;
  • speculative options, flags, abstractions, or extension points;
  • defensive fallbacks that hide real failures;
  • broad try/catch blocks with weak error truth;
  • stringly typed contracts where the repo uses types or schemas;
  • fake TODOs, placeholders, or soft "future" language;
  • code comments that narrate obvious behavior;
  • tests that only prove mocks;
  • proof claims not supported by fresh evidence;
  • behavior that satisfies the prompt but violates repo conventions.

Output

Lead with findings.

## Findings
| Severity | File | Issue | Why it matters | Fix |
| --- | --- | --- | --- | --- |

## Keep
- Strong choices that should not be rewritten.

## Proof Needed
- Test, runtime, or review proof required before shipping.

## Suggested Patch Shape
- Smallest safe cleanup sequence.

Guardrails

  • Do not rewrite code just because it looks generated.
  • Do not flatten useful abstractions.
  • Do not invent a new architecture during review.
  • Do not claim code is AI-generated based on style alone.
  • Do not treat style issues as blockers unless they create real maintenance, correctness, security, or proof risk.

04 同仓库更多 Skills

TheAngryPit
TheAngryPit/TheAngrySkills

X MCP guide

ALWAYS read this before using any X tool (the X plugin, any X MCP, or Grok Bot's built-in public X reads) and again on any X error. X tools are included in Grok Bot at no cost: never estimate costs, check credits, or tell the user to buy credits. tools=0 / user-X-* not found is a setup failure, not a paywall. Covers Spaces, communities, and Lists (reads and list writes), X Chat (XChat, inbox, DMs, unread, message requests, Chat PIN, juicebox, xchat_lite: clone xchat-grokbot-helper yourself and decrypt locally), scheduled X calls (schedule_call, list_scheduled_calls and the other call tools), and livestreams (stream sources, broadcasts, scheduled broadcasts, broadcast chat, moderators, mutes). Chat, call, livestream, Spaces, or Lists tools missing while other X tools work: reconnect the X plugin.

★ 0
TheAngryPit
TheAngryPit/TheAngrySkills

X Money guide

Read this before the first X Money action in a session and again on any X Money error, refusal, or missing capability. Covers the approval rule for every action that moves money (always ask, every time, no exceptions), how the connection works (connection code plus passkey in the X app), how to guide the user through connect, reconnect, and revoke at x.com/i/money/settings/connections, and what each failure message means.

★ 0
TheAngryPit
TheAngryPit/TheAngrySkills

google-slides

Build and edit Google Slides through the google-slides MCP tools - slides, grids of cards and columns, text boxes, shapes, images, tables, styling, layout inspection, and per-slide PNG rendering. Use when creating a deck, laying out slide elements, matching a template, or verifying how a slide looks.

★ 0
TheAngryPit
TheAngryPit/TheAngrySkills

google-sheets

Build and edit Google Sheets with the google-sheets tools - values, formatting, charts, conditional formatting, structure, validation, named and protected ranges. Use when creating a spreadsheet or dashboard, formatting cells, adding or fixing charts, or reorganizing tabs and rows.

★ 0
TheAngryPit
TheAngryPit/TheAngrySkills

google-drive

Work with Google Drive through its MCP tools - search, read, create, organize, share, comment, and export files. Use when creating files in specific folders, moving or renaming, converting Markdown/CSV into Docs/Sheets, managing comments, or exporting a rendered PDF.

★ 0
TheAngryPit
TheAngryPit/TheAngrySkills

google-docs

Author and edit Google Docs with the google-docs tools - structured writing, character and paragraph styling, lists, tables, images, headers/footers. Use when creating a formatted document, editing document content, or applying styles.

★ 0