
repo-story-time
Generate a comprehensive repository summary and narrative story from commit history
- Installs
- 8.9K
- Last 24h
- —
- Trending rank
- —
- Security
- Warn
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/github/awesome-copilot --skill repo-story-time- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads repo-story-time automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
Security audits
Independent scans of the skill's instructions and bundled files.
SKILL.md
The instructions your agent reads when the skill is triggered.
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, DirectoryName -
Understand 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
editFilestool - NO 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.
FAQ
What does the repo-story-time skill do?
Generate a comprehensive repository summary and narrative story from commit history
How do I install repo-story-time?
Run npx skills add https://github.com/github/awesome-copilot --skill repo-story-time in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/repo-story-time/ (personal) or .claude/skills/repo-story-time/ (project).
Which AI agents can use repo-story-time?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is repo-story-time safe to install?
Security partners have reviewed it: Gen Agent Trust Hub passed; Socket passed; Snyk passed; Runlayer flagged items to review; ZeroLeaks passed. As with any skill, read the SKILL.md and bundled scripts before installing.
Who maintains repo-story-time?
It is published by github in github/awesome-copilot, and it is an official skill from the maker of the technology it covers. It has 8,946 recorded installs.
More from github/awesome-copilot
git-commit
github/awesome-copilot
Use this skill when the user wants to make a Git commit or split changes into more than one commit. Also use it when the user types "/commit" or asks for a conventional commit. The skill examines the diff, stages the related files, writes a Conventional Commits message, and runs git commit. Do not use it when the user wants only a commit message and no commit. Do not use it to push, open a pull request, rebase, or change the commit history.
excalidraw-diagram-generator
github/awesome-copilot
Generate Excalidraw diagrams from natural language descriptions. Use when asked to "create a diagram", "make a flowchart", "visualize a process", "draw a system architecture", "create a mind map", or "generate an Excalidraw file". Supports flowcharts, relationship diagrams, mind maps, and system architecture diagrams. Outputs .excalidraw JSON files that can be opened directly in Excalidraw.
multi-stage-dockerfile
github/awesome-copilot
Create optimized multi-stage Dockerfiles for any language or framework
documentation-writer
github/awesome-copilot
Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure of the Diátaxis technical documentation authoring framework.
prd
github/awesome-copilot
Generate high-quality Product Requirements Documents (PRDs) for software systems and AI-powered features. Includes executive summaries, user stories, technical specifications, and risk analysis.
refactor
github/awesome-copilot
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.