When to use
- •You changed
src/agent_loom/ui/*.py(for examplesrc/agent_loom/ui/ticket_ui.py).
Goal
Keep UI behavior stable and easy to verify.
Checklist
- •
Deterministic output
- •Avoid timestamps, random IDs, and nondeterministic ordering.
- •Prefer stable formatting (explicit ordering, explicit widths if relevant).
- •
LSP first
- •Run
lsp_diagnosticson touched UI files. - •Fix errors/warnings before lint/tests.
- •Run
- •
Lint
- •Run
uv run ruff check .and resolve findings.
- •Run
- •
Targeted tests
- •Run the smallest relevant subset first (ex:
uv run pytest tests/test_ui_*.py). - •If no obvious subset exists, run
uv run pytest.
- •Run the smallest relevant subset first (ex:
Common failure modes
- •Small formatting tweaks break downstream parsing/snapshots.
- •Output ordering changes due to dict/set iteration.
- •Lint fixes deferred until later and snowball across unrelated files.
Manual notes
This section is preserved when the skill is updated. Put human notes, caveats, and exceptions here.