CtrlK
BlogDocsLog inGet started
Tessl Logo

modal-patterns

React Portal modal implementation patterns for Dr. Sophia AI. Covers createPortal usage, AnimatePresence integration, z-index hierarchy (header always visible), dark mode styling, backdrop opacity. Use when creating modals, fixing header overlap issues, implementing React Portal components, or debugging modal stacking problems.

67

Quality

81%

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

SKILL.md
Quality
Evals
Security

Quality

Content

71%Weight 40%Scale 1-5

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

Highly actionable and well-structured modal pattern guide with executable code throughout. It is held back by repeated snippets that hurt conciseness and a references/modal-examples.md link that points to a non-existent file.

Suggestions

Create references/modal-examples.md (or remove the dead link) so the progressive-disclosure pointer resolves to a real file.

De-duplicate the backdrop-opacity and solid-background color examples — state the rule once and reference it instead of repeating the ✅/❌ snippets in multiple sections.

Drop the Keywords line and trim the Overview to avoid restating the frontmatter description in the body.

DimensionReasoningScore

Conciseness

Mostly efficient with concrete code, but the Overview restates the description, the same bg-black/70 and solid-background color snippets repeat across sections, and the Keywords line duplicates trigger terms already in the body.

3 / 5

Actionability

Provides copy-paste-ready JSX for the full modal pattern plus concrete ✅/❌ snippets for backdrop opacity, content opacity, and AnimatePresence placement, and a fixes table for common issues.

5 / 5

Workflow Clarity

The pattern is broken into clear, ordered concerns (Portal → z-index → backdrop → AnimatePresence → positioning) with a Common Issues table; no destructive/batch operations exist, so the simple-skill exception applies and only minor sequencing gaps remain.

4 / 5

Progressive Disclosure

Sections are well-organized, but the sole external pointer to references/modal-examples.md is a broken reference (no references/ directory exists), and the repeated inline examples could arguably live in that separate file.

3 / 5

Total

15

/

20

Passed

Description

92%Weight 40%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.

A strong, specific description with concrete capabilities and explicit 'Use when' trigger guidance. Slight room to broaden trigger synonyms, but it clearly distinguishes both what the skill does and when to invoke it.

DimensionReasoningScore

Specificity

Lists multiple concrete capabilities — 'createPortal usage, AnimatePresence integration, z-index hierarchy (header always visible), dark mode styling, backdrop opacity' — giving comprehensive coverage of the modal pattern domain.

5 / 5

Completeness

Explicitly answers both 'what' (React Portal modal implementation patterns covering the listed concerns) and 'when' ('Use when creating modals, fixing header overlap issues...').

5 / 5

Trigger Term Quality

Natural trigger phrases like 'creating modals', 'fixing header overlap issues', 'debugging modal stacking problems' read well, but a few common synonyms (e.g. 'dialog', 'popup') are missing.

4 / 5

Distinctiveness Conflict Risk

A clear niche — React Portal modals with a specific z-index hierarchy for Dr. Sophia AI — with distinct triggers and minimal overlap with unrelated skills.

5 / 5

Total

19

/

20

Passed

Validation

87%

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

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 1 missing

Warning

referenced_paths_exist

Referenced path issues: 2 missing

Warning

Total

14

/

16

Passed

Repository
fernandezbaptiste/Skrillz
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.