Agent skill · Frontend

serena-code-architecture

Architectural analysis workflow using Serena symbols and Forgetful memory. Use when analyzing project structure, documenting architecture, creating component entities, or building knowledge graphs from code.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill serena-code-architecture --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 7 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/analysis/serena-code-architecture/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Architectural Analysis with Serena + Forgetful This skill guides systematic architectural analysis using Serena's symbol-level understanding, with optional persistence to Forgetful's knowledge graph. ## When to Use This Skill - Analyzing a new codebase before implementing changes - Documenting existing architecture for a project - Creating component entities and relationships in Forgetful - Understanding dependencies and call hierarchies - Building a knowledge graph from code structure ## Analysis Workflow ### Phase 1: Project Structure Discovery Understand the high-level layout: ```python # Get directory structure mcp__plugin_serena_serena__list_dir({ "relative_path": ".", "recursive": false }) # Identify key directories (src/, app/, lib/, etc.) mcp__plugin_serena_serena__list_dir({ "relative_path": "src", "recursive": true }) ``` **Goal**: Identify entry points, main modules, and organizational patterns. ### Phase 2: Entry Point Analysis Find the application entry points: ```python # Look for main/app files mcp__plugin_serena_serena__search_for_pattern({ "substring_pattern": "if __name__.*==.*__main__|def main\\(|app\\s*=\\s*FastAPI|createApp", "restrict_search_to_code_files":

What's inside
Steps it walks through
  1. When to Use This Skill
  2. Analysis Workflow
  3. Phase 1: Project Structure Discovery
  4. Phase 2: Entry Point Analysis
  5. Phase 3: Core Component Mapping
  6. Phase 4: Dependency Tracing
  7. Phase 5: Create Architectural Memories (Optional)
  8. Phase 6: Entity Graph Creation (Optional)
  9. Relationship Types
  10. Entity Types for Architecture
  11. Example: FastAPI Project Analysis
  12. Analysis Checklist
  13. Tips
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the serena-code-architecture skill do?

Architectural analysis workflow using Serena symbols and Forgetful memory. Use when analyzing project structure, documenting architecture, creating component entities, or building knowledge graphs from code.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill serena-code-architecture --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going