init: document-haness 설계

This commit is contained in:
DongHyeonka
2026-07-23 17:52:22 +09:00
parent 993788c14e
commit d6f78f92a0
127 changed files with 20099 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env python3
"""Execute a canonical skill-local runtime script from a repository wrapper."""
from __future__ import annotations
import os
import sys
from pathlib import Path
def execute(name: str) -> None:
root = Path(__file__).resolve().parent.parent
target = root / "skills" / "technical-doc-flow" / "scripts" / name
if not target.is_file():
print(f"error: canonical runtime script is missing: {target}", file=sys.stderr)
raise SystemExit(2)
os.execv(sys.executable, [sys.executable, str(target), *sys.argv[1:]])