anthropics / anthropic-cookbook
Components

An overview of source code logical components.

Intro

Logical decomposition is a representation of the organization of the main source code, where every and each file is put in exactly one logical component.

Logical Decompositions Overview

Analyzed system has 1 logical decomposition:

Logical Decomposition #1: PRIMARY

The decompositions is based on the folder structure at level 1 (relative to the source code root).

Bubble Chart | Tree Map
Component Sizes (Lines of Code)
The "primary" logical decomposition has 7 components.
  • 46 files, 10,852 LOC (100.0% vs. main code).
  • "misc" is biggest, containing 42.73% of LOC.
  • "finetuning" is smallest, containing 2.43% of LOC.


misc4637 LOC (42%) 10 files
tool_use1750 LOC (16%) 4 files
skills1424 LOC (13%) 25 files
patterns1413 LOC (13%) 4 files
extended_thinking862 LOC (7%) 1 file
multimodal502 LOC (4%) 1 file
finetuning264 LOC (2%) 1 file
Component Commits
Components ordered by number of commits
Total Commits per Component
All commits, some commits may include files from multiple components.
skills43 commits (18%)
misc34 commits (14%)
tool_use13 commits (5%)
multimodal7 commits (3%)
patterns6 commits (2%)
extended_thinking2 commits (<1%)
finetuning2 commits (<1%)
Yearly File Updates Trend per Components
The number of file changes in commits
animated commit history: all time cumulative | 12 months window
2025 2024
skills
107
misc
5
45
tool_use
2
17
patterns
3
9
multimodal
7
extended_thinking
2
finetuning
2


Dependencies between components in same commits (past 180 days)
The number on the lines shows the number of shared commits.
See detailed temporal dependencies report...

G patterns patterns patterns--patterns 2


2025-05-14 13:31