Source profileQuality 86/100

zhu1090093659/deepseek-pp/docs/archives/deepseek-automation/skill/SKILL.md

deepseek-automation

Use when implementing, resuming, reviewing, or verifying the DeepSeek++ Codex-style automation feature in this repository. Covers reading docs/progress/MASTER.md, following GitHub Issues

Source repository stars
1,453
Declared platforms
1
Static risk flags
1
Last source update
2026-08-05
Source checked
2026-08-05

Decision brief

What it does—and where it fits

Use this project-local skill for the DeepSeek++ automation implementation. The feature goal is: create Codex-style automations that can run immediately in a new DeepSeek chat session and then continue in that same automation session on a cron/RRULE-like schedule.

Best for

  • Use when implementing, resuming, reviewing, or verifying the DeepSeek++ Codex-style automation feature in this repository.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexDeclaredSource recordInstall path and trigger
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/zhu1090093659/deepseek-pp --skill "docs/archives/deepseek-automation/skill"
Safe inspection promptEditorial

Inspect the Agent Skill "deepseek-automation" from https://github.com/zhu1090093659/deepseek-pp/blob/f4c72a2e3c6732c7166c5cba68936edea5fc6808/docs/archives/deepseek-automation/skill/SKILL.md at commit f4c72a2e3c6732c7166c5cba68936edea5fc6808. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    P - Ports over Implementation

    From Hexagonal Architecture.

    Define interface contracts (data structures, JSON Schema) before writing implementationUse intermediate formats (JSON files, standard data structures) to isolate upstream from downstreamSwapping a data source, a rendering layer, or a notification channel requires zero changes to core logic
  2. 02

    S.U.P.E.R Code Review Checklist

    Run this before marking any task done.

    The touched files each have one clear responsibility.New automation logic is not dumped into fetch-hook.ts, content.ts, or background.ts when a focused module would do.Data flows sidepanel/alarm - background - content - main-world - result without circular imports.
  3. 03

    Phase Guidance

    Phase 1: implement contracts, store, and schedule calculation first.

    Phase 1: implement contracts, store, and schedule calculation first.Phase 2: add scheduler and bridge; keep the main-world runner isolated.Phase 3: add Automation UI after store contracts are stable.
  4. 04

    DeepSeek Automation

    Use this project-local skill for the DeepSeek++ automation implementation. The feature goal is: create Codex-style automations that can run immediately in a new DeepSeek chat session and then continue in that same automation session on a cron/RRULE-like schedule.

    Read docs/progress/MASTER.md.Confirm tracking mode. Current mode is GITHUBSTANDARD.Query GitHub before starting work:
  5. 05

    Start Every Session

    1. Read docs/progress/MASTER.md. 2. Confirm tracking mode. Current mode is GITHUBSTANDARD. 3. Query GitHub before starting work:

    Read docs/progress/MASTER.md.Confirm tracking mode. Current mode is GITHUBSTANDARD.Query GitHub before starting work:

Permission review

Static risk signals and limitations

Network access

medium · line 27

The documentation includes network, browsing, or remote request actions.

Do not rely on background-only `fetch('/api/v0/chat/completion')` for MVP; DeepSeek web completion has challenge/proof-of-work behavior.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score86/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars1,453SourceRepository attention, not individual Skill quality
Compatibility1 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
zhu1090093659/deepseek-pp
Skill path
docs/archives/deepseek-automation/skill/SKILL.md
Commit
f4c72a2e3c6732c7166c5cba68936edea5fc6808
License
Apache-2.0
Collected
2026-08-05
Default branch
main
View the original SKILL.md

DeepSeek Automation

Use this project-local skill for the DeepSeek++ automation implementation. The feature goal is: create Codex-style automations that can run immediately in a new DeepSeek chat session and then continue in that same automation session on a cron/RRULE-like schedule.

Start Every Session

  1. Read docs/progress/MASTER.md.
  2. Confirm tracking mode. Current mode is GITHUB_STANDARD.
  3. Query GitHub before starting work:
gh issue list -R zhu1090093659/deepseek-pp --label "spec-driven" --state open --json number,title,labels,milestone
  1. Pick the next open issue in dependency order unless the user names a task.
  2. Read the selected Issue body and linked local docs under docs/analysis/ and docs/plan/.
  3. Update docs/progress/MASTER.md Current Status at session start and end.

Architecture Rules

  • Keep scheduling in background code.
  • Keep actual DeepSeek request execution in the DeepSeek page main-world context.
  • Use content script only as a narrow bridge between background and main world.
  • Do not add automation business logic directly into fetch-hook.ts unless the task is explicitly about hook compatibility.
  • Prefer new focused files under core/automation/.
  • Do not rely on background-only fetch('/api/v0/chat/completion') for MVP; DeepSeek web completion has challenge/proof-of-work behavior.
  • Preserve existing memory, skill, preset, and tool-call behavior unless the Issue explicitly changes it.

DeepSeek Web Facts

Verified on 2026-05-21:

  • Completion endpoint: /api/v0/chat/completion.
  • History endpoint: /api/v0/chat/history_messages.
  • Completion request fields include chat_session_id, parent_message_id, model_type, prompt, ref_file_ids, thinking_enabled, search_enabled, action, and preempt.
  • New session and same-session continuation work from the web UI.
  • Reload restores the automation test session from history.
  • Persist the latest valid parent message id after every run and reconcile it against history.

S.U.P.E.R Principles

S - Single Purpose

From Unix philosophy.

  • Each module, file, and function solves exactly one problem
  • Prefer decomposition; power comes from composition
  • One skill does one thing, one worker does one thing, one script does one thing

Litmus test: if you cannot describe a module's responsibility in a single sentence, it needs to be split.

Anti-pattern: a script that fetches data, computes metrics, renders charts, and sends notifications.

Correct approach:

fetch_data.py  -> data retrieval only, outputs JSON
compute.py     -> computation only, reads JSON writes JSON
render.py      -> rendering only, reads JSON generates HTML
notify.py      -> notification only, reads JSON calls webhook

U - Unidirectional Flow

From Clean Architecture.

  • Data always flows in one direction: input -> processing -> output
  • Dependencies always point inward: outer layers depend on inner layers, inner layers know nothing about outer layers
  • No reverse dependencies, no circular calls

Layered model:

+-------------------------------+
|  Infrastructure (API, DB, UI) |  <- outermost, replaceable at will
+-------------------------------+
|  Adapters (transform, format) |
+-------------------------------+
|  Core business (pure logic)   |  <- innermost, zero external deps
+-------------------------------+

Litmus test: can the core logic run unit tests with zero external services? If not, the dependency direction is wrong.

P - Ports over Implementation

From Hexagonal Architecture.

  • Define interface contracts (data structures, JSON Schema) before writing implementation
  • Use intermediate formats (JSON files, standard data structures) to isolate upstream from downstream
  • Swapping a data source, a rendering layer, or a notification channel requires zero changes to core logic

Practices:

  1. Every module's input and output must be a serializable data structure
  2. Module boundaries communicate via JSON files or standard data structures; in-process typed objects are fine, but cross-module interfaces must be serializable
  3. Define explicit schemas - not "just read the code to figure out the format"

E - Environment-Agnostic

From 12-Factor App.

  • Configuration injected via environment variables or config files, never hardcoded
  • All dependencies explicitly declared (requirements.txt / package.json), no implicit reliance on global system packages
  • Processes are stateless; all persistence delegated to external storage
  • Logs go to stdout, not to files
  • Same codebase runs on local machine, Cloudflare Workers, VPS, Docker

Configuration precedence:

Environment variables > .env file > config.json > in-code defaults

Checklist:

  • All API keys and webhook URLs read from environment variables?
  • All dependencies explicitly declared in a dependency file?
  • No hardcoded file path assumptions?
  • Can a different machine run this code with zero modifications?

R - Replaceable Parts

The natural consequence and ultimate goal of S + U + P + E.

  • Any layer can be replaced without affecting others
  • Replacement cost is the core metric of architecture quality
  • If replacing one component triggers cascading changes in unrelated modules, the architecture is broken

Replacement matrix:

ReplacingImpact scopeCorrect approach
Data source APIAdapter layer onlyWrite new fetcher, output same JSON
Frontend rendererRender layer onlyRead same JSON, swap render implementation
Notification channelNotification layerSwap webhook adapter
Deployment platformDeploy config onlyChange wrangler.toml or Dockerfile
Programming languageImplementation onlyJSON contracts unchanged, rewrite in any language

S.U.P.E.R Code Review Checklist

Run this before marking any task done.

  1. The touched files each have one clear responsibility.
  2. New automation logic is not dumped into fetch-hook.ts, content.ts, or background.ts when a focused module would do.
  3. Data flows sidepanel/alarm -> background -> content -> main-world -> result without circular imports.
  4. Cross-boundary messages have explicit TypeScript contracts.
  5. Persisted objects are serializable and migration-friendly.
  6. DeepSeek-specific behavior is isolated behind runner/history helpers.
  7. Chrome-specific behavior is isolated behind background/tab orchestration helpers.
  8. Errors are structured enough for run history and UI display.
  9. The implementation can be tested or type-checked without a live DeepSeek page where possible.
  10. npm run compile passes, or the blocking reason is recorded.

Scoring rule: all pass = proceed; 1-2 fail = fix first; 3+ fail = stop and refactor.

Phase Guidance

  • Phase 1: implement contracts, store, and schedule calculation first.
  • Phase 2: add scheduler and bridge; keep the main-world runner isolated.
  • Phase 3: add Automation UI after store contracts are stable.
  • Phase 4: add tab/login failure handling, timeouts, retry/missed-run policy, and prompt injection compatibility.
  • Phase 5: verify live DeepSeek behavior and document limitations.

Progress and Telemetry

For every completed Issue:

  1. Comment on the GitHub Issue with actual effort, S.U.P.E.R score, unplanned dependency count, files changed, and verification.
  2. Update docs/progress/MASTER.md Current Status and phase counts if needed.
  3. If a drift threshold in the milestone description is reached, stop and replan before continuing.

Archive Trigger

When all GitHub Issues are closed and all milestones are complete, enter archive mode:

  1. Move docs/analysis/, docs/plan/, and docs/progress/ into docs/archives/deepseek-automation/.
  2. Move this skill to docs/archives/deepseek-automation/skill/SKILL.md.
  3. Update docs/archives/README.md.
  4. Close milestones if they are still open.

Alternatives

Compare before choosing