Skip to main content
Manus에서 모든 스킬 실행
원클릭으로

audit-wire

스타2
포크0
업데이트2026년 6월 6일 19:28

Wire correct compliance logging into a Kinroster API route that touches PHI: an actor-centric audit event via logAudit() (extending the AuditEventType / AuditObjectType unions when the event/object is new) and, for any disclosure of PHI to a recipient, an append-only disclosure_events insert with the right recipient_type / legal_basis / categories_shared / source_note_ids / delivery_method. Use this skill when the user says any of: "add audit logging to this route", "wire up the audit event", "log this disclosure", "add a disclosure event", "/audit-wire". IMPORTANT: audit_events is written via the logAudit() helper (service-role, fire-and-forget, never blocks the request); disclosure_events is an awaited insert via the AUTHENTICATED client (it has an RLS INSERT policy). Never log PHI into metadata. Never double-log notes / notes_sensitive_access — DB triggers already cover those.

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

SKILL.md
readonly