跳到正文
cccskills
免费在 GitHub 公开

research-publishing

Use when the user wants to prepare code for open-source release, create reproducible research artifacts, or structure a repository for publication. Triggers on phrases like "publish code", "open source release", "reproducibility", "research repository", "code release", or "prepare for publication".

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md4.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Research Publishing Methodology

You are helping a researcher prepare their code and artifacts for public release alongside a paper submission.

Step 1: Repository Assessment

Before any changes, audit the current state:

  1. Sensitive content scan:

    • API keys, tokens, credentials (grep for common patterns)
    • Hardcoded paths specific to the researcher's machine
    • Internal URLs or private infrastructure references
    • Personal identifiable information in comments or data
  2. Dependency audit:

    • List all dependencies with pinned versions
    • Identify any proprietary or restricted-license dependencies
    • Check for abandoned/unmaintained dependencies
    • Verify all dependencies are pip/conda installable
  3. Code organization:

    • Identify dead code, debugging artifacts, scratch files
    • Find duplicated code that should be unified
    • Check for overly complex code that can be simplified

Step 2: Repository Structure

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

Step 3: Reproducibility Checklist

For each experiment in the paper:

  • Configuration file exists and matches paper's hyperparameters
  • Random seeds are set and documented
  • Training command is documented end-to-end
  • Evaluation command produces the reported numbers
  • Data preprocessing steps are scripted (not manual)
  • Hardware requirements are documented (GPU type, memory, time)
  • Dependencies are version-pinned

Step 4: README Structure

A research README must include:

  1. Title + one-line description
  2. Paper link (arXiv, venue page)
  3. Visual (architecture diagram, key result figure, or demo GIF)
  4. Installation (step-by-step, tested on clean environment)
  5. Quick start (inference on a single example, < 5 commands)
  6. Training (full reproduction commands)
  7. Evaluation (reproduce paper numbers)
  8. Model zoo / checkpoints (download links with expected metrics)
  9. Citation (BibTeX block)
  10. License

Step 5: Code Cleanup

Apply minimal, targeted cleanup:

  1. Remove debugging prints, commented-out code, scratch experiments
  2. Replace hardcoded paths with configurable paths (env vars or args)
  3. Add docstrings to public functions (not internal helpers)
  4. Ensure the main entry points are clearly documented
  5. Do NOT refactor working code for style — it adds risk for no benefit

Step 6: License Selection

Guide the user through license choice:

LicenseAllows commercial useRequires attributionCopyleft
MITYesYesNo
Apache 2.0YesYesNo (patent grant)
GPL 3.0YesYesYes (derivative works)
CC BY 4.0YesYesNo (for non-code)
CC BY-NC 4.0NoYesNo (for non-code)

Default recommendation: MIT for code, CC BY 4.0 for datasets/models.

Step 7: Pre-Release Testing

Before publishing:

  1. Clone into a fresh directory
  2. Follow README installation steps exactly
  3. Run quick start commands
  4. Run evaluation to verify numbers match paper
  5. Check that no sensitive information is in git history

Output Format

Produce:

  1. Audit report: sensitive content found, dependency issues, dead code
  2. Action list: specific files to modify/remove/add
  3. README draft: following the structure above
  4. Reproducibility checklist: per-experiment verification status

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

compare

免费

Same-epoch comparison of training runs across wandb, neptune, tensorboard, or mlflow. Aligns runs at the student's current step (never current-vs-final-of-baseline) and separates proxy metrics from downstream targets. Use when the user asks to compare runs, check if a run is improving, track lag against a baseline, rank experiments, or evaluate run-vs-run performance.

中文简介正在准备中。当前显示原文说明。

fcakyon/phd-skills4252026年10月12日 更新

Use when the user wants to analyze dataset bias, create stratified samples, evaluate fairness, or plan dataset collection. Triggers on phrases like "dataset bias", "stratified sample", "class imbalance", "data distribution", "fairness analysis", or "ethical review".

中文简介正在准备中。当前显示原文说明。

fcakyon/phd-skills4252026年10月12日 更新

debug

免费

Evidence-before-action diagnosis of failing ML experiments. Probes the system before guessing causes, process list, dmesg, GPU stats, log scrollback, checkpoint state, then states a hypothesis as a hypothesis and runs a smoke before claiming a root cause. Use when the user asks why a run is failing, diverging, OOMing, hanging, slow, producing weird metrics, has crashed, or asks to debug, diagnose, troubleshoot, or investigate a training issue.

中文简介正在准备中。当前显示原文说明。

fcakyon/phd-skills4252026年10月12日 更新

Use when the user wants to design experiments, plan ablation studies, structure baselines, or create incremental evaluation strategies. Triggers on phrases like "design ablation", "plan experiment", "what experiments should I run", "baseline comparison", or "experiment matrix".

中文简介正在准备中。当前显示原文说明。

fcakyon/phd-skills4252026年10月12日 更新

Use when the user wants to set up or troubleshoot a LaTeX environment, choose between biber and bibtex, install packages for a specific venue template, or configure compilation. Triggers on phrases like "setup latex", "biber vs bibtex", "latex compilation error", "install latex packages", "venue template", or "texlive setup".

中文简介正在准备中。当前显示原文说明。

fcakyon/phd-skills4252026年10月12日 更新

launch

免费

Pre-flight checklist for long-running ML training jobs covering config diff, run naming, path verification, monitoring setup, and restart-cleanup. Use when the user asks to launch, kick off, start, restart, or kill a training run, or mentions launching a multi-hour or multi-day GPU job (python train, accelerate launch, torchrun, deepspeed, sbatch, tmux training).

中文简介正在准备中。当前显示原文说明。

fcakyon/phd-skills4252026年10月12日 更新

查看 fcakyon 的全部技能

报告此技能的问题