Token导航 LogoToken导航

Agent Skill · 研究检索

init-copilot-review(初始化 GitHub Copilot 审查)

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

init-copilot-review 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 69,087。

总安装 220周安装 9GitHub Stars 5下载 71核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:init-copilot-review(初始化 GitHub Copilot 审查)
来源仓库:https://github.com/yigitkonur/skills-by-yigitkonur
仓库路径:skills/init-copilot-review
安装命令:
npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill init-copilot-review
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill init-copilot-review

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合根据关键词快速定位候选结果。可结合任务场景或来源线索进行信息聚合,支持技能库探索和匹配。安装前建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。

安装命令为 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill init-copilot-review。适用于 Codex、Claude、Cursor、Gemini CLI,需通过 GitHub 仓库安装。

来源仓库内路径:skills/init-copilot-review

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill init-c…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

init-copilot-review 怎么安装?

在终端执行 npx skills add https://github.com/yigitkonur/skills-by-yigitkonur --skill init-copilot-rev…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

init-copilot-review 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

init-copilot-review 需要什么权限?

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

init-copilot-review 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

init-copilot-review 用的人多吗?

公开数据是累计安装 220 次,近一周安装 9 次,下载 71 次,GitHub 5 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

init-copilot-review 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
init-copilot-review

初始化 GitHub Copilot 审查 · 本页

2205需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Copilot Review Init

Create or refine GitHub Copilot review instruction files for a specific repository. Focus on repo-grounded copilot-instructions.md and scoped *.instructions.md files that improve pull request review quality without wasting character budget.

Trigger boundaries

