research
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chineseresearch
研究
Produce a standalone research dossier — a multi-page deliverable published on the jackin' docs site — for an open question or roadmap topic. Brief-driven: author the brief, then execute it. Gathers and synthesizes evidence (web + codebase); does not make product design decisions.
Reference implementation: in the jackin' repo.
docs/content/docs/research/token-optimization-research/生成一份独立的研究档案——发布在jackin' docs站点上的多页交付物——用于解答开放性问题或路线图主题。基于需求驱动:先撰写需求说明,再执行。收集并综合证据(网络 + 代码库);不做产品设计决策。
参考实现:jackin'仓库中的。
docs/content/docs/research/token-optimization-research/When to use
使用场景
- Operator runs for a substantial investigation.
/jackin-dev:research <slug>
- 当操作者运行命令进行深入调研时。
/jackin-dev:research <slug>
When NOT to use
不适用场景
- Design decisions on a roadmap item → .
/jackin-dev:brainstorm - Quick lookup → or Explore directly, no dossier.
deep-research
- 对路线图项进行设计决策 → 使用。
/jackin-dev:brainstorm - 快速查询 → 使用或直接Explore,无需生成档案。
deep-research
Arguments
参数
- — author
--brief-only(the brief) and stop; execute later viaprompt.mdx./goal Follow <brief> - — store findings inline in the roadmap item instead of a separate dossier (small research only).
--in-roadmap - /
--web-only— restrict gathering to one pass.--codebase-only
- —— 撰写
--brief-only(需求说明)后停止;后续可通过prompt.mdx执行。/goal Follow <brief> - —— 将研究结果存储在路线图项内,而非单独的档案中(仅适用于小型研究)。
--in-roadmap - /
--web-only—— 限制仅从单一渠道收集证据。--codebase-only
Output layout (default: separate folder)
输出结构(默认:独立文件夹)
docs/content/docs/research/<slug>/
├── meta.json # { title, defaultOpen:false, pages:[...] } — sidebar order
├── index.mdx # dossier landing: headline numbers, how-to-read, tier list
├── prompt.mdx # the brief that was run (the spec; carries the /goal run line)
├── NN-*.mdx # numbered chapters (00 summary, 01.. foundations, 10-20 areas, 30+ synthesis)
└── tools/ # optional scripts + own meta.json + index.mdxAlso add to the parent . Big research → own folder (default); small → .
<slug>docs/content/docs/research/meta.jsonpages--in-roadmapdocs/content/docs/research/<slug>/
├── meta.json # { title, defaultOpen:false, pages:[...] } —— 侧边栏顺序配置
├── index.mdx # 档案首页:核心数据、阅读指南、层级列表
├── prompt.mdx # 执行的需求说明(规范;包含/goal运行指令)
├── NN-*.mdx # 编号章节(00 摘要、01.. 基础部分、10-20 研究领域、30+ 综合分析)
└── tools/ # 可选脚本 + 独立meta.json + index.mdx同时需将添加到父目录的中。大型研究→使用独立文件夹(默认);小型研究→使用参数。
<slug>docs/content/docs/research/meta.jsonpages--in-roadmapProcess
流程
- Scope / brief. From the topic (or roadmap item), draft or load : mission, chapter list, evidence rules. With
prompt.mdx, stop here.--brief-only - Gather. Web via the built-in ; codebase via Explore/grep. Every external claim carries a source URL; every local number carries its method.
deep-research - Write. (headline numbers + how-to-read + tier list) and the numbered chapters in a fixed per-technique record schema; bundle any reproduction scripts under
index.mdx.tools/ - Wire the sidebar. Create/update the dossier and the parent
meta.json.research/meta.json - Docs gate + commit. Run the docs gate (
bun,build,check:repo-links,tsc --noEmit) fromtest. Commitdocs/; push.docs(research):
- 范围界定/需求说明。根据主题(或路线图项),起草或加载:任务目标、章节列表、证据规则。若使用
prompt.mdx参数,在此步骤停止。--brief-only - 收集证据。通过内置的工具从网络收集;通过Explore/grep从代码库收集。所有外部引用需附带来源URL;所有本地数据需说明获取方法。
deep-research - 撰写内容。编写(核心数据 + 阅读指南 + 层级列表)和采用固定技术记录格式的编号章节;将任何复现脚本整理至
index.mdx目录下。tools/ - 配置侧边栏。创建/更新档案的以及父目录
meta.json。research/meta.json - 文档检查 + 提交。在目录下运行
docs/文档检查命令(bun、build、check:repo-links、tsc --noEmit)。提交信息格式为test;推送代码。docs(research):
Common mistakes
常见错误
- Forcing a Problem/Why/Design shape — a dossier is free-form, not a roadmap item.
- Making design decisions — that is .
brainstorm - An unsourced external claim, or a local number without its method.
meta.jsonout of sync with the files on disk.pages
- 强行采用问题/原因/设计的结构——研究档案为自由格式,并非路线图项。
- 做出设计决策——这属于的范畴。
brainstorm - 外部引用无来源,或本地数据未说明获取方法。
- 中的
meta.json与磁盘上的文件不同步。pages
Tooling
工具支持
cargo xtask research scaffold <slug>meta.jsoncargo xtask research checkpages/goal Follow <brief>cargo xtask research scaffold <slug>meta.jsoncargo xtask research checkpages/goal Follow <brief>