code-cleanup-audit

Tinjau · 60
Diindeks di Registry

Audit a repository for architectural decay, AI-generated code smells, stale compatibility paths, dead abstractions, boundary violations, and cleanup candidates without modifying files. Use when the user asks to review code quality, find bad code, inspect AI-generated code, identi

Verified installs0
Star100
Versi1.0.0
Kualitas67/100 · Menjanjikan
Kepercayaan60/100 · Hanya sandbox
Audit75/100 · Perlu ditinjau

Profil aset

Agent pemrograman dan pengembangan

Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.

Lihat kategori

Skenario

GitHub automation

I need my agent to triage GitHub issues, review pull requests, and summarize repository changes.

Kecocokan Agent

Claude Code + Browser agents + CLI

Cocok untuk Codex, Claude Code, Cursor, CLI, atau Agent khusus.

Pasang

Siap

npx skills add pqpo/pragma --skill code-cleanup-audit

Pemeliharaan

Terkini

2 hari sejak push

Risiko

Perlu ditinjau

Dependency or permission surface needs review

Kualitas GitHub

100

67/100 Kualitas · 68/100 Kepercayaan

Tag cakupan

CodingGitHub automationKeamananagent-skill

Catatan ulasan

Dependency or permission surface needs review · Permission surface may require sandboxing

Kartu adopsi Agent

Kepercayaan, audit, dan kesiapan pemasangan dalam sekali lihat

Skor ini menggabungkan metadata repositori publik, sinyal ulasan OpenAgentSkill, kebaruan pemeliharaan, dan kesiapan pemasangan. Ini adalah sinyal shortlist, bukan pengganti peninjauan manusia.

Kualitas

Menjanjikan
67

Useful candidate, but compare it with alternatives before adopting.

Kepercayaan

Hanya sandbox
60

Kandidat berguna dengan sinyal kepercayaan yang kurang atau bercampur. Gunakan di ruang kerja terisolasi hingga loop hasil membuktikan kecocokan tugas.

Audit

Perlu ditinjau
75

Tinjauan yang dapat dibaca mesin tentang kesiapan pemasangan, metadata keamanan, pemeliharaan, dan risiko adopsi.

Trust Score OpenAgentSkill v5

Tinjauan manusia sebelum pemasangan

Jalankan hanya dalam sandbox dan bandingkan alternatif terdekat sebelum digunakan untuk kerja nyata.

CodexClaude CodeCursorOpenAgentSkill CLI

Star

100 star GitHub

Aktivitas repositori

100 star dan 8 fork

Pemeliharaan

2 hari sejak push

Lisensi

NOASSERTION

Pasang

npx skills add pqpo/pragma --skill code-cleanup-audit

Keamanan pemasangan

Jalur pemasangan paket atau runtime standar

Cakupan izin

secrets or environment access, shell or command execution

Hasil Agent

Belum ada data hasil Agent

Dokumentasi

Konteks README/SKILL.md kuat

Ringkasan risiko

Tinjau sebelum produksi

  • The repository license is detected as NOASSERTION, which may be ambiguous for redistribution, but this does not affect the skill's functionality or safety.
  • Quality score needs review
  • Permission surface needs review: secrets or environment access, shell or command execution
  • Stars/forks activity: 100 stars, 8 forks; issue activity unavailable in current metadata

Kesiapan pemasangan

Jalur pemasangan tersedia

  • Jalur pemasangan tersedia
  • Bukti repositori tersedia
  • Lisensi dinyatakan
  • Belum ada bukti hasil Agent-Proven

Metadata yang dapat dibaca Agent

Data keputusan yang dapat dibaca mesin untuk skill ini.

Gunakan blok ini atau JSON tersemat untuk memutuskan apakah Agent perlu memasang skill ini, memilih alternatif, atau meminta tinjauan manusia terlebih dahulu.

Buka JSON

Tugas yang sesuai

  • alur kerja GitHub automation
  • Tim Claude Code
  • builders willing to evaluate younger projects
  • Inspect repository metadata

Agent yang sesuai

CodexClaude CodeCursorOpenAgentSkill CLIBrowser agentsCLI

Keputusan pemasangan

Perintah
npx skills add pqpo/pragma --skill code-cleanup-audit
Kebijakan
Blokir
Tinjauan manusia
Ya

Kepercayaan dan risiko

