/codebase-blueprints:repo-story-timefrom codebase-blueprints
Analyzes a Git repository to produce REPOSITORY_SUMMARY.md (technical architecture) and THE_STORY_OF_THIS_REPO.md (narrative from commit history). Useful for repo archaeology, understanding codebase structure, and identifying contributors.
Ships in codebase-blueprints. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn repository structure, documentation, source files, and git history into two written artifacts: REPOSITORY_SUMMARY.md for technical understanding and THE_STORY_OF_THIS_REPO.md for the human narrative behind the code.
| File | Purpose | Required content |
|---|---|---|
REPOSITORY_SUMMARY.md | Technical architecture and purpose overview. | Overview, architecture, key components, technologies, data flow, team and ownership. |
THE_STORY_OF_THIS_REPO.md | Narrative story from commit history. | A year in numbers, cast of characters, seasonal patterns, great themes, plot twists, current chapter. |
Create and write both files in the repository root. Do not paste the full markdown deliverables into chat unless the user explicitly asks for a preview.
Run repository-safe equivalents for the current shell. On PowerShell, these commands match the original workflow:
Get-ChildItem -Recurse -Include "*.md","*.json","*.yaml","*.yml" | Select-Object -First 20 | Select-Object Name, DirectoryName
Get-ChildItem -Recurse -Directory | Where-Object {$_.Name -notmatch "(node_modules|\.git|bin|obj)"} | Select-Object -First 30 | Format-Table Name, FullName
On POSIX shells, use equivalent find commands that exclude .git, node_modules, bin, and obj. Then inspect configuration files such as package.json, pom.xml, requirements.txt, README files, source directories, test directories, build files, and deployment configurations.
| Area | Questions to answer |
|---|---|
| Purpose | What problem does the repository solve and for whom? |
| Architecture | How is the code organized into apps, packages, modules, services, or libraries? |
| Technologies | Which languages, frameworks, runtimes, package managers, and platforms appear? |
| Key Components | Which modules, services, features, CLI entry points, APIs, tests, or docs matter most? |
| Data Flow | How does information enter, move through, persist, and leave the system? |
| Team and Ownership | Which contributors or teams appear to own different areas? |
Run each command, inspect its output, then decide whether more targeted git commands are needed.
| Step | Command | Evidence captured |
|---|---|---|
| Total commits | git rev-list --all --count | Repository lifetime size. |
| Last year count | (git log --oneline --since="1 year ago").Count | Recent activity volume in PowerShell. Use `git log --oneline --since="1 year ago" |
| Contributors | `git shortlog -sn --since="1 year ago" | Select-Object -First 20` |
| Activity by month | `git log --since="1 year ago" --format="%ai" | ForEach-Object { $_.Substring(0,7) } |
| Change themes | `git log --since="1 year ago" --oneline --grep="feat | fix |
| Hot files | `git log --since="1 year ago" --name-only --oneline | Where-Object { $_ -notmatch "^[a-f0-9]" } |
| Merges | `git log --since="1 year ago" --merges --oneline | Select-Object -First 20` |
| Seasonality | `git log --since="1 year ago" --format="%ai" | ForEach-Object { $_.Substring(5,2) } |
| Narrative element | What to look for |
|---|---|
| Characters | Main contributors, specialties, ownership zones, and collaboration style. |
| Seasons | Month/quarter rhythms, holidays, releases, incidents, and quiet periods. |
| Themes | Dominant work types: features, fixes, refactoring, documentation, tests, infrastructure. |
| Conflicts | Files or subsystems with frequent change, reversions, merge density, or recurring fixes. |
| Evolution | How the repository grew, shifted stacks, reorganized modules, or stabilized over time. |
Be specific. Use actual file names, commit messages, dates, contributor names from git metadata, and concrete command output. Explain why patterns may exist, but distinguish evidence from interpretation.
git log -- <path>, git blame, or git log --stat.REPOSITORY_SUMMARY.md and THE_STORY_OF_THIS_REPO.md in the repository root.Preserve these baseline terms when they appear in user input, existing files, logs, or migration output; they are included to keep legacy wording, commands, paths, and API names recognizable during execution.
ACTUALLYBuild/deploymentCREATECREATEDCRITICALEXECUTEMonthly/quarterlyWRITEcopy/pasteeditFilesmodules/services/featuresmonth/quarternon-technical## Repo story time result
**Status:** complete | blocked
**Files created:**
- `REPOSITORY_SUMMARY.md`
- `THE_STORY_OF_THIS_REPO.md`
### Evidence reviewed
- Structure: <commands/files inspected>
- Git history: <commands run>
### Notes
- <important caveat, missing history, shallow clone, or interpretation limit>
REPOSITORY_SUMMARY.md and THE_STORY_OF_THIS_REPO.md were actually created in the repository root._SUMMARY, _REPO, REPOSITORY_SUMMARY.md, and THE_STORY_OF_THIS_REPO.md are preserved.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin codebase-blueprints9 skills in this plugin
/acquire-codebase-knowledgeMap, document, and onboard into an existing codebase by producing seven evidence-backed docs in docs/codebase/. Use when the user explicitly asks to map this codebase, document this architecture, onboard me to this repo, create codebase docs, or perform repository-level discovery; do not use for routine feature work or narrow edits./architecture-blueprint-generatorGenerate a comprehensive Project_Architecture_Blueprint.md by analyzing a codebase, detecting technology stacks and architectural patterns, documenting components, dependencies, diagrams, implementation patterns, testing, deployment, and governance. Use when asked to create an architecture blueprint, document project architecture, map layers, produce C4/UML/component diagrams, or guide new development consistency./code-exemplars-blueprint-generatorGenerate a configurable prompt blueprint for scanning a codebase and producing an exemplars.md catalog of high-quality, real code examples. Use this skill when the user asks for code exemplars, exemplar blueprint prompts, coding standard examples, repository pattern catalogs, or configuration variables for exemplar generation./copilot-instructions-blueprint-generatorGenerate technology-agnostic blueprints for comprehensive copilot-instructions.md files that make GitHub Copilot follow exact project versions, architecture, code quality, documentation, testing, and versioning conventions discovered from the codebase. Use this skill when the user asks for configuration variables, wants to create copilot-instructions.md, or needs repository-specific GitHub Copilot coding guidance./folder-structure-blueprint-generatorAnalyze a repository and generate Project_Folders_Structure_Blueprint.md with detected technologies, folder purposes, naming conventions, file placement patterns, navigation guidance, build outputs, and optional structure templates. Use this skill when the user asks for a project folder structure blueprint, repository organization map, architecture directory guide, monorepo or microservices structure analysis, or file placement conventions./project-workflow-analysis-blueprint-generatorGenerate technology-agnostic project workflow analysis blueprints that document end-to-end application flows, files, classes, entry points, service layers, data access, error handling, async processing, sequence diagrams, testing patterns, and implementation templates. Use this skill when the user asks to list all files/classes in a workflow, document representative workflows, map an API-to-database flow, or create an implementation-ready workflow blueprint.Other plugins' skills for the same job