codebase-analysis

Analyzes codebases through iterative discover-document-review cycles to uncover patterns, rules, and interfaces.

Updated Dec 28, 2025
One-click install
npx skills add https://github.com/I2olanD/dotfiles --skill codebase-analysis-i2oland
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-analysis
Source: https://github.com/I2olanD/dotfiles/tree/main/.config/opencode/skill/codebase-analysis
Command: npx skills add https://github.com/I2olanD/dotfiles --skill codebase-analysis-i2oland

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides teams through iterative analysis cycles to systematically uncover patterns, rules, and interfaces across a codebase, improving understanding and documentation quality.

Core Features & Use Cases

  • Cycle-based workflow: discovery → documentation → review to build a complete understanding of code structure and dependencies.
  • Domain coverage: applicable to business rules, technical patterns, security considerations, performance insights, and integration points.
  • Documentation-driven: outputs structured findings that fit into docs/domain/, docs/patterns/, and docs/interfaces/ for reuse and traceability.

Quick Start

Activate the analysis cycle for your codebase by selecting an area, launching parallel discovery agents, aggregating findings, documenting outcomes, and awaiting review before moving to the next cycle.

Frequently Asked Questions about codebase-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze a codebase to uncover hidden architecture patterns and business rules?

Analyze a codebase by applying an iterative cycle of discovery, documentation, and review to systematically uncover patterns, rules, and integration points across multiple components.

What is the best way to document domain rules and technical patterns found during code discovery?

Document domain rules and technical patterns by generating structured findings that fit into docs/domain/, docs/patterns/, and docs/interfaces/ directories for immediate reuse and traceability.

How does a cycle-based workflow improve software architecture reviews?

A cycle-based workflow improves architecture reviews by enforcing a structured progression from discovery to documentation to review, ensuring complete understanding of code structure and dependencies before advancing.

Can I use this iterative analysis approach for security assessments and performance analysis?

Yes, you can use this iterative analysis approach for security assessments and performance analysis, as it systematically evaluates domain coverage including security considerations and performance insights across software projects.

How do I start a discovery cycle to analyze dependencies and interfaces in my software project?

Start a discovery cycle by selecting a specific codebase area, launching parallel discovery agents, aggregating the findings, documenting the outcomes, and awaiting review before moving to the next cycle.