← Back to plugins

supergraph

Unknown by datit309 · 22 stars

Supergraph là plugin cho Claude Code, kết hợp hai phương pháp: - **Superpowers** (obra): Bắt buộc AI tuân theo quy trình làm việc có kỷ luật — brainstorm, plan, TDD, review. - **Code-review-graph** (tirth8205): Phân tích cấu trúc code bằng AST graph — blast radius, hub nodes, community detection, surprise scoring. ### Vấn đề supergraph giải quyết **Không có supergraph:** User: "Thêm authentication cho API" AI: *đọc toàn bộ 27,700 file* *viết code không có kế hoạch* *không viết test* *gửi PR* Tokens: ~443,200 Chất lượng: không đảm bảo **Có supergraph:** User: "Thêm authentication cho API" AI: 1. get_stats() → "Repo: 27,700 file, 12 communities, 8 languages" 2. Brainstorm → "JWT hay session? Endpoint nào?" 3. blast_radius(["src/auth/"]) → "15 file bị ảnh hưởng, 2 hub nodes" 4. Plan → 6 task, mỗi task 2-5 phút, có bước verify 5. TDD → viết test trước, implement sau, refactor 6. Auto-fix → chạy test + lint + review, tự sửa nếu lỗi 7. Review → blast_radius xác nhận tất cả file đã xử lý Tokens: ~4,260 Chất lượng: production-ready Tiết kiệm: 104x tokens ### Ngôn ngữ hỗ trợ | Ngôn ngữ | Test | Lint | Trạng thái | | -------------------- | ----------------------------- | --------------- | ---------- | | Node.js / TypeScript | npm test, jest, vitest, mocha | eslint | Đầy đủ | | Flutter / Dart | flutter test | flutter analyze | Đầy đủ | | PHP | phpunit, pest | phpstan, phpcs | Đầy đủ |

/plugin install supergraph@claude-community