360 Secure SkillHub
360 安全技能中心

ds-unstick

该 Skill 用于同一错误在两次修复后仍复现时,停止重复尝试,记录每次失败与共同假设,用最小探针验证假设;若假设不成立则按新事实修复,若成立则列出三种不同方案并选择一种,必要时用 git 清理后重启,并把结论记录到 PROGRESS.md。

分类:开发
aicodeking
热度 0.00
最近更新 2026-11-01 05:11:41

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add aicodeking/deepseek-stack/ds-unstick
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
ds-unstick
description
Break out of a repeating failure: name the assumption behind all the failed fixes, test it directly, list three other approaches, pick one, and restart clean if needed. Use when the same error or wrong behavior comes back after two fix attempts, or when you notice you are retrying small variations. Invoke as /ds-unstick.

ds-unstick

When two fixes fail the same way, the problem is usually a wrong belief, not a wrong edit. Find that belief and test it.

Steps

  1. Stop editing. Do not try a third variation of the same fix.
  2. Write down each failed attempt in one line: what you changed and what happened. Include the exact error text.
  3. Write the assumption that all of those attempts shared. Typical examples: "this file is the one that runs", "the config is loaded", "the function receives a string", "the cache is cleared", "the error comes from my code". Name one, in one sentence.
  4. Test that assumption directly with the cheapest probe that gives a yes or no answer: a print statement, a log line, a which or --version, a grep for the real call site, a minimal script, or a read of the docs for the exact version installed. Paste the result.
  5. If the assumption is false, you have found the real problem. Plan the fix from the new fact.
  6. If the assumption holds, list 3 different approaches. "Different" means another mechanism, library, layer or data path, not a tweak of the same edit. Give each approach one line on cost and risk.
  7. Pick one approach and say why in one sentence.
  8. Restart from a clean state if the failed attempts left debris: revert them with git (git stash or git checkout -- <files>), then apply only the chosen approach.
  9. Record the false assumption or the chosen approach in PROGRESS.md (see ds-context-reset) so a later session does not repeat the attempts.
  10. Return to ds-verify-loop with the new approach.

Stop when

  • The probe in step 4 explains the failure, or the new approach passes its check.
  • Two rounds of this skill have failed. Stop and report to the user: the attempts, the assumptions you tested, and the evidence. Ask for direction.

Rules

  • Do not repeat a fix that has already failed, even with small changes.
  • Evidence beats reasoning. If a probe takes a minute, run it.
  • Keep the failed-attempt list, because it is the most useful part of the report.
  • Use a clean state before a new approach, so that old edits cannot hide the result.