AGENT SKILL

research

Investigate a technical, academic, or open-source question against primary evidence — docs, papers, standards, source code, issues, releases — and write the findings to a Markdown file in the repository. Use when a choice between tools, libraries, or approaches needs grounding, when a claim must be verified against the source that owns it, or when the user asks for research, a comparison, or a recommendation. Not for quick factual lookups answerable from a single doc page or a file already in the repo.

License 许可
MIT
所属仓库
lithammer/ai
最近更新
2026-11-13
Stars
★ 0
Forks
0

01 前言 Front Matter

name
research
description
Investigate a technical, academic, or open-source question against primary evidence — docs, papers, standards, source code, issues, releases — and write the findings to a Markdown file in the repository. Use when a choice between tools, libraries, or approaches needs grounding, when a claim must be verified against the source that owns it, or when the user asks for research, a comparison, or a recommendation. Not for quick factual lookups answerable from a single doc page or a file already in the repo.

02 资源文件 4

03 SKILL.md 正文

Research

Quick start

  1. Frame the research question, constraints, and decision the answer should support.
  2. Write a brief plan using PLAN_FORMAT.md before deep search.
  3. Gather primary evidence first; use secondary sources as leads, not proof.
  4. Inspect papers, standards, repos, code, issues, releases, and benchmarks deeply enough to support claims.
  5. Delegate independent research branches to sub-agents; require concise reports.
  6. Synthesize into a Markdown file in the repository: evidence ledger, negative pass, recommendation, and open questions.

Workflow

1. Frame the research

  • Identify the user's actual decision, constraints, and evaluation criteria.
  • Ask clarifying questions only when missing context would change the recommendation.
  • Capture key terminology, aliases, and related problems so searches do not miss canonical sources.
  • Produce a short research plan with search terms, source classes, repo filters, budget, and deliverable.

2. Find sources

  • Prefer primary, current, inspectable sources: official docs, standards, papers/surveys, repository code, issues, releases, and reproducible benchmarks.
  • Use blog posts, package registries, forums, citations, backlinks, and comparison pages for discovery; corroborate before relying on them.
  • Treat stars, citation counts, old posts, opaque benchmarks, and unsourced claims as weak evidence unless supported by stronger sources.

3. Delegate research branches

Split independent branches across sub-agents by default; the main context holds the plan and the synthesis, not the browsing. Good branches include literature, repositories, ecosystem/adoption, and risks. Research a branch inline only when the question is narrow enough that fanning out buys nothing.

Tell each sub-agent to return a concise report, not raw browsing logs. Use SUBAGENT_REPORT_FORMAT.md for the report format.

4. Inspect evidence

For academic or well-defined problem domains, verify:

  • Definitions, assumptions, inputs/outputs, variants, and canonical terminology.
  • Correctness and complexity claims, including edge cases and implementation constraints.
  • Benchmark methodology, reproducibility, contested results, applicability, limitations, and common misuses.

For repositories, verify:

  • Purpose, boundaries, adoption, maintenance, release cadence, and license/security posture.
  • README/docs against actual code, examples, tests, architecture, and extension points.
  • Issues and PRs for recurring bugs, design tensions, migration pain, performance complaints, and maintainer direction.
  • For deep evaluation, cache or update a local checkout and read code rather than relying on GitHub summaries.

5. Synthesize

  • Maintain an evidence ledger of inspected sources, what was checked, and confidence.
  • Separate facts from interpretation; cite specific URLs, paper IDs, issue numbers, or local paths.
  • Call out uncertainty, stale signals, and conflicts between sources.
  • Run a negative pass: what evidence argues against the likely recommendation?
  • Explain the recommendation, trade-offs, and remaining questions for the user's context.

Deliverable

Write the findings to a single Markdown file, following DELIVERABLE_FORMAT.md unless the user asks otherwise. Always include a summary, evidence ledger, negative evidence, recommendation, and open questions.

Save it where the repository already keeps research notes and match that convention; when there is none, choose a sensible location and say where. Reply with the summary and a link to the file: the file is the deliverable, the reply is the pointer.

Guardrails

  • Do not claim to have checked sources that were not opened or inspected.
  • Do not over-weight stars, citations, benchmark wins, or marketing claims.
  • Do not ignore negative evidence from issues, PRs, changelogs, errata, or failed replications.
  • If online access is unavailable, say so and provide an offline plan or inspect already-cached sources.
  • Keep notes concise while preserving enough links for verification.

04 同仓库更多 Skills

lithammer
lithammer/ai

shape

Review a working change for its shape (cause, ownership, states, names, size, reuse, cost), then apply what you accept.

★ 0
lithammer
lithammer/ai

correctness

Review a working change for defects (logic, state, lifecycle, concurrency, regression) and for drift from its ticket, docs, and rules, then apply what you accept.

★ 0
lithammer
lithammer/ai

zero-tech-debt

Rework a change as if the intended UX and architecture existed from day one, deleting compatibility cruft and accidental complexity.

★ 0
lithammer
lithammer/ai

waterfall-review

Review a code change by dispatching specialized review subagents in parallel — each focused on a single dimension (correctness, security, architecture, etc.) — then triaging their findings into a unified report. Works standalone on a branch or as part of the waterfall flow after implementation. Invoke when the user explicitly asks to review a branch or diff, or as a step inside waterfall-implement; avoid auto-triggering on casual mentions of "review".

★ 0
lithammer
lithammer/ai

waterfall-refactor

Identify refactoring opportunities in code that a feature will touch. Runs at strategic level during design (looking for structural moves that could change which approach is chosen) or tactical level before implementation (looking for pre-work that gives the feature a better foundation). Primarily invoked by waterfall-design or waterfall-implement; avoid auto-triggering on casual mentions of "refactor".

★ 0
lithammer
lithammer/ai

waterfall-plan

Detail a chosen design approach into an implementation plan (objective, file manifest, execution order, test strategy), then auto-proceed to waterfall-challenge. Convergent phase of the waterfall flow.

★ 0