/splicedeck:contributing-to-splicedeckfrom splicedeck
Documents the change workflow for the splicedeck codebase: adding/changing verbs, refusal codes, gates, or packages, and running checks. Use when editing splicedeck/, checks/, or docs/.
Ships in splicedeck. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
AGENTS.md is the contract — twelve hard rules and the table that says which
document owns which concern. It is imported by CLAUDE.md and is not restated
here. Read it. This file is the mechanics.
The ownership table in AGENTS.md decides. The owner is right by definition;
edit the other document, never the owner. If code and an owner document disagree,
the code is the bug.
Anything marked Open in an owner document is genuinely undecided. Do not resolve one silently. Raise it, and if you must proceed, write the assumption where a reviewer will see it.
The CLI and the MCP server are generated from splicedeck/surface/verbs.py.
There is one table and two consumers, and a check asserts they cannot drift.
Verb row in verbs.py. Never touch terminal.py's parser or
mcp.py's tool list — a hand-added tool fails test_surface_parity.py.@_impl("<name>") in dispatch.py.shapes.py. Every trim path must resolve against it.python -m checks.golden to regenerate, and read the diff. A surface change is
supposed to be reviewable.docs/agent-surface.md, which owns the verb table.Triggers must not share a leading verb phrase — that check exists because overlapping triggers are the failure the table prevents.
A refusal ships with its correction or it does not ship.
always class: retry_with is non-empty at every construction site.human class: needs_human true and a human_step of at most 160 characters.refusals tuple of every verb that can raise it. The static
check walks verb implementations only, so a code raised from dispatch.call
itself needs its own assertion.retry_with takes a sequence of calls. retry_with=({...}) without the
trailing comma is a dict, list() of it yields the dict's keys, and the caller
receives ["verb", "args"]. Five sites shipped that way.python -m checks.skillref regenerates the catalogue the skills reference.python -m pytest # everything; testpaths is set
python -m checks.golden --check # the surface has not drifted
python -m checks.skillref --check
ruff check . # line-length 100, py312
The decision suite must pass with ffmpeg removed from PATH. That is what keeps
weld/ pure and the whole decision layer testable without a GPU.
This repository's expensive lesson, and the reason to take it seriously: a 1083-test suite missed three blockers, and fixtures hid all three.
bookmarks/baseline.toml containing the string # bookmark satisfied an
is_file() check that never parsed it, so draft was unreachable on a real
clone for months while the suite stayed green.-preset ultrafast, which disables B-frames, so no
test ever saw that cadence was measured in decode order and every camera export
dead-ended.surface/mcp.py, a transport file
containing no write, so it could not fail.When a test needs shipped data, read the shipped data. When a fixture stands in for real input, assert that the stand-in still has the property under test — the B-frame tests check the encode really produced out-of-order timestamps before concluding anything from it.
Every constant that reaches pixels or samples carries a comment saying what it was derived from. A number with no derivation fails review. This is not documentation for its own sake: an undocumented constant reads to every later reader as a decision someone made on purpose.
docs/naming-rule.md owns the lexicons. Nothing may be named after a real person
or a third-party brand, product, channel or publication — the argument is
structural rather than legal, and checks/test_reserved_names.py enforces the
mechanical half against casebook/schema/reserved.toml.
There are no commits yet. A 223 MB .mov sits at the repository root and is
covered by .gitignore; confirm with git check-ignore rather than assuming.
Do not stage or commit unless asked.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ihuzaifashoukat/splicedeck --plugin splicedeck4 skills in this plugin
/cutting-a-deliverableDrives splicedeck to turn a source video into a delivered file - the verb order, what each verb needs from the one before it, and the traps between them. Use when asked to edit, cut, trim, caption or render a video with splicedeck, when working with a cut sheet or a delivery profile, when running spd commands, or when deciding which splicedeck verb to call next./cutting-vertical-clipsCuts a vertical clip out of a finished master with splicedeck, keeping the subject in frame. Use when asked for a vertical cut, a short, a clip for phones, a 9:16 or 1080x1920 export, when a subject drifts out of frame, or when carve, watch, NEEDS_FRAMING, SOURCE_TOO_NARROW, WINDOW_ASPECT or SUBJECT_MODEL_ABSENT come up./recovering-from-a-refusalTurns a splicedeck refusal into the next correct call in one turn. Use when an spd command exits 1, when an MCP verb returns an envelope with ok false, when a refusal code such as UNKNOWN_HANDLE, SHEET_NOT_VERIFIED, GATE_BLOCKING, FFMPEG_ABSENT, ENCODER_UNPROVEN, BOOKMARK_UNKNOWN, NOT_ON_WORD_EDGE or RIGHTS_MISSING appears, or when the user reports that splicedeck refused to do something.Other plugins' skills for the same job