CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

stitch-sdk-usage

Use the Stitch SDK to generate, edit, and iterate on UI screens from text prompts, manage projects, and retrieve screen HTML/images. Use when the user wants to consume the SDK in their application.

Quality

83%

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

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

A highly actionable, executable reference with tight code examples and genuinely useful error-recovery guidance. The main structural weakness is that everything — including a large API reference — lives in one 265-line file with no progressive disclosure to separate detailed material.

Suggestions

Move the API Reference class/method tables (Stitch, Project, DesignSystem, Screen, StitchToolClient) into a references/api.md file and keep only a one-line pointer plus a couple of key examples inline.

Deduplicate the repeated `import { stitch }` stanzas and the overlapping getHtml/getImage examples between Quick Start, Uploading, and Retrieving sections.

Reconcile the upload format lists: the Uploading section says only PNG/JPG/JPEG/WEBP are supported while the Project class table adds `.html`.

DimensionReasoningScore

Conciseness

The body is code-dominant with almost no conceptual padding, but there is minor redundancy: the `import { stitch }` stanza repeats across three examples, the Quick Start overlaps the Generating/Retrieving sections, and env-var configuration appears in both the top section and the Explicit Configuration table.

4 / 5

Actionability

Every section contains fully executable, copy-paste-ready TypeScript covering install, auth, generation, editing, variants, uploads, asset retrieval, the tool client, and error handling, with concrete edge behavior documented (e.g. 'never a silent empty string' for missing artifacts).

5 / 5

Workflow Clarity

The Quick Start sequences create → generate → retrieve, and error handling provides an explicit feedback loop (check `e.recoverable`, and for `CLARIFICATION_REQUIRED` read `e.clarification` and call the same method again). It falls short of a 5 because there is no explicit end-to-end multi-step workflow with validation checkpoints.

4 / 5

Progressive Disclosure

The single file is well-structured with clear section headers, but ~75 lines of API reference tables are inlined in SKILL.md with no bundle files at all — content that clearly belongs in a separate references/ file per the rubric's anchor 3.

3 / 5

Total

16

/

20

Passed

Description

80%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: specific, third-person, concise, and equipped with an explicit use-when clause. Its main weaknesses are a trigger clause limited to SDK integration scenarios and the absence of common synonyms (mockup, prototype, wireframe) that users might naturally say.

Suggestions

Broaden the 'when' clause beyond SDK integration, e.g. 'Use when the user wants to generate or redesign UI screens, upload mockups, or integrate Stitch into an application.'

Add natural trigger synonyms such as 'mockup', 'wireframe', 'prototype', or 'UI design' to catch phrasings users actually use when asking for generated screens.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions — 'generate, edit, and iterate on UI screens from text prompts, manage projects, and retrieve screen HTML/images' — comprehensively covering the SDK's capabilities with no vague filler.

5 / 5

Completeness

Both a clear 'what' and an explicit 'when' clause are present ('Use when the user wants to consume the SDK in their application'), but the 'when' is narrow — it only covers SDK integration, not the broader case of a user wanting UI screens designed.

4 / 5

Trigger Term Quality

Natural terms like 'UI screens', 'text prompts', 'generate', 'edit', and 'HTML/images' are present, but common user variations such as 'mockup', 'wireframe', 'prototype', or 'UI design' are missing, so coverage is good rather than comprehensive.

4 / 5

Distinctiveness Conflict Risk

'Stitch SDK' plus 'UI screens from text prompts' carves a distinct niche, though there is minor overlap risk with general UI-generation or frontend-design skills.

4 / 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

google-labs-code/stitch-sdk

Path

.agents/skills/stitch-sdk-usage/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.