بنقرة واحدة
scaffold-experiment
Design experiment and generate run.sh, analyze script, and FINDINGS.md template
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Design experiment and generate run.sh, analyze script, and FINDINGS.md template
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Formulate a single testable hypothesis by scanning the project for untested behaviors, gaps, and claims
Guided hypothesis-driven experimentation. Choose a project, generate hypotheses, select which to test, run experiments in parallel or sequentially, document findings.
Generate iteratively-reviewed research ideas from a problem statement. Fully guided - no arguments required.
Send Claude plan to an LLM for external technical review
Create research document with problem statement and context from multiple sources (repositories, papers, files)
Populate FINDINGS.md with results and analysis, update HYPOTHESIS.md status
استنادا إلى تصنيف SOC المهني
| name | _scaffold-experiment |
| description | Design experiment and generate run.sh, analyze script, and FINDINGS.md template |
| user-invocable | false |
| allowed-tools | ["Read","Write","Glob","Grep","Bash(ls *)","Bash(chmod *)","Bash(mkdir *)"] |
Generate a complete experiment directory for a hypothesis. Each scaffolding runs in its own background agent dispatched by the orchestrator.
Skill(_scaffold-experiment "<project_root>" "<hypothesis_dir>" "<claim>" "<refuted_if>" "<language>" "<build_cmd>" "<entry_point>")
Arguments:
project_root — absolute path to the target project root directoryhypothesis_dir — absolute path to hypothesis directory (e.g., <project_root>/hypotheses/h3-caching-latency)claim — the testable hypothesis claimrefuted_if — the falsifiability conditionlanguage — project language: go, python, node, or otherbuild_cmd — project build command (e.g., go build ./...)entry_point — main binary or script pathDetermine:
No approval gate here. The orchestrator handles batch approval in Screen 7 after all experiments are scaffolded.
Use [PROJECT_ROOT] to locate the project source for context when designing the experiment. Write all generated files to [HYPOTHESIS_DIR].
run.shAll run.sh scripts must:
#!/usr/bin/env bash and set -euo pipefailoutput/ subdirectoryoutput/config_a.txtoutput/config_b.txtTailor commands to detected language:
go build && ./binary [flags]python3 [script] [args]node [script] [args]After writing, chmod +x run.sh.
analyze.pyPython script that:
output/config_a.txt and output/config_b.txtCustomize parsing logic based on expected output format.
FINDINGS.md TemplatePre-fill hypothesis and experiment design sections. Leave Results and Analysis as <!-- Auto-populated after experiment runs -->. Include Reproducing section.
Return this structured text to the calling skill:
HYPOTHESIS_DIR: hypotheses/h<N>-<slug>
FILES_CREATED: run.sh, analyze.py, FINDINGS.md
DESIGN_SUMMARY: "Vary: <independent var>. Measure: <dependent var>. Control: <controlled vars>."
The orchestrator parses DESIGN_SUMMARY for Screen 7 (batch approval).