Repo Story Time
GitHubOfficialOriginally contributed by @sdolgin as prompts/repo-story-time.prompt.md; moved into a skill by pull request #761Distributed by GitHub
- Skill
- Content generator
- Software development
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
repo-story-time acts as a technical archaeologist, systematically exploring a codebase to produce two distinct documents: a technical architecture summary and a narrative history of the repository's evolution. By executing a series of git and file-system commands, the agent extracts data on contributor patterns, seasonal activity, and change themes, synthesizing this into a human-readable story that highlights the people and events behind the code.
What it does
- Explores repository structure and identifies key configuration and source files.
- Performs deep-dive technical analysis to document architecture, components, and data flow.
- Analyzes git commit history to extract contributor metrics and activity patterns.
- Identifies seasonal development trends and major thematic shifts in the codebase.
- Creates a technical summary file detailing the project's purpose and stack.
- Writes a narrative story file documenting the evolution and human history of the repository.
When to use it
- When onboarding to a new project and needing a quick understanding of its history and architecture.
- When preparing a project retrospective or documentation for stakeholders.
- When you want to understand the team dynamics and development velocity of a repository.
- When you need to generate professional documentation from raw git data.
Advantages
- Provides both technical clarity and cultural context for a project.
- Automates the tedious process of manual repository archaeology.
- Uses evidence-based analysis derived directly from git logs.
- Produces ready-to-use markdown documentation files directly in the repository.
Usage examples
- “Analyze this repository and tell me the story of how it evolved over the last year.”
- The agent will execute git analysis commands, identify key contributors and themes, and generate REPOSITORY_SUMMARY.md and THE_STORY_OF_THIS_REPO.md in the root directory.
- “Create a technical summary and a narrative history for this project.”
- The agent performs a full repository exploration and commit history audit, writing the findings into two structured markdown files.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/github/repo-story-time/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip repo-story-time.zip -d .agents/skills
Documentation by sdolgin
Role
You're a senior technical analyst and storyteller with expertise in repository archaeology, code pattern analysis, and narrative synthesis. Your mission is to transform raw repository data into compelling technical narratives that reveal the human stories behind the code.
Task
Transform any repository into a comprehensive analysis with two deliverables:
REPOSITORY_SUMMARY.md - Technical architecture and purpose overview
THE_STORY_OF_THIS_REPO.md - Narrative story from commit history analysis
CRITICAL: You must CREATE and WRITE these files with complete markdown content. Do NOT output the markdown content in the chat - use the editFiles tool to create the actual files in the repository root directory.
Methodology
Phase 1: Repository Exploration
EXECUTE these commands immediately to understand the repository structure and purpose:
Get repository overview by running:
Get-ChildItem -Recurse -Include "*.md","*.json","*.yaml","*.yml" | Select-Object -First 20 | Select-Object Name, DirectoryNameUnderstand project structure by running:
Get-ChildItem -Recurse -Directory | Where-Object {$_.Name -notmatch "(node_modules|\.git|bin|obj)"} | Select-Object -First 30 | Format-Table Name, FullName
After executing these commands, use semantic search to understand key concepts and technologies. Look for:
Configuration files (package.json, pom.xml, requirements.txt, etc.)
README files and documentation
Main source directories
Test directories
Build/deployment configurations
Phase 2: Technical Deep Dive
Create comprehensive technical inventory:
Purpose: What problem does this repository solve?
Architecture: How is the code organized?
Technologies: What languages, frameworks, and tools are used?
Key Components: What are the main modules/services/features?
Data Flow: How does information move through the system?
Phase 3: Commit History Analysis
EXECUTE these git commands systematically to understand repository evolution:
Step 1: Basic Statistics - Run these commands to get repository metrics:
git rev-list --all --count(total commit count)(git log --oneline --since="1 year ago").Count(commits in last year)
Step 2: Contributor Analysis - Run this command:
git shortlog -sn --since="1 year ago" | Select-Object -First 20
Step 3: Activity Patterns - Run this command:
git log --since="1 year ago" --format="%ai" | ForEach-Object { $_.Substring(0,7) } | Group-Object | Sort-Object Count -Descending | Select-Object -First 12
Step 4: Change Pattern Analysis - Run these commands:
git log --since="1 year ago" --oneline --grep="feat|fix|update|add|remove" | Select-Object -First 50git log --since="1 year ago" --name-only --oneline | Where-Object { $_ -notmatch "^[a-f0-9]" } | Group-Object | Sort-Object Count -Descending | Select-Object -First 20
Step 5: Collaboration Patterns - Run this command:
git log --since="1 year ago" --merges --oneline | Select-Object -First 20
Step 6: Seasonal Analysis - Run this command:
git log --since="1 year ago" --format="%ai" | ForEach-Object { $_.Substring(5,2) } | Group-Object | Sort-Object Name
Important: Execute each command and analyze the output before proceeding to the next step. Important: Use your best judgment to execute additional commands not listed above based on the output of previous commands or the repository's specific content.
Phase 4: Pattern Recognition
Look for these narrative elements:
Characters: Who are the main contributors? What are their specialties?
Seasons: Are there patterns by month/quarter? Holiday effects?
Themes: What types of changes dominate? (features, fixes, refactoring)
Conflicts: Are there areas of frequent change or contention?
Evolution: How has the repository grown and changed over time?
Output Format
REPOSITORY_SUMMARY.md Structure
# Repository Analysis: [Repo Name]
## Overview
Brief description of what this repository does and why it exists.
## Architecture
High-level technical architecture and organization.
## Key Components
- **Component 1**: Description and purpose
- **Component 2**: Description and purpose
[Continue for all major components]
## Technologies Used
List of programming languages, frameworks, tools, and platforms.
## Data Flow
How information moves through the system.
## Team and Ownership
Who maintains different parts of the codebase.THE_STORY_OF_THIS_REPO.md Structure
# The Story of [Repo Name]
## The Chronicles: A Year in Numbers
Statistical overview of the past year's activity.
## Cast of Characters
Profiles of main contributors with their specialties and impact.
## Seasonal Patterns
Monthly/quarterly analysis of development activity.
## The Great Themes
Major categories of work and their significance.
## Plot Twists and Turning Points
Notable events, major changes, or interesting patterns.
## The Current Chapter
Where the repository stands today and future implications.Key Instructions
Be Specific: Use actual file names, commit messages, and contributor names
Find Stories: Look for interesting patterns, not just statistics
Context Matters: Explain why patterns exist (holidays, releases, incidents)
Human Element: Focus on the people and teams behind the code
Technical Depth: Balance narrative with technical accuracy
Evidence-Based: Support observations with actual git data
Success Criteria
Both markdown files are ACTUALLY CREATED with complete, comprehensive content using the
editFilestoolNO markdown content should be output to chat - all content must be written directly to the files
Technical summary accurately represents repository architecture
Narrative story reveals human patterns and interesting insights
Git commands provide concrete evidence for all claims
Analysis reveals both technical and cultural aspects of development
Files are ready to use immediately without any copy/paste from chat dialog
Critical Final Instructions
DO NOT output markdown content in the chat. DO use the editFiles tool to create both files with complete content. The deliverables are the actual files, not chat output.
Remember: Every repository tells a story. Your job is to uncover that story through systematic analysis and present it in a way that both technical and non-technical audiences can appreciate.
Files
- ATTRIBUTION.mdAdded by AutoGineer1.1 KiB
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md6.5 KiB
LICENSE
MIT License Copyright GitHub, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Requirements and compatibility
Written for: GitHub Copilot
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Originally contributed by
@sdolginas prompts/repo-story-time.prompt.mdmoved into a skill by pull request #761
- Publisher
- GitHub (Official)
- Distributed by
- GitHub
- Source
- github/awesome-copilot · skills/repo-story-time · commit 797337f
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- CypherHK, derekclair, sdolgin
AutoGineer is not affiliated with or endorsed by sdolgin or GitHub.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download repo-story-time.zip