Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

github-repo-teardownGitHub repo teardown 搜索

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

6,169

周安装

252

GitHub Stars

公开资料未说明

下载量

1,976
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:github-repo-teardown(GitHub repo teardown 搜索)
来源仓库:https://github.com/jjliu6/github-repo-teardown
安装命令:
openclaw skills install github-repo-teardown
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install github-repo-teardown

简介

深度拆解任意开源项目,生成面向产品与工程师的双向可读报告。

  • 覆盖架构、依赖、贡献模式等多维度分析,助力竞品研究。
  • 通过 clawhub 安装,输入仓库地址后输出 HTML 可视化结果。
  • 仅读取公开数据,不涉及私有信息或自动化部署行为。
  • github-repo-teardown 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
github-repo-teardown
metadata
author
Junjie Liu / Philosophie AI
homepage
https://www.linkedin.com/in/junjieliu/
version
1.0.0
description
>

GitHub Repo Teardown

Purpose

Transform any GitHub open-source project into a product + engineering teardown — a single HTML document that explains not just *what* the code does, but *why* it's designed that way and *what you can learn from it*. The core premise: every technical choice reflects a product judgment, and every product design requires an architecture to support it.

When to Trigger

  • User shares a GitHub repo URL and asks to analyze / explain / teardown
  • User says "break down this repo", "how is this designed", "analyze this project"
  • User mentions "teardown", "code walkthrough", "explain this codebase"
  • User wants to learn from an open-source project's design
  • User drops a GitHub link with even minimal context ("what is this?")

Configuration

Language

Output defaults to English. If the user's message is in another language (e.g., Chinese, Japanese, Spanish), match that language for the narrative while keeping technical terms, code references, and file paths in their original form.

If the user explicitly requests a language (e.g., "write it in Chinese", "用中文写"), follow that instruction regardless of the default.

Research Phase

Before writing anything, gather comprehensive information. Follow these steps in order, spending 5-15 tool calls depending on repo complexity. Do not skip steps — thin research produces thin teardowns.

Step 1: Repo Overview

  • web_fetch the GitHub repo main page to get: README content, directory structure,

stars/forks/language breakdown, license, last commit date

  • Pay attention to any Architecture / Design / How It Works sections in the README
  • Check for ARCHITECTURE.md, DESIGN.md, CONTRIBUTING.md, or AGENTS.md

Step 2: Deep-Dive Sources (pick 2-4 most useful)

  • web_search "{repo-name} architecture" or "{repo-name} how it works internally"
  • Try fetching DeepWiki: https://deepwiki.com/{owner}/{repo} — often has good architecture

analysis. If unavailable, skip without concern — it's a nice-to-have, not a dependency.

  • Look for the project's official blog post, launch announcement, or HN/Reddit discussion
  • If the repo has a /docs directory or documentation site, fetch key pages

Step 3: Source Code Reconnaissance

  • From README and any architecture docs, identify 3-5 key source files — entry points,

core modules, config files, data models

  • web_fetch these files directly via raw GitHub URLs:

https://raw.githubusercontent.com/{owner}/{repo}/{branch}/{path}

  • You don't need to read every line — focus on understanding the **relationships between

files, the main abstractions, and any clever patterns**

  • Check package.json, Cargo.toml, pyproject.toml, or equivalent for dependency insights

Step 4: Community & Traction Signals

  • Scan the Issues tab (sort by most commented or most reacted) to understand:

- What problems users actually hit - What features are most requested - Where the project's limitations show

  • Check Discussions or recent release notes if available
  • Note contributor count and commit frequency — signals project health

Step 5: Comparable Repos Discovery (CRITICAL — do not skip)

This step directly feeds CH.6 and is one of the highest-value parts of the teardown.

  • web_search for 2-4 comparable or alternative projects:

- "{repo-name} vs" or "{repo-name} alternatives" - Search by the problem domain: "{problem-the-repo-solves} open source"

  • For each comparable repo found, web_fetch its GitHub page to get: stars, language,

approach/architecture, key differentiator

  • Look for projects that solve the same problem differently, not just forks or clones
  • Note: "comparable" includes both direct competitors AND projects with similar architectural

patterns applied to different domains

Step 6: Synthesize Before Writing

Before opening any file, mentally organize:

  • One-line definition of what this project is (test: would a smart non-technical person get it?)
  • The main analogy you'll use throughout the document
  • 3 key design decisions that make this project interesting
  • The "aha" insight — what's the non-obvious thing about this project?

Output Framework

Produce a single HTML file saved to /mnt/user-data/outputs/ and displayed via present_files.