Kepercayaan
60/100
Audit
75/100
Tingkat risiko
Perlu ditinjau

Lingkar hasil

Endpoint
/api/agent/outcome
ID event
resolve
Hasil
5

Perintah pemasangan

npx skills add pqpo/pragma --skill code-cleanup-audit

Jangan gunakan ketika

  • Tim yang membutuhkan SLA dengan dukungan vendor
  • production agents without a repository review
  • The repository license is detected as NOASSERTION, which may be ambiguous for redistribution, but this does not affect the skill's functionality or safety.
  • Petunjuk izin berisiko tinggi: Shell or command execution, Secrets or environment access
  • Dependency or permission surface needs review

Keamanan Agent v2

27/100 · Hindari pemasangan otomatis

Blocked for auto-installBlokir

This skill should not be selected by an agent without explicit human security review.

Do not auto-install. Inspect the source, dependencies, and permission surface first.

Selesaikan via API

Tinggi

Eksekusi shell atau perintah

Metadata skill merujuk terminal, CLI, shell, subprocess, atau alur kerja eksekusi perintah.

Sedang

Browser automation

Skill may drive a browser or interact with web pages.

Sedang

Akses jaringan

Skill kemungkinan mengambil halaman jarak jauh, API, repositori, atau layanan eksternal.

Sedang

Akses sistem file

Skill dapat membaca atau menulis file proyek, dokumen, artefak yang dihasilkan, atau status workspace lokal.

  • Petunjuk izin berisiko tinggi: Shell or command execution, Secrets or environment access
  • Dependency or permission surface needs review

Target pemasangan

Pasang skill ini di alur Agent Anda

Gunakan endpoint publik untuk mengambil perintah, checklist keamanan, prompt target, dan tautan kanonis.

skill install

OpenAgentSkill CLI

Resolve policy, run the source installer safely, and report a verified install receipt.

$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install pqpo-code-cleanup-audit

Rencana resolusi Agent

Biarkan Agent memverifikasi kecocokan sebelum memasang.

API Resolve mengembalikan skill utama, alternatif, kebijakan keamanan, catatan audit, target pemasangan, dan prompt siap pakai.

Buka rencana teks

Agent harus memeriksa

  • Task fit and alternatives from Resolve API.
  • Audit score, trust score, and safety policy warnings.
  • Install target compatibility for Codex, Claude Code, Cursor, or CLI.

Salin prompt

Task: Use code-cleanup-audit in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20code-cleanup-audit%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/pqpo-code-cleanup-audit/install
Install command: npx skills add pqpo/pragma --skill code-cleanup-audit
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.

Serah-terima Agent

Berikan jalur pemasangan kepada Agent, bukan direktori lain.

Gunakan endpoint publik untuk mengambil perintah, checklist keamanan, prompt target, dan tautan kanonis.

Buka API pemasangan

Prompt Agent

Use code-cleanup-audit for this task. Review https://www.openagentskill.com/api/skills/pqpo-code-cleanup-audit/install, then install with: npx skills add pqpo/pragma --skill code-cleanup-audit

Metadata Registry

Profil yang dapat dibaca Agent untuk pemilihan skill otomatis.

API Registry menyediakan sinyal keputusan, kepercayaan, audit, use case, dan pemasangan tanpa mengikis UI.

Buka Manifest

Kecocokan Agent

68/100

GitHub automation

Platform

Claude Code, Browser agents

Laporan audit

Perlu ditinjau · 75/100

Tinjauan yang dapat dibaca mesin tentang kesiapan pemasangan, metadata keamanan, pemeliharaan, dan risiko adopsi.

Lihat laporan auditLihat laporan evaluasi

Panel keputusan Agent

Fallback candidate for GitHub automation

Prototype with this skill first; keep a fallback candidate ready.

68
Kesiapan
Prototipe
Tahap

Peran di stack

Kandidat cadangan

Kecocokan utama

GitHub automation

Label kepercayaan

Buat prototipe dulu

Jalur pemasangan

Perintah siap

Gunakan saat

  • alur kerja GitHub automation
  • Tim Claude Code
  • builders willing to evaluate younger projects

Bukti

  • recent repository activity
  • install command or GitHub repo available
  • profil kualitas 67/100
  • 4 event interaksi OpenAgentSkill

tinjau dulu

  • The repository license is detected as NOASSERTION, which may be ambiguous for redistribution, but this does not affect the skill's functionality or safety.

