AGENT SKILL

deep-research

Research a technical topic thoroughly by exploring the codebase and summarizing findings. Use when asked to investigate how something works, research an area of the codebase, trace a data flow, or understand a component in depth.

License 许可
MIT
最近更新
2026-05-15
Stars
★ 13
Forks
1

01 前言 Front Matter

name
deep-research
agent
Explore
title
deep-research
context
fork
description
Research a technical topic thoroughly by exploring the codebase and summarizing findings. Use when asked to investigate how something works, research an area of the codebase, trace a data flow, or understand a component in depth.
argument-hint
[ "topic or question" ]

02 资源文件 12

03 SKILL.md 正文

Research the following topic thoroughly: $ARGUMENTS

Steps

  1. Identify the scope of the research. Parse the topic into concrete searchable terms: class names, function names, file name patterns, configuration keys, or framework-specific terms.

  2. Search broadly before reading deeply:

    • Use Grep to search for the most distinctive identifiers (class names, function names, error strings)
    • Use Glob to find files by name pattern (e.g., *auth*, *middleware*, *.config.*)
    • Prioritize files that appear in multiple search results — they are likely central to the topic
  3. Read the most relevant files completely. Do not skim. Missing a detail in a critical file leads to incorrect conclusions.

  4. For key files, check recent git history to understand why things are the way they are:

    git log --oneline --follow -20 <filepath>
    

    Read the most informative commit messages. If a commit message references a PR or issue number, note it.

  5. Follow import and dependency chains one level deep. If the main file imports from three other modules, read those modules too.

  6. Synthesize findings into a structured report with these sections:

    Overview What this system or component does, in two to four sentences. Write for someone who has never touched this codebase.

    Key files A table: file path | one-line description of its role. Include every file you read that was materially relevant.

    How it works The main flow, data structures, and key design decisions. Use concrete terms: function names, type names, config keys. Reference file paths and approximate line numbers for the most important details.

    Recent changes What changed in the last 20 commits in the relevant area, and why (based on commit messages and diff context).

    Open questions Anything that is unclear from the code alone and would benefit from asking a team member or reading documentation. Be specific.

  7. Be precise. If you are uncertain, say so. Do not infer things that are not in the code.

04 同仓库更多 Skills

davila7
davila7/claude-with-skills

tag-version

Bump the package version and create an annotated git tag. Accepts a semantic version number (1.2.0) or a bump type (patch, minor, major). Does not push — use the publish skill to push. Use as part of a release workflow.

★ 13
davila7
davila7/claude-with-skills

release

Run the complete release workflow: changelog entry, version bump, git tag, and GitHub release. Invokes changelog-entry, tag-version, and publish in sequence. Use when releasing a new version of the project.

★ 13
davila7
davila7/claude-with-skills

publish

Push the current branch and all tags to origin, then create a GitHub release using the latest tag and its CHANGELOG.md entry. Use after tag-version to complete a release.

★ 13
davila7
davila7/claude-with-skills

changelog-entry

Draft the changelog entry for all unreleased commits in Keep a Changelog format. Groups commits into Added, Changed, Fixed, Removed, and Security. Use before releasing a new version or when updating CHANGELOG.md.

★ 13
davila7
davila7/claude-with-skills

auto-format-on-edit

Automatically format code files after every edit using Prettier and ESLint. Active in the background whenever Claude edits a file. Formatting is silent — no prompts, no output unless a formatter fails. Use when you want consistent formatting enforced automatically during a coding session.

★ 13
davila7
davila7/claude-with-skills

code-quality-audit

Run a comprehensive code quality audit covering security, performance, and maintainability. Use for quarterly audits, pre-release reviews, or when onboarding to a large codebase.

开发工程师
★ 13