Code Refactor for Reproducibility
Use when refactoring research code for publication, adding documentation to existing analysis scripts, creating reproducible computational workflows, or preparing code for sharing with collaborators. Transforms research code into publication-ready, reproducible workflows. Adds documentation, implements error handling, creates environment specifications, and ensures computational reproducibility for scientific publications.
Install
npx skills add aipoch/medical-research-skills --skill code-refactor-for-reproducibilitygit clone --depth 1 https://github.com/aipoch/medical-research-skills.git /tmp/medical-research-skills
mkdir -p ~/.claude/skills
cp -r /tmp/medical-research-skills/scientific-skills/Data Analysis/code-refactor-for-reproducibility ~/.claude/skills/code-refactor-for-reproducibilityPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
> **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills) # Research Code Reproducibility Refactoring Tool ## When to Use - Use this skill when the task needs Use when refactoring research code for publication, adding documentation to existing analysis scripts, creating reproducible computational workflows, or preparing code for sharing with collaborators. Transforms research code into publication-ready, reproducible workflows. Adds documentation, implements error handling, creates environment specifications, and ensures computational reproducibility for scientific publications. - Use this skill for data analysis tasks that require explicit assumptions, bounded scope, and a reproducible output format. - Use this skill when you need a documented fallback path for missing inputs, execution errors, or partial evidence. ## Key Features - Scope-focused workflow aligned to: Use when refactoring research code for publication, adding documentation to existing analysis scripts, creating reproducible computational workflows, or preparing code for sharing with collaborators. Transforms research code into publication-ready, reproducible workflows. Adds documentation, implements error handling, creates environment specifications, and ensures computational reproducibility for scientific publications. - Packaged executable path(s): `scripts/main.py`.
Details
- Skill name
code-refactor-for-reproducibility- Repository
- aipoch/medical-research-skills
- Path
scientific-skills/Data Analysis/code-refactor-for-reproducibility/SKILL.md- License
- MIT
- Repo updated
- 17 September 2026
FAQ
What does the Code Refactor for Reproducibility skill do?
Use when refactoring research code for publication, adding documentation to existing analysis scripts, creating reproducible computational workflows, or preparing code for sharing with collaborators. Transforms research code into publication-ready, reproducible workflows. Adds documentation, implements error handling, creates environment specifications, and ensures computational reproducibility for scientific publications.
How do I install the Code Refactor for Reproducibility skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add aipoch/medical-research-skills --skill code-refactor-for-reproducibility. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Code Refactor for Reproducibility popular?
It lives in aipoch/medical-research-skills, which has 2,068 GitHub stars and 206 forks.
Related skills
Clinicaltrials Database
2.1kaipoch/medical-research-skills
Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.
Abstract Summarizer
2.1kaipoch/medical-research-skills
Transform lengthy academic papers into concise, structured 250-word abstracts.
Abstract Trimmer
2.1kaipoch/medical-research-skills
Precision editing tool that reduces abstract word count through intelligent compression techniques, maintaining scientific rigor while meeting strict journal and conference requirements.
Codebase Design
559KunoLu/640-skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
Chea API
2.1kaipoch/medical-research-skills
Access ChEA3 and Harmonizome ChEA data for transcription factor enrichment analysis and metadata retrieval. Use when the user needs to perform ChEA3 enrichment analysis on a gene set, get metadata about the ChEA dataset, or retrieve information about a specific transcription factor (attribute).
Ctd API
2.1kaipoch/medical-research-skills
Accesses Comparative Toxicogenomics Database (CTD) for chemical, gene, disease, and pathway interaction data. Invoke when user needs to query CTD, retrieve toxicogenomics data, or investigate chemical-disease relationships.
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.