Jalur implementasi

  1. 1Pasang di Agent sandbox dan jalankan satu tugas GitHub automation dari awal hingga akhir.
  2. 2Compare output quality, latency, and failure behavior against at least one alternative.
  3. 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.

Profil kepercayaan

Hanya sandbox

Kandidat berguna dengan sinyal kepercayaan yang kurang atau bercampur. Gunakan di ruang kerja terisolasi hingga loop hasil membuktikan kecocokan tugas.

60
Trust Score OpenAgentSkill

Adopsi GitHub

Info

100 star GitHub

Aktivitas star/fork

Periksa

100 star dan 8 fork; aktivitas issue tidak tersedia dalam metadata saat ini

Pemeliharaan terbaru

Lulus

2 hari sejak push

Kejelasan lisensi

Lulus

NOASSERTION

Sinyal positif

  • Tinjauan AI disetujui
  • Jalur pemasangan tersedia
  • Bukti repositori tersedia
  • Repositori yang baru dipelihara
  • Perintah pemasangan tidak memiliki pola berisiko tinggi yang jelas
  • Loop hasil siap tetapi membutuhkan eksekusi Agent nyata pertama

Tinjau sebelum memasang

  • The repository license is detected as NOASSERTION, which may be ambiguous for redistribution, but this does not affect the skill's functionality or safety.
  • Quality score needs review
  • Permission surface needs review: secrets or environment access, shell or command execution
  • Stars/forks activity: 100 stars, 8 forks; issue activity unavailable in current metadata
  • Dependency/runtime risk: command execution surface, credential or environment access
  • Permission surface: secrets or environment access, shell or command execution
  • Belum ada laporan hasil Agent nyata
  • Tinjauan manusia diperlukan sebelum pemasangan tanpa pengawasan

Tindakan yang disarankan

Jalankan hanya dalam sandbox dan bandingkan alternatif terdekat sebelum digunakan untuk kerja nyata.

Profil kualitas

Menjanjikan kandidat untuk alur kerja Agent

Useful candidate, but compare it with alternatives before adopting.

67
Star GitHub
100
Keterkinian
2 hari lalu
Siap dipasang
Ya
Lisensi
NOASSERTION
Tinjau sebelum memasang: The repository license is detected as NOASSERTION, which may be ambiguous for redistribution, but this does not affect the skill's functionality or safety.

Kecocokan alur kerja

Gunakan skill ini pada skenario berikut

Kecocokan alur kerja

Tambahkan ke alur kerja lengkap

Daftar alternatif

Bandingkan sebelum memasang

Similar skills that may fit this task.

Bandingkan semua

Ringkasan

--- name: code-cleanup-audit description: Audit a repository for architectural decay, AI-generated code smells, stale compatibility paths, dead abstractions, boundary violations, and cleanup candidates without modifying files. Use when the user asks to review code quality, find bad code, inspect AI-generated code, identify refactoring or cleanup opportunities, detect legacy leftovers, or produce a cleanup backlog that requires human confirmation before implementation. ---

# Code Cleanup Audit

## Overview

Use this skill to produce an evidence-backed cleanup audit only. The output is a backlog of suspected or confirmed problems for human review, not an implementation plan that silently edits code.

## Non-Negotiable Guardrails

- Do not modify files. - Do not call `apply_patch`, formatters with write mode, generators, codemods, install commands, migration commands, or any command whose purpose is to change the workspace. - Do not create branches, commits, pull requests, or issue tickets unless the user explicitly asks after reviewing the audit. - If the user asks for fixes before seeing the audit, first produce findings and ask which items to implement. - If a command unexpectedly changes files, stop, report the changed paths, and ask how to proceed. - Preserve unrelated dirty worktree changes; treat them as user-owned.

## Audit Workflow

1. Establish repository context: - Read `AGENTS.md` first. - Read architecture and convention docs that directly govern the touched codebase, especially dependency boundaries, ADRs, and package conventions. - Run `git status --short` and note existing dirty files. - Inventory apps/packages with read-only commands such as `find`, `rg --files`, `pnpm -r list --depth -1`, and package manifest reads.

2. Build a map before judging: - Identify package boundaries, public exports, app entry points, runtime adapters, shared schemas, tests, and docs. - Trace imports through package names, not only filenames. - Compare implementation structure against documented allowed dependencies. - Prefer `rg` over slower search tools.

