genesis-tools:codebase-analysis

Perform deep codebase exploration and analysis in an isolated sub-agent context. Heavy Grep/Glob operations stay separate from your main work.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "genesis-tools:codebase-analysis" with this command: npx skills add genesiscz/genesistools/genesiscz-genesistools-genesis-tools-codebase-analysis

Codebase Analysis

Perform deep codebase exploration and analysis in an isolated sub-agent context. Heavy Grep/Glob operations stay separate from your main work.

Built-in Analysis Types

Type What it finds

dependencies

Import/require graph, circular dependencies, unused imports

dead-code

Exported but never-imported functions, unreachable code paths

api-surface

Public exports, REST endpoints, RPC methods

type-safety

any types, type assertions, missing return types

error-handling

Uncaught promises, empty catch blocks, missing error boundaries

test-coverage

Files without corresponding test files, untested exports

security

Hardcoded secrets, unsanitized inputs, eval usage

patterns

Custom pattern matching (permissions, money, DTOs, etc.)

Usage

/codebase-analysis --type=<type> [--output=summary|detailed]

Examples:

/codebase-analysis --type=type-safety # Find all any types and unsafe casts /codebase-analysis --type=dead-code # Find unused exports /codebase-analysis --type=error-handling # Audit error handling patterns /codebase-analysis --type=patterns # Custom pattern (prompted interactively)

Tools Available in Fork Context

Tool Purpose

tools mcp-tsc <file>

TypeScript diagnostics per file via persistent LSP

tools mcp-ripgrep

Code search MCP server for structured queries

tools collect-files-for-ai <dir> -c N

Gather top N relevant files for analysis

tools files-to-prompt <dir> --cxml

Generate structured context XML

How It Works

  • Launches isolated agent -- intensive searching runs in parallel

  • Performs extensive Grep/Glob without blocking main session

  • Analyzes patterns and cross-references findings

  • Returns structured report to main session

  • You continue working while analysis runs

Report Format

[Analysis Type] Report

Scanned: N files | Findings: N issues | Severity: High/Medium/Low

Finding 1: [description]

  • File: src/utils/format.ts:L45
  • Issue: [what's wrong]
  • Suggestion: [how to fix]

Summary

SeverityCount
HighN
MediumN
LowN

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated