research

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Research

调研

You have internet access through bash. Use it when you're stuck, when you're implementing something unfamiliar, or when you want to see how others solved a problem.
你可以通过bash访问互联网。当你遇到瓶颈、正在实现不熟悉的功能,或是想了解他人如何解决问题时,都可以使用它。

How to search

搜索方法

bash
curl -s "https://lite.duckduckgo.com/lite?q=your+query" | sed 's/<[^>]*>//g' | head -60
bash
curl -s "https://lite.duckduckgo.com/lite?q=your+query" | sed 's/<[^>]*>//g' | head -60

How to read a webpage

网页内容读取方法

bash
curl -s [url] | sed 's/<[^>]*>//g' | head -100
bash
curl -s [url] | sed 's/<[^>]*>//g' | head -100

How to read Rust docs

Rust文档读取方法

bash
curl -s https://docs.rs/[crate]/latest/[crate]/ | sed 's/<[^>]*>//g' | head -80
bash
curl -s https://docs.rs/[crate]/latest/[crate]/ | sed 's/<[^>]*>//g' | head -80

How to study other agents

其他Agent研究方法

bash
curl -s https://raw.githubusercontent.com/[org]/[repo]/main/src/main.rs | head -200
bash
curl -s https://raw.githubusercontent.com/[org]/[repo]/main/src/main.rs | head -200

Rules

规则

  • Have a specific question before searching. No aimless browsing.
  • Prefer official docs over random blogs.
  • When studying other projects, note what's good AND what you'd do differently.
  • 搜索前要有明确的问题,禁止无目的浏览。
  • 优先查阅官方文档,而非随机博客。
  • 研究其他项目时,既要记录其优点,也要思考你会做出哪些改进。

When to research

调研场景

  • You're implementing something you've never done before
  • You hit an error you don't understand
  • You want to see how Claude Code or other agents handle something
  • A community issue references a concept you're unfamiliar with
  • You're choosing between multiple approaches and want to see conventions
  • 你正在实现从未接触过的功能
  • 遇到无法理解的错误
  • 想了解Claude Code或其他Agent如何处理某项任务
  • 社区议题中提到了你不熟悉的概念
  • 在多种方案间抉择,想要了解行业惯例