界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

repo-cleanup

repo-cleanup

【数据与研究】Use when a research or prototype repository has become messy and you need a disciplined cleanup plan for structure, naming, docs, unused files, configs, and reproducibility hygiene.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: repo-cleanup description: Use when a research or prototype repository has become messy and you need a disciplined cleanup plan for structure, naming, docs, unused files, configs, and reproducibility hygiene.

Purpose

Improve repository clarity so code, experiments, and documents are easier to understand and maintain.

When To Use

  • before public release or collaborator handoff
  • after a rapid prototyping phase left the repo inconsistent
  • when folders, scripts, and outputs have become hard to navigate
  • when experiment artifacts and source code are mixed carelessly

Inputs

  • repository layout and current file structure
  • known pain points, stale outputs, and documentation gaps
  • any constraints about files that must not be touched

Outputs

  • cleanup plan ordered by safety and impact
  • proposed directory and naming normalization
  • list of stale, duplicated, or misplaced files
  • documentation gaps and configuration hygiene fixes
  • explicit separation of safe cleanup versus risky cleanup

Workflow

  1. Inspect the repo structure before proposing moves.
  2. Identify clutter, ambiguity, and unsafe mixing of source and generated outputs.
  3. Group cleanup work into structure, naming, docs, configs, and artifacts.
  4. Separate non-destructive cleanup from anything that needs confirmation.
  5. Produce a minimal end state that is easier to release and maintain.

Constraints

  • do not assume generated files are disposable without checking
  • separate cleanup suggestions from destructive actions
  • preserve provenance for experiment outputs that may still matter
  • favor clear structure over cosmetic churn
我的收藏