Skip to main content

constraint-system

Change or review UIKitUltra constraint DSL and activation behavior inside the UIKitUltra source repository. Use for PreConstraint, solo/super/relative constraints, deferred activation, State-backed constants, and tag-based relative resolution; not for ordinary downstream layout usage.

소스 정보

저장소
swiftstream/UIKitUltra
최근 소스 활동
2026년 9월 21일 20:22
감지된 SKILL.md 언어
영어
스타
628
포크
36

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
constraint-system
description
Change or review UIKitUltra constraint DSL and activation behavior inside the UIKitUltra source repository. Use for PreConstraint, solo/super/relative constraints, deferred activation, State-backed constants, and tag-based relative resolution; not for ordinary downstream layout usage.
# Maintain the UIKitUltra Constraint System Use this LOCAL contributor skill when changing UIKitUltra constraint implementation or built-in constraint DSL behavior. ## Load the smallest decision-complete context 1. Assume root/architecture/skill routing already selected this skill and `LAYOUT_SYSTEM.md`; do not re-read `AGENTS.md`/`SKILL_INDEX.md` unless that context is genuinely missing or stale. 2. Use [`LAYOUT_SYSTEM.md`](../../architecture/LAYOUT_SYSTEM.md) as the primary architecture owner. 3. Add only the supporting contract needed by the change: - [`RUNTIME_MODEL.md`](../../architecture/RUNTIME_MODEL.md) for deferred activation/lifecycle; - [`STATE_SYSTEM.md`](../../architecture/STATE_SYSTEM.md) for State-backed constants; - [`MUTATION_MODEL.md`](../../architecture/MUTATION_MODEL.md) for re-entrant/update flows; - [`FLUENT_CHAIN_CONTRACT.md`](../../architecture/FLUENT_CHAIN_CONTRACT.md) for public fluent API changes. 4. Use [`SOURCE_MAP.md`](../../SOURCE_MAP.md) only if the affected source location/ownership is not already known. Do not bulk-load every supporting owner merely because constraints can touch them. ## Plan checklist - Classify the affected channel: solo, super, relative, or mixed. - Identify the current activation owner and whether `movedToSuperview`/deferred activation is involved. - Check relative/tag resolution and `AddedViewWithTag` retry behavior when applicable. - Check State listener/link ownership when constants are reactive. - Record public fluent/State-surface effects before mutation. ## Implementation rules - Keep pre-constraint queue ownership explicit (`notApplied*` / `applied*`). - Preserve existing activation helpers when deferred behavior is required. - Keep replacement/deactivation semantics explicit; do not leave duplicate active constraints hidden behind convenience APIs. - Preserve explicit listener ownership for State-backed constants. - Do not introduce a second layout/activation engine to compensate for a local edge case. ## Audit Verify the final source/diff against the selected architecture owners and prove: - no hidden constraint duplication or orphaned deactivation path; - relative/tag constraints retain retry and eventual activation behavior; - immediate and deferred activation remain consistent; - State propagation follows the current State contract when in scope; - fluent `Self` semantics remain intact for changed public APIs; - unrelated source and governance are untouched. Stop and re-plan if the change requires a new layout lifecycle/ownership mechanism rather than an implementation inside the existing constraint architecture.
GitHub에서 보기