Agent skill · Testing & QA

light-data-engineering

Light 科研主线第 2 步·数据工程:**找得到且用得起的数据**(来源/许可/版本/大小/split)+ **提 idea 前先判数据可行性** (数据够不够支撑研究/统计功效)+ **防数据泄漏**(顶会拒稿高频雷)。何时用:用户要找/选/下载公开数据集,或给了数据问 "能不能做研究/够不够/质量行不行" / 要清洗·处理缺失异常·特征工程·划分数据集·数据增强 / 自建数据集(采集·标注规范· 隐私合规·发布) / 怀疑训练测试串了数据(泄漏) / 提 idea 前评数据基础。 触发词:数据够不够 / 数据可行性 / 数据质量 / 数据泄漏 / 防穿越 / train test 重叠 / 怎么划分 / 交叉验证 / 标注规范 / 一致性 IAA / 自建数据集 / 样本量够吗 / 统计功效 / 找数据集 / 数据许可 / dataset search / data leakage / feasibility / data split / annotation。核心纪律: **数据泄漏 = critical 一票否决**(标准化早于划分/时序穿越/实体重叠/目标编码穿越);**数据不足以支撑 idea = 拦在 idea 前(回边 2⊣3,补数据/改 idea)**;功效是经验阈值非 power analysis;泄漏检测是启发式有边界,不吹"查全了"。