Use this skill when you need to:

  • Create or revise .github/copilot-instructions.md
  • Create, split, or tighten .github/instructions/*.instructions.md
  • Decide root vs scoped review rules, monorepo/package scoping, applyTo, or excludeAgent
  • Debug why Copilot review ignores, misroutes, or weakly follows instruction files

Do not use this skill when:

  • You are reviewing a PR directly instead of authoring Copilot review instructions
  • You are creating non-Copilot agent files such as CLAUDE.md, AGENTS.md, or generic review docs
  • You want generic best-practice prose without grounding it in the target repository

Start with the smallest relevant reference set

NeedRead
File locations, root vs scoped format, base-branch behavior, character limitsreferences/setup-and-format.md
Rule-writing quality, root vs scoped content decisions, character budgeting, iterationreferences/writing-instructions.md
applyTo, excludeAgent, precedence, monorepo layout, overlapping scopesreferences/scoping-and-targeting.md
Ignored instructions, wrong file scope, debugging order, verificationreferences/troubleshooting.md
Full-stack examples after the file architecture is chosenreferences/scenarios.md
Small starter patterns after repo groundingreferences/micro-library.md

Do not read every reference by default. Start with the minimum set that fits the task, then expand only if a real uncertainty remains.

Workflow

1. Ground on the repository before drafting

Inspect the actual repository first. Start by changing into the target repo root. If you are using a shared fixture or sample repo, copy it to a scratch repo/worktree before writing any .github/ files so you do not mutate the source fixture by accident.

Quick repo scan recipe:

find . -maxdepth 3 -type f -name "*.md" | head -20       # doc landscape
ls .github/ .github/instructions/ 2>/dev/null             # existing Copilot config
find . -maxdepth 2 -type f \( -name '.eslintrc*' -o -name '.prettierrc*' -o -name 'eslint.config.*' -o -name 'prettier.config.*' -o -name 'biome.json' -o -name 'biome.jsonc' \) | head -20  # enforced style rules
find . \( -name "*.test.*" \) -o \( -name "*.spec.*" \) | head -10  # test conventions

Gather:

  • Structure: single app, multi-service, or monorepo
  • Dominant languages, frameworks, and path boundaries
  • Existing .github/copilot-instructions.md, .github/instructions/, CONTRIBUTING.md, CLAUDE.md, and similar repo guidance
  • Linter, formatter, test, and CI configuration so you do not waste rule budget on enforced style rules
  • Representative files in each scope (examine 2–3 files per scope: one typical, one complex, one boundary-case)
  • Recurring review themes: look for repeated patterns in recent PRs, open issues, code comments, and CONTRIBUTING.md that point to risk areas or repeated defects
⚠️ Steering: Existing instruction files. If the repository already has copilot instruction files, do NOT start from scratch. Evaluate them against the quality criteria in Step 3 (SMSA). Note gaps, redundancies, and linter-duplicated rules. Then decide: refine in place if the architecture is sound (most existing files just need tightening), or recreate only if the structure fundamentally misroutes rules. The default is to refine.
⚠️ Steering: Multi-stack repositories. When a repo has two fundamentally different stacks (e.g., Go backend + Svelte frontend, Python API + React SPA), treat each stack as a separate scope from the start. Check whether the secondary stack is a bundled artifact (e.g., ui/dist/) or actively developed source (e.g., ui/src/). Only actively developed source needs its own instruction files.

Stopping test — move on when you can answer all three:

  1. What are the 2–4 highest-risk areas where review catches real bugs?
  2. Which linter/formatter rules already enforce style, so you can skip them?
  3. What is the narrowest directory structure that separates review scopes?

Done when: All three stopping-test questions are answered with repo evidence. If you cannot answer one, you need more exploration. If all three are answered, stop — more exploration adds no value.

2. Choose the instruction architecture before writing prose

Start from this default shape:

.github/
├── copilot-instructions.md
└── instructions/
    ├── <language>.instructions.md
    └── <domain-or-package>.instructions.md

Use this placement logic:

Put it inWhen
.github/copilot-instructions.mdThe rule is truly universal across the repo: security fundamentals, shared error-handling philosophy, shared performance red flags, or repo-wide testing expectations
.github/instructions/<language>.instructions.mdThe rule applies to one language or ecosystem and is not just a linter concern
.github/instructions/<framework-or-path>.instructions.mdThe rule applies only to a framework, directory, layer, or critical path such as api, auth, migrations, or components. For frameworks with route groups (e.g. Next.js (admin), (marketing)), scope to the parent directory rather than each group
Package/service-scoped *.instructions.mdA monorepo package or service has unique review needs not already covered by repo-wide rules. A package qualifies for its own file only when it has 2+ rules that do not apply to any other package
excludeAgentA rule should guide code review but would confuse the coding agent, or vice versa

Steering rules:

  • Start minimal: most repos should begin with 1 repo-wide file plus 2–4 scoped files
  • Grow toward 5–12 total files only when repo breadth justifies it
  • Do not create a file just because you detected a language or framework; create it only if you have 2–3 high-signal rules (rules that catch bugs, security issues, or architectural mistakes a linter cannot) unique to that scope
  • Do not dump everything into copilot-instructions.md; that causes scope bleed and usually wastes the 4,000-character limit
  • Monorepo package files must contain only package-unique rules, not repeated root rules
⚠️ Steering: Over-creation trap. The most common mistake is creating a file for every detected technology. A repo using TypeScript + React + Prisma does NOT need three separate files if most rules are shared. Start with 1 root + 2 scoped, then add only when a new scope has 2+ unique rules that do not fit anywhere else.

Done when: You have a file tree with file names and the applyTo glob for each scoped file. Every file in the tree has a clear reason to exist.

3. Select rules with evidence and reuse discipline

Every rule should be Specific, Measurable, Actionable, and Semantic (SMSA).

SMSA quick check for each rule:

CriterionPassFail
Specific"Flag any useEffect that directly calls a fetch function without AbortController cleanup""Avoid side effects in components"
MeasurableCopilot can clearly decide yes/no per diff hunkRequires subjective judgment
Actionable"When a Prisma findMany lacks a take or where clause, flag it as an unbounded query""Be careful with database queries"
SemanticCatches architectural/security/logic issues beyond syntax"Use consistent naming" (linter territory)

Use this filter:

KeepDrop
Rules backed by repo code, configs, docs, or repeated defectsGeneric best practices with no repo evidence
Semantic review guidance about security, architecture, data flow, error handling, performance, tests, or accessibilityFormatting, import order, spacing, quote style, or other linter territory
Short imperative bullets that say what to flag and whyNarrative paragraphs, hedged advice, or vague slogans like "write clean code"
Adapted examples using repo patternsCopy-pasted templates or external-link references

Reusable categories are helpful only when the repository actually needs them:

  • Repo-wide candidates: security, shared error handling, shared performance risks, testing philosophy
  • Scoped candidates: language idioms, framework conventions, API validation, auth/payment paths, migrations, package boundaries, test-file rules

If you use references/scenarios.md (consult when you need a full-stack example for an architecture you have already chosen) or references/micro-library.md (consult when you need a starter pattern for a specific scope after grounding), treat them as pattern libraries to adapt — never copy verbatim. Change variable names, error types, framework calls, and examples to match the target repo's actual code.

⚠️ Steering: Concept overlap ≠ duplication. Two files may mention the same concept (e.g., error handling) as long as the rules are additive and target different contexts. A root file saying "always return structured errors" and a scoped API file saying "use ApiError with status codes" are complementary, not duplicates. Flag duplication only when the same instruction text is copy-pasted or when rules could contradict.

Done when: Every rule passes the SMSA check, no rule duplicates a linter, and every rule cites specific repo evidence (file, config, pattern, or convention).

4. Draft files with scope-safe formatting

When writing files:

  • copilot-instructions.md is plain Markdown in .github/ and has no frontmatter
  • Every scoped file lives under .github/instructions/
  • Every scoped file starts at line 1 with YAML frontmatter:
---
applyTo: "src/api/**/*.ts"
---
  • applyTo is a single quoted or double-quoted glob string relative to repo root
  • GitHub Copilot uses standard glob patterns including **, *, and brace expansion {a,b}
  • Glob syntax: * matches within a directory, ** matches across directories, {ts,tsx} matches alternatives
  • When a logical domain spans multiple directories, prefer a broader wildcard like src/**/*.ts over listing each subdirectory
  • excludeAgent, when used, should be either "code-review" or "coding-agent"
  • File names should use kebab-case.instructions.md
  • Highest-priority rules go first
  • Keep examples short and include them only when they clarify a semantic rule
