Token导航 LogoToken导航

Agent Skill · 研究检索

code-research(代码研究)

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

code-research 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 52,870。

总安装 544周安装 22GitHub Stars 2下载 171核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:code-research(代码研究)
来源仓库:https://github.com/tgautier/dotfiles
仓库路径:skills/code-research
安装命令:
npx skills add https://github.com/tgautier/dotfiles --skill code-research
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/tgautier/dotfiles --skill code-research

这个 Skill 是做什么的

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

code-research 建立权威代码研究方法论,优先采用标准组织、大厂实践与专家著作作为依据。适用于架构决策、模式选型或实现方案验证场景,确保答案来自最佳实践而非主观猜测。边界限定于工程领域,不处理非技术问题,需用户提供明确关键词与上下文线索。

使用前应确认是否需要联网获取最新资料,并评估其对模型缓存与 token 消耗的影响。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/code-research

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

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

常见问题

6 条

code-research 怎么安装?

在终端执行 npx skills add https://github.com/tgautier/dotfiles --skill code-research。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

code-research 支持哪些 AI 工具?

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

code-research 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/tgautier/dotfiles --skill code-research 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

code-research 是免费的吗?

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

code-research 用的人多吗?

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

code-research 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
code-research

代码研究 · 本页

5442执行命令未明确有提醒

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

SKILL.md 原文

Code Research

Methodology for researching code patterns, architecture decisions, and implementation approaches. This skill governs *how to find answers* and *which sources to trust* — ensuring research always prioritizes industry best practice, elegant idiomatic implementations, and authoritative sources.

Based on standards bodies (IETF, W3C, ECMA, ISO, POSIX), Big Tech engineering publications (Google, Stripe, Cloudflare, Meta, AWS, Netflix, Discord), recognized expert writings (Fowler, Beck, Hickey, Kleppmann, Pike, Cantrill), and well-governed OSS reference implementations.

Scope boundary: This skill covers research *methodology* — where to look, what to trust, how to report findings. For domain-specific guidance: - API contract decisions and HTTP semantics → API Design skill (/api-design) - Rust implementation patterns → Rust skill (/rust) - TypeScript/React patterns → TypeScript skill (/typescript) - Security posture and threat models → Web Security skill (/web-security)

1. Source Authority Hierarchy

Rank sources by authority. Higher tiers override lower tiers when they conflict.

Tier 1 — Standards and specifications

The ground truth. Always check here first when a standard exists.

SourceDomain
IETF RFCsHTTP, TLS, DNS, URI, OAuth, JWT, email
W3CHTML, CSS, DOM, Web APIs, accessibility
ECMAJavaScript/TypeScript language semantics
ISOCharacter encoding, date/time, security
POSIX / IEEEShell, filesystem, signals, process model
Language specsRust Reference, Go Spec, Python Language Reference

Tier 2 — Big Tech engineering (on topics where they lead)

Trust a company's engineering publications *only on topics where they are a recognized leader*. A company's blog post outside their domain of expertise is Tier 5.

CompanyTrust onDo not generalize to
GoogleDistributed systems, API design (AIP), SRE, protocol buffers, observabilityFrontend patterns, DX
StripePayments, API developer experience, idempotency, webhook designInfrastructure, systems
CloudflareNetworking, edge computing, DNS, DDoS, HTTP semanticsApplication architecture
MetaReact, UI component design, GraphQL, large-scale frontendBackend API design
AWSCloud infrastructure, serverless, managed servicesApplication-level patterns
NetflixResilience engineering, chaos engineering, streaming at scaleAPI design, frontend
DiscordReal-time communication at scale, WebSocket patterns, Rust at scaleEnterprise patterns

Tier 3 — Recognized expert figures

Individuals with sustained, peer-recognized contributions. Their writings carry authority on their specific domains.

