Skip to content

sergebulaev/youtube-skills

youtube-marketing

Verified

Plan, write, and publish for YouTube and YouTube Shorts. Use when the user wants high-CTR video titles, an SEO description with chapters and links, a first-30-seconds retention script (or a 3-second Shorts hook), a designer-ready thumbnail brief, a community-tab post or poll, or a weekly upload plan. The user supplies the video; the skills produce the title, description, hook, and thumbnail brief, then on approval upload and schedule via the Publora API.

scripts/check_markdown_references.py

View on GitHub
#!/usr/bin/env python3
"""Check Markdown references declared by skill documents.

Every backticked path ending in ``.md`` in the root ``SKILL.md``, the shared
``references/`` tree, and everything under ``skills/`` must resolve either
relative to the citing document (bare sibling ``post-audit.md``, skill-local
``references/X.md`` / ``sub-skills/X.md``, nested ``../../../references/X.md``)
or relative to the repository root (``skills/<skill>/SKILL.md``, ``README.md``).
"""

from __future__ import annotations

from pathlib import Path
import re


ROOT = Path(__file__).resolve().parents[1]
SKILLS = ROOT / "skills"
REFERENCE = re.compile(r"`((?:\.\.?/)*[A-Za-z0-9_.\-]+(?:/[A-Za-z0-9_.\-]+)*\.md)(?:#[^`]*)?`")


def documents() -> list[Path]:
    """Root SKILL.md, shared root references, and everything under skills/."""
    found = [ROOT / "SKILL.md"] if (ROOT / "SKILL.md").is_file() else []
    found += sorted((ROOT / "references").rglob("*.md"))
    found += sorted(SKILLS.rglob("*.md"))
    return found


def resolves(document: Path, ref: str) -> bool:
    return (document.parent / ref).resolve().is_file() or (ROOT / ref).resolve().is_file()


def main() -> None:
    broken: list[str] = []

    for document in documents():
        text = document.read_text(encoding="utf-8")
        for match in REFERENCE.finditer(text):
            ref = match.group(1)
            if "://" in ref or ref.startswith("/"):
                continue
            if not resolves(document, ref):
                broken.append(f"{document.relative_to(ROOT)}: {ref}")

    if broken:
        raise SystemExit("Broken Markdown references:\n" + "\n".join(broken))

    print("All Markdown references resolve.")


if __name__ == "__main__":
    main()
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall