hypothesis-generation by davila7/claude-code-templates
npx skills add https://github.com/davila7/claude-code-templates --skill hypothesis-generation假说生成是一个系统性的过程,用于发展可检验的解释。从观察中制定基于证据的假说,设计实验,探索竞争性解释,并发展预测。将此技能应用于跨领域的科学探究。
此技能应在以下情况使用:
⚠️ 强制性要求:每份假说生成报告必须包含至少 1-2 张使用 scientific-schematics 技能生成的 AI 图表。
这不是可选项。没有视觉元素的假说报告是不完整的。在最终确定任何文档之前:
如何生成图表:
如何生成示意图:
python scripts/generate_schematic.py "your diagram description" -o figures/output.png
AI 将自动:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
有关创建示意图的详细指导,请参阅 scientific-schematics 技能文档。
遵循此系统性流程以生成稳健的科学假说:
首先澄清需要解释的观察、问题或现象:
检索现有科学文献,将假说建立在当前证据基础上。同时使用 PubMed(针对生物医学主题)和通用网络搜索(针对更广泛的科学领域):
针对生物医学主题:
针对所有科学领域:
搜索策略:
references/literature_search_strategies.md 获取详细的搜索技术分析并整合文献检索的发现:
发展 3-5 个可以解释该现象的不同假说。每个假说应:
生成假说的策略:
根据 references/hypothesis_quality_criteria.md 中的既定质量标准评估每个假说:
可检验性: 假说能否被经验性地检验? 可证伪性: 哪些观察会证伪它? 简约性: 它是否是符合证据的最简单解释? 解释力: 它能解释多少现象? 范围: 它涵盖多大范围的观察? 一致性: 它是否与已确立的原则一致? 新颖性: 它是否提供了超越现有解释的新见解?
明确记录每个假说的优点和缺点。
针对每个可行的假说,提出具体的实验或研究来检验它。查阅 references/experimental_design_patterns.md 了解常见方法:
实验设计要素:
考虑多种方法:
针对每个假说,生成具体的、可量化的预测:
使用 assets/hypothesis_report_template.tex 中的模板生成专业的 LaTeX 文档。报告应格式良好,使用彩色框进行视觉组织,并分为简洁的正文和全面的附录。
文档结构:
正文(最多 4 页):
\newpage 以防止内容溢出保持正文高度简洁 - 仅包含最关键的信息。所有细节都放入附录。
分页策略:
\newpage 以确保它们从新页面开始附录(全面、详细):
彩色框使用:
使用 hypothesis_generation.sty 中的自定义框环境:
hypothesisbox1 到 hypothesisbox5 - 用于每个竞争性假说(蓝色、绿色、紫色、青色、橙色)predictionbox - 用于可检验的预测(琥珀色)comparisonbox - 用于关键比较(钢灰色)evidencebox - 用于支持性证据要点(浅蓝色)summarybox - 用于执行摘要(蓝色)每个假说框应包含(为满足 4 页限制,保持简洁):
所有详细的解释、额外证据和全面的讨论都属于附录。
防止溢出的关键措施:
\newpage 以使其从新页面开始引用要求:
力求广泛引用以支持所有主张:
正文引用应具有选择性 - 仅引用最关键的文章。所有全面的引用和详细的文献讨论都属于附录。使用 \citep{author2023} 进行括号引用。
LaTeX 编译:
该模板需要 XeLaTeX 或 LuaLaTeX 才能正确渲染:
xelatex hypothesis_report.tex
bibtex hypothesis_report
xelatex hypothesis_report.tex
xelatex hypothesis_report.tex
所需包: hypothesis_generation.sty 样式包必须位于同一目录或 LaTeX 路径中。它需要:tcolorbox, xcolor, fontspec, fancyhdr, titlesec, enumitem, booktabs, natbib。
防止页面溢出:
为防止内容在页面上溢出,请遵循以下关键准则:
\newpage:
\newpage
\begin{hypothesisbox1}[Hypothesis 1: Title]
% Long content here
\end{hypothesisbox1}
\newpage 使框从新页面开始。\newpage 以避免在详细内容区域溢出。快速参考: 查看 assets/FORMATTING_GUIDE.md 获取所有框类型、配色方案和常见格式模式的详细示例。
确保所有生成的假说符合以下标准:
hypothesis_quality_criteria.md - 评估假说质量的框架(可检验性、可证伪性、简约性、解释力、范围、一致性)experimental_design_patterns.md - 跨领域的常见实验方法(RCT、观察性研究、实验室实验、计算模型)literature_search_strategies.md - PubMed 和通用科学源的有效搜索技术hypothesis_generation.sty - LaTeX 样式包,为假说报告提供彩色框、专业格式和自定义环境hypothesis_report_template.tex - 完整的 LaTeX 模板,包含正文结构和全面的附录部分FORMATTING_GUIDE.md - 快速参考指南,包含所有框类型、配色方案、引用实践和故障排除提示的示例每周安装
197
仓库
GitHub 星标
23.4K
首次出现
2026年1月21日
安全审计
安装于
opencode168
claude-code162
gemini-cli162
cursor161
codex149
github-copilot145
Hypothesis generation is a systematic process for developing testable explanations. Formulate evidence-based hypotheses from observations, design experiments, explore competing explanations, and develop predictions. Apply this skill for scientific inquiry across domains.
This skill should be used when:
⚠️ MANDATORY: Every hypothesis generation report MUST include at least 1-2 AI-generated figures using the scientific-schematics skill.
This is not optional. Hypothesis reports without visual elements are incomplete. Before finalizing any document:
How to generate figures:
How to generate schematics:
python scripts/generate_schematic.py "your diagram description" -o figures/output.png
The AI will automatically:
When to add schematics:
For detailed guidance on creating schematics, refer to the scientific-schematics skill documentation.
Follow this systematic process to generate robust scientific hypotheses:
Start by clarifying the observation, question, or phenomenon that requires explanation:
Search existing scientific literature to ground hypotheses in current evidence. Use both PubMed (for biomedical topics) and general web search (for broader scientific domains):
For biomedical topics:
For all scientific domains:
Search strategy:
references/literature_search_strategies.md for detailed search techniquesAnalyze and integrate findings from literature search:
Develop 3-5 distinct hypotheses that could explain the phenomenon. Each hypothesis should:
Strategies for generating hypotheses:
Assess each hypothesis against established quality criteria from references/hypothesis_quality_criteria.md:
Testability: Can the hypothesis be empirically tested? Falsifiability: What observations would disprove it? Parsimony: Is it the simplest explanation that fits the evidence? Explanatory Power: How much of the phenomenon does it explain? Scope: What range of observations does it cover? Consistency: Does it align with established principles? Novelty: Does it offer new insights beyond existing explanations?
Explicitly note the strengths and weaknesses of each hypothesis.
For each viable hypothesis, propose specific experiments or studies to test it. Consult references/experimental_design_patterns.md for common approaches:
Experimental design elements:
Consider multiple approaches:
For each hypothesis, generate specific, quantitative predictions:
Generate a professional LaTeX document using the template in assets/hypothesis_report_template.tex. The report should be well-formatted with colored boxes for visual organization and divided into a concise main text with comprehensive appendices.
Document Structure:
Main Text (Maximum 4 pages):
\newpage before each hypothesis box to prevent content overflowKeep main text highly concise - only the most essential information. All details go to appendices.
Page Break Strategy:
\newpage before hypothesis boxes to ensure they start on fresh pagesAppendices (Comprehensive, Detailed):
Colored Box Usage:
Use the custom box environments from hypothesis_generation.sty:
hypothesisbox1 through hypothesisbox5 - For each competing hypothesis (blue, green, purple, teal, orange)predictionbox - For testable predictions (amber)comparisonbox - For critical comparisons (steel gray)evidencebox - For supporting evidence highlights (light blue)summarybox - For executive summary (blue)Each hypothesis box should contain (keep concise for 4-page limit):
All detailed explanations, additional evidence, and comprehensive discussions belong in the appendices.
Critical Overflow Prevention:
\newpage before each hypothesis box to start it on a fresh pageCitation Requirements:
Aim for extensive citation to support all claims:
Main text citations should be selective - cite only the most critical papers. All comprehensive citation and detailed literature discussion belongs in the appendices. Use \citep{author2023} for parenthetical citations.
LaTeX Compilation:
The template requires XeLaTeX or LuaLaTeX for proper rendering:
xelatex hypothesis_report.tex
bibtex hypothesis_report
xelatex hypothesis_report.tex
xelatex hypothesis_report.tex
Required packages: The hypothesis_generation.sty style package must be in the same directory or LaTeX path. It requires: tcolorbox, xcolor, fontspec, fancyhdr, titlesec, enumitem, booktabs, natbib.
Page Overflow Prevention:
To prevent content from overflowing on pages, follow these critical guidelines:
Monitor Box Content Length: Each hypothesis box should fit comfortably on a single page. If content exceeds ~0.7 pages, it will likely overflow.
Use Strategic Page Breaks: Insert \newpage before boxes that contain substantial content:
\newpage
\begin{hypothesisbox1}[Hypothesis 1: Title]
% Long content here
\end{hypothesisbox1}
Keep Main Text Boxes Concise: For the 4-page main text limit:
Break Long Content: If a hypothesis requires extensive explanation, split across main text and appendix:
Test Page Boundaries: Before each new box, consider if remaining page space is sufficient. If less than 0.6 pages remain, use \newpage to start the box on a fresh page.
Quick Reference: See assets/FORMATTING_GUIDE.md for detailed examples of all box types, color schemes, and common formatting patterns.
Ensure all generated hypotheses meet these standards:
hypothesis_quality_criteria.md - Framework for evaluating hypothesis quality (testability, falsifiability, parsimony, explanatory power, scope, consistency)experimental_design_patterns.md - Common experimental approaches across domains (RCTs, observational studies, lab experiments, computational models)literature_search_strategies.md - Effective search techniques for PubMed and general scientific sourceshypothesis_generation.sty - LaTeX style package providing colored boxes, professional formatting, and custom environments for hypothesis reportshypothesis_report_template.tex - Complete LaTeX template with main text structure and comprehensive appendix sectionsFORMATTING_GUIDE.md - Quick reference guide with examples of all box types, color schemes, citation practices, and troubleshooting tipsWeekly Installs
197
Repository
GitHub Stars
23.4K
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode168
claude-code162
gemini-cli162
cursor161
codex149
github-copilot145
超能力技能使用指南:AI助手技能调用优先级与工作流程详解
46,500 周安装
Appendix Page Management: In appendices, use \newpage between major sections to avoid overflow in detailed content areas.