3. Inspect for cleanup categories: - Architecture violations: forbidden imports, cross-package relative imports, app-layer logic in shared packages, runtime-specific code in core/shared, browser-unsafe code in web/client/shared. - Stale compatibility: deprecated fields, fallback branches, migration shims, legacy aliases, duplicate old/new APIs, TODOs that preserve obsolete behavior, no-op adapters, unused feature flags. - AI-generated code smells: over-broad abstractions, fake extensibility, duplicated helpers, inconsistent naming, hand-rolled utilities where a project utility exists, speculative layers, uncalled code, verbose comments explaining obvious code, guessed data shapes. - Type and schema weakness: `any`, unsafe casts, unchecked `unknown`, interfaces where runtime validation is required, schema/type drift, missing boundary parsing. - Error and runtime behavior smells: swallowed errors, broad `catch`, impossible states represented as optional fields, missing cancellation/timeout handling, fragile env assumptions. - Test and validation gaps: core behavior without tests, snapshots masking behavior, tests that only assert mocks, missing negative cases for boundary rules. - Documentation drift: docs or AGENTS rules contradicted by code, public API exports not reflected in docs, stale startup/quality commands.

4. Validate suspected issues: - Read surrounding code and tests before reporting. - Run read-only validation where useful: `pnpm lint`, `pnpm typecheck`, `pnpm test`, focused Vitest commands, `pnpm build` only when build behavior is relevant. - Use existing ESLint boundary rules as evidence when available. - Distinguish confirmed problems from cleanup candidates that need product or architectural judgment.

5. Report without fixing: - Lead with findings ordered by severity. - Include file path and line or precise code location for each finding. - State the violated rule or smell, why it matters, evidence, confidence, and suggested cleanup direction. - Mark every item as one of: `confirmed`, `likely`, or `needs human decision`. - Include "Do not modify until confirmed" language when handing off.

## Severity Standard

- `Critical`: Can break runtime behavior, violate security/privacy boundaries, corrupt data, or cause CI/build failure. - `High`: Violates documented architecture, creates wrong package dependency direction, or preserves misleading/dead public API that future agents will copy. - `Medium`: Increases maintenance cost through duplication, stale compatibility, weak validation, or untested shared behavior. - `Low`: Local readability or consistency issue with limited blast radius.

Do not report pure preference, cosmetic style, or speculative rewrites unless tied to a concrete maintenance, correctness, boundary, or future-agent-copying risk.

## Recommended Commands

Use commands like these as applicable. Keep them read-only.

```bash git status --short find apps packages docs -maxdepth 3 -type f | sort rg --line-number "TODO|FIXME|deprecated|legacy|compat|shim|fallback|no-op|noop|any\\b|as unknown|as any" apps packages docs rg --line-number "from ['\"]\\.\\./\\.\\./|from ['\"]\\.\\./\\.\\./\\.\\./|@pragma/(client|server|core|runtime)" apps packages pnpm -r list --depth -1 pnpm lint pnpm typecheck pnpm test ```

Before running expensive repository-wide commands, prefer focused reads and explain why the command is useful.

## Output Format

Return:

1. Findings - Severity - Status: `confirmed`, `likely`, or `needs human decision` - Location - Problem - Evidence - Cleanup direction, without editing code

2. Cleanup backlog - Group related findings into reviewable batches. - Call out which batches are safe mechanical cleanup versus architecture decisions.

3. Non-findings and constraints - Mention important suspected issues that were checked and rejected. - Mention commands run and commands intentionally skipped.

4. Human confirmation needed - List the exact decisions needed before any code changes.

Detail teknis

Versi
1.0.0
Lisensi
NOASSERTION
Pembaruan terakhir
20 Agu 2026
Diterbitkan
20 Agu 2026

Ringkasan keputusan

Kandidat cadangan

68
Siap
Prototipe
Tahap

recent repository activity

Audit

Tinjauan pemasangan

Tinjauan pemasangan dan adopsi

75
Perlu ditinjau
Keamanan
69/100
Pemeliharaan
100/100
Pasang
92/100
Buka audit lengkapLihat laporan evaluasi

Bukti tervalidasi Agent

Bukti tervalidasi Agent

Laporan hasil setelah resolve, tinjau, pasang, dan satu eksekusi terbatas.

