feat(skills): add tasteforge-video skill for repeatable taste-driven video work

Curated skill delegating to the canonical tasteforge package in
Ito-Markets/ito-video: taste interviews, style-pack validation, offline
distillation with measured grounding, deterministic cadence application to
local footage, EDL/FCPXML export, and generated-media provenance audits.
Provider (Fal) generation requires explicit separately authorized execution
and fails closed in ECC; local references never mean a saved provider
workflow. Registered in the opt-in media-generation install module, npm
files, and catalog counts via scripts/ci/catalog.js. Contract tests cover
frontmatter/triggers, the fail-closed boundary, manifest and npm-packed
discoverability (real tarball check opt-in via ECC_TEST_NPM_PACK=1).
This commit is contained in:
affaan
2026-08-18 12:04:33 +00:00
parent 06c5e118c4
commit 9c450046be
12 changed files with 314 additions and 15 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
{
"name": "ecc",
"source": "./",
"description": "Harness-native ECC operator layer - 68 agents, 285 skills, 94 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses",
"description": "Harness-native ECC operator layer - 68 agents, 286 skills, 94 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses",
"version": "2.2.0",
"author": {
"name": "Affaan Mustafa",
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "ecc",
"version": "2.2.0",
"description": "Harness-native ECC plugin for engineering teams - 68 agents, 285 skills, 94 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses",
"description": "Harness-native ECC plugin for engineering teams - 68 agents, 286 skills, 94 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses",
"author": {
"name": "Affaan Mustafa",
"url": "https://x.com/affaanmustafa"
+2 -2
View File
@@ -1,6 +1,6 @@
# Everything Claude Code (ECC) — Agent Instructions
This is a **production-ready AI coding plugin** providing 68 specialized agents, 285 skills, 94 commands, and automated hook workflows for software development.
This is a **production-ready AI coding plugin** providing 68 specialized agents, 286 skills, 94 commands, and automated hook workflows for software development.
**Version:** 2.2.0
@@ -154,7 +154,7 @@ Troubleshoot failures: check test isolation → verify mocks → fix implementat
```
agents/ — 68 specialized subagents
skills/ — 285 workflow skills and domain knowledge
skills/ — 286 workflow skills and domain knowledge
commands/ — 94 slash commands
hooks/ — Trigger-based automations
rules/ — Always-follow guidelines (common + per-language)
+2 -2
View File
@@ -145,12 +145,12 @@ Instead of rebuilding that process in every prompt, you install it once and make
ECC is MIT-licensed open source. It works best with Claude Code today, has a supported Codex sync path, and provides capability-limited adapters for Cursor, OpenCode, Gemini, Zed, GitHub Copilot, Antigravity, Qwen, and other harnesses. See the [support status matrix](#platform-support) before assuming feature parity.
Access to 68 agents, 285 skills, and 94 legacy command shims, plus hooks, rules, memory, continuous learning, and AgentShield security scanning. The agents are specialized for planning, review, build repair, security, architecture, and domain work.
Access to 68 agents, 286 skills, and 94 legacy command shims, plus hooks, rules, memory, continuous learning, and AgentShield security scanning. The agents are specialized for planning, review, build repair, security, architecture, and domain work.
| Included | Count | What it gives you |
| ---------------- | ----------: | ------------------------------------------------------------------------------------ |
| Agents | 68 agents | Planning, review, build repair, security, architecture, and domain work |
| Skills | 285 skills | TDD, research, security, docs, frontend, data, ML, operations, and more |
| Skills | 286 skills | TDD, research, security, docs, frontend, data, ML, operations, and more |
| Commands | 94 commands | Convenient entry points while ECC moves to a skills-first surface |
| Hooks and memory | Runtime | Enforcement, session summaries, continuous learning, instincts, and context controls |
| Rules | Selective | Always-loaded standards you choose by language or project |
+1 -1
View File
@@ -196,7 +196,7 @@ Copy-Item -Recurse rules/typescript "$HOME/.claude/rules/"
/plugin list ecc@ecc
```
**完成!** 你现在可以使用 68 个代理、285 个技能和 94 个命令。
**完成!** 你现在可以使用 68 个代理、286 个技能和 94 个命令。
### multi-* 命令需要额外配置
+2 -2
View File
@@ -1,6 +1,6 @@
# Everything Claude Code (ECC) — Agent Talimatları
Bu, yazılım geliştirme için 68 özel agent, 285 skill, 94 command ve otomatik hook iş akışları sağlayan **üretime hazır bir AI kodlama eklentisidir**.
Bu, yazılım geliştirme için 68 özel agent, 286 skill, 94 command ve otomatik hook iş akışları sağlayan **üretime hazır bir AI kodlama eklentisidir**.
**Sürüm:** 2.2.0
@@ -142,7 +142,7 @@ Başarısızlık sorunlarını giderin: test izolasyonunu kontrol edin → mockl
```
agents/ — 68 özel subagent
skills/ — 285 iş akışı skillleri ve alan bilgisi
skills/ — 286 iş akışı skillleri ve alan bilgisi
commands/ — 94 slash command
hooks/ — Tetikleyici tabanlı otomasyonlar
rules/ — Her zaman uyulması gereken kurallar (ortak + dile özel)
+2 -2
View File
@@ -1,6 +1,6 @@
# Everything Claude Code (ECC) — 智能体指令
这是一个**生产就绪的 AI 编码插件**,提供 68 个专业代理、285 项技能、94 条命令以及自动化钩子工作流,用于软件开发。
这是一个**生产就绪的 AI 编码插件**,提供 68 个专业代理、286 项技能、94 条命令以及自动化钩子工作流,用于软件开发。
**版本:** 2.2.0
@@ -147,7 +147,7 @@
```
agents/ — 68 个专业子代理
skills/ — 285 个工作流技能和领域知识
skills/ — 286 个工作流技能和领域知识
commands/ — 94 个斜杠命令
hooks/ — 基于触发的自动化
rules/ — 始终遵循的指导方针(通用 + 每种语言)
+3 -3
View File
@@ -260,7 +260,7 @@ Copy-Item -Recurse rules/typescript "$HOME/.claude/rules/"
/plugin list ecc@ecc
```
**搞定!** 你现在可以使用 68 个智能体、285 项技能和 94 个命令了。
**搞定!** 你现在可以使用 68 个智能体、286 项技能和 94 个命令了。
***
@@ -1174,7 +1174,7 @@ opencode
|---------|---------------|----------|--------|
| 智能体 | PASS: 68 个 | PASS: 12 个 | **Claude Code 领先** |
| 命令 | PASS: 94 个 | PASS: 35 个 | **Claude Code 领先** |
| 技能 | PASS: 285 项 | PASS: 37 项 | **Claude Code 领先** |
| 技能 | PASS: 286 项 | PASS: 37 项 | **Claude Code 领先** |
| 钩子 | PASS: 8 种事件类型 | PASS: 11 种事件 | **OpenCode 更多!** |
| 规则 | PASS: 29 条 | PASS: 13 条指令 | **Claude Code 领先** |
| MCP 服务器 | PASS: 14 个 | PASS: 完整 | **完全对等** |
@@ -1282,7 +1282,7 @@ ECC 是**第一个最大化利用每个主要 AI 编码工具的插件**。以
|---------|-----------------------|------------|-----------|----------|
| **智能体** | 68 | 共享 (AGENTS.md) | 共享 (AGENTS.md) | 12 |
| **命令** | 94 | 共享 | 基于指令 | 35 |
| **技能** | 285 | 共享 | 10 (原生格式) | 37 |
| **技能** | 286 | 共享 | 10 (原生格式) | 37 |
| **钩子事件** | 8 种类型 | 15 种类型 | SessionStart1 种类型) | 11 种类型 |
| **钩子脚本** | 20+ 个脚本 | 16 个脚本 (DRY 适配器) | 1 个 SessionStart 引导脚本 | 插件钩子 |
| **规则** | 34 (通用 + 语言) | 34 (YAML 前页) | 基于指令 | 13 条指令 |
+2 -1
View File
@@ -705,7 +705,8 @@
"skills/ui-demo",
"skills/video-editing",
"skills/videodb",
"skills/taste"
"skills/taste",
"skills/tasteforge-video"
],
"targets": [
"claude",
+1
View File
@@ -422,6 +422,7 @@
"skills/santa-method/",
"skills/social-publisher/",
"skills/taste/",
"skills/tasteforge-video/",
"skills/tinystruct-patterns/",
"skills/uncloud/",
"skills/vite-patterns/",
+123
View File
@@ -0,0 +1,123 @@
---
name: tasteforge-video
description: Use when a user wants a taste interview for video work, to distill a visual aesthetic into structured, reusable constraints (a style pack), to validate or audit a style pack, to apply a pack's measured cadence and look to local footage, or to export an editable EDL/FCPXML cut. Also for auditing generated-media provenance and for deciding what is local-deterministic versus provider generation. All ECC-side operations are offline and deterministic; provider (Fal) generation fails closed here.
metadata:
origin: ECC
---
# TasteForge Video
TasteForge turns "make it feel like this reference" into a repeatable,
inspectable workflow: interview taste, distill it into a structured style
pack, validate the pack, apply its measured cadence and look to local media,
and export an editable timeline. The canonical implementation is the
`tasteforge` package in the Itô video repository; ECC orchestrates and
explains it and does not vendor or duplicate its code.
## When to Use
- The user asks to **interview for video taste** before any footage is made
("ask me about the look", "interview me about aesthetic direction").
- The user wants to **distill an aesthetic into structured constraints** — a
reusable style pack rather than vibes ("turn these references into a pack").
- The user wants to **validate a style pack** (is the metadata complete,
schema-valid, cadence measured, spec distilled?).
- The user wants to **apply a style pack to local footage** — plan a cut from
the pack's measured cadence over local clips, deterministically.
- The user wants to **export EDL/FCPXML** — an editable, frame-exact handoff
to DaVinci Resolve / Premiere / Final Cut.
- The user asks for a **generated-media provenance audit** — where did this
pack, spec, or cut come from; what was measured locally versus generated by
a provider; what was dry-run.
- The user mentions TasteForge, style packs, flashethereal, taste distillation,
cadence/rhythm planning, or a taste interview for video.
## Local Deterministic Operations vs Provider Generation
This boundary is the core of the skill. Everything ECC can actually run is
**local, deterministic, and offline**:
| Operation | Deterministic? | ECC may run |
|---|---|---|
| Taste interview → profile | yes (offline) | yes |
| Pack inspect / validate against schemas | yes | yes |
| Distill profile (+ measured grounding) → spec | yes (dry-run semantics) | yes |
| Apply pack cadence to local media → report + timeline | yes | yes |
| Export EDL (CMX3600) / FCPXML 1.9 | yes | yes |
| Provenance / lineage report | yes | yes |
| Vision-model distillation of stills | **provider generation** | **no** |
| Reference-to-video, image-to-3D, hosted compose | **provider generation** | **no** |
**Provider generation must fail closed in ECC.** Any live Fal (or other
provider) call — generating shots, minting prop meshes, hosted VLM
distillation — requires explicit separately authorized execution under a
separate lane with its own review. ECC never calls Fal, never reads any API
key or other credentials (`FAL_KEY` included), uploads no media, and mutates
no provider account state. When a request needs provider generation, state
exactly that boundary, run the local half (interview, pack validation,
planning, export), and stop.
**Never claim a Fal workflow is saved.** A local reference to a Fal endpoint,
model id, or dry-run URL (they appear inside pack metadata) is
**reference-only**: it never means a provider-side workflow was saved,
persisted, or is authorized to run. Anything produced offline carries
dry-run/dry_run semantics — say "dry-run spec" or "deterministic plan", never
"generated by the model".
## Canonical Implementation
- Repository: `Ito-Markets/ito-video` — find it under the workspace's
canonical local GitHub checkout root (never a hard-coded machine path);
package directory `tasteforge/`.
- CLI: `python3 -m tasteforge <command>``provenance`, `inspect`, `validate`,
`interview`, `distill`, `apply`, `export`. `--live` flags exit with code 2
and refuse.
- Schemas are the contract: taste profile, pack manifest, grade, cadence,
spec, timeline events, application reports (`provider` is enum-locked to
`"none"`; `dry_run` to `true`).
- Recovered-source lineage and deliberate exclusions live in the repo's
`PROVENANCE.md`. Run `python3 -m tasteforge provenance` for the machine-
readable version.
ECC's job is to route here, run the local deterministic commands, and
interpret their JSON — not to reimplement cadence planning, LUT/grade
statistics, or timeline emission. If the canonical package is absent, say so
and stop; do not reconstruct its logic inline.
## Workflow
1. **Interview** (`interview`): collect answers for the look axes — palette,
grain, lighting, focal length, camera motion, subject framing, grade,
mood adjectives, avoid list — and separately the content brief. Keep look
and content separate; merging them is the classic failure.
2. **Distill** (`distill`): map the profile onto the spec schema offline,
embedding the pack's measured grounding (black/white point, contrast,
per-zone chroma, palette, cut rhythm) when a pack is supplied. The result
is a dry-run spec: deterministic, provider `"none"`.
3. **Validate** (`validate` / `inspect`): check the pack against its schemas;
report errors vs warnings (missing stills in a metadata-only pack are a
warning, not an error).
4. **Apply** (`apply`): plan shot durations from the pack's measured cadence
(seeded, deterministic) over the user's local clips; produce the
application report and frame-exact timeline events.
5. **Export** (`export`): write CMX3600 EDL + FCPXML 1.9 with rational,
NTSC-safe times for import into a real NLE.
6. **Audit** (`provenance`): report lineage — recovered-source digests,
generation history, fixture provenance, provider references as
pointer-only records.
## Example Session
```bash
# in the canonical ito-video checkout
python3 -m tasteforge validate stylepacks/flashethereal
python3 -m tasteforge interview --answers answers.json --genre flashethereal --out profile.json
python3 -m tasteforge distill --profile profile.json --pack stylepacks/flashethereal --out spec.json
python3 -m tasteforge apply --pack stylepacks/flashethereal --media media.json --duration 20 --out report.json
python3 -m tasteforge export --events events.json --out-dir out --title flashethereal-cut
python3 -m tasteforge provenance
```
If the user asks for the shots to actually be generated: stop, explain the
fail-closed provider boundary, and deliver the deterministic plan, spec, and
editable timeline instead.
+174
View File
@@ -0,0 +1,174 @@
/**
* Contract tests for the curated TasteForge video skill.
* No test contacts Fal, generates media, or mutates any provider account.
*/
"use strict";
const assert = require("assert");
const fs = require("fs");
const path = require("path");
const { spawnSync } = require("child_process");
const REPO_ROOT = path.join(__dirname, "..", "..");
function read(relativePath) {
return fs.readFileSync(path.join(REPO_ROOT, relativePath), "utf8");
}
function readJson(relativePath) {
return JSON.parse(read(relativePath));
}
const tests = [];
function test(name, fn) { tests.push([name, fn]); }
test("has valid discoverable frontmatter and trigger phrases", () => {
const skill = read("skills/tasteforge-video/SKILL.md");
assert.match(
skill,
/^---\nname: tasteforge-video\ndescription: [^\n]+\nmetadata:\n {2}origin: ECC\n---\n/
);
for (const trigger of [
/interview .*video taste|video .*taste interview/i,
/distill .*aesthetic .*structured/i,
/validate a style pack/i,
/apply a style pack to local footage/i,
/export EDL\/FCPXML|export .*EDL.*FCPXML/i,
/audit .*generated-media provenance|provenance audit/i,
]) assert.match(skill, trigger);
});
test("distinguishes local deterministic operations from provider generation", () => {
const skill = read("skills/tasteforge-video/SKILL.md");
assert.match(skill, /local, deterministic/i);
assert.match(skill, /provider generation/i);
assert.match(skill, /must fail closed/i);
assert.match(skill, /explicit separately authorized execution/i);
assert.match(skill, /ECC never calls Fal/i);
assert.match(
skill,
/never\s+reads\s+any\s+API\s+key\s+or\s+other\s+credentials/i,
"skill must state that no API key or credentials are read"
);
});
test("never claims a Fal workflow is saved from a local reference", () => {
const skill = read("skills/tasteforge-video/SKILL.md");
assert.match(
skill,
/never (?:claim|means|treat)[^.]*provider-side workflow (?:is|was) saved/i
);
assert.match(skill, /reference[- ]only/i);
assert.match(skill, /dry[- ]run|dry_run/i);
});
test("links to the canonical ito-video implementation instead of duplicating it", () => {
const skill = read("skills/tasteforge-video/SKILL.md");
assert.match(skill, /ito-video/i);
assert.match(skill, /Ito-Markets\/ito-video/i);
assert.match(skill, /python3 -m tasteforge/);
assert.match(skill, /does not (?:vendor|duplicate|copy)/i);
});
test("describes the deterministic workflow surface faithfully", () => {
const skill = read("skills/tasteforge-video/SKILL.md");
for (const cmd of ["inspect", "validate", "interview", "distill", "apply", "export", "provenance"]) {
assert.match(skill, new RegExp(`\\b${cmd}\\b`));
}
assert.match(skill, /schema/i);
assert.match(skill, /cadence/i);
assert.match(skill, /style pack/i);
});
test("ships through the opt-in media-generation install module and npm package", () => {
const modules = readJson("manifests/install-modules.json").modules;
const module = modules.find((candidate) => candidate.id === "media-generation");
assert.ok(module, "media-generation install module is missing");
assert.ok(
module.paths.includes("skills/tasteforge-video"),
"skills/tasteforge-video missing from media-generation paths"
);
assert.strictEqual(module.defaultInstall, false);
const packed = readJson("package.json").files;
assert.ok(
packed.includes("skills/tasteforge-video/"),
"skills/tasteforge-video/ missing from npm files"
);
});
test("is discoverable in the source tree and in a simulated packed artifact", () => {
const skillPath = path.join(REPO_ROOT, "skills", "tasteforge-video", "SKILL.md");
assert.ok(fs.existsSync(skillPath), "SKILL.md missing in source tree");
// Packed surface: npm includes the directory; the plugin manifest routes
// ./skills/ wholesale; nothing ignores the directory.
const npmignore = read(".npmignore");
const ignoresSkill = npmignore
.split(/\r?\n/)
.map((line) => line.trim())
.filter((line) => line && !line.startsWith("#"))
.some((line) => {
const normalized = line.replace(/\/+$/, "");
return (
normalized === "skills" ||
normalized === "skills/tasteforge-video" ||
normalized === "skills/tasteforge-video/SKILL.md"
);
});
assert.ok(!ignoresSkill, ".npmignore must not exclude the skill");
const claudePlugin = readJson(".claude-plugin/plugin.json");
assert.ok(
(claudePlugin.skills || []).includes("./skills/"),
"claude plugin skills must route to the root skills/ directory"
);
// Simulated installed layout: the files entry must name the skill dir and
// the SKILL.md must exist beneath it with non-empty content.
const stat = fs.statSync(path.join(REPO_ROOT, "skills", "tasteforge-video"));
assert.ok(stat.isDirectory(), "skill must be a directory");
assert.ok(fs.readFileSync(skillPath, "utf8").trim().length > 200, "SKILL.md is empty-ish");
});
test("passes the curated skill validator", () => {
const result = spawnSync(
process.execPath,
[path.join(REPO_ROOT, "scripts", "ci", "validate-skills.js")],
{ encoding: "utf8" }
);
assert.strictEqual(result.status, 0, `validate-skills failed:\n${result.stdout}\n${result.stderr}`);
assert.match(result.stdout + result.stderr, /skill director/i, "validator output unrecognized");
});
// Opt-in slow path: verifies the real npm tarball contents. Enabled with
// ECC_TEST_NPM_PACK=1 (release/CI verification); the default suite relies on
// the files-array assertions above.
test("ships inside the real npm tarball (opt-in)", () => {
if (process.env.ECC_TEST_NPM_PACK !== "1") return;
const result = spawnSync("npm", ["pack", "--dry-run"], {
cwd: REPO_ROOT,
encoding: "utf8",
});
assert.strictEqual(result.status, 0, `npm pack failed:\n${result.stderr}`);
assert.match(
result.stdout + result.stderr,
/skills\/tasteforge-video\/SKILL\.md/,
"SKILL.md missing from npm tarball contents"
);
});
let failed = 0;
console.log("\n=== Testing TasteForge video skill ===\n");
for (const [name, fn] of tests) {
try {
fn();
console.log(`${name}`);
} catch (error) {
failed += 1;
console.log(`${name}`);
console.error(` ${error.message}`);
}
}
if (failed) process.exit(1);
console.log(`\n${tests.length - failed}/${tests.length} passed`);