Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

analyze-new-repo分析新的回购协议

Agent Skill

analyze-new-repo 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

897

周安装

37

GitHub Stars

30

下载量

293
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:analyze-new-repo(分析新的回购协议)
来源仓库:https://github.com/johnlee6511/analyze-new-repo
仓库路径:skills/analyze-new-repo
安装命令:
npx skills add https://github.com/johnlee6511/analyze-new-repo --skill analyze-new-repo
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/johnlee6511/analyze-new-repo --skill analyze-new-repo

简介

对新仓库进行证据导向的结构化分析,避免过度推测。

  • 适用于项目引入初期,提供架构中心、设计约束和风险盲点洞察。
  • 输出紧凑的分析报告而非轻量摘要,强调可验证事实。
  • 支持只读分析模式,不执行环境设置或资产下载。
  • 安装前需确认仓库访问权限和只读操作许可。analyze-new-repo 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Analyze New Repo

Produce a reliable repository analysis without pretending certainty where the evidence is thin.

The goal is not to generate a lightweight summary. The goal is to produce a compact, evidence-backed analysis that helps the reader understand:

  • what this project is really trying to do
  • how it is organized and how it runs
  • which design decisions define the repository
  • what constraints, risks, and blind spots matter most
  • where the architectural center of gravity really is

When To Use

Use this skill when the user:

  • brings in a new repository and wants orientation
  • asks what the project does or how it is structured
  • wants build, run, or test commands for an unfamiliar codebase
  • asks for a repo walkthrough or onboarding summary
  • wants a high-confidence first-pass architecture analysis before making changes

Do not use this skill for a narrow one-file question or a known bug in an already-understood codebase.

Working Style

Move from surface evidence to high-leverage internals.

  • Start with repository instructions and top-level docs before reading implementation files.
  • Prefer concrete evidence over guesswork.
  • Mark inference as inference.
  • Compress unimportant details.
  • Explain not just what exists, but why it matters.
  • Write like a senior engineer or code analyst: technically opinionated, calm, and precise.
  • Avoid sounding like an onboarding checklist or a generic repo summary.

Investigation Workflow

1. Establish Repository Context

Read the highest-value orientation sources first:

  1. AGENTS.md
  2. README*
  3. top-level docs such as docs/, CONTRIBUTING*, ARCHITECTURE*, CHANGELOG*
  4. recent git history if it exists

Capture:

  • stated purpose
  • runtime and platform assumptions
  • documented build, run, and test commands
  • any local rules that affect future changes
  • what kind of repository this is: application, library, internal tool, template, skill pack, research repo, infrastructure repo, etc.

2. Inspect Repository Conventions and Workflow Signals

Look for contribution and workflow artifacts that reveal how the project is maintained:

  • .github/ISSUE_TEMPLATE/
  • .github/PULL_REQUEST_TEMPLATE*
  • CONTRIBUTING*
  • CODEOWNERS
  • CODE_OF_CONDUCT*

Capture only what changes how the repo should be read:

  • issue and PR expectations
  • testing or release expectations
  • ownership clues
  • screenshots, migration notes, or eval evidence required in changes

If these files do not exist, say so briefly and move on.

3. Map the Surface

Inspect the top-level structure before diving into source.

Identify:

  • main application directories
  • tests, scripts, docs, assets, config, and CI folders
  • dependency manifests
  • likely entrypoints
  • directories that appear central versus peripheral

If the repository is large, sample representative directories and say that you are sampling.

4. Identify Execution Flow

Use docs first, then verify against config files.

Find:

  • how the project starts
  • how it is built
  • how it is tested
  • deployment or release hints
  • environment assumptions and external services

If commands disagree across files, call that out explicitly.

5. Read the Critical Path

Open the central entrypoint and the main modules on the execution path.

For each important module, summarize:

  • role
  • key inputs and outputs
  • main collaborators
  • why it matters architecturally

Favor a small number of high-value modules over broad shallow coverage.

6. Assess Quality Signals

Look for:

  • test organization and obvious coverage shape
  • CI or automation
  • release flow
  • dependency hygiene
  • documentation completeness
  • maintenance hotspots or tight coupling

Report only what you can actually see.

7. Call Out Risks and Unknowns

Be explicit about:

  • missing documentation
  • unclear runtime assumptions
  • fragile setup steps
  • test blind spots
  • surprising dependencies
  • parts that need deeper validation before changes

Scale Strategy

