Twelve skills for conference speakers covering rhetoric analysis, talk authoring, deck building and export, CFP submissions, publishing, illustrations, shownotes, screencast production, and vertical shorts, informed by a 113-entry Presentation Patterns taxonomy (83 observable: 64 patterns + 19 antipatterns; 30 unobservable: 21 patterns + 9 antipatterns).
91%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
"""Resolve the yt-dlp console script declared by the toolkit runtime.
The project pins yt-dlp as a Python dependency. A bare ``yt-dlp`` subprocess
still resolves through ``PATH``, where an older system installation can shadow
that pin. Keep every caller on one resolution order: explicit override, the
running interpreter, its active virtual environment, the toolkit virtual
environment, then ``PATH`` as a compatibility fallback.
"""
from __future__ import annotations
import os
from pathlib import Path
import shutil
import sys
YTDLP_RESOLUTION_FAILURE_CODES = frozenset(
{
"ytdlp_override_invalid",
"ytdlp_not_found",
"ytdlp_version_unavailable",
}
)
class YtDlpResolutionError(RuntimeError):
"""No usable yt-dlp executable, with a typed recovery code."""
def __init__(self, code: str, message: str) -> None:
if code not in YTDLP_RESOLUTION_FAILURE_CODES:
raise ValueError("invalid yt-dlp resolution failure code")
super().__init__(message)
self.code = code
def resolve_ytdlp() -> Path:
"""Return the pinned yt-dlp console script before consulting ``PATH``."""
override = os.environ.get("YT_DLP")
if override:
candidate = Path(override)
if candidate.is_file() and os.access(candidate, os.X_OK):
return candidate
raise YtDlpResolutionError(
"ytdlp_override_invalid",
f"YT_DLP is set to {override!r}, which is not an executable file — "
"point it at a yt-dlp binary or unset it",
)
candidates = [Path(sys.executable).parent / "yt-dlp"]
virtual_env = os.environ.get("VIRTUAL_ENV")
if virtual_env:
candidates.append(Path(virtual_env) / "bin" / "yt-dlp")
toolkit_root = Path(__file__).resolve().parents[3]
candidates.append(toolkit_root / ".venv" / "bin" / "yt-dlp")
seen: set[Path] = set()
for candidate in candidates:
if candidate in seen:
continue
seen.add(candidate)
if candidate.is_file() and os.access(candidate, os.X_OK):
return candidate
found = shutil.which("yt-dlp")
if found:
return Path(found)
raise YtDlpResolutionError(
"ytdlp_not_found",
"cannot find yt-dlp — install the pinned version with `pip install .` "
"into the toolkit environment, or set YT_DLP to its path",
).tessl-plugin
rules
skills
cfp-writer
references
illustrations
presentation-builder
presentation-creator
references
patterns
build
deliver
prepare
scripts
presentation-publisher
screencast-editor
screencast-recorder
shorts-producer
shownotes-publisher
vault-clarification
vault-ingress
references
scripts
vault-profile