CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

mastra-frontend

This guide explains how to compose Mastra application UIs from existing design-system components, use Tailwind for layout without overriding component styling, and select appropriate page and settings patterns. It also documents theme and stylesheet conventions, common review smells, and the requirement for explicit approval before changing the design system itself.

Quality

86%

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

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

An unusually disciplined instruction-only skill: concrete syntax, file paths, component/prop names, and lint rules throughout, with a strong review-checklist validation layer and sensible delegation of adjacent topics to external docs. The main improvements are tightening the deliberate repetition between the Settings sections and the review-smells list, and splitting the longer convention sets (typography, placeholders) into reference files.

DimensionReasoningScore

Conciseness

Dense, expert-level writing that assumes knowledge of Tailwind, CSS custom properties, and component APIs — no padding or explanation of basics, and nearly every sentence is a rule or a pointer (e.g., "Token names drift — confirm them in the file, never use them from memory"). Not a 5 because there is deliberate redundancy: the SettingsRow/SettingsItem rule is stated in its section and restated in "Review smells", and several review-smell bullets restate section content, which could be tightened.

4 / 5

Actionability

Guidance is maximally concrete for an instruction-only skill: exact file paths to browse ("packages/playground-ui/src/ds/components/", "theme.css"), a ranked 5-rung decision ladder for class values with real syntax ("bg-(--row-bg)", "min-w-100", "max-h-[calc(100dvh-3rem)]"), named components and props (<DialogContent size="xl" className="h-[80vh]">, PageLayout variants, SettingsRow vs SettingsItem), named lint rules, and correct/incorrect className pairs. Specific examples cover the common cases (pages, settings, loaders, typography, placeholders).

5 / 5

Workflow Clarity

The build-a-screen process is legible across sections — find existing components/tokens, respect the look/layout boundary, pick the highest class-value rung, choose a PageLayout variant, then verify against the "Review smells" checklist — and validation is unusually strong: named lint rules (playground-ui/no-page-width, mastra/sentence-case-labels, playground-ui/placeholder-text) act as automated feedback loops. Not a 5 because the sequence is implied by topic order rather than presented as an explicit ordered procedure with checkpoints.

4 / 5

Progressive Disclosure

Scored against the actual bundle: no references/, scripts/, or assets/ exist, so this is a single-file skill organized under clear, well-scoped section headers, with detail appropriately delegated outward (e.g., "See the Typography section of packages/playground-ui/README.md" and the tailwind-v4 skill pointer for Tailwind mechanics). Not a 5 because at ~80 lines some self-contained rule sets (the typography/mono and placeholder conventions, the SettingsRow/SettingsItem guide) are long enough that they could live in reference files, keeping the overview leaner.

4 / 5

Total

17

/

20

Passed

Description

82%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 with an explicit use-when clause, a precise domain, and a clear scope boundary. Its main weakness is that the capability statement stays at the level of "build/create/modify UI" rather than naming the concrete actions the skill guides (component composition, token usage, layout utilities), and it omits a few natural trigger terms like Tailwind or CSS.

DimensionReasoningScore

Specificity

The description names the domain precisely ("Mastra frontend interfaces with the @mastra/playground-ui design system") and scopes the objects worked on ("pages, components, styling, or tokens"), but the actions themselves are generic — "build", "creating or modifying" — rather than a list of distinct concrete capabilities. Not a 4 because it doesn't enumerate several specific actions (e.g., compose pages from DS components, apply theme tokens, pick PageLayout variants); not a 2 because the domain naming and scope objects go well beyond minimal.

3 / 5

Completeness

Explicitly answers both: what ("How to build Mastra frontend interfaces with the @mastra/playground-ui design system") and when ("This skill should be used when creating or modifying any application UI — pages, components, styling, or tokens"), plus a concrete out-of-scope boundary ("The docs site has its own styling and is out of scope"). Matches the anchor for a clear what-and-when with concrete trigger phrases.

5 / 5

Trigger Term Quality

Good natural keyword coverage: "frontend interfaces", "application UI", "pages, components, styling", "design system" — phrases a user would plausibly say when asking for UI work in this repo. Not a 5 because common adjacent terms users might naturally use, such as "Tailwind", "CSS", or "React components", are absent.

4 / 5

Distinctiveness Conflict Risk

A clear niche — the @mastra/playground-ui design system for Mastra application UI — with distinct triggers and an explicit exclusion of the docs site. Unlikely to fire for unrelated frontend or styling skills.

5 / 5

Total

17

/

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

mastra-ai/mastra

Path

.claude/skills/mastra-frontend/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.