/selamy-skills:source-history-decision-logfrom selamy-skills
Use before changing code with a history — especially fragile, recurring-issue, or high-stakes code. Mine the git/PR history as a decision log: learn why the code is the way it is and avoid repeating solved mistakes; reading history is how you iterate instead of re-deriving.
Ships in selamy-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Source control isn't only a safety net — it's the project's decision log. The code's current shape is the residue of past decisions; most odd-looking lines are fixes for something that already bit someone. Read the history before you change code, so you build ON accumulated learning instead of re-deriving dead-ends and re-introducing solved bugs.
Reading history is how you iterate. Skipping it is how you oscillate — fixing a symptom, hitting the next, sometimes re-breaking the first.
Before changing fragile / recurring / high-stakes code: git blame the lines and read the last few relevant commits + PRs, then state in your change what prior decision you are preserving or deliberately reversing. If you can't say why the code is the way it is, you're not ready to change it.
git blame / git log -p the specific function. Don't undo a fix you don't understand.fix: commits or a revert marks a landmine that has bitten before — read each; the history names the failure modes.git log --all --grep=<concept> — a reverted commit is a tried-and-failed approach; read why before re-discovering the dead-end.The current shape encodes hard-won lessons. A prior commit message often already names the pattern you are about to re-learn — generalizing it sooner is the entire point of iterating. For a team — and especially for many contributors working across separate sessions — the history is the shared long-term memory: reading it is how a context-blind newcomer acquires the maintainer's intuition instead of re-deriving it badly.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub selamy-labs/agent-skills --plugin selamy-skills111 skills in this plugin
/adaptive-estimationUse when tracking a slowly-varying latent quantity from noisy measurements with quantifiable uncertainty — a drifting metric, capacity, latency trend, or confidence. Prefer a Kalman-style adaptive estimator over fixed moving averages or static thresholds./adaptive-loop-budgetingUse when an autonomous loop needs explicit limits on attempts, time, cost, tool calls, verification depth, or risk, and a clear stop, continue, yield, or escalate decision./adopt-and-deleteUse when adopting a shared module, library, chart, or service, or doing any consolidation, migration, or refactor that supersedes existing code. The change that adds the replacement must REMOVE what it replaced, in the same atomic change.Other plugins' skills for the same job