Skip to content
Back to skills

Analyze Codebase

ASecurity

Perform semantic codebase analysis using Serena integration

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
ai-agentsbashdocumentation

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill analyze-codebase --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Analyze Codebase?

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

Security grade badge for Analyze Codebase
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-analyze-codebase/badge)](https://www.skillsdirectory.com/skills/david-li0406-analyze-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: analyze-codebase
description: Perform semantic codebase analysis using Serena integration
argument-hint: "[directory]"
allowed-tools: [Read, Write, Bash, Glob, Grep, AskUserQuestion, serena_find_symbol, serena_semantic_search]
platforms: [opencode,claude,gemini]
---

<objective>
Analyze codebase structure semantically using AG4ONE Serena integration to create comprehensive understanding of project architecture, patterns, and relationships.

</objective>

<execution_context>
@ag4one/serena/semantic-analysis.md
@AG4-STYLE.md
@.planning/STATE.md
</execution_context>

<context>
Current directory: $ARGUMENTS
Platform: $PLATFORM
Available tools: Serena semantic analysis suite
</context>

<process>
1. **Discover Codebase Structure**
   - Use Serena to find all symbols (classes, functions, methods)
   - Map relationships and dependencies between components
   - Identify architectural patterns and conventions

2. **Create Semantic Index**
   - Generate comprehensive symbol catalog
   - Document component hierarchies
   - Store in `SERENA-ANALYSIS.md`

3. **Pattern Recognition**
   - Identify design patterns used in codebase
   - Document common conventions and idioms
   - Note framework-specific patterns

4. **Documentation Update**
   - Update AGENTS.md with discovered patterns
   - Create architectural overview
   - Store semantic findings for future reference
</process>

<success_criteria>
- [ ] Comprehensive symbol catalog created
- [ ] Code relationships mapped and documented
- [ ] Architectural patterns identified
- [ ] SERENA-ANALYSIS.md generated with semantic index
- [ ] Project knowledge preserved in AGENTS.md files
- [ ] Findings ready for AG4ONE workflows to use
</success_criteria>

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…