Light0305github.com/Light0305GitHub ↗
claude-codecodexships scriptsMIT
Install
npx skills add Light0305/Light-skills --skill light-data-engineering --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 22
SKILL.md size: 19 KB
Bundled scripts: yes
Version: 2.1.0-round2
Path: skills/light-data-engineering/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 505
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 数据工程(data-engineering)—— 找数据、核数据、守泄漏,再决定 idea 能不能立 你是 Light 科研流水线的 **DAG 第 2 节点**。任务**不是"先把数据洗干净再说"**,是在**提 idea 之前**回答院士会枪毙 idea 的 两个硬问题:**这数据够不够支撑这个研究(规模/质量/功效)?** 和 **这套划分有没有藏着让结果虚高的数据泄漏?** 数据 不足以支撑的 idea **拦在定稿前**(带"缺口 + 补法"回 idea-generation,回边 **2⊣3**);数据泄漏(顶会拒稿高频雷)是 **critical 一票否决**。 > **一句话定位**:把"一屋子做数据的院士在提 idea 前真正坚持的"——**先找得到、下载得起、许可用得了且版本锁得住**, > 再做**数据可行性前置**(很多 idea 死在数据根本不够/不可得/质量差)+ **数据泄漏前置查**(标准化早于划分 / 时序穿越 / > train-test 实体重叠 / 目标编码穿越)+ **可挖掘价值判断** + **自建数据集规范**——落成 > **下载前 advisory + 确定性 critical 门**。深度对标真相源 = > [`docs/competitors/data-engineering.md`](../../docs/competitors/data-engineering.md)(11 个真同类 + 机制锚 + 诚实边界)。 > > **谁产 findings、谁是 critical 门(诚实分工)**:**本技能产两类 critical findings**(producer=data-engineering)—— > ① **数据泄漏**(`split_leakage.py`→`leak_findings.json`,HIGH=critical);② **数据可行性不足/idea-killing** > (`data_feasibility_gate.py`,功效粗筛 insufficient / 四问 insufficient = critical)。均被 `run_checkpoint --stage 2` > 聚合 → **critical fail exit 1**。**warn 不阻断**:样本量偏紧、划分不合理(spec §4.2 口径)。 > > **特殊位置(前置于 idea)**:data-engineering 是 stage 2,但工作流里常在 idea 之后跑(idea-generation 立项卡先点名 > "要什么数据")→ 本技能判"数据撑不撑得起这 idea",不够则 `reroute --stage 2` 建议回边 **2⊣3**(拦在 idea 前:补数据 / > 改

What's inside
Steps it walks through
  1. 何时启动(触发信号)
  2. 你怎么工作:ACT / ASK / NEVER
  3. ACT — 跑确定性数据门,自己做(不烦用户)
  4. ASK — 停下问用户,给「证据 + 推荐 + 备选」(决策点 🧑)
  5. NEVER — 绝不 [NON-NEGOTIABLE]
  6. 指令流:何时调哪个脚本(引擎已就位,亲手 selftest 到 exit 0,直接调用勿重写)
  7. ⓪ 数据身份 + 权限 + 血缘 + split threat + fitness 统一契约(Round 3 必跑)
  8. ⓪b 数据发现与下载前 intake(warn-only,不替用户选)
  9. ① 数据可行性前置门 → 不足则 2⊣3(拦在 idea 前,本技能 critical 灵魂之一)
  10. ② 数据泄漏 critical 门(本技能 critical 灵魂之二)
  11. ③ 防泄漏划分 / 质量门 / 体检 / 漂移(被编排,也可单独跑)
  12. 院士级深挖:四条是及格线(蓝图 §4.3-2,不是加分项)
  13. ① 数据可行性前置(很多 idea 死在数据根本不够/不可得/质量差)
  14. ② 数据泄漏前置查(顶会拒稿高频雷,critical 一票否决)
Ships with 21 files
  • assets/data_card_template.md
  • examples/derive_spec.example.json
  • examples/rules.example.yaml
  • examples/worked_example.md
  • references.md
  • references/data-resource-map.md
  • scripts/check_access_level.py
  • scripts/croissant_export.py
  • scripts/data_doctor.py
  • scripts/data_feasibility.py
  • scripts/data_feasibility_gate.py
  • scripts/data_identity_fitness.py
  • scripts/dataset_intake.py
  • scripts/derive_eval_set.py
  • scripts/drift_check.py
  • scripts/quality_gate.py
  • scripts/safe_split.py
  • scripts/sample_size_check.py
  • scripts/split_leakage.py
  • templates/annotation_guide.md
  • templates/data-identity-fitness.example.json
Commands it runs
python scripts/data_identity_fitness.py --spec data_identity_fitness.json \
python scripts/dataset_intake.py --query "breast cancer" --limit 10 --sort downloads \
python scripts/dataset_intake.py --inspect scikit-learn/breast-cancer-wisconsin
python scripts/data_feasibility_gate.py --spec feasibility_spec.json --report feas_findings.json   # insufficient → exit 1
python ../light-orchestrator/scripts/run_checkpoint.py --file .light/passport.yaml --stage 2 \
fail → 根因回炉建议(命中 ROUTES[2],建议 2⊣3:拦在 idea 前,只建议不执行,停下问用户):
python ../light-orchestrator/scripts/reroute.py --findings feas_findings.json --stage 2 \
python ../light-orchestrator/scripts/passport.py add-back-edge --to 3 --from 2 \
python scripts/split_leakage.py --train train.csv --test test.csv --group-col user_id --target y \
python scripts/data_doctor.py --csv data.csv --target y --out report.md     # 体检画像(先做)
More from Light-skills
All skills →
About this skill
What does the light-data-engineering skill do?

Light 科研主线第 2 步·数据工程:**找得到且用得起的数据**(来源/许可/版本/大小/split)+ **提 idea 前先判数据可行性** (数据够不够支撑研究/统计功效)+ **防数据泄漏**(顶会拒稿高频雷)。何时用:用户要找/选/下载公开数据集,或给了数据问 "能不能做研究/够不够/质量行不行" / 要清洗·处理缺失异常·特征工程·划分数据集·数据增强 / 自建数据集(采集·标注规范· 隐私合规·发布) / 怀疑训练测试串了数据(泄漏) / 提 idea 前评数据基础。 触发词:数据够不够 / 数据可行性 / 数据质量 / 数据泄漏 / 防穿越 / train test 重叠 / 怎么划分 / 交叉验证 / 标注规范 / 一致性 IAA / 自建数据集 / 样本量够吗 / 统计功效 / 找数据集 / 数据许可 / dataset search / data leakage / feasibility / data split / annotation。核心纪律: **数据泄漏 = critical 一票否决**(标准化早于划分/时序穿越/实体重叠/目标编码穿越);**数据不足以支撑 idea = 拦在 idea 前(回边 2⊣3,补数据/改 idea)**;功效是经验阈值非 power analysis;泄漏检测是启发式有边界,不吹"查全了"。

How do I install it?

Run `npx skills add Light0305/Light-skills --skill light-data-engineering --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From Light0305/Light-skills, a repository with 505 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going