skills/stitch-prompt-engineer/SKILL.md
Use when enhancing, polishing, or fixing Stitch UI generation prompts. Adds UI/UX keywords, injects design system tokens, structures page hierarchy, and enforces hex color formatting. Triggers on: Stitch prompt, improve prompt, better output, redesign, multi-screen consistency, design system, DESIGN.md.
npx skillsauth add acedergren/agentic-tools stitch-prompt-engineerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Descriptive Name (#hexcode) for roleWorking on multiple screens?
│
├─ YES → Find DESIGN.md in project root
│ ├─ Found → Read it; include design system block as "DESIGN SYSTEM (REQUIRED)"
│ └─ Not found → Create it with `stitch-design-system` skill first
│
└─ NO → Skip DESIGN.md; proceed directly to enhancement
Before enhancing, identify what's missing:
| Element | If missing... | | ------------ | -------------------------------------- | | Platform | Ask or infer from context | | Page type | Infer ("landing page", "form", etc.) | | Structure | Add numbered sections | | Visual style | Add mood adjectives | | Colors | Add hex-coded design tokens | | Components | Replace vague nouns with UI vocabulary |
| Vague | Enhanced | | ------------------- | ----------------------------------------------------- | | "menu at the top" | "navigation bar with logo and menu items" | | "button" | "primary call-to-action button" | | "list of items" | "card grid layout" or "vertical list with thumbnails" | | "form" | "form with labeled input fields and submit button" | | "picture area" | "hero section with full-width image" | | "modern" | "clean, minimal, with generous whitespace" | | "professional" | "sophisticated, trustworthy, with subtle shadows" | | "dark mode" | "dark theme with high-contrast accents on deep backgrounds" |
[One-line description of page purpose and vibe]
**DESIGN SYSTEM (REQUIRED):**
- Platform: [Web/Mobile], [Desktop/Mobile]-first
- Theme: [Light/Dark], [style descriptors]
- Background: [Name] (#hex)
- Primary Accent: [Name] (#hex) for [role]
- Text Primary: [Name] (#hex)
- Buttons: [corner radius], [width behavior]
- Cards: [corner radius], [elevation style]
**Page Structure:**
1. **[Section]:** [description]
2. **[Section]:** [description]
For targeted edits (not full-page prompts), include:
"Context: This is a targeted edit. Make only this change."| Symptom | Fix | | -------------------------------- | ----------------------------------------------------- | | Output doesn't match prompt | Add numbered section structure for visual hierarchy | | Colors apply inconsistently | Create/reference DESIGN.md with explicit hex tokens | | Layout breaks across screens | Add "mobile-first" or "desktop-first" explicitly | | Components look generic | Replace "modern" with specific mood adjectives | | Still poor results after enhance | Return to DESIGN.md and validate consistency first |
Return enhanced prompt as text by default.
If user requests file output: write next-prompt.md (for use with stitch-loop skill).
development
--- name: api-audit description: "Use when auditing API routes for schema drift, missing auth, or validation gaps. Scans routes against shared TypeScript types to find mismatches, missing middleware, and undocumented endpoints. Read-only — produces a severity-grouped report. Keywords: audit routes, schema drift, auth gaps, missing validation, type mismatch, orphaned schemas. Triggers on "audit API routes" or "find schema drift"." --- # API Route & Type Audit Skill ## When to Use Load this skil
development
Use when drafting, translating, polishing, or reviewing Swedish text so it sounds natural, fluent, contemporary, and appropriate for its audience. Triggers include "write better Swedish", "make this sound natural in Swedish", "translate into Swedish", "polish this Swedish", "tech company Swedish", "contemporary Swedish words", "Swedish developer docs", and "avoid Anglicisms".
development
Use when working with shadcn-svelte components, TanStack Table in Svelte 5, or Tailwind v4.1. Covers non-obvious reactivity bugs, library selection trade-offs, and migration pitfalls not in the official docs. Keywords: shadcn-svelte, TanStack Table, Tailwind v4.1, Svelte 5 runes, bits-ui, superforms, data table, svelte-check.
data-ai
Use when mapping IDCS claims to org membership after OAuth login succeeds. Covers mapProfileToUser, session.create.before, session.create.after hooks, MERGE INTO upserts, tenant-org mapping, and first-admin bootstrap. Keywords: IDCS groups, org_members, provisioning, session hooks, tenant map, MERGE INTO.