Skip to content
Back to skills

Assess Codebase

ASecurity

Assess a codebase for patterns, anti-patterns, and quality opportunities; use when asked to generate coding rules, standards, or quality guidelines.

  • 57 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 31, 2026
ai-agentsgobashtestinggitapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned May 31, 2026

npx -y skills add diegosouzapw/awesome-omni-skill --skill assess-codebase --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Assess Codebase?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Assess Codebase
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/diegosouzapw-assess-codebase/badge)](https://www.skillsdirectory.com/skills/diegosouzapw-assess-codebase)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: assess-codebase
description: Assess a codebase for patterns, anti-patterns, and quality opportunities; use when asked to generate coding rules, standards, or quality guidelines.
---

# Assess Codebase

## Overview

Run a multi-agent assessment using CLI subagents and synthesize code quality rules.

## Inputs

- Focus area or directories (optional)
- File patterns (optional)

## Workflow

1. Identify scope and primary languages using `rg --files -g` and recent git activity.
2. Run three CLI subagents (Gemini Flash, Codex, Claude Haiku) using the commands below.
3. Collect outputs, dedupe, and group by patterns, anti-patterns, and opportunities.
4. Draft rules and guidelines with short examples.
5. Save results to `CLAUDE.md` or `AGENTS.md` if requested.

## Subagent Commands

### Gemini Flash (patterns)

```bash
CLOUDSDK_CORE_PROJECT="" GOOGLE_CLOUD_PROJECT="" GCLOUD_PROJECT="" GEMINI_API_KEY=${GEMINI_API_KEY} \
  gemini -m gemini-3-flash-preview -o text "Assess this codebase for patterns in naming, imports, structure, and consistency. Return a structured list with file paths."
```

### Codex (anti-patterns)

```bash
codex exec -m gpt-5.2 -s read-only -c model_reasoning_effort="medium" --skip-git-repo-check \
  "Assess this codebase for anti-patterns (deep nesting, dense one-liners, inconsistent error handling, duplication). Return a structured list with file paths."
```

### Claude Haiku (opportunities)

```bash
claude --model haiku -p "Assess this codebase for clarity, consistency, maintainability, testing, and docs opportunities. Return a structured list with file paths."
```

## Output

- Patterns list
- Anti-patterns list
- Proposed rules and guidelines with priorities

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.