Skip to content

ADR-0003 — sks_ import alias convention

Status: accepted Date: 2026-05-31

Context

SiS app files are full of st.* calls. Kit functions have generic names (text, metric, header) that would shadow st.text, st.metric, etc. if imported without an alias.

Decision

All pinky_streamlit functions are imported with the sks_ prefix:

from pinky_streamlit import text as sks_text, metric as sks_metric

Consequences

At a glance, any reader can tell which components come from the kit vs Streamlit stdlib. No accidental shadowing of st.* names. The convention is enforced by code review — no linting rule needed (import aliases are not checkable by ruff without a custom plugin).