module-audit-agent

Skill for auditing modules and checking their health. Automatically runs structural queries, risk checks, and test generation to assess whether a module should be refactored or has issues.

Last repository push
GitHub Stars
187
Forks
23
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "module-audit-agent" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-cca548645c631b6d49b513a5ef651a31bce458b207e6ae1b358e2e2b73c1925a. Verify the upstream source and version against https://github.com/wednesday-solutions/ai-agent-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Skill for auditing modules and checking their health. Automatically runs structural queries, risk checks, and test generation to assess whether a module should be refactored or has issues.

0 Downloads

Introduction source: third_party · wednesday-solutions · 1.0 Reference

SkillPi interpretation

Tasks
Use when asked to audit a module, check its health, or assess whether it should be refactored. Runs structural query, risk check, and test generation automatically.
Audience
"Audit this module" "Is it safe to refactor X?" "What is the health of this service?" "Should we rewrite X?"
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: module-audit-agent
description: Use when asked to audit a module, check its health, or assess whether it should be refactored. Runs structural query, risk check, and test generation automatically.
license: MIT
metadata:
  author: wednesday-solutions
  version: "1.0"
requires:
  - brownfield-chat
  - brownfield-fix
permissions:
  allow:
    - Bash(wednesday-skills score *)
    - Bash(wednesday-skills blast *)
    - Bash(wednesday-skills gen-tests *)

Module Audit Agent

When to use

  • "Audit this module"
  • "Is it safe to refactor X?"
  • "What is the health of this service?"
  • "Should we rewrite X?"

What to do

  1. In parallel:

    • brownfield-chat — Read dep-graph.json and summaries.json for the target module. Report: what it does, its imports, what imports it, and any known conflicts.
    • brownfield-fix — Run wednesday-skills score <module> and wednesday-skills blast <module>. Report risk band and total dependent count.
  2. Present the combined audit report:

    • Purpose summary (from summaries.json)
    • Risk score + band (0–30 low / 31–60 medium / 61–80 high / 81–100 critical)
    • Blast radius (dependent count, cross-language flagged separately)
    • Architecture violations or danger zone warnings (from MASTER.md)
    • Recommendation: proceed / review / senior sign-off / do not touch
  3. brownfield-tests — Only run if coverage < 30% AND risk > 50:

    • Run wednesday-skills gen-tests --file <module>
    • Show generated test file to dev for review before writing

Never

  • Recommend refactoring a critical file (risk > 80) without flagging the blast radius
  • Read raw source to answer structural questions — use graph only
  • Auto-write test files without showing the dev first

Current listing version

1.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 面向模块审计、健康检查与重构评估,解决开发者常见痛点
  • 具备明确的业务价值,适用于中大型项目维护场景
Trigger Precision92/100

Highlights

  • 触发词覆盖全面,包括 audit、refactor、health、rewrite 等多种表达
  • description 位置正确且内容完整,边界清晰
Structure and Standards95/100

Highlights

  • Phase/步骤划分清晰,包含并行任务与条件执行逻辑
  • frontmatter 完整,文档结构规范,示例详实
Execution Reliability88/100

Highlights

  • 工具来源明确,参数使用正确
  • 覆盖主要异常场景,不可逆操作有确认机制
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.