Document Structure (10 chapters — trim as needed)

┌─────────────────────────────────────────────────┐
│  HEADER                                          │
│  - Project name + one-line definition (must fit  │
│    in a single sentence)                         │
│  - Health indicators: Stars / Language / Version  │
│  - Audience tag: who should read this            │
└─────────────────────────────────────────────────┘

CH.1  What Problem Does It Solve?
      - Before vs After (pain → solution)
      - A real-world analogy (non-technical readers should get it)
      - 🔑 Product Insight (why this problem is worth solving)

CH.2  Core Mechanism
      - Explain the core working principle using ONE main analogy
        that runs through the entire document
      - Side-by-side: what the user sees vs what the system does
      - ⚙️ Technical Notes (file names, function names for deep-divers)

CH.3  Architecture & Key Decisions
      - Architecture flow diagram (annotated with the analogy)
      - "Why A not B" decision cards (3-5 key design choices)
      - 🎯 Product-level takeaway for each decision

CH.4  A Single Operation's Full Journey
      - Pick ONE typical user action and trace it through the system
      - Timeline-style: each step shows what happens + what tech is used
      - Technical notes: file paths, function names

CH.5  Product Design Highlights (3-5)
      - Each highlight: Title + Paragraph + Product Insight
      - Tag which ones are "reusable patterns"

CH.6  Comparable Repos & Positioning
      - 2-4 comparable/alternative projects with actual GitHub links
      - For each: what it is, stars, approach, key difference
      - Positioning matrix or comparison table
      - "When to use THIS repo vs THAT repo" decision guide
      - (If insufficient data found in research, say so honestly
        and provide what you have)

CH.7  Risks & Trade-offs
      - 2-3 key limitations or trade-offs
      - "What did it sacrifice to gain its current advantage?"
      - Honest > comprehensive

CH.8  Technical Quick Reference
      - Source tree with annotations
      - Tech stack table
      - Key dependencies explained
      - (Reference section for deep-divers)

CH.9  Where Can This Be Applied? (Application Brainstorm)
      - Three tiers of application (see detailed spec below)
      - Card-based layout, each scenario as an independent block
      - Distinguish "use directly" vs "borrow the pattern"
      - 6-8 cards total (quality over quantity)

CH.10 Portable Takeaways
      - 3-5 transferable insights from this project
      - Numbered, 1-2 sentences each
      - Not a summary — distill into reusable mental models

CH.6 Comparable Repos — Detailed Spec

This chapter is one of the most valuable parts of the teardown. Users want to understand not just what THIS project does, but how it fits in the landscape.

Required elements:

  • Each comparable repo gets: Name (linked), Stars count, Language, One-line description,

Architectural approach, Key differentiator from the subject repo

  • A clear "when to use which" decision framework
  • Honest assessment — don't artificially favor the subject repo

Comparison formats (pick the most appropriate):

  • Table: Best for 3+ repos with clear feature dimensions
  • Decision tree: Best when the choice depends on context ("If you need X, use A; if Y, use B")
  • Positioning map: Best when repos differ on 2 clear axes

If research yielded thin results:

  • State clearly: "Limited comparable projects found in this specific niche"
  • Still provide whatever alternatives exist, even if they're partial overlaps
  • Suggest search terms the reader can use to find more

CH.9 Application Scenarios — Detailed Spec

The most practically valuable chapter. Goal: give readers specific, actionable directions, not vague possibilities.

Three Tiers

Tier A: Use Directly — "What can I do with it tomorrow?"

  • What real problem can this repo solve as-is?
  • 2-3 specific scenarios: Who uses it / For what / Expected outcome
  • Format: "A [role] can use this to [specific action], eliminating [specific pain point]"

Tier B: Combine — "What creates a chemical reaction?"

  • What tools/platforms/products does this pair well with for 1+1>2 effects?
  • 2-3 combination proposals, each explaining what NEW capability emerges
  • Focus on non-obvious combinations — obvious ones are already in the README

Tier C: Borrow the Pattern — "What new products could this inspire?"

  • Extract the core design pattern (not the code) and apply it elsewhere
  • Use the format: "If you apply [this pattern] to [another domain], you get..."
  • 2-3 cross-domain applications, each specific enough to be a product spec
  • This is the most creative tier — encourage bold leaps, but each must land

on a concrete product form

Card Design

Each scenario is an independent card with:

  • Type tag: 🔧 Use Directly / 🧪 Combine / 💡 Borrow Pattern
  • Scenario title
  • One-line summary: who + what for
  • 2-3 sentences on how to execute

