SkillCheck validator, Cursor exports, and per-agent installers (#27)
Three more learnings from alirezarezvani/claude-skills, applied: 1. SkillCheck validator (scripts/skillcheck.mjs) — validates every SKILL.md against the authoring standard (frontmatter, name/folder match, trigger + produces clauses, required headings) plus tier referential integrity. Errors fail CI; --strict fails on warnings too. New skillcheck.yml workflow and a SkillCheck status badge in the README. Current: 0 errors / 14 advisory warnings across 172 skills. 2. Cursor export platform — build-exports.mjs now generates exports/cursor/<bundle>/<skill>/<skill>.mdc rule files. The PLATFORMS registry now supports per-skill filenames (file as a function). 3. Per-agent installers — scripts/install.sh unifies install for claude/hermes/codex/openclaw/cursor (--link, --target, --dry-run, --list). Curl-able one-liners codex-install.sh, openclaw-install.sh, and cursor-install.sh clone the library and install in a single command. README documents the one-line installs and Cursor exports; CHANGELOG and the authoring standard updated. Claude-Session: https://claude.ai/code/session_016JWn5jRD5tcEFKrubjQ6Px Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
---
|
||||
description: "Write a structured clinical case summary or case presentation. Use when asked to write a clinical case summary, case presentation, patient case report, or clinical handover. Produces a structured summary using SBAR or SOAP format. For educational and documentation purposes only — not a substitute for clinical judgement."
|
||||
globs:
|
||||
alwaysApply: false
|
||||
---
|
||||
|
||||
# Clinical Case Summary Skill
|
||||
|
||||
Produces structured clinical case summaries for educational, documentation, and handover purposes.
|
||||
|
||||
WARNING: For documentation and educational purposes only. All clinical content must be reviewed by a qualified healthcare professional. This is not clinical advice.
|
||||
|
||||
## Required Inputs
|
||||
- **Purpose** (case presentation / handover / case report / educational / MDT summary)
|
||||
- **Patient details** (anonymised — age, sex, relevant background)
|
||||
- **Presenting complaint and history**
|
||||
- **Examination findings**
|
||||
- **Investigations and results**
|
||||
- **Diagnosis or differential diagnoses**
|
||||
- **Management and treatment**
|
||||
- **Outcome** (if known)
|
||||
- **Format preference** (SBAR / SOAP / Standard clinical / Narrative)
|
||||
|
||||
---
|
||||
|
||||
## Format A: SBAR (Handover / Referral)
|
||||
|
||||
**S — Situation**
|
||||
[Patient identifier anonymised, location, reason for contact in one sentence]
|
||||
|
||||
**B — Background**
|
||||
- Age / sex / relevant past medical history
|
||||
- Current admission details
|
||||
- Relevant medications and allergies
|
||||
- Brief relevant social history
|
||||
|
||||
**A — Assessment**
|
||||
- Current clinical status
|
||||
- Vital signs if relevant
|
||||
- Key examination findings
|
||||
- Working diagnosis or differential
|
||||
- Recent investigations and results
|
||||
|
||||
**R — Recommendation**
|
||||
- What you need from the recipient
|
||||
- Urgency level
|
||||
- Immediate actions already taken
|
||||
- Questions or concerns
|
||||
|
||||
---
|
||||
|
||||
## Format B: SOAP Note
|
||||
|
||||
**S — Subjective**
|
||||
[Presenting complaint in patient words. Symptom history: onset, duration, character, severity, associated symptoms, relieving/aggravating factors]
|
||||
|
||||
**O — Objective**
|
||||
- Vital signs: [BP, HR, RR, Temp, O2 sats]
|
||||
- Examination: [Systematic findings]
|
||||
- Investigations: [Results with reference ranges]
|
||||
|
||||
**A — Assessment**
|
||||
- Primary diagnosis: [With brief rationale]
|
||||
- Differential diagnoses: [Ranked with reasoning]
|
||||
|
||||
**P — Plan**
|
||||
- Immediate management
|
||||
- Investigations ordered
|
||||
- Treatments initiated with dose, route, frequency
|
||||
- Referrals
|
||||
- Safety netting: what to watch for, when to escalate
|
||||
- Follow-up plan
|
||||
|
||||
## Quality Checks
|
||||
- [ ] Patient details fully anonymised
|
||||
- [ ] Allergies and medications included in handover formats
|
||||
- [ ] Safety netting included in SOAP plan
|
||||
- [ ] Disclaimer included
|
||||
|
||||
## Anti-Patterns
|
||||
|
||||
- [ ] Do not include any identifiable patient information — full names, dates of birth, NHS or MRN numbers, or specific addresses must be anonymised or replaced with generic identifiers
|
||||
- [ ] Do not omit the clinical disclaimer — this output is for documentation and educational purposes only and must not be presented as clinical advice
|
||||
- [ ] Do not confuse the SBAR Recommendation with a treatment plan — R is what you need from the recipient, not a full management plan
|
||||
- [ ] Do not list differential diagnoses without noting the reasoning for ranking — an unranked list of differentials is not clinically useful
|
||||
|
||||
## Example Trigger Phrases
|
||||
- "Write a clinical handover using SBAR for this patient"
|
||||
- "Summarise this case in SOAP format"
|
||||
- "Write a case report for [clinical scenario]"
|
||||
- "Prepare an MDT summary for this patient"
|
||||
Reference in New Issue
Block a user