⚠️ Steering: Brace expansion platform validation. GitHub glob syntax supports {ts,tsx}, but shell tools do not all validate it the same way. Do not rely on find -path to validate brace patterns. Use Python globbing in Step 5 or split the scope into separate patterns/files if you need a shell-only fallback.

Overlapping scoped files are acceptable only when the rules are additive — two files may mention the same concept if the rules target different contexts. Flag duplication only when the same instruction is copy-pasted or when rules could conflict. If two matching files would disagree, narrow applyTo until they no longer conflict. Multiple matching scoped files are concatenated, so never rely on overlap to resolve contradictions for you.

Done when: Every file has correct frontmatter (or none for root), every applyTo glob is verified against the repo structure, and no file exceeds 3,500 characters (leaving buffer below the 4,000 hard limit).

5. Validate before presenting anything

Run this checklist — every item must pass:

Character limits:

  • Each file stays under the hard 4,000-character limit; aim for 2,500–3,500
  • Frontmatter counts toward the limit
  • Use wc -c for byte count or wc -m for true character count (matters for multi-byte content like UTF-8 emoji or CJK characters)

Content quality:

  • No external links
  • No attempts to control Copilot's comment formatting, severity labels, approvals, or merge blocking
  • No rules duplicated from linter or formatter config — verify against the actual config files you found in Step 1. Example: find. -maxdepth 2 -type f \(-name '.eslintrc*' -o -name 'eslint.config.*' -o -name '.prettierrc*' -o -name 'prettier.config.*' -o -name 'biome.json' -o -name 'biome.jsonc' -o -name '.golangci.yml' -o -name '.golangci.yaml' \) -exec grep -n "rule-name" {} + 2>/dev/null
  • No contradictory rules across overlapping scopes
  • Root file contains only universal rules
  • Package/service files do not repeat root rules

Glob verification:

# Verify a glob pattern matches intended files
python3 - <<'PY'
from glob import glob
def expand_braces(pattern):
    if '{' not in pattern:
        return [pattern]
    start = pattern.index('{')
    end = pattern.index('}', start)
    options = pattern[start + 1:end].split(',')
    expanded = []
    for option in options:
        expanded.extend(expand_braces(pattern[:start] + option + pattern[end + 1:]))
    return expanded
