repo-story-time
Skill này làm gì
Agent này phân tích lịch sử của một dự án phần mềm để tạo hai báo cáo: một bản tóm tắt kỹ thuật về kiến trúc và mục đích của dự án, và một câu chuyện kể về cách dự án phát triển dựa trên đóng góp của mọi người.
Khi nào nên dùng
- ✓Khi bạn muốn hiểu cấu trúc và mục đích của một dự án mã đã có.
- ✓Khi bạn muốn biết câu chuyện đằng sau quá trình phát triển phần mềm.
- ✓Khi bạn cần một bản tóm tắt kỹ thuật và tổng quan về lịch sử commit của kho lưu trữ.
Liên kết skill
https://github.com/github/awesome-copilot/blob/main/skills/repo-story-time/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Hãy tạo bản tóm tắt kỹ thuật và câu chuyện lịch sử commit cho kho lưu trữ này.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent xem các tệp của dự án để hiểu nó làm gì và được tổ chức ra sao. Sau đó, nó phân tích nhật ký thay đổi (commit) để xác định ai đóng góp, khi nào và loại thay đổi nào được thực hiện, rồi chuyển tất cả thành báo cáo.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
…
Câu hỏi thường gặp
“Commit” là gì?
Commit giống như các lần “lưu” trong lịch sử của dự án phần mềm. Mỗi commit ghi lại những thay đổi trong mã và người thực hiện.
Agent dùng lệnh Git để làm gì?
Nó dùng các lệnh Git cụ thể để thu thập thông tin về lịch sử dự án, như ai đã thay đổi, khi nào và những tệp nào đã bị sửa.
Vì sao agent tạo hai tệp khác nhau?
Một tệp tập trung vào chi tiết kỹ thuật (kiến trúc, công nghệ), tệp kia kể câu chuyện đằng sau quá trình phát triển (ai đã làm việc, khi nào, và những thay đổi lớn là gì).
Chi tiết
Mô tả gốc của tác giả
Generate a comprehensive repository summary and narrative story from commit history
repo: github/awesome-copilot
Độ phổ biến
- Sao GitHub
- 40k
- Vị trí xếp hạng
- #7400
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
acquire-codebase-knowledge
40kGiúp agent của bạn hiểu và ghi tài liệu cho một dự án mã nguồn có sẵn. Hữu ích khi đón thành viên mới hoặc nắm tổng quan về kiến trúc.
acreadiness-assess
40kGiúp agent của bạn đánh giá mức độ sẵn sàng cho AI của dự án và tạo báo cáo. Hữu ích để biết dự án đã sẵn sàng dùng công cụ AI đến đâu.
acreadiness-generate-instructions
40kGiúp agent của bạn tạo hướng dẫn cho công cụ AI dựa trên kết quả đánh giá. Hữu ích để cải thiện cách AI làm việc với mã và khắc phục các khoảng trống.
acreadiness-policy
40kGiúp agent của bạn xác định hoặc áp dụng chính sách đánh giá dự án bằng AI. Hữu ích để chuẩn hóa cách đánh giá dự án và đảm bảo tuân thủ.
Skill tương tự
obsidian-vault-maintainer
394kGiúp agent của bạn giữ gọn kho ghi nhớ kiểu Obsidian, với liên kết wiki hoạt động tốt, thuộc tính nhất quán và các phần tự tạo an toàn.
wiki-maintainer
394kGiúp agent của bạn duy trì wiki bộ nhớ OpenClaw với các trang có thể lặp lại, khối được quản lý an toàn và kiểm tra mâu thuẫn hoặc thiếu sót.
obsidian
394kCho phép agent của bạn đọc, tìm, tạo và sửa ghi chú, công việc, liên kết và thuộc tính trong Obsidian bằng dòng lệnh Obsidian chính thức.