Skip to content

artemnovitckii/claude-animation-skills / skills/breakdown

breakdown

Verified

Makes a 3D exploded-view animation for a reel. A phone floats on a dark studio backdrop, comes apart layer by layer (glass, screen, frame, board and battery, back), and each part gets a thin leader line and a label. Use when the user runs /breakdown or asks for an exploded view, a "what's inside" teardown or a labelled 3D breakdown of a device.

FileKindSize
SKILL.mdskill md3.9 KB
build.pyexecutablescript1.4 KB
template.htmlother16.6 KB
#!/usr/bin/env python3
"""/breakdown: spec.json -> a 3D phone that comes apart layer by layer, every part labelled (1080x1920, 4.2 s).

    python3 build.py <spec.json> [--snap 1.0,3.6]
"""
import re
import sys
from pathlib import Path

HERE = Path(__file__).resolve().parent
sys.path.insert(0, str(HERE.parents[1] / 'kit'))
import anim  # noqa: E402

DEFAULTS = {
    'title': 'Phone', 'subtitle': 'Exploded view',
    'labels': [['Cover glass', 'toughened · 0.6 mm'], ['OLED display', '6.3 in · 120 Hz'], ['Titanium frame', 'grade 5 · 7.8 mm'],
               ['Logic board', '3 nm chip · 8 GB'], ['Battery', '3,582 mAh'], ['Back glass', 'matte · magnet ring']],
    'time': '9:41', 'date': 'Saturday 1 November', 'accent': '#F08A5D',
}


def check(spec):
    lb = spec['labels']
    if not isinstance(lb, list) or len(lb) != 6 or not all(isinstance(x, list) and 1 <= len(x) <= 2 for x in lb):
        sys.exit('spec: "labels" needs 6 entries, top layer first, each ["Name", "short note"] (use ["", ""] to hide one)')
    if not re.fullmatch(r'#[0-9a-fA-F]{6}', spec['accent']):
        sys.exit('spec: "accent" must be a hex colour like "#F08A5D"')
    for name, *note in lb:
        if len(name) > 16 or (note and len(note[0]) > 22):
            print(f'note: "{name}" is long for the label column (names ~16, notes ~22 characters)')


if __name__ == '__main__':
    anim.build(HERE / 'template.html', DEFAULTS, duration=lambda s: 4.2, three=True, check=check)
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall