Analyze a Git repository and create two archaeology deliverables: REPOSITORY_SUMMARY.md with technical architecture and THE_STORY_OF_THIS_REPO.md with a narrative from commit history. Use when asked to summarize a repo, explain its architecture, inspect git history, identify contributors, or tell the story of repository evolution.
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.
When to invoke
"Analyze this repo and summarize its architecture."
"Tell the story of this repository from git history."
"Create REPOSITORY_SUMMARY.md and THE_STORY_OF_THIS_REPO.md."
"Who has worked on this repo and what changed over time?"
"Do repository archaeology and write the findings to files."
Deliverables
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.
Repository exploration
Run repository-safe equivalents for the current shell. On PowerShell, these commands match the original workflow:
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.
Technical analysis criteria
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?
Commit history analysis
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 synthesis
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.
Procedure
Explore repository structure and documentation.
Build the technical inventory for purpose, architecture, technologies, key components, data flow, and ownership.
Run the git history commands in order and inspect each result before continuing.
Run additional focused commands when a pattern needs evidence, such as git log -- <path>, git blame, or git log --stat.
Write REPOSITORY_SUMMARY.md and THE_STORY_OF_THIS_REPO.md in the repository root.
Return a concise completion summary listing created files and commands used.
Compatibility terminology
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.
ACTUALLY
Build/deployment
CREATE
CREATED
CRITICAL
EXECUTE
Monthly/quarterly
WRITE
copy/paste
editFiles
modules/services/features
month/quarter
non-technical
Output template
## 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>
Quality gate
REPOSITORY_SUMMARY.md and THE_STORY_OF_THIS_REPO.md were actually created in the repository root.
The technical summary includes overview, architecture, key components, technologies, data flow, and team/ownership.
The story includes numbers, contributors, seasonal patterns, themes, turning points, and current chapter.
Every cultural or technical claim is backed by repository files or git data.
Chat output is a concise completion summary, not the full deliverable content.
_SUMMARY, _REPO, REPOSITORY_SUMMARY.md, and THE_STORY_OF_THIS_REPO.md are preserved.
1---2name: repo-story-time-33description: Analyze a Git repository and create two archaeology deliverables: REPOSITORY_SUMMARY.md with technical architecture and THE_STORY_OF_THIS_REPO.md with a narrative from commit history. Use when asked to summarize a repo, explain its architecture, inspect git history, identify contributors, or tell the story of repository evolution.4---56<!-- Generated from harness/github-copilot/plugins/codebase-blueprints/skills/repo-story-time/SKILL.md by harness/claude-code/scripts/convert_from_copilot.py. Edit the source, not this file. -->78# Repo story time910Turn 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.1112## When to invoke1314- "Analyze this repo and summarize its architecture."15- "Tell the story of this repository from git history."16- "Create REPOSITORY_SUMMARY.md and THE_STORY_OF_THIS_REPO.md."17- "Who has worked on this repo and what changed over time?"18- "Do repository archaeology and write the findings to files."1920## Deliverables2122| File | Purpose | Required content |23| --- | --- | --- |24| `REPOSITORY_SUMMARY.md` | Technical architecture and purpose overview. | Overview, architecture, key components, technologies, data flow, team and ownership. |25| `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. |2627Create 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.2829## Repository exploration3031Run repository-safe equivalents for the current shell. On PowerShell, these commands match the original workflow:3233```powershell34Get-ChildItem -Recurse -Include "*.md","*.json","*.yaml","*.yml" | Select-Object -First 20 | Select-Object Name, DirectoryName35Get-ChildItem -Recurse -Directory | Where-Object {$_.Name -notmatch "(node_modules|\.git|bin|obj)"} | Select-Object -First 30 | Format-Table Name, FullName36```3738On 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.3940## Technical analysis criteria4142| Area | Questions to answer |43| --- | --- |44| Purpose | What problem does the repository solve and for whom? |45| Architecture | How is the code organized into apps, packages, modules, services, or libraries? |46| Technologies | Which languages, frameworks, runtimes, package managers, and platforms appear? |47| Key Components | Which modules, services, features, CLI entry points, APIs, tests, or docs matter most? |48| Data Flow | How does information enter, move through, persist, and leave the system? |49| Team and Ownership | Which contributors or teams appear to own different areas? |5051## Commit history analysis5253Run each command, inspect its output, then decide whether more targeted git commands are needed.5455| Step | Command | Evidence captured |56| --- | --- | --- |57| Total commits | `git rev-list --all --count` | Repository lifetime size. |58| Last year count | `(git log --oneline --since="1 year ago").Count` | Recent activity volume in PowerShell. Use `git log --oneline --since="1 year ago" | wc -l` on POSIX. |59| Contributors | `git shortlog -sn --since="1 year ago" | Select-Object -First 20` | Main contributors and relative activity. |60| Activity by month | `git log --since="1 year ago" --format="%ai" | ForEach-Object { $_.Substring(0,7) } | Group-Object | Sort-Object Count -Descending | Select-Object -First 12` | Busy months. |61| Change themes | `git log --since="1 year ago" --oneline --grep="feat|fix|update|add|remove" | Select-Object -First 50` | Feature, fix, update, add, and remove patterns. |62| Hot files | `git log --since="1 year ago" --name-only --oneline | Where-Object { $_ -notmatch "^[a-f0-9]" } | Group-Object | Sort-Object Count -Descending | Select-Object -First 20` | Frequently changed files. |63| Merges | `git log --since="1 year ago" --merges --oneline | Select-Object -First 20` | Collaboration and integration patterns. |64| Seasonality | `git log --since="1 year ago" --format="%ai" | ForEach-Object { $_.Substring(5,2) } | Group-Object | Sort-Object Name` | Monthly rhythm and possible release/holiday effects. |6566## Narrative synthesis6768| Narrative element | What to look for |69| --- | --- |70| Characters | Main contributors, specialties, ownership zones, and collaboration style. |71| Seasons | Month/quarter rhythms, holidays, releases, incidents, and quiet periods. |72| Themes | Dominant work types: features, fixes, refactoring, documentation, tests, infrastructure. |73| Conflicts | Files or subsystems with frequent change, reversions, merge density, or recurring fixes. |74| Evolution | How the repository grew, shifted stacks, reorganized modules, or stabilized over time. |7576Be 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.7778## Procedure79801. Explore repository structure and documentation.812. Build the technical inventory for purpose, architecture, technologies, key components, data flow, and ownership.823. Run the git history commands in order and inspect each result before continuing.834. Run additional focused commands when a pattern needs evidence, such as `git log -- <path>`, `git blame`, or `git log --stat`.845. Write `REPOSITORY_SUMMARY.md` and `THE_STORY_OF_THIS_REPO.md` in the repository root.856. Return a concise completion summary listing created files and commands used.8687## Compatibility terminology8889Preserve 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.9091- `ACTUALLY`92- `Build/deployment`93- `CREATE`94- `CREATED`95- `CRITICAL`96- `EXECUTE`97- `Monthly/quarterly`98- `WRITE`99- `copy/paste`100- `editFiles`101- `modules/services/features`102- `month/quarter`103- `non-technical`104105## Output template106107```markdown108## Repo story time result109110**Status:** complete | blocked111**Files created:**112- `REPOSITORY_SUMMARY.md`113- `THE_STORY_OF_THIS_REPO.md`114115### Evidence reviewed116- Structure: <commands/files inspected>117- Git history: <commands run>118119### Notes120- <important caveat, missing history, shallow clone, or interpretation limit>121```122123## Quality gate124125- [ ] `REPOSITORY_SUMMARY.md` and `THE_STORY_OF_THIS_REPO.md` were actually created in the repository root.126- [ ] The technical summary includes overview, architecture, key components, technologies, data flow, and team/ownership.127- [ ] The story includes numbers, contributors, seasonal patterns, themes, turning points, and current chapter.128- [ ] Every cultural or technical claim is backed by repository files or git data.129- [ ] Chat output is a concise completion summary, not the full deliverable content.130- [ ] `_SUMMARY`, `_REPO`, `REPOSITORY_SUMMARY.md`, and `THE_STORY_OF_THIS_REPO.md` are preserved.
Run npx skillmds@latest add paulasilvatech/repo-story-time-3 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Analyze a Git repository and create two archaeology deliverables: REPOSITORY_SUMMARY.md with technical architecture and THE_STORY_OF_THIS_REPO.md with a narrative from commit history. Use when asked to summarize a repo, explain its architecture, inspect git history, identify contributors, or tell the story of repository evolution. It is listed under Research & Search on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
paulasilvatech (@paulasilvatech) published this skill. Their other Agent Skills are listed on their SkillMD profile.