pattern = "<applyTo-pattern>"
paths = sorted({path for candidate in expand_braces(pattern) for path in glob(candidate, recursive=True)})
for path in paths[:20]:
    print(path)
PY

Deployment awareness:

  • Instruction changes must be on the base branch of the PR (typically main or develop) to affect review. A feature-branch-only change does NOT affect the same PR's review. Plan for a merge-to-base then re-review workflow.

Done when: All checklist items pass. If any fail, fix before proceeding to Step 6.

6. Present the result as an architecture, not just a dump

Return:

  • If filesystem access is available, write or update the instruction files in .github/ first unless the user explicitly asked for draft-only output.
  • The .github/ file tree
  • Full contents of each generated instruction file
  • A 1–3 sentence per-file explanation covering:

- Why this file exists - What scope it targets - Which repo evidence justified its rules - Why the rule set was kept out of other files

If repo evidence is weak or mixed, say so explicitly and keep the instruction set conservative.

Done when: The user can copy the file tree and contents directly into their repo with no further editing. Every file has a justification grounded in repo evidence.

Do this, not that

Do thisNot that
Use repo code and configs as the primary evidence baseWrite generic rules from memory
Put universal semantic rules in copilot-instructions.mdPut framework- or path-specific rules in the root file
Add a scoped file only when the scope has unique review valueGenerate one file for every detected tool
Use short, imperative, semantic bulletsWrite long prose or vague quality slogans
Evaluate existing instruction files before overwriting themStart from scratch when files already exist
Verify glob patterns with Python globbing or an equivalent brace-aware tool before presentingAssume glob patterns match without testing
Adapt scenario and template references to the repoCopy templates verbatim
Split files when they near 4,000 charactersAssume trailing content will still be read
Make overlapping files complementaryRely on conflicting files and hope Copilot resolves them
Plan for base-branch rollout and re-reviewAssume feature-branch changes affect the current PR automatically
Treat multi-stack repos as separate scopesScope by technology name without checking directory structure
Count characters with wc -m for multi-byte contentUse wc -c and assume bytes equal characters

Recovery paths

If the task starts drifting, recover in this order:

  1. Too broad or too many files → collapse to the root file plus only the highest-signal scoped files
  2. File near 4,000 characters → remove low-priority rules, shorten examples, or split by narrower applyTo
  3. Unclear scoping → inspect representative repo files and choose the narrowest glob that still matches the intended scope
  4. Conflicting rules → make scopes non-overlapping or rewrite the rules to be additive
  5. Weak or generic Copilot comments → rewrite rules for specificity and remove linter-level noise
  6. Instructions seem ignored → follow references/troubleshooting.md in order: location → character count → frontmatter → base branch → glob match → conflicts → specificity → incremental retest → re-review
  7. Existing files are poor quality → evaluate against SMSA, note specific gaps, refine in place rather than discarding
  8. Multi-stack repo is confusing → treat each stack as an independent scope; do not force cross-stack rules

Reference routing

  • references/setup-and-format.md — file locations, root vs scoped formats, character limits, review modes, configuration levels, base-branch behavior, and working with existing instruction files
  • references/writing-instructions.md — rule quality (SMSA criteria with pass/fail examples), section ordering, root vs scoped content decisions, character budgets, code examples, concept overlap vs duplication, and iteration workflow
  • references/scoping-and-targeting.md — applyTo glob syntax with framework-specific patterns, excludeAgent, precedence, additive overlap, monorepo layout, multi-stack repos, gap analysis, and optimal file counts
  • references/troubleshooting.md — ignored instructions, scope mistakes, architecture mistakes, existing-instructions evaluation, glob verification recipes, conflict diagnosis, debugging order, verification, and non-determinism
  • references/scenarios.md — full-stack examples with adaptation workflow and scenario selection guide; adapt only after the file architecture is already chosen
  • references/micro-library.md — small templates with adaptation warnings and consultation triggers; adapt only after repo grounding when you need a starter pattern for a specific scope

平台分布

Codex

37.11%
按下载量换算26

Claude

30.15%
按下载量换算21

Cursor

16.71%
按下载量换算12

Gemini CLI

9.57%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills