ds-mode
Skill80 starsChanged 15 days agoMITView on GitHub
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.
In this repository28 other files it gives its agents.
- ds-adoptSkill
- ds-best-of-nSkill
- ds-blast-radiusSkill
- ds-blueprintSkill
- ds-catchupSkill
- ds-context-resetSkill
- ds-design-auditSkill
- ds-designSkill
- ds-explainSkill
- ds-helpSkill
- ds-jurySkill
- ds-ledgerSkill
- ds-lessonsSkill
- ds-plan-loopSkill
- ds-pr-commentsSkill
- ds-principlesSkill
- ds-prSkill
- ds-readySkill
- ds-review-loopSkill
- ds-reviveSkill
- ds-sharpenSkill
- ds-shipSkill
- ds-swarmSkill
- ds-tddSkill
- ds-unslopSkill
- ds-unstickSkill
- ds-verify-loopSkill
- ds-watch-prSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 10 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Read the code you will touch before you edit it.
- Distinctive: line 14
If the evidence shows the requested change is wrong, show the evidence and stop.
- Distinctive: line 23
If the same fix fails twice, stop.
- Distinctive: line 28
Read files in the parts you need, not whole when a range will do.
- Distinctive: line 29
Keep summaries in your context, not raw output.
- Distinctive: line 31
Do not reread a file you just edited.
- Distinctive: line 37
If a check failed or you skipped one, say so plainly.
- Distinctive: line 38
Run ds-review-loop on nontrivial diffs before you report.
- Distinctive: line 46
Keep it short. Use plain sentences.
- Distinctive: line 50
Write a comment only to explain a reason the code cannot show.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

