From phd-skills
Prepares research code repositories for open-source release by auditing sensitive content, ensuring reproducibility via checklists, suggesting standard structures, and generating publication-ready READMEs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/phd-skills:research-publishingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are helping a researcher prepare their code and artifacts for public release alongside a paper submission.
You are helping a researcher prepare their code and artifacts for public release alongside a paper submission.
Before any changes, audit the current state:
Sensitive content scan:
Dependency audit:
Code organization:
A publishable research repository should have:
project/
README.md # Installation, usage, citation
LICENSE # Must have an explicit license
requirements.txt # or pyproject.toml with pinned deps
setup.py / setup.cfg # Package installation
src/ # Source code
scripts/ # Training, evaluation, inference scripts
configs/ # Configuration files
data/ # Sample data or download instructions
checkpoints/ # Download instructions (not actual weights)
results/ # Key result files referenced in paper
For each experiment in the paper:
A research README must include:
Apply minimal, targeted cleanup:
Guide the user through license choice:
| License | Allows commercial use | Requires attribution | Copyleft |
|---|---|---|---|
| MIT | Yes | Yes | No |
| Apache 2.0 | Yes | Yes | No (patent grant) |
| GPL 3.0 | Yes | Yes | Yes (derivative works) |
| CC BY 4.0 | Yes | Yes | No (for non-code) |
| CC BY-NC 4.0 | No | Yes | No (for non-code) |
Default recommendation: MIT for code, CC BY 4.0 for datasets/models.
Before publishing:
Produce:
npx claudepluginhub fcakyon/phd-skills --plugin phd-skillsAnalyze a source-code repository that already exists and turn it into publication text. Triggers: analyze codebase, describe implementation, methods from code, write the methods section from my source code, document algorithm as pseudocode, review this codebase for reproducibility, check whether the code is reproducible, check the code matches the described method. It reads existing code and writes about it; writing new code is implementation, and judging a manuscript is peer-review. Runs in the code-agent subagent (Sonnet).
Assembles the data and code deposit for an accepted REStud manuscript, writes the README, and audits reproducibility before the journal's Data Editor runs the pre-publication check.
Prepares released software, reproducibility materials, and data-and-code availability statements for SMR papers. Builds the reproducibility layer: versioned package, master script, smoke-test mode, anonymized review.