Skip to main content

research-report

将deep调研结果汇总为markdown报告,覆盖所有字段,跳过不确定值。

v1.0.0New

Unsigned, install at your own risk

Unverified

This skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install deep-research-skills-research-zh-research-report
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/deep-research-skills-research-zh-research-report/SKILL.md

Setup guide →
0Save

Instructions

Research Report - 汇总报告

触发方式

/research-report

执行流程

Step 1: 定位结果目录

在当前工作目录查找 */outline.yaml,读取topic和output_dir配置。

Step 2: 扫描可选摘要字段

读取所有JSON结果,提取适合在目录中显示的字段(数值型、简短指标),例如:

  • github_stars
  • google_scholar_cites
  • swe_bench_score
  • user_scale
  • valuation
  • release_date

使用AskUserQuestion询问用户:

  • 目录中除了item名称外,还需要显示哪些字段?
  • 提供动态选项列表(基于实际JSON中存在的字段)

Step 3: 生成Python转换脚本

在 {topic}/ 目录下生成 generate_report.py,脚本要求:

  • 读取output_dir下所有JSON
  • 读取fields.yaml获取字段结构
  • 覆盖每个JSON的所有字段值
  • 跳过值包含[不确定]的字段
  • 跳过uncertain数组中列出的字段
  • 生成markdown报告格式:目录(带锚点跳转+用户选择的摘要字段)+ 详细内容(按字段分类)
  • 保存到 {topic}/report.md

目录格式要求:

  • 必须包含每一个item
  • 每个item显示:序号、名称(锚点链接)、用户选择的摘要字段
  • 示例:1. [GitHub Copilot](#github-copilot) - Stars: 10k | Score: 85%

脚本技术要点(必须遵循)

1. JSON结构兼容
支持两种JSON结构:

  • 扁平结构:字段直接在顶层 {"name": "xxx", "release_date": "xxx"}
  • 嵌套结构:字段在category子dict中 {"basic_info": {"name": "xxx"}, "technical_features": {...}}

字段查找顺序:顶层 -> category映射key -> 遍历所有嵌套dict

2. Category多语言映射
fields.yaml的category名与JSON的key可能是任意组合(中中、中英、英中、英英)。必须建立双向映射:

CATEGORY_MAPPING = {
    "基本信息": ["basic_info", "基本信息"],
    "技术特性": ["technical_features", "technical_characteristics", "技术特性"],
    "性能指标": ["performance_metrics", "performance", "性能指标"],
    "里程碑意义": ["milestone_significance", "milestones", "里程碑意义"],
    "商业信息": ["business_info", "commercial_info", "商业信息"],
    "竞争与生态": ["competition_ecosystem", "competition", "竞争与生态"],
    "历史沿革": ["history", "历史沿革"],
    "市场定位": ["market_positioning", "market", "市场定位"],
}

3. 复杂值格式化

  • list of dicts(如key_events, funding_history):每个dict格式化为一行,用|分隔kv
  • 普通list:短列表用逗号连接,长列表换行显示
  • 嵌套dict:递归格式化,用分号或换行显示
  • 长文本字符串(超过100字符):添加换行符<br>或使用blockquote格式,提高可读性

4. 额外字段收集
收集JSON中有但fields.yaml中没定义的字段,放入"其他信息"分类。注意过滤:

  • 内部字段:_source_file, uncertain
  • 嵌套结构顶级key:basic_info, technical_features等
  • uncertain数组:需要逐行显示每个字段名,不要压缩成一行

5. 不确定值跳过
跳过条件:

  • 字段值包含[不确定]字符串
  • 字段名在uncertain数组中
  • 字段值为None或空字符串

Step 4: 执行脚本

运行 python {topic}/generate_report.py

输出

  • {topic}/generate_report.py - 转换脚本
  • {topic}/report.md - 汇总报告
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →

More from Deep-Research-skills

View source →

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.635 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.535 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.346 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.246 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.173 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions145 installs

Frequently asked questions about research-report

What does the research-report skill do?

将deep调研结果汇总为markdown报告,覆盖所有字段,跳过不确定值。 It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the research-report skill?

Run `npx @skills-hub-ai/cli install deep-research-skills-research-zh-research-report` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/deep-research-skills-research-zh-research-report/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does research-report work with?

research-report runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the research-report skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use research-report after installing it?

In Claude Code, type `/deep-research-skills-research-zh-research-report` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the research-report skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.