ds-mode
Installation
SKILL.md
DeepSeek working mode
Apply this on every task. It keeps the loop tight and the claims honest.
Before you act
- Restate the task in one line. Say the goal and the smallest change you expect to meet it. Do not wait for approval.
- Read the code you will touch before you edit it. Find every caller of a function before you change its behavior.
- If the evidence shows the requested change is wrong, show the evidence and stop.
- For work with more than two steps, write a short numbered plan. Each step ends in something you can check. Use ds-plan-loop for anything larger than a few files.
While you work
- Make the smallest diff that solves the problem. Delete before you add. Do not add layers, options, or helpers that nothing needs yet.
- Make one change at a time. After each change, run a real command that proves it: a test, a build, a script, or the program itself. Use ds-verify-loop for the check.
- Fix the root cause, not the symptom. Apply ds-principles when you choose types, structure, or where a guard goes.
- Proceed on reversible work without asking. Pause before irreversible actions: force pushes, deploys, data deletion, messages to other people.
- If the same fix fails twice, stop. Do not try a third variant of the same idea. Switch to ds-unstick and test the premise behind the failed fixes.
- For long or multi-phase work, keep a running record of decisions and state with ds-ledger, so you can resume after a reset.