ExpertDomain
Martin FowlerArchitecture, refactoring, enterprise patterns
Kent BeckTDD, XP, software design
Rich HickeySimplicity, data-oriented design, immutability
Martin KleppmannDistributed data, consistency models, stream processing
Rob PikeSystems programming, Go philosophy, simplicity
Bryan CantrillSystems observability, debugging, DTrace
Dan AbramovReact patterns, mental models for UI

Tier 4 — Well-maintained OSS projects

Reference implementations with strong governance. Code as documentation of best practice.

  • Criteria: active maintenance, multiple contributors, clear governance, production use at scale
  • Examples: tokio (async Rust), React (UI), PostgreSQL (relational DB), Linux kernel (OS), Axum (web framework), Go standard library

Tier 5 — Community content

Useful for discovery and initial orientation. Never rely on as sole authority.

  • Conference talks, blog posts, tutorials, Stack Overflow answers, Reddit discussions, dev.to articles, Medium posts
  • Always verify claims from Tier 5 sources against higher-tier sources before adopting

2. Evaluating Sources

Recency

  • Check version alignment: Is the advice for the current major version of the tool/language? Post-React 18 patterns differ significantly from pre-hooks era. Rust 2021 edition changed trait resolution.
  • Check standard status: Is the RFC ratified or still a draft? Draft standards may change. Note the distinction explicitly (e.g., "OAuth 2.1 draft" vs "RFC 9700").
  • Deprecation signals: Archived repos, "this approach is no longer recommended" notices, superseded RFCs.

Context match

  • Production scale vs hobby project: A pattern that works for a personal blog may fail at 10k RPS. Match the source's deployment context to yours.
  • Team size: Patterns designed for 500-engineer organizations may have different trade-offs for a 3-person team — but smaller teams still need correct, robust implementations. Team size affects *what* you build, not *how well* you build it.
  • Language/ecosystem: A pattern idiomatic in Go (explicit error returns) should not be cargo-culted into Rust (Result types) or TypeScript (exceptions).

Conflict resolution

When authoritative sources disagree:

  1. Trace to Tier 1: If a standard exists, it wins
  2. Compare production evidence: Which approach is proven at scale? By how many independent organizations?
  3. Check recency: The more recent source may reflect lessons learned
  4. Note the conflict explicitly in findings — don't silently pick a winner
  5. Present both positions with their trade-offs and let the planner/user decide

3. Research Process

Search strategy

Follow this order. Stop when you have sufficient authoritative coverage.

  1. Official docs and specs — language reference, framework docs, relevant RFCs
  2. Engineering blogs from domain leaders — Tier 2 companies on their specialty topics
  3. Expert writings — Tier 3 figures on their domains
  4. Reference implementations — Tier 4 OSS projects, read the actual code
  5. Community content — Tier 5 for discovery, patterns you haven't considered

Cross-reference requirement

Before adopting a pattern or recommendation:

  • Verify against at least two authoritative sources (Tier 1-3)
  • If only Tier 5 sources exist, flag this explicitly in findings
  • If a single authoritative source exists with no corroboration, note this — it may still be correct, but confidence is lower

Web search guidance

  • Start with specific queries: "RFC 9457" problem details not api error handling
  • Include version numbers: react 19 server components not react server components
  • Prefer primary sources in results: site:datatracker.ietf.org, site:stripe.com/docs
  • When evaluating blog posts, check the author's credentials and the publication date

4. Quality Standards

When researching implementations, evaluate every candidate pattern against these quality dimensions — in priority order:

Standards compliance

The best solution conforms to established standards. A technically elegant approach that violates HTTP semantics, language specifications, or protocol requirements is not a good solution. Standards exist because they encode hard-won consensus about interoperability and correctness.

Reliability and robustness

Prefer patterns that handle failure gracefully, degrade predictably, and have been battle-tested under adversarial conditions. Evaluate:

  • Error handling completeness — does the pattern account for all failure modes, not just the happy path?
  • Edge case behavior — how does it handle empty inputs, concurrent access, network partitions, clock skew?
  • Recovery characteristics — does it fail fast, fail safe, or fail silently? Fail-fast with clear diagnostics is preferred.
  • Observability — can you tell what went wrong from logs and metrics alone, without attaching a debugger?

