CtrlK
BlogDocsLog inGet started
Tessl Logo

emergency-card

生成紧急情况下快速访问的医疗信息摘要卡片。当用户需要旅行、就诊准备、紧急情况或询问"紧急信息"、"医疗卡片"、"急救信息"时使用此技能。提取关键信息(过敏、用药、急症、植入物),支持多格式输出(JSON、文本、二维码),用于急救或快速就医。

57

Quality

66%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/emergency-card/SKILL.md

The canonical home for this skill is emergency-card in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

38%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This skill provides comprehensive coverage of emergency medical card generation but suffers from significant verbosity and poor content organization. The extensive inline code examples are pseudocode rather than truly executable, and the monolithic structure makes it hard to navigate. The workflow lacks validation checkpoints for what is essentially a medical information extraction task where accuracy matters.

Suggestions

Reduce the inline code by 60-70%: move the detailed chronic disease extraction patterns and text card template into separate reference files (e.g., EXTRACTION_PATTERNS.md, CARD_TEMPLATES.md), keeping only one representative example inline.

Add validation checkpoints to the workflow: after Step 2 (extraction), add a step to verify extracted data counts and flag any anomalies (e.g., 'Found 0 allergies - confirm with user if this is expected') before generating the card.

Replace vague references ('完整示例请参考相关文档') with actual file paths or remove them entirely - they add no value without concrete targets.

Consolidate the repetitive chronic disease extraction code into a single parameterized pattern with a table of (file_path, field_mappings) rather than three nearly identical try/catch blocks.

DimensionReasoningScore

Conciseness

The skill is extremely verbose at ~300+ lines, with extensive code blocks that repeat similar patterns (multiple chronic disease extractors with nearly identical try/catch structures), redundant sections (data sources listed twice - once in code and once in a dedicated section), and over-explanation of concepts Claude would understand. The text card example alone is massive and could be summarized. Many sections like 'When to Use' at the end just repeat the description.

2 / 5

Actionability

The code examples are detailed but written in JavaScript pseudocode style with functions like readFile(), glob(), saveFile(), generateQRCode() that aren't real APIs - they look executable but aren't copy-paste ready. The HTML generation section references a Python script (generate_emergency_card.py) but no actual script is provided in the bundle. The data extraction logic is concrete enough to follow but not truly executable.

3 / 5

Workflow Clarity

The 6-step workflow is clearly sequenced (read data → extract → generate → format → save → confirm), but there are no validation checkpoints. There's no step to verify the extracted data is correct before generating the card, no validation that the output file was written successfully, and no feedback loop for error recovery beyond basic fallback defaults. The error handling section exists but isn't integrated into the workflow steps.

3 / 5

Progressive Disclosure

The skill is a monolithic wall of content with everything inlined - extensive code examples, full text card template, complete error handling, data source listings - all in one file. References at the end ('完整示例请参考相关文档', '测试数据请参考相关文档') point to vague 'related documents' with no actual file paths, and no bundle files exist. The chronic disease extraction code for 3 different conditions could easily be in a separate reference file.

2 / 5

Total

10

/

20

Passed

Description

95%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

This is a strong skill description that clearly defines its purpose (generating emergency medical information summary cards), lists concrete capabilities (extracting allergies, medications, emergencies, implants; multi-format output), and provides explicit trigger conditions with natural user phrases. It uses proper third-person voice and occupies a distinct niche with minimal conflict risk.

DimensionReasoningScore

Specificity

Lists several specific actions: extracting key information (allergies, medications, emergencies, implants), supporting multiple output formats (JSON, text, QR code), and generating medical information summary cards. Minor gaps in coverage but generally comprehensive.

4 / 5

Completeness

Clearly answers both 'what' (generates medical information summary cards, extracts key info like allergies/medications/emergencies/implants, supports multi-format output) and 'when' (travel, visit preparation, emergencies, or when user mentions '紧急信息', '医疗卡片', '急救信息'). Explicit trigger phrases are provided.

5 / 5

Trigger Term Quality

Includes comprehensive natural trigger terms: '紧急信息' (emergency info), '医疗卡片' (medical card), '急救信息' (first aid info), as well as contextual triggers like '旅行' (travel), '就诊准备' (visit preparation), '紧急情况' (emergency). Covers synonyms and natural phrases users would say.

5 / 5

Distinctiveness Conflict Risk

Occupies a very clear niche: emergency medical information summary cards. The specific domain (emergency medical cards), specific data types (allergies, medications, implants), and specific output formats (JSON, text, QR code) make it highly distinct and unlikely to conflict with other skills.

5 / 5

Total

19

/

20

Passed

Validation

90%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.