Total: 6-8 cards. Every card must contain genuine insight.

Chapter Usage Rules

  • Must write: CH.1, CH.2, CH.3, CH.4, CH.9, CH.10 (core skeleton)
  • Strongly recommended: CH.5, CH.6, CH.8 (applicable to most repos)
  • Write if warranted: CH.7 (when there are clear trade-offs)
  • Overall principle: every paragraph must add information — no padding
  • If a chapter would be thin, skip it entirely rather than write filler

Writing Style Guide

The Throughline Analogy

  • Choose 1 main analogy per project (e.g., browser-use = "a remote-controlled restaurant order")
  • Introduce it in CH.1, extend it through CH.2-CH.4
  • The analogy must serve understanding, not decoration
  • Avoid: switching to a new unrelated analogy every chapter

Dual-Layer Narrative

  • Surface layer: Product logic, business value, user perspective

(a PM can read just this layer and understand 80%)

  • Deep layer: File paths, function names, protocol details

(engineers dig into this layer for implementation specifics)

  • Visually separate them: technical details use code font, gray backgrounds,

or "Technical Note" callout boxes

Insight Callouts

Use colored callout boxes to mark insights:

  • 🔵 Blue: Product insight / Design principle
  • 🟠 Orange: Technical design lesson
  • 🟢 Green: Reusable pattern
  • 🟣 Purple: Growth / Business strategy

Voice & Tone

  • Like a senior product advisor giving you a private briefing
  • Not a textbook, not a blog post — it's "help you understand fast and form judgment"
  • Opinions are welcome but labeled: distinguish analysis from fact
  • Concise and direct — every sentence earns its place

Language Conventions

  • Narrative in the configured output language (default: English)
  • Technical terms stay in English regardless (Daemon, IPC, CDP, Schema, etc.)
  • Code snippets and file paths always in original form
  • Project-specific terminology in original language with brief explanation on first use

Visual Design Guide

Overall Aesthetic

  • Light background (#faf9f6 warm white), high readability
  • Serif font for headings (Newsreader) — gravitas
  • Sans-serif for body (Inter) — modern readability
  • Monospace for technical content (JetBrains Mono)
  • Max width 820px, centered layout
  • Generous whitespace, clear visual hierarchy

Google Fonts

<link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;600&display=swap" rel="stylesheet">

Key Components

  • Analogy cards: White rounded cards, 💡 emoji marker
  • Comparison panels: Two-column layout (Before vs After, Traditional vs New)
  • Flow diagrams: Horizontal emoji flow with arrow connectors
  • Decision cards: 2×2 grid, Q&A format
  • Insight callouts: Left color bar + tinted background
  • Timeline: Circle dots + vertical line + content cards
  • Tech reference: Monospace file tree + tables
  • Scenario cards: Independent rounded cards, type tag top-left (🔧/🧪/💡)
  • Comparable repo cards: GitHub-style cards with stars badge, language dot, link

Responsive Design

  • Cards stack vertically on narrow screens
  • Side-by-side comparisons collapse to stacked on mobile
  • Font sizes adjust for readability

Quality Checklist

Before delivering, verify:

  • [ ] One-line definition is truly one sentence?
  • [ ] Main analogy runs through the entire document (not switching per chapter)?
  • [ ] Every chapter adds new information (not rephrasing earlier content)?
  • [ ] A PM can understand 80% reading only the surface layer?
  • [ ] An engineer can find specific files and functions in the deep layer?
  • [ ] CH.6 includes actual GitHub links to comparable repos?
  • [ ] CH.6 has a clear "when to use which" decision guide?
  • [ ] CH.9 scenarios are specific enough (who / what / how all stated)?
  • [ ] CH.9 "Borrow Pattern" tier has genuine cross-domain leaps (not "same domain, new name")?
  • [ ] CH.10 takeaways are transferable mental models (not a project summary)?
  • [ ] Insights are specific to THIS project (not "AI is changing the world" platitudes)?
  • [ ] HTML saved to /mnt/user-data/outputs/ and displayed via present_files?

What This Skill is NOT

  • ❌ Not a code review (doesn't read every line)
  • ❌ Not a README translation (doesn't repeat existing docs)
  • ❌ Not an academic paper (doesn't aim for completeness)
  • ❌ Not an SEO article (no filler content)
  • ✅ It's a product teardown that helps you rapidly understand a project's design wisdom

and walk away with actionable insights


Credits

Built by Junjie Liu at Philosophie AI — where AI proves its value through real, practical use.

If this skill helped you understand a project better, consider starring it on ClawHub.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

90.13%
按下载量换算1,781

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills