INNER CODE UNIT · Python

skill_dir

viticci/shortcuts-playground-plugin · claude/skills/shortcuts-playground/scripts/lookup_action_grounding.py:59

def skill_dir() -> Path:
    return Path(__file__).resolve().parents[1]


def catalog_path(base: Path | None = None) -> Path:
    return (base or skill_dir()) / "data/macos27-shortpy-grounding.json"


def parameter_catalog_path(base: Path | None = None) -> Path:
    return (base or skill_dir()) / "data/toolkit-v78-first-party-parameter-keys.json"


def enum_catalog_path(base: Path | None = None) -> Path:
    return (base or skill_dir()) / "data/toolkit-v78-first-party-enum-cases.json"


def trigger_catalog_path(base: Path | None = None) -> Path:
    return (base or skill_dir()) / "data/toolkit-v78-trigger-parameter-keys.json"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…