本文へ移動
cccskills
無料GitHub で公開

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

インストール方法を見る

含まれるファイル(2)

  • SKILL.md8.1 KB
  • agents/openai.yaml250 B

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

结构化深度讨论 Skill,用于与用户进行多轮问题分析和方案设计。当用户描述一个问题现象、故障表现、 技术困惑、方案选择困难,或明确说"讨论一下"、"帮我分析"、"我遇到一个问题"、"你觉得怎么样"、 "帮我想想"、"我在纠结"时,必须使用本 skill。当用户提供了一段描述(可能附带截图)并期望深入分析 而非直接给答案时,也应触发本 skill。即使用户只是抛出一个现象描述没有明确提问,也要使用本 skill 来引导结构化思考。不要在简单的事实查询("X是什么")或明确的执行指令("帮我写个脚本")上触发。

日本語の概要は準備中です。原文の説明を表示しています。

zhu1090093659/deepseek-pp1,8632026年8月14日 更新

morph-ppt

無料

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style transition', 'animated slide sequence', 'shape continuity across slides'. Output is a single .pptx. This skill is a scene layer on top of officecli-pptx — inherits every pptx v2 rule (visual floor, grid, palettes, connector canon, Delivery Gate 1–5a). DO NOT invoke for a generic deck, pitch deck, or board review without cross-slide motion — route those to officecli-pptx base or officecli-pitch-deck.

日本語の概要は準備中です。原文の説明を表示しています。

zhu1090093659/deepseek-pp1,8632026年8月14日 更新

3D Morph PPT — extends morph-ppt with GLB model insertion, cinematographic camera, model-content layout, and enriched visual design system.

日本語の概要は準備中です。原文の説明を表示しています。

zhu1090093659/deepseek-pp1,8632026年8月14日 更新

officecli

無料

Create, analyze, proofread, and modify Office documents (.docx, .xlsx, .pptx) using the officecli CLI tool. Use when the user wants to create, inspect, check formatting, find issues, add charts, or modify Office documents.

日本語の概要は準備中です。原文の説明を表示しています。

zhu1090093659/deepseek-pp1,8632026年8月14日 更新

Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper', 'conference paper', 'manuscript', 'thesis', 'APA', 'MLA', 'Chicago', 'IEEE two-column', 'bibliography', 'hanging indent', 'citation style', 'abstract + keywords', 'equation numbering', 'cross-reference', paper with footnotes/endnotes. Output is a single .docx.

日本語の概要は準備中です。原文の説明を表示しています。

zhu1090093659/deepseek-pp1,8632026年8月14日 更新

Use this skill to build a multi-element Excel dashboard — Dashboard sheet on open, multiple formula-driven KPI cards, multiple charts, sparklines, and conditional formatting — from CSV or tabular input. Trigger on: 'dashboard', 'KPI dashboard', 'analytics dashboard', 'executive dashboard', 'metrics dashboard', 'CSV to dashboard', 'data visualization'. Output is a single .xlsx. Scene-layer on officecli-xlsx: inherits every xlsx hard rule. DO NOT invoke for: a single budget tracker / one-sheet CSV-with-formatting (use xlsx), a 3-statement / DCF / LBO financial model (use financial-model), a weekly report with ≤ 1 chart and < 10 rows (use xlsx).

日本語の概要は準備中です。原文の説明を表示しています。

zhu1090093659/deepseek-pp1,8632026年8月14日 更新

zhu1090093659 のスキルをすべて見る

このスキルの問題を報告する