Files
temetro/skills-lock.json
T
Khalid Abdi 929bec8f31 feat: AI-added records save with placeholders + "Added by AI" provenance
Stop blocking AI imports/proposals on missing non-critical fields. Records
the chat agent drafts now save with safe placeholders, auto-generated file
numbers, and a source="ai" marker that surfaces an "Added by AI" badge so a
clinician can review/edit them later.

Backend:
- add `source` (manual|ai) column to patients/appointments/prescriptions
  (migration 0014) + canonical types, services, validation schemas
- relax patient/appointment validation: empty file number allowed, demographic
  + type/provider/initials fall back to placeholders (initials derived from name)
- patients.generateFileNumber() auto-assigns an MRN when one is missing
- proposeAppointment accepts a name when no file number resolves; AI commits +
  /api/ai/import stamp source="ai"

Frontend:
- `source` on Appointment/Patient/Prescription types; AI commits send source="ai"
- reusable <AiBadge> shown on the Patients table/detail and prescriptions list

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 19:27:17 +03:00

72 lines
2.7 KiB
JSON

{
"version": 1,
"skills": {
"ai-elements": {
"source": "vercel/ai-elements",
"sourceType": "github",
"skillPath": "skills/ai-elements/SKILL.md",
"computedHash": "7e81acdd3028bb68aa4387b2bd083c5812a50e2be1bea08c76994dcfb8f6a3d3"
},
"better-auth-best-practices": {
"source": "better-auth/skills",
"sourceType": "github",
"skillPath": "better-auth/best-practices/SKILL.md",
"computedHash": "a4c830509e85557b59339d8d93a4e243e9e59c686e7678854d39230e12c2a6dc"
},
"better-auth-security-best-practices": {
"source": "better-auth/skills",
"sourceType": "github",
"skillPath": "security/SKILL.md",
"computedHash": "5717187bba9c22030c7174c74012f01c359f21e2ce87e0eb80e24244d8b8c915"
},
"bklit-ui": {
"source": "bklit/bklit-ui",
"sourceType": "github",
"skillPath": "skills/bklit-ui/SKILL.md",
"computedHash": "ace89f8b9a6d5d8f0367307f886cb9654065356db537df7b57b3d849aa503534"
},
"coss": {
"source": "cosscom/coss",
"sourceType": "github",
"skillPath": "apps/ui/skills/coss/SKILL.md",
"computedHash": "d38dc6e0df3191b9a5b9f2c4b6984793d689922b49f8af78d4e1876645bac836"
},
"coss-particles": {
"source": "cosscom/coss",
"sourceType": "github",
"skillPath": "apps/ui/skills/coss-particles/SKILL.md",
"computedHash": "44c9d1c501a8f76c5332740795a2fa0f07dc814cd1a2c4a6103a971eb982db79"
},
"create-auth-skill": {
"source": "better-auth/skills",
"sourceType": "github",
"skillPath": "better-auth/create-auth/SKILL.md",
"computedHash": "31c027d02dbf1faa37f58191f574b9443143042fb2b684fe32df53ab0270487c"
},
"email-and-password-best-practices": {
"source": "better-auth/skills",
"sourceType": "github",
"skillPath": "better-auth/emailAndPassword/SKILL.md",
"computedHash": "747d7f73bd9e2ec5317b8ef88dc70f97df716d00e3d02de4051feebaa48b062d"
},
"organization-best-practices": {
"source": "better-auth/skills",
"sourceType": "github",
"skillPath": "better-auth/organization/SKILL.md",
"computedHash": "79a5a85b43d10e9fe37582b3506b051a33a991817b938f349099baa5ddba21aa"
},
"shadcn": {
"source": "shadcn/ui",
"sourceType": "github",
"skillPath": "skills/shadcn/SKILL.md",
"computedHash": "ac9d0d69caac7de1d1e5647f3db3bcd2f13af355d6b3a78780fbf7fc80e8dca0"
},
"two-factor-authentication-best-practices": {
"source": "better-auth/skills",
"sourceType": "github",
"skillPath": "better-auth/twoFactor/SKILL.md",
"computedHash": "7e297aaf887e11fdc03e52bdbf44974e161e8f7c393170ced7dc66cace4f6d46"
}
}
}