技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
extending-pgmpy【数据与研究】Extend pgmpy with canonical algorithms, CI tests, scores, metrics, datasets, and example models.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to add or review a new public pgmpy extension surface: a causal discovery algorithm, conditional independence test, structure score, metric, dataset, or example model. The goal is a focused contribution that follows pgmpy's canonical package layout and template contracts.
Do not use this sub-skill for routine package usage. Route ordinary modeling/factors, structure learning, inference/simulation, causal effects, and data/I/O tasks to their dedicated pgmpy sub-skills. Do not use it for release automation, broad repository maintenance, or R-based bnRep model conversion.
pgmpy.estimators for new functionality, reroute to the canonical package instead and keep legacy estimator compatibility separate.devtools/extension_templates scaffold in the user's pgmpy checkout, but do not copy template text into this skill. Fill every TODO, follow existing implementations, and update the matching template whenever a base-class API or required tag changes._CITestResult payloads for CI tests, cached _local_score for scores, _evaluate for metrics, loader/tag contracts for datasets and example models.git commit or git push for the user.From any working directory, after installing pgmpy or while editing a checkout, run the bundled helper with a checkout path when checking new files:
python <path-to-extending-pgmpy>/scripts/extension_template_check.py --repo <pgmpy-checkout> --category structure-score --module-name my_score --class-name MyScore --registry-name my-score
For a quick read-only inventory of template/package/test directories:
python <path-to-extending-pgmpy>/scripts/extension_template_check.py --repo <pgmpy-checkout> --category all
The script does not mutate files. Treat it as a placement/contract reminder; still inspect source and run focused tests.