Files
medassist-ng/.github/skills
Daniel Volz ba36f67371 fix: smooth mobile edit transition and align modal validation behavior (#286)
* fix: reliable Escape key close for all modals via useEscapeKey hook

- Add useEscapeKey hook (document-level keydown listener)
- Retrofit all 12 modal/overlay components to use it
- Remove redundant overlay onKeyDown Escape handlers
- Simplify modal-content onKeyDown to plain stopPropagation
- Replace MedDetailModal's capture-phase useEffect with 3 useEscapeKey calls
- Replace SharedSchedule's inline useEffect with useEscapeKey
- Add mandatory modal rules to UI Consistency skill
- All 777 frontend + 569 backend tests pass

* fix: smooth mobile edit transition and align modal validation behavior

* fix: keep overlay keydown non-closing for Enter key

* fix: show mobile name error when validation already exists

* fix: restore app-level escape priority handling

* fix: prioritize schedule lightbox on Escape
2026-02-23 06:42:06 +01:00
..

MedAssist Agent Skills

This directory contains project skills for VS Code Copilot.

Each skill lives in its own folder and must include a SKILL.md file.

Global Rule Reminder

When re-implementing a feature or fix path, remove obsolete/unused code immediately. Do not leave dead code behind. Also follow the canonical global engineering rules in AGENTS.md. Use one governance source to avoid duplicated or conflicting policy text.

Skills

  • medassist-karpathy-core — enforce assumption clarity, simplicity, surgical diffs, and verifiable execution.
  • medassist-architecture-guard — enforce frontend/backend boundary and /api/* data-flow conventions.
  • medassist-db-compat-check — enforce backward-compatible SQLite/Drizzle schema changes.
  • medassist-i18n-enforcer — enforce translation-key-only UI copy with EN/DE parity.
  • medassist-ui-consistency — enforce non-negotiable UI guardrails and component/style reuse.
  • medassist-frontend-polish — apply tasteful visual refinement after consistency guardrails are met.
  • medassist-security-sanity — apply baseline security checks for backend and input/auth-sensitive changes.
  • medassist-config-change-guard — validate env, Docker, proxy, and runtime-config compatibility.
  • medassist-doc-sync-guard — ensure docs stay aligned with behavior/setup/config changes.
  • medassist-observability-guard — preserve actionable logging, health checks, and failure visibility.
  • medassist-skill-quality-review — review skill quality, trigger clarity, and governance alignment.
  • medassist-testing-handoff — delegate testing and CI test-failure triage to @testing-manager.
  • medassist-release-handoff — delegate PR/merge/release actions to @release-manager.