project-analyzer

Analyze codebases and generate CLAUDE.md documentation with Serena and ast-grep.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/Anders-planck/opencode-config --skill project-analyzer-anders-planck
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: project-analyzer
Source: https://github.com/Anders-planck/opencode-config/tree/main/skills/project-analyzer
Command: npx skills add https://github.com/Anders-planck/opencode-config --skill project-analyzer-anders-planck

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzes a new or unfamiliar codebase to produce a clear, navigable CLAUDE.md documentation bundle, enabling faster onboarding and better project comprehension.

Core Features & Use Cases

  • Automated project discovery: maps directory structure, detects conventions, and identifies dependencies to generate coherent architecture documentation.
  • Language-aware analysis: leverages Serena and ast-grep to extract meaningful code patterns and relationships for accurate documentation.
  • Output generation: creates a comprehensive CLAUDE.md that describes structure, conventions, and recommended next steps.

Quick Start

Run the project-analyzer agent on a repository to generate CLAUDE.md documentation.

Frequently Asked Questions about project-analyzer

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

FAQPage Schema
How do I generate a CLAUDE.md file for a new codebase?▼

To generate a CLAUDE.md file, you can run an automated project analyzer on the repository to map directory structure, detect conventions, and output comprehensive architecture documentation.

Can I analyze a Python or Node codebase to map its architecture and dependencies?▼

Yes, you can analyze Python, Node, Go, and Rails codebases to map architecture and dependencies using language-aware analysis tools like Serena and ast-grep.

What is the best way to document codebase conventions for faster onboarding?▼

The best way to document codebase conventions is to auto-generate a navigable CLAUDE.md bundle that describes structure, conventions, and recommended next steps for new developers.

Does codebase documentation generation work without external dependencies?▼

Yes, codebase documentation generation works without external dependencies, using built-in language-aware analysis to extract code patterns and relationships directly from the repository.

What limitations should I expect when analyzing an unfamiliar codebase?▼

When analyzing an unfamiliar codebase, limitations include being constrained to supported languages like Go, Python, Rails, and Node for accurate language-aware structural mapping.