Skip to content

PANYUXIN6/pyx-skills / repo-map-first

repo-map-first

Verified

根据源代码证据定位代码归属并判断仓库地图是否可信。适用于归属不明、跨边界行为变更、入口或依赖变更,或地图可能误导代码放置的情况;也适用于明确要求检查、使用、创建或修复地图,以及依赖技能的仓库上下文初始化或验证。

references/placement-analysis.md

View on GitHub
# 代码放置分析准则

实施前,说明足够的证据,证明变更的归属和边界已经确定。按需采用以下视角;不必强行套用固定标题,也不要重复显而易见的信息。

- **地图状态:** 在自动模式下,相关地图信息是可用、缺失、过时,还是并不需要。
- **职责归属:** 哪个模块负责变更的行为,以及原因。
- **入口与流程:** 行为从何处进入,相关调用或数据路径是什么。
- **代码位置:** 要改哪些文件或层,以及逻辑为何属于那里。
- **边界:** 哪些相邻模块或职责应保持不变。
- **风险与证据:** 可能的回归点,以及足以验证的最小可信检查。

对于局部但明确调用地图优先流程的任务,几句简洁说明可能就够了。若工作跨越多个独立子系统,则展开分析,明确归属、接口、依赖方向和故障边界。

当两种实质不同的放置方案仍都有可能时,不要开始实施。只有仓库证据无法解决、且选择取决于产品意图、归属政策或风险偏好时才询问用户。
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall