Tabbit
ResourcesBlogModels
Tabbit LogoTabbit

Tabbit — The AI Browser that Works for You

Topics

  • AI Browser Resources
  • Agentic Browser Resources
  • Browser Downloads and Install Guides
  • Browser Comparisons
  • AI Browser Alternatives
  • Browser Productivity Resources

Popular Guides

  • AI Browser
  • Agentic Browser Download
  • Best AI Browser 2026: Top 9 Tested & Ranked
  • AI Browser Download
  • Free AI Browser
  • Best AI Browser 2026
  • AI Browser Comparison 2026
  • AI Browser for Windows
  • AI Browser for Mac
  • Chrome Alternative 2026

Events

  • Tabbit Skill Competition
  • KPOP SBTI Fandom Personality Test
  • Tabbit Campus Creator Program
  • fifi's Picks: AI Skills for Research Papers
  • User Survey

About

  • Tabbit Blog
  • Press & Media
Prompt guide
CommunityDeepSeek V4 Pro

CodeWhale v4 best practices: Multi-step Agent workflow in V4 thinking mode

Original source

GitHub (repository Hmbown/CodeWhale, path crates/tui/assets/skills/v4-best-practices/SKILL.md)

AuthorHmbown (CodeWhale project, a community open-source coding Agent TUI)

Tabbit curation2026-09-08

Read original

One-sentence takeaway

A community Agent skill that defines three executable rules for multi-step tasks in V4 thinking mode—verify before citing, dispatch a flash sub-agent for verification before executing across multiple files, and require path:line in plan output—each mapped to an observable failure class.

Use cases

  • Good fit: Multi-file, multi-step coding planning and execution with V4-Pro; preventing edits to nonexistent paths, hallucinated symbols, and execution failures caused by vague plans; Agent environments with grep/read tools.

  • Poor fit: Small single-file changes and simple Q&A that do not require a plan; environments without file search/read tools (rules 1 and 3 depend on grep_files/read_file); pure-generation scenarios with thinking disabled.

  • Applicable model version: deepseek-v4-pro (primary model), deepseek-v4-flash (verification sub-agent, with thinking disabled).

  • Applicable client, Agent, or API: Agent frameworks that support sub-agents and tool calls; the original example uses agent syntax similar to Claude Code/CodeWhale.

  • Recommended reasoning tier and parameters: Enable thinking for the primary model; use flash with thinking disabled for the sub-agent to perform low-cost verification.

Directly usable content

Full rule text (original, verified word for word at collection):

## 1. Verify references before writing
Before referencing a file path, function, or type in code or plan output,
call `grep_files` or `read_file` to confirm it exists in the workspace.

# Bad:  edit_file path="src/config/loader.rs" (assumed from memory)
# Good: grep_files pattern="pub fn load_config" → confirms src/config/mod.rs:42
#        then reference src/config/mod.rs:42

Failure avoided: `edit_file` errors on non-existent paths; LSP diagnostics
on hallucinated symbols.

## 2. Spawn a verifier sub-agent before multi-file execution
Before executing a plan that touches 3+ files, spawn a `deepseek-v4-flash`
sub-agent (thinking off) to read the target files and confirm path/symbol
assumptions still hold.

agent type="verifier" model="deepseek-v4-flash"
  prompt: "Read these files and confirm: [list assumptions]. Report mismatches."

Failure avoided: multi-step edits fail partway because file structure
changed since the plan was drafted.

## 3. Plan output must use confirmed path:line references
In plan-mode output, replace vague location pointers with `path:line`
references drawn from a prior `grep_files` result.

# Bad:  "Update the retry logic in the client module"
# Good: "Update retry loop at crates/tui/src/client.rs:187"

Failure avoided: agent-mode execution cannot locate the intended edit
target when plan directions are imprecise.

Test/workflow steps

  1. Trigger condition: Enable this skill when the model is in thinking mode and the task is multi-step or plan-driven.

  2. Before writing code or a plan, verify every referenced path, function, or type with grep_files or read_file (rule 1).

  3. When a plan involves 3 or more files, first dispatch a deepseek-v4-flash verifier sub-agent with thinking disabled to confirm each assumption and report mismatches (rule 2).

  4. Always use verified path:line references in plan output; prohibit vague location descriptions (rule 3).

  5. Verify again after execution: check whether edits landed in the target files/lines and whether any symbols were hallucinated; if there is a failure, identify the failure class using the rules and correct it.

Original evidence and data

  • The complete SKILL.md is approximately 1.7 KB and contains only the three rules above; each rule includes its own Bad/Good example and a “Failure avoided” explanation.

  • The file frontmatter states the applicability condition: “Use when working with deepseek-v4-pro or deepseek-v4-flash in thinking mode on multi-step or plan-driven tasks”.

  • The project is an open-source repository, and this file is a built-in skill asset; it includes no benchmark or empirical results, so the effects of the rules require independent validation.

Limitations of applicability

  • This is a skill embedded in a community project, not an official DeepSeek resource; the grep_files/edit_file/agent type= syntax follows the project's conventions and must be adapted when migrated to other Agent environments.

  • The rules are designed for failures in multi-step, plan-driven tasks and do not cover conversation quality, creativity, or single-file tasks.

  • No success-rate data from real projects has been published for these rules; the three rules are empirical constraints, not statistically validated evaluation findings.

Source excerpt or observation (for compliant short quotation only)

The file states: “Rules for multi-step V4 thinking-mode workflows. Each rule prevents a specific, observable failure class.”

Curated by Tabbit

Prompt material is summarized from public sources and Tabbit editorial notes. Check the original licensing and intended use before copying it.

DeepSeek V4 Pro

Use in Tabbit

DeepSeek V4 Pro

Related prompts

OfficialDeepSeek API Docs

DeepSeek-V4-Pro Thinking Levels and Tool-Calling Workflow

OfficialDeepSeek API Docs

DeepSeek-V4-Pro Responses Configuration Workflow in Codex

OfficialDeepSeek API Docs (Agent Integrations / Claude Code)2026-08-13

DeepSeek-V4-Pro 1M Context Environment Variable Configuration Workflow in Claude Code

OfficialGitHub (the official deepseek-ai/deepseek-harness repository) and the official X account @deepseekai2026-08-13

DeepSeek Harness v0.1: Launching and Configuring the Official Plugin-Based Agent Framework

DeepSeek V4 Pro

Related reviews

OfficialDeepSeek API Docs2026-08-13

DeepSeek-V4-Pro Official Release: Reasoning and Agent Upgrades

MediaMindStudio2026-08-13

DeepSeek-V4-Pro-0813: MindStudio's Eight-Task Coding and Agent Hands-on Comparison

MediaReuters2026-08-13

Reuters DeepSeek-V4-Pro-0813: Official Pricing vs. Independent Index

MediaXSCT Bench (xsctbench.com, scenario-based model-selection evaluation)

DeepSeek-V4-Pro XSCT Bench Two-Case Comparison: Strong Planning, Weak Clarification