repo-resurrection
Skill1 starsChanged 3 months agoMITView on GitHub
Revive an abandoned repository: audit its state, restore the build environment, fix broken dependencies and tests, modernize code and tooling, generate documentation, and produce a migration plan to bring the project back to life. Use when inheriting a dead or broken project that needs to become buildable, testable, and maintainable again.
In this repository9 other files it gives its agents.
- codebase-architectSkill
- deep-debuggerSkill
- dependency-doctorSkill
- documentation-engineerSkill
- performance-engineerSkill
- refactor-engineerSkill
- release-engineerSkill
- security-auditorSkill
- test-engineerSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Document mọi decision: vì sao upgrade version X mà không phải Y.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repo Resurrection
Hồi sinh repo chết theo thứ tự: audit → environment → dependencies → tests → code → docs → migration plan. Mỗi bước có exit criterion rõ.
Quy trình (7 bước)
- Audit: đọc README/docs cũ, last commit, CI config, lockfile. Chạy
scripts/audit_state.py <repo>→ trạng thái: build broken? tests? dependency age? docs dead links? - Restore environment: dựng env chạy được (venv/container). Ghi lại chính xác steps + phiên bản tool — đây là deliverable quan trọng nhất.
- Fix dependencies: cập nhật package tới version build được + không vulnerable. Giữ lockfile mới.
- Repair tests: làm test suite chạy lại. Nếu test quá cũ không sửa được: viết characterization test mới covering core behavior.
- Modernize code: chỉ các thay đổi cần để build/test pass + security fixes. KHÔNG rewrite theo ý thích — giữ behavior.
- Generate docs: README mới (setup, run, test, architecture ngắn), docstring thiếu, changelog từ git history.
- Migration plan: roadmap từng giai đoạn (1: build/test xanh; 2: dependency current; 3: feature parity; 4: CI tự động) + risk từng giai đoạn.
Exit criteria
| Bước | Criterion |
| 2 | make build/equivalent pass trong env mới |
| 3 | Không dependency vulnerable đã biết (embedded CVE check) |
| 4 | ≥1 test suite chạy xanh |
| 5 | Behavior test không đổi |
| 6 | README mới tồn tại + setup chạy được từ README |
| 7 | Migration plan written + review-ready |
Nguyên tắc
- Behavior preservation tuyệt đối — project sống lại, không biến thành project khác.
- Document mọi decision: vì sao upgrade version X mà không phải Y.
- Nếu repo quá lớn: resurrect core module trước, module còn lại trong migration plan.
Scripts
scripts/audit_state.py <repo>— báo cáo trạng thái repo cũ (last commit age, CI, deps, tests, docs).
References
- AUDIT-CHECKLIST.md
- MODERNIZATION-GUIDE.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

