Always-on working style for DeepSeek agents: restate the task, read before editing, small verified steps, evidence before done, lean context, short reports. Use when starting any coding task, when the user types /ds-mode, or when work starts to drift.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ds Mode?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/premmodhaofficial-ds-mode)
---
name: ds-mode
description: "Always-on working style for DeepSeek agents: restate the task, read before editing, small verified steps, evidence before done, lean context, short reports. Use when starting any coding task, when the user types /ds-mode, or when work starts to drift."
---
# DeepSeek working mode
Apply this on every task. It keeps the loop tight and the claims honest.
## Precedence
Across layers, stacked modes all stay on: each keeps its own layer, and starting a mode in one layer never removes a mode in another. Safety floor first: an explicit floor in any active mode survives every conflict below, and this list is the whole of it — a "never cut" list (ponytail, ultracave, megacave); caveman's ASD-STE100 floor (20 words max, active voice, kept negations) and verbatim payload; tiger-style's two-assertions-per-function minimum, fixed loop bounds, and "never slow-path safety for developer convenience"; ds-mode's pause before an irreversible action; i-have-adhd's "never omit relevant items" and "safety wins over brevity"; archify's validation before delivery. Work rules (ponytail, ds-mode, tiger-style) beat output rules (caveman, ultracave, megacave, i-have-adhd, archify): what to build outranks how it reads.
Two conflicts are settled here rather than by the last-wins rule below. Where ds-mode's "delete before you add" meets a tiger-style assertion minimum or loop bound, tiger-style wins: delete something else, or say why the deletion is elsewhere. Where an archify page would be made unasked (`proactive` or `always-on`) under ponytail, caveman, ultracave or megacave, the page is offered, not made, because an unrequested page is output nobody asked for.
Within one layer only one voice is on at a time: a second mode in the same layer replaces the first, and in the caveman family the last voice chosen replaces the earlier one — voices never stack. The replaced mode's floor still holds, because floors cross layers.
Clean switch: "stop ponytail", "stop caveman", "stop ultracave", "stop megacave", "stop adhd mode", "stop tiger-style", "stop ds-mode" each drop one mode; "normal mode" drops all of them. archify's `proactive` and `always-on` are rule lines in the host's rules file, switched on by its consent flow and off by deleting the line; `on-demand` is the default, its line only stopping the offer from recurring.
## Before you act
1. Restate the task in one line. Say the goal and the smallest change you expect to meet it. Do not wait for approval.
2. Read the code you will touch before you edit it. Find every caller of a function before you change its behavior.
3. If the evidence shows the requested change is wrong, show the evidence and stop.
4. 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.
## Keep context lean
- Read files in the parts you need, not whole when a range will do.
- Keep summaries in your context, not raw output. Trim long logs to the lines that matter.
- Send bulk reading, wide searches, and large fan-out to subagents when the harness has them. Ask each for a short conclusion with file paths.
- Do not reread a file you just edited. Do not repeat a search you already ran.
## Before you say done
- Show evidence in the same message as the claim: the command you ran and the result. "It compiles" is not proof that it works.
- Label each claim as measured, inferred, or guessed.
- If a check failed or you skipped one, say so plainly.
- Run ds-review-loop on nontrivial diffs before you report.
## The final report
- Open with the goal in one line.
- List what changed, with exact file paths.
- List the checks you ran and their results.
- List open issues or blockers.
- Keep it short. Use plain sentences. Apply ds-unslop to the report and to any comments you wrote.
## Comments in code
Write a comment only to explain a reason the code cannot show. Delete comments that narrate what the next line does.