CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

modal-drawer-system

This guide walks through choosing a modal or drawer, then implementing portal rendering, focus management, keyboard behavior, scroll locking, backdrops, and animations. It includes reusable Modal and Drawer components plus examples for confirmation dialogs, edit forms, and detail views.

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

Scored by GLM 5.3

Content

63%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.

The body delivers substantial, mostly executable code for a modal/drawer system with a clear workflow and checklist, but it is a monolithic single file: full implementations are inlined rather than referenced out, guidance points are repeated three times, and two components are incomplete skeletons. Restructuring into an overview plus reference files would address the biggest weaknesses.

Suggestions

Move the full component implementations (Base Modal, Drawer, use cases) into references/ files and keep SKILL.md as a concise overview with well-signaled one-level-deep links.

Deduplicate the guidance repeated across "Core Workflow", "Best Practices", and "Output Checklist" into a single section to cut tokens without losing information.

Complete the Drawer and EditUserModal examples — replace the "// Similar hooks as Modal" comment and "// Save logic" placeholder with actual executable code.

DimensionReasoningScore

Conciseness

The same seven points (portal, focus trap, ESC, ARIA, scroll lock, backdrop, animations) are repeated nearly verbatim across "Core Workflow", "Best Practices", and "Output Checklist", and the ~150-line full Modal implementation is inlined — more than minor over-explanation, though the code itself is on-topic.

3 / 5

Actionability

The Base Modal is copy-paste ready and the ConfirmDialog/UserDetailDrawer examples are concrete, but the Drawer is a skeleton ("// Similar hooks as Modal (ESC, focus trap, scroll lock)", missing imports and effects) and EditUserModal leaves "// Save logic" as a placeholder, so guidance is mostly executable with real gaps.

4 / 5

Workflow Clarity

The Core Workflow gives a clear 7-step sequence and the Output Checklist provides an explicit verification checkpoint, but the workflow steps are terse feature labels with no validation or error-recovery guidance (e.g., nothing about testing focus restoration or scroll-lock cleanup).

4 / 5

Progressive Disclosure

The file is well-sectioned with clear headers, but ~300 lines of full component implementations are inlined in SKILL.md with no references or separate files at all; at 378 lines this content clearly belongs in reference files with the body as an overview, and the under-50-line simple-skill exception does not apply.

3 / 5

Total

14

/

20

Passed

Description

88%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 description: it states concrete capabilities in third person, enumerates real sample use cases, and closes with an explicit trigger clause containing natural keywords. The only weaknesses are slightly broad triggers ("sidebars", "overlays") and a few missing common synonyms such as "popup" or "bottom sheet".

DimensionReasoningScore

Specificity

The description lists five concrete capabilities ("focus trap, ESC to close, scroll lock, portal rendering, and ARIA attributes") plus concrete sample use cases (edit forms, confirmations, detail views), giving comprehensive coverage of the modal/drawer domain with no notable gaps.

5 / 5

Completeness

It explicitly answers both "what" (implements accessible modals and drawers with named capabilities and sample implementations) and "when" ("Use when building \"modals\", \"dialogs\", \"drawers\", \"sidebars\", or \"overlays\""), matching the anchor for a clear and explicit what-and-when with concrete trigger phrases.

5 / 5

Trigger Term Quality

Trigger terms "modals", "dialogs", "drawers", "sidebars", and "overlays" are natural phrases users would say, but common synonyms like "popup", "bottom sheet", and "lightbox" are missing, so coverage is good rather than comprehensive.

4 / 5

Distinctiveness Conflict Risk

The modal/drawer focus is a clear niche with distinct triggers, but "sidebars" and "overlays" are broad enough to also match navigation sidebars or tooltip/popover requests, creating minor overlap risk with related UI skills.

4 / 5

Total

18

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/modal-drawer-system/SKILL.md

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.