Adjust depth to repository size instead of pretending every repo deserves the same treatment.

  • Small repos: read the main files directly and go deeper on the true control path.
  • Medium repos: inspect the full surface, then choose the 3-5 modules that define execution and architecture.
  • Large repos or monorepos: explicitly say you are sampling. Start from manifests, workspace config, root docs, CI, and top-level app/package directories before diving into internals.
  • If the repo is too large for full coverage, prefer breadth-first orientation plus one or two representative deep reads.

Monorepo Strategy

If the repository is a monorepo, do not describe it as if it were one application.

First identify the repository shape:

  • deployable applications
  • shared packages or libraries
  • infrastructure or devops directories
  • docs, examples, or auxiliary tooling

Then follow these rules:

  • Start with root-level manifests, workspace configuration, root README/docs, and CI workflows.
  • Use workspace manifests and CI to cross-check what is actually built, tested, and deployed.
  • Separate the repository into boundaries before summarizing behavior.
  • Identify which subprojects are primary and which are supporting.
  • After mapping the full shape, choose only the 1-2 most important subprojects for deeper analysis unless the user explicitly asks for exhaustive coverage.
  • Treat deployable apps, shared packages, and infrastructure as different architectural roles, not as peers in a flat list.
  • Call out when tests, CI, or deployment operate at different layers than the main application code.

When unsure, prefer a report structure like:

  • Repository Thesis
  • Repository Shape
  • Execution Model
  • Architectural Center of Gravity
  • Quality Signals and Risks

Use references/monorepo-checklist.md when the repo clearly has multiple packages, apps, or ownership boundaries.

Stack-Aware Hints

Let dependency manifests influence where you look first.

  • package.json, workspace files, turbo.json, pnpm-workspace.yaml: check scripts, workspaces, app/package split, and likely frontend/backend entrypoints.
  • pyproject.toml, requirements*.txt, uv.lock: check CLI entrypoints, package metadata, tool config, and Python runtime assumptions.
  • Cargo.toml: identify binaries vs libraries, workspace members, and feature flags.
  • go.mod: check module boundaries, cmd/ directories, and internal package layout.
  • docker-compose*, Dockerfile*, Terraform, Helm, or deployment config: use these as evidence for operational shape, not just packaging.

If the stack is not covered above, use manifest filenames, workspace config, source layout, and CI workflows to infer the same things: entrypoints, package boundaries, build paths, and deployment shape.

These are hints, not a rigid language-specific playbook. Use them to improve reading order and entrypoint detection.

Output Format

Use the report template in references/report-template.md as the structure guide. Use references/checklist.md when you need a compact execution checklist before writing. Use references/monorepo-checklist.md when the repository is a clear monorepo.

Your output must:

  • open with a short section called Repository Thesis
  • include 4-6 sections total, chosen to fit the repository
  • use concrete headings instead of a fixed universal set when the repo warrants it
  • always cover: purpose, execution path, key architecture, and risks or quality signals
  • prefer flat bullets, but use short paragraphs when a section needs stronger synthesis
  • make each bullet do at least two jobs: state a fact and explain its implication

Good section names include:

  • Repository Thesis
  • Repository Shape
  • Execution Model
  • Architectural Center of Gravity
  • Project Conventions
  • Quality Signals and Risks
  • Distinctive Design Decisions
  • Unknowns Worth Verifying

Avoid mechanically reusing the same section titles for every repository if the result feels generic.

Evidence Rules

  • Cite concrete file paths for important claims.
  • Distinguish clearly between confirmed facts, informed inference, and unknowns.
  • Prefer statements tied to a specific file over unsupported summaries.
  • Do not invent architecture details that were not verified.
  • If you cannot verify something, say so directly.
  • Prefer observations that connect evidence to architectural or maintenance consequences.

Writing Quality Bar

The result should read like a short analyst report, not a lightweight orientation blurb.

Specifically:

  • Do not merely restate README prose.
  • Do not flatten every repository into the same summary shape.
  • Surface the design decisions that make this repository distinctive.
  • Highlight what a technically strong reader would actually need to know before changing the code.
  • Keep it readable, but do not optimize for brevity so hard that the analysis loses weight.
  • Prefer bullets that combine fact + interpretation + implication.
  • Keep sentences compact, but allow a little density when the repo deserves it.
  • Avoid a mechanically symmetrical report if the repository has one dominant idea.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.76%
按下载量换算108

Claude

27.77%
按下载量换算81

Cursor

18.79%
按下载量换算55

Gemini CLI

9.84%
按下载量换算29

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills