dsh-ecc-skills 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md ADDED
@@ -0,0 +1,80 @@
1
+ # dsh-ecc
2
+
3
+ [![npm version](https://img.shields.io/npm/v/dsh-ecc-skills)](https://www.npmjs.com/package/dsh-ecc-skills)
4
+ [![GitHub release](https://img.shields.io/github/v/release/gongyijie85/dsh-ecc)](https://github.com/gongyijie85/dsh-ecc/releases)
5
+ [![CI](https://github.com/gongyijie85/dsh-ecc/actions/workflows/ci.yml/badge.svg)](https://github.com/gongyijie85/dsh-ecc/actions/workflows/ci.yml)
6
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
7
+
8
+ <div align="center">
9
+
10
+ **English** | [简体中文](README.md)
11
+
12
+ </div>
13
+
14
+ [affaan-m/ECC](https://github.com/affaan-m/ECC) (the ~227k⭐ "operator system",
15
+ 285 skills) skills for the **DeepSeek Harness (DSH)** — a progressive port to
16
+ DSH's Cordis plugin architecture.
17
+
18
+ > **Unofficial port**: skill content adapted from
19
+ > [affaan-m/ECC](https://github.com/affaan-m/ECC) (MIT, © Affaan Mustafa).
20
+ > ECC's Claude Code-specific infrastructure (agents/hooks/commands/mcp-configs)
21
+ > is not part of this package.
22
+
23
+ ## Install
24
+
25
+ ```sh
26
+ # npm (the plain `dsh-ecc` npm name is taken by another project; this port
27
+ # publishes as dsh-ecc-skills)
28
+ dsh plugin --profile web add dsh-ecc-skills
29
+
30
+ # GitHub
31
+ dsh plugin --profile web add github:gongyijie85/dsh-ecc
32
+
33
+ # Local folder (development)
34
+ dsh plugin --profile web add D:\plugins\dsh-ecc
35
+ ```
36
+
37
+ Restart the profile (`dsh web`) — the skills then load with the `skill` tool.
38
+
39
+ ## Port status: 273 / 285 skills (95.8%)
40
+
41
+ - **v0.1.0** ✅ 20 skills — engineering methodology, agent systems, foundations
42
+ - **v0.2.0** ✅ 68 skills — framework/language patterns (react, vue, django,
43
+ laravel, springboot, quarkus, kotlin, swift, go, rust, ...), data &
44
+ architecture
45
+ - **v0.3.0** ✅ 50 skills — orchestration/automation/ops (orch-* six-pack,
46
+ council, dev-team, e2e-testing, browser-qa, repo-scan, benchmark series,
47
+ budget advisors, canary-watch, production-audit, ...)
48
+ - **v0.4.0** ✅ 135 skills — vertical domains (healthcare, homelab, scientific,
49
+ finance, design/content, network ops, supply chain, marketing, research &
50
+ data)
51
+ - **Not ported (12)**: 6 skills depending on `/ecc:*` commands/hooks
52
+ (ecc-guide, ecc-recipes, gateguard, plan-orchestrate, strategic-compact,
53
+ continuous-learning-v2) and 7 with companion files — unless a hooks/commands
54
+ bridge layer is built later.
55
+
56
+ ## Adaptation notes
57
+
58
+ - `skills/<name>/SKILL.md` copied verbatim (standard format, frontmatter carries
59
+ `metadata.origin: ECC`).
60
+ - Zero harness-specific references in all 273 ported skills; only 2 command
61
+ references were renamed to DSH bare names in v0.1 (`/bug-check` →
62
+ `bug-check`, `/prompt-optimize` → `prompt-optimizer`).
63
+ - Skill identity comes from the frontmatter `name` (e.g. the five
64
+ `scientific-*` directories expose `pubmed-database`, `uspto-database`,
65
+ `gget`, `literature-review`, `scholar-evaluation`).
66
+ - All skills model+user invocable. Provider parses folded YAML frontmatter
67
+ natively; zero runtime dependencies.
68
+
69
+ ## How it works / adding skills
70
+
71
+ Host-layer `ctx.skills.registerProvider` (same pattern as
72
+ [mattpocock-skills-dsh](https://github.com/gongyijie85/mattpocock-skills-dsh)).
73
+ Drop a `skills/<kebab-name>/SKILL.md` and it is auto-discovered. Verify with
74
+ `npm run verify` (273/273).
75
+
76
+ ## License
77
+
78
+ MIT. Skill content © Affaan Mustafa
79
+ ([ECC](https://github.com/affaan-m/ECC)); DSH port © dsh-ecc contributors. See
80
+ [LICENSE](LICENSE).
package/README.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # dsh-ecc
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/dsh-ecc-skills)](https://www.npmjs.com/package/dsh-ecc-skills)
4
+ [![GitHub release](https://img.shields.io/github/v/release/gongyijie85/dsh-ecc)](https://github.com/gongyijie85/dsh-ecc/releases)
5
+ [![CI](https://github.com/gongyijie85/dsh-ecc/actions/workflows/ci.yml/badge.svg)](https://github.com/gongyijie85/dsh-ecc/actions/workflows/ci.yml)
6
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
7
+
8
+ <div align="center">
9
+
10
+ [English](README.en.md) | **简体中文**
11
+
12
+ </div>
13
+
3
14
  把 [affaan-m/ECC](https://github.com/affaan-m/ECC)(~227k⭐ 的"操作员系统",285 个
4
15
  技能)渐进移植到 **DeepSeek Harness (DSH)** 的 Cordis 插件架构。
5
16
 
package/cordis.patch.yml CHANGED
@@ -2,4 +2,4 @@
2
2
  # registry (host-plane rows, merged into every agent preset's scope chain).
3
3
  - insert:
4
4
  - id: dsh-ecc
5
- name: 'dsh-ecc'
5
+ name: 'dsh-ecc-skills'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-ecc-skills",
3
- "description": "ECC (227k-star operator system) skills for DeepSeek Harness — progressive port: v0.1 ships 20 curated single-file skills (agentic engineering, evaluation, testing, patterns, docs); 270+ more follow. Adapted from affaan-m/ECC (MIT)",
4
- "version": "0.4.0",
3
+ "description": "ECC (227k-star operator system) skills for DeepSeek Harness — progressive port of 274 curated single-file skills (agentic engineering, evaluation, testing, patterns, vertical domains, docs). Adapted from affaan-m/ECC (MIT)",
4
+ "version": "0.5.0",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "main": "lib/index.js",
@@ -14,6 +14,7 @@
14
14
  "skills",
15
15
  "cordis.patch.yml",
16
16
  "README.md",
17
+ "README.en.md",
17
18
  "LICENSE"
18
19
  ],
19
20
  "license": "MIT",
@@ -0,0 +1,383 @@
1
+ ---
2
+
3
+ name: tasteforge-video
4
+
5
+ description: Use for file-driven multimodal image, video, and 3D-asset discovery; taste interviews; distill or apply workflows; style-pack validation; editable EDL/FCPXML export; provenance audits; and offline planning that must fail closed before provider generation.
6
+
7
+ metadata:
8
+
9
+ origin: ECC
10
+
11
+ ---
12
+
13
+
14
+
15
+ # TasteForge Video
16
+
17
+
18
+
19
+ TasteForge turns "make it feel like this reference" into a repeatable,
20
+
21
+ inspectable workflow: interview taste, distill it into a structured style
22
+
23
+ pack, validate the pack, apply its measured cadence and look to local media,
24
+
25
+ and export an editable timeline. The canonical implementation is the
26
+
27
+ `tasteforge` package in the Itô video repository; ECC orchestrates and
28
+
29
+ explains it and does not vendor or duplicate its code.
30
+
31
+
32
+
33
+ ## When to Use
34
+
35
+
36
+
37
+ - The user asks to **interview for video taste** before any footage is made
38
+
39
+ ("ask me about the look", "interview me about aesthetic direction").
40
+
41
+ - The user wants to **distill an aesthetic into structured constraints** — a
42
+
43
+ reusable style pack rather than vibes ("turn these references into a pack").
44
+
45
+ - The user wants to **validate a style pack** (is the metadata complete,
46
+
47
+ schema-valid, cadence measured, spec distilled?).
48
+
49
+ - The user wants to **apply a style pack to local footage** — plan a cut from
50
+
51
+ the pack's measured cadence over local clips, deterministically.
52
+
53
+ - The user wants to **export EDL/FCPXML** — an editable, frame-exact handoff
54
+
55
+ to DaVinci Resolve / Premiere / Final Cut.
56
+
57
+ - The user asks for a **generated-media provenance audit** — where did this
58
+
59
+ pack, spec, or cut come from; what was measured locally versus generated by
60
+
61
+ a provider; what was dry-run.
62
+
63
+ - The user asks to **discover or plan file-driven multimodal image, video, or
64
+
65
+ 3D-asset outputs** from local reference files, including separate manifests,
66
+
67
+ subject-anchored CV effects, or Resolve effect recipes.
68
+
69
+ - The user mentions TasteForge, style packs, flashethereal, taste distillation,
70
+
71
+ cadence/rhythm planning, multimodal discovery, distill/apply workflows, or a
72
+
73
+ taste interview for video.
74
+
75
+
76
+
77
+ ## Local Deterministic Operations vs Provider Generation
78
+
79
+
80
+
81
+ This boundary is the core of the skill. Everything ECC can actually run is
82
+
83
+ **local, deterministic, and offline**:
84
+
85
+
86
+
87
+ | Operation | Deterministic? | ECC may run |
88
+
89
+ |---|---|---|
90
+
91
+ | Taste interview → profile | yes (offline) | yes |
92
+
93
+ | Pack inspect / validate against schemas | yes | yes |
94
+
95
+ | Distill profile (+ measured grounding) → spec | yes (dry-run semantics) | yes |
96
+
97
+ | Apply pack cadence to local media → report + timeline | yes | yes |
98
+
99
+ | Export EDL (CMX3600) / FCPXML 1.9 | yes | yes |
100
+
101
+ | Provenance / lineage report | yes | yes |
102
+
103
+ | Vision-model distillation of stills | **provider generation** | **no** |
104
+
105
+ | Reference-to-video, image-to-3D, hosted compose | **provider generation** | **no** |
106
+
107
+
108
+
109
+ **Provider generation must fail closed in ECC.** Any live Fal (or other
110
+
111
+ provider) call — generating shots, minting prop meshes, hosted VLM
112
+
113
+ distillation — requires explicit separately authorized execution under a
114
+
115
+ separate lane with its own review. ECC never calls Fal, never reads any API
116
+
117
+ key or other credentials (`FAL_KEY` included), uploads no media, and mutates
118
+
119
+ no provider account state. When a request needs provider generation, state
120
+
121
+ exactly that boundary, run the local half (interview, pack validation,
122
+
123
+ planning, export), and stop.
124
+
125
+
126
+
127
+ **Never claim a Fal workflow is saved.** A local reference to a Fal endpoint,
128
+
129
+ model id, or dry-run URL (they appear inside pack metadata) is
130
+
131
+ **reference-only**: it never means a provider-side workflow was saved,
132
+
133
+ persisted, or is authorized to run. Anything produced offline carries
134
+
135
+ dry-run/dry_run semantics — say "dry-run spec" or "deterministic plan", never
136
+
137
+ "generated by the model".
138
+
139
+
140
+
141
+ ## Canonical Implementation
142
+
143
+
144
+
145
+ - Repository: `Ito-Markets/ito-video` — find it under the workspace's
146
+
147
+ canonical local GitHub checkout root (never a hard-coded machine path);
148
+
149
+ package directory `tasteforge/`.
150
+
151
+ - CLI: `python3 -m tasteforge <command>` — `provenance`, `inspect`, `validate`,
152
+
153
+ `interview`, `distill`, `apply`, `export`, `multimodal`. `--live` flags exit
154
+
155
+ with code 2 and refuse.
156
+
157
+ - Schemas are the contract: taste profile, pack manifest, grade, cadence,
158
+
159
+ spec, timeline events, application reports (`provider` is enum-locked to
160
+
161
+ `"none"`; `dry_run` to `true`).
162
+
163
+ - Recovered-source lineage and deliberate exclusions live in the repo's
164
+
165
+ `PROVENANCE.md`. Run `python3 -m tasteforge provenance` for the machine-
166
+
167
+ readable version.
168
+
169
+
170
+
171
+ ECC's job is to route here, run the local deterministic commands, and
172
+
173
+ interpret their JSON — not to reimplement cadence planning, LUT/grade
174
+
175
+ statistics, or timeline emission. If the canonical package is absent, say so
176
+
177
+ and stop; do not reconstruct its logic inline.
178
+
179
+
180
+
181
+ ## Workflow
182
+
183
+
184
+
185
+ 1. **Interview** (`interview`): collect answers for the look axes — palette,
186
+
187
+ grain, lighting, focal length, camera motion, subject framing, grade,
188
+
189
+ mood adjectives, avoid list — and separately the content brief. Keep look
190
+
191
+ and content separate; merging them is the classic failure.
192
+
193
+ 2. **Distill** (`distill`): map the profile onto the spec schema offline,
194
+
195
+ embedding the pack's measured grounding (black/white point, contrast,
196
+
197
+ per-zone chroma, palette, cut rhythm) when a pack is supplied. The result
198
+
199
+ is a dry-run spec: deterministic, provider `"none"`.
200
+
201
+ 3. **Validate** (`validate` / `inspect`): check the pack against its schemas;
202
+
203
+ report errors vs warnings (missing stills in a metadata-only pack are a
204
+
205
+ warning, not an error).
206
+
207
+ 4. **Apply** (`apply`): plan shot durations from the pack's measured cadence
208
+
209
+ (seeded, deterministic) over the user's local clips; produce the
210
+
211
+ application report and frame-exact timeline events.
212
+
213
+ 5. **Export** (`export`): write CMX3600 EDL + FCPXML 1.9 with rational,
214
+
215
+ NTSC-safe times for import into a real NLE.
216
+
217
+ 6. **Audit** (`provenance`): report lineage — recovered-source digests,
218
+
219
+ generation history, fixture provenance, provider references as
220
+
221
+ pointer-only records.
222
+
223
+
224
+
225
+ ## File-Driven Multimodal Contract
226
+
227
+
228
+
229
+ Use this path when local references must drive dry-run generation plans for
230
+
231
+ image, video, and 3D-asset outputs while preserving genre separation:
232
+
233
+
234
+
235
+ ```bash
236
+
237
+ python3 -m tasteforge multimodal --config workflow.json --out-dir out/multimodal
238
+
239
+ ```
240
+
241
+
242
+
243
+ The config names numbered genres and local evidence files. Keep these candidate
244
+
245
+ genres distinct rather than blending them into one generic aesthetic:
246
+
247
+
248
+
249
+ 1. Flash Ethereal
250
+
251
+ 2. 3D Cyber Glitch
252
+
253
+ 3. Fluid Sketch
254
+
255
+
256
+
257
+ The command measures local references with ffprobe/ffmpeg and emits one style
258
+
259
+ spec per genre, separate image, video, and 3D-asset manifests, provenance, and
260
+
261
+ a Resolve effect recipe. The effect schedule must be seeded aperiodic. CV
262
+
263
+ effects require a real subject anchor whose exact lost-track policy is
264
+
265
+ `disable_effect_until_track_recovers`; `continue_without_anchor` and every
266
+
267
+ other policy fail closed. Every effect carries placement constraints that
268
+
269
+ preserve faces and readable type and prevent decorative corner meshes from
270
+
271
+ replacing full-frame 3D work.
272
+
273
+
274
+
275
+ The returned receipt is the bundle boundary. It binds every emitted evidence
276
+
277
+ artifact by relative path, byte size, SHA-256, genre, modality,
278
+
279
+ `provider_execution:false`, and exact reference/time provenance. The receipt
280
+
281
+ requires `provider_calls:0` as an exact integer (the JSON boolean `false` is
282
+
283
+ invalid), `provider_execution:false`, and `dry_run:true`. Every genre spec also
284
+
285
+ requires explicit `dry_run:true`. The Resolve effect recipe requires that same
286
+
287
+ exact integer `provider_calls:0`, `provider_execution:false`, and `dry_run:true`.
288
+
289
+ Every modality manifest and every nested request must contain all four exact
290
+
291
+ fail-closed fields: integer `provider_calls:0`, `provider_execution:false`,
292
+
293
+ `dry_run:true`, and `submit:false`; each request also requires
294
+
295
+ `provider_call_mode:"disabled"`. A missing field is a rejection, not a default,
296
+
297
+ and `dry_run:false` must be rejected before output is written.
298
+
299
+
300
+
301
+ Treat booleans as invalid numbers everywhere in timeline, evidence, probe, and
302
+
303
+ source-duration data. Every such numeric value must be a finite real: reject
304
+
305
+ `true`, `false`, NaN, infinities, negative event starts, non-positive durations,
306
+
307
+ out-of-range evidence times, and events ending beyond the declared finite
308
+
309
+ positive timeline. Whole-file evidence uses an explicit whole-file time basis
310
+
311
+ and never invents timestamps.
312
+
313
+
314
+
315
+ Receipt references are the duration authority. Key each validated reference
316
+
317
+ duration by its cited SHA-256; duplicate occurrences of one digest must agree
318
+
319
+ on duration or the bundle is invalid. Every effect evidence `source_duration`
320
+
321
+ and every subject-anchor `source_duration` must equal that digest's validated
322
+
323
+ receipt duration, not merely contain its cited time. Probe duration and all
324
+
325
+ probe measurements must describe the same stable bytes used for byte count and
326
+
327
+ SHA-256. If the source mutates while probing or rehashes differently while it
328
+
329
+ is still available, fail closed rather than emitting or accepting a receipt.
330
+
331
+
332
+
333
+ Always run bundle validation after creation. A missing image, video, or 3D-asset
334
+
335
+ manifest must fail closed. Genericized or duplicate genres, periodic schedules,
336
+
337
+ unanchored CV effects, missing placement constraints, provider-execution flags,
338
+
339
+ unbound output files, byte-size drift, or SHA-256 tampering must fail closed.
340
+
341
+ Reject output roots, intermediates, or artifacts that are symlinks, and reject
342
+
343
+ special files (including FIFOs and devices); outputs must remain regular files
344
+
345
+ under a real directory tree. If local `ffmpeg` or `ffprobe` is unavailable, the
346
+
347
+ CLI must return its bounded nonzero local-media-processing error without a
348
+
349
+ Python traceback. Do not repair a failed receipt by deleting evidence or
350
+
351
+ weakening validation.
352
+
353
+
354
+
355
+ ## Example Session
356
+
357
+
358
+
359
+ ```bash
360
+
361
+ # in the canonical ito-video checkout
362
+
363
+ python3 -m tasteforge validate stylepacks/flashethereal
364
+
365
+ python3 -m tasteforge interview --answers answers.json --genre flashethereal --out profile.json
366
+
367
+ python3 -m tasteforge distill --profile profile.json --pack stylepacks/flashethereal --out spec.json
368
+
369
+ python3 -m tasteforge apply --pack stylepacks/flashethereal --media media.json --duration 20 --out report.json
370
+
371
+ python3 -m tasteforge export --events events.json --out-dir out --title flashethereal-cut
372
+
373
+ python3 -m tasteforge provenance
374
+
375
+ ```
376
+
377
+
378
+
379
+ If the user asks for the shots to actually be generated: stop, explain the
380
+
381
+ fail-closed provider boundary, and deliver the deterministic plan, spec, and
382
+
383
+ editable timeline instead.