Elegance and coherence

The best solution is the one that fully and properly solves the problem with nothing extraneous and nothing missing. Evaluate:

  • Idiomatic to the language/framework — not translated from another ecosystem. Go error handling should not look like Java exceptions. Rust should use ? and Result, not boolean flags.
  • No unnecessary moving parts — fewer allocations, fewer indirections, fewer configuration knobs. But "fewer" never means "skip what's needed." Three lines of clear code beats a clever one-liner, but don't remove structure that protects correctness.
  • Conceptual clarity — can a new team member understand the pattern without a 30-minute explanation? If not, the complexity must be justified by the problem's inherent complexity.
  • Composability — does the pattern compose well with the rest of the system, or does it require special plumbing everywhere it's used?

Industrial-grade quality

The pattern should be production-ready — not a prototype that "works on my machine":

  • Proven at scale — used in production by organizations that have validated the approach under load, failure, and maintenance pressure
  • Maintainable — easy to modify, extend, and debug six months from now by someone who didn't write it
  • Testable — can be unit tested, integration tested, and property tested without elaborate mocking
  • Operationally sound — supports deployment, rollback, monitoring, and incident response

Language-specific idiom sources

Defer to the language-specific skill for detailed idiom guidance:

  • Rust idioms → Rust skill (/rust)
  • TypeScript/React idioms → TypeScript skill (/typescript)
  • For languages without a dedicated skill, refer to the language's official style guide and Tier 4 reference implementations

5. Reporting Findings

Attribution format

When writing research.md or reporting findings, attribute sources with:

  • Tier level — so the reader knows the authority weight
  • Author or organization — who said this
  • Date or version — when, to assess recency
  • URL — when available, for verification

Example: (Tier 1, IETF RFC 9457, 2023) or (Tier 2, Stripe engineering blog, 2024) or (Tier 5, Stack Overflow answer, 2022 — verify against primary source)

Confidence signals

  • Flag when only lower-tier sources exist — "No Tier 1-3 sources found; recommendation is based on community consensus only"
  • Flag conflicts explicitly — "Google AIP recommends X; Stripe practice differs with Y. Trade-off:..."
  • Flag draft standards — "Based on OAuth 2.1 draft (not yet ratified); may change"
  • Flag recency concerns — "Source predates React 19; patterns may be outdated"

Structure

Write findings to research.md with sections: Summary, Stack, Existing patterns, Integration points, Gotchas, Testing, Open questions. Add a ## Sources section at the end with tiered attribution for all referenced materials.


6. Anti-patterns

Anti-patternWhy it failsFix
Treating Stack Overflow as authoritativeAnswers are community-voted, not peer-reviewed; many are outdatedVerify against Tier 1-3 sources
Following outdated blog postsPre-major-version advice can be actively harmfulCheck version alignment and deprecation signals
Cargo-culting patterns without contextA pattern from a 10M-user system may be over-engineered for your use caseMatch the source's deployment context to yours
Conflating popularity with correctnessMost-upvoted answer may be most accessible, not most correctTrace to authoritative sources
Citing a company outside their domainGoogle's frontend advice is not as authoritative as their distributed systems guidanceCheck the Tier 2 domain column
Silently picking a winner when sources conflictHides important trade-off information from the decision-makerPresent both positions with trade-offs
Relying on a single sourceEven authoritative sources can be wrong or context-specificCross-reference at least two sources
Translating idioms across ecosystemsJava patterns in Go, Python patterns in Rust — produces non-idiomatic codeResearch the target language's conventions first

平台分布

Codex

40.18%
按下载量换算69

Claude

28.42%
按下载量换算49

Cursor

19.38%
按下载量换算33

Gemini CLI

9.49%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/tgautier/dotfiles --skill code-research 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

继续浏览同类 Skills