0
Terbukti
Needs first agent runPasang otomatis: tinjau duluTerakhir: Tidak diketahui
Tingkat sukses
Kegagalan terbaru
Hasil
0
Kualitas output
Gagal
0
Tidak relevan
0
Pemasangan
0
Diblokir risiko
0
Perlu penyiapan
0
Produksi
0

Belum ada data hasil Agent. Eksekusi pertama dapat melaporkan keberhasilan, kebutuhan setup, blok risiko, kegagalan, atau tidak relevan melalui /api/agent/outcome.

Pasang

Tambahkan ke alur Agent

Gratis dan sumber terbuka. Tinjau laporan sebelum memasang pada Agent produksi.

Siklus pertumbuhan

Kit berbagi

X

Draf berbasis skenario untuk code-cleanup-audit, siap untuk posting manual di X.

Catatan kurator
A practical pick for source-backed research:

code-cleanup-audit: Audit a repository for architectural decay, AI-generated code smells, stale compatibility paths, dead abstractions, boundar...

100 stars

https://www.openagentskill.com/skills/pqpo-code-cleanup-audit?ref=x
Buka draf X
Balasan opsional dengan perintah pemasangan
Listing + install path for code-cleanup-audit:
https://www.openagentskill.com/skills/pqpo-code-cleanup-audit?ref=x

Install: npx skills add pqpo/pragma --skill code-cleanup-audit
Buka draf balasan

Sumber listing

Diindeks Registry

Dapat diklaim

Listing ini diindeks dari sumber publik dan belum ditandai resmi hingga klaim pemelihara disetujui.

Kreator
pqpo
Diindeks oleh
Indeks komunitas OpenAgentSkill

Atribusi menautkan ke repositori publik atau profil kreator. Kreator dapat mengklaim listing untuk memperbarui sinyal kepemilikan.

Klaim skill ini

Klaim pemilik

Klaim listing skill ini

Listing Diindeks Registry ini dikaitkan dengan pqpo, tetapi belum ditandai resmi. Klaim untuk menambahkan sinyal pemilik terverifikasi dan membuat pembaruan peluncuran, pemasangan, serta audit berikutnya lebih tepercaya.

Kit backlink kreator

Tambahkan badge bukti ke README Anda

Tampilkan listing kanonis, sinyal kepercayaan dan audit saat ini, serta bukti Agent-Proven nyata di tempat pengembang mengevaluasi repositori.

[![Listed on OpenAgentSkill](https://www.openagentskill.com/api/badge/pqpo-code-cleanup-audit?metric=listed&label=Listed)](https://www.openagentskill.com/skills/pqpo-code-cleanup-audit)
[![OpenAgentSkill Trust](https://www.openagentskill.com/api/badge/pqpo-code-cleanup-audit?metric=trust&label=Trust)](https://www.openagentskill.com/skills/pqpo-code-cleanup-audit)
[![OpenAgentSkill Audit](https://www.openagentskill.com/api/badge/pqpo-code-cleanup-audit?metric=audit&label=Audit)](https://www.openagentskill.com/skills/pqpo-code-cleanup-audit/audit)
[![Agent Proven](https://www.openagentskill.com/api/badge/pqpo-code-cleanup-audit?metric=proven&label=Agent%20Proven)](https://www.openagentskill.com/skills/pqpo-code-cleanup-audit)

Penulis

P

pqpo

@pqpo

Kecocokan platform

Sinyal kesehatan

Star GitHub
100
Skor kualitas
37/100
Push GitHub terakhir
20 Agu 2026
Petunjuk framework
Tidak diketahui
Tampilan OpenAgentSkill
4
Salinan pemasangan
0
Klik keluar
0

Sinyal komunitas

Bagikan apakah skill ini bermanfaat untuk alur kerja Agent Anda. Masukan gabungan meningkatkan peringkat dari waktu ke waktu.

Kepercayaan & keamanan

Hanya sandbox

60
  • Adopsi GitHub100 star GitHubInfo
  • Aktivitas star/fork100 star dan 8 fork; aktivitas issue tidak tersedia dalam metadata saat iniPeriksa
  • Pemeliharaan terbaru2 hari sejak pushLulus
  • Kejelasan lisensiNOASSERTIONLulus
  • Kelengkapan README/SKILL.mdMetadata memuat konteks penggunaan dan alur kerja yang cukupLulus
  • Risiko dependensi/runtimecommand execution surface, credential or environment accessPerbaiki