repo-story-time
できること
このエージェントは、ソフトウェアプロジェクトの履歴を分析し、2種類のレポートを作成します。1つはプロジェクトの構成と目的をまとめた技術的な要約、もう1つは人々の貢献をもとに、プロジェクトがどのように発展してきたかを物語形式でまとめたストーリーです。
使う場面
- ✓既存のコードプロジェクトの構造と目的を理解したいとき。
- ✓ソフトウェア開発の裏側にある経緯を知りたいとき。
- ✓技術的な要約と、リポジトリのコミット履歴の概要が必要なとき。
スキルのリンク
https://github.com/github/awesome-copilot/blob/main/skills/repo-story-time/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このリポジトリの技術的な要約と、コミット履歴のストーリーを作成してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
まずプロジェクトのファイルを調べ、何をするものか、どのように構成されているかを把握します。次に変更履歴(コミット)を分析し、誰が、いつ、どのような種類の変更を加えたのかを特定します。これらをまとめてレポートにします。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
…
よくある質問
「コミット」とは何ですか?
コミットは、ソフトウェアプロジェクトの履歴における「保存」のようなものです。各コミットには、コードに加えられた変更と、それを行った人が記録されています。
エージェントはGitのコマンドで何をするのですか?
Gitの特定のコマンドを使って、誰が変更したか、いつ変更したか、どのファイルが変更されたかといった履歴の情報を集めます。
なぜエージェントは2つのファイルを作成するのですか?
1つは技術的な詳細(構成や使用技術)に焦点を当てたもので、もう1つは開発の裏側にある人間のストーリー(誰が関わり、いつ、どのような大きな変更があったか)を伝えるものです。
詳細
作者による元の説明
Generate a comprehensive repository summary and narrative story from commit history
repo: github/awesome-copilot
人気
- GitHubのスター
- 40k
- ランキング
- #7400
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
acquire-codebase-knowledge
40kエージェントが、既存のコードプロジェクトを理解してドキュメント化できるよう支援します。新しく参加するメンバーのオンボーディングや、アーキテクチャの全体像の把握に役立ちます。
acreadiness-assess
40kエージェントが、プロジェクトのAI対応状況を評価してレポートを生成できるよう支援します。プロジェクトがAIツールをどの程度活用できる状態にあるかを把握するのに役立ちます。
acreadiness-generate-instructions
40kエージェントが、評価結果をもとにAIツール向けの指示文を作成できるよう支援します。AIがコードとどのようにやり取りするかを改善し、特定された不足点を解消するのに役立ちます。
acreadiness-policy
40kエージェントが、AIプロジェクトの評価ポリシーの策定や適用を支援できるようにします。プロジェクトの評価方法を標準化し、コンプライアンスを確保するのに役立ちます。
似ているスキル
obsidian-vault-maintainer
394kObsidianと相性のよいメモリボールトを整理して、動くウィキリンク、統一されたプロパティ、安全に生成されるセクションを保つようエージェントを支援します。
wiki-maintainer
394k同じ内容を繰り返し保てるページ、安全な管理ブロック、矛盾や抜けの確認を使って、OpenClawのメモリウィキを維持するようエージェントを支援します。
obsidian
394k公式のObsidianコマンドラインを使って、Obsidianのメモ、タスク、リンク、プロパティを読み、検索し、作成し、編集するようエージェントを支援します。