src/autoskillit/skills_extended/exp-lens-randomization-blocking/SKILL.md
Create Randomization & Blocking experimental design diagram showing assignment mechanisms, blocking factors, and comparability sources. Design-Structural lens answering "Where does comparability come from?"
npx skillsauth add talont-org/autoskillit exp-lens-randomization-blockingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Philosophical Mode: Design-Structural Primary Question: "Where does comparability come from?" Focus: Assignment Mechanisms, Blocking Factors, Stratification, Balanced Designs, Replication
/autoskillit:exp-lens-randomization-blocking [context_path] [experiment_plan_path]
/autoskillit:exp-lens-randomization-blocking or /autoskillit:make-experiment-diag randomizationNEVER:
{{AUTOSKILLIT_TEMP}}/exp-lens-randomization-blocking/run_in_background: true is prohibited)ALWAYS:
Trace the exact mechanism that creates comparability between treatment groups
Identify every nuisance factor and how it is controlled
Flag pseudoreplication risks (replicating at the wrong unit)
Verify that replication is adequate for the claimed inferential precision
BEFORE creating any diagram, LOAD the /autoskillit:mermaid skill using the Skill tool - this is MANDATORY
If the Skill tool cannot be used (disable-model-invocation) or refuses this invocation, do NOT proceed with diagram creation. Abort this step and omit the diagram from output.
Write output to {{AUTOSKILLIT_TEMP}}/exp-lens-randomization-blocking/exp_diag_randomization_blocking_{YYYY-MM-DD_HHMMSS}.md
After writing the file, emit the structured output token as literal plain text with no markdown formatting on the token name (the adjudicator performs a regex match):
diagram_path = /absolute/path/to/{{AUTOSKILLIT_TEMP}}/exp-lens-randomization-blocking/exp_diag_randomization_blocking_{...}.md
If positional arg 1 (context_path) is provided and the file exists, read it to obtain IV/DV tables, H0/H1 hypotheses, controlled variables, and success criteria. If positional arg 2 (experiment_plan_path) is provided and exists, read the experiment plan for full methodology. Use this structured context as the foundation for Steps 1-5; skip the CWD exploration for these fields if the context file supplies them.
Spawn Explore subagents to investigate:
Assignment Mechanism
Blocking & Stratification
Replication Structure
Order & Timing Effects
Exclusion & Attrition
Trace: Population → assignment → analysis. Identify randomization unit, blocking factors, replication adequacy, and potential confounds.
Distinguish: True randomization / Blocked randomization / Matched pairs / Deterministic assignment
For each: Is the comparability mechanism strong enough for the claimed inference?
Direction: TB. Subgraphs: POPULATION/POOL, BLOCKING, RANDOMIZATION, TREATMENT ARMS, ANALYSIS
Write the diagram to: {{AUTOSKILLIT_TEMP}}/exp-lens-randomization-blocking/exp_diag_randomization_blocking_{YYYY-MM-DD_HHMMSS}.md (relative to the current working directory)
Before creating the diagram, verify:
/autoskillit:mermaid skill using the Skill tool/autoskillit:make-experiment-diag - Parent skill/autoskillit:mermaid - MUST BE LOADED before creating diagram/autoskillit:exp-lens-causal-assumptions/autoskillit:exp-lens-unit-interferencedevelopment
Generate YAML recipes for .autoskillit/recipes/. Use when user says "make script skill", "generate script", "script a workflow", "write a script", "create a script", "new recipe", "write a pipeline", or when loaded by other skills for script formatting.
data-ai
Create Uncertainty Representation visualization planning spec showing error bar definitions, distribution-aware alternatives, and multi-seed variance protocols. Statistical lens answering "How is uncertainty honestly represented?"
data-ai
Create Temporal Dynamics visualization planning spec showing axis scaling (linear vs log), smoothing disclosure, epoch/step alignment, run aggregation (mean + variance bands), early-stopping markers, and wall-clock vs step-count x-axis. Temporal lens answering "Are training dynamics shown clearly and honestly?"
data-ai
Create Narrative Story Arc visualization planning spec showing visual consistency across the report (same color = same model everywhere), logical figure progression, redundant figure detection, and narrative dependency between figures. Narrative lens answering "Do the figures tell a coherent story across the report?"