Saas asset spec

From Basinfy/Basinfy-SaaS-Studio · View interactive version

Saas asset spec is an AI agent skill from the GitHub repository Basinfy/Basinfy-SaaS-Studio. Author SVG, icon, and UI asset specifications aligned with PRDs and design tokens.

How to use this skill

Skill file

!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys locale,review_mode,automation

Asset Spec

Locale & User Profile: Match locale (pt-BR → natural Brazilian Portuguese questions/options, overriding English examples; en → English) and user_profile (founder → plain business language with (Recomendado) first, zero tech jargon; developer → technical). Keep code/tests in English.

The Asset Spec skill produces precise, production-ready specifications for all visual,

vector, and media assets required by the SaaS application (brand logos, UI icons, empty-state illustrations,

marketing hero graphics, OG social preview cards, and email templates).

If no argument is provided, check whether design/assets/entity-inventory.md exists:


Phase 0b: Entity & Screen Inventory (runs when no arguments and no existing inventory)

This flow produces design/assets/entity-inventory.md — the master list of everything

the SaaS application needs visually. Run once before individual asset spec work begins.

Step 1 — Gather from docs

Read all available product design documents:

Step 2 — Build proposed inventory

Categorize needed assets:

Step 3 — Write inventory

Write to design/assets/entity-inventory.md.


Phase 0: Parse Arguments

Parse target:


Phase 1: Gather Context

Read required design documents:

  1. design/ui/design-tokens.md — color palette, radius, typography, asset budget rules
  2. design/product-concept.md — product positioning and tone
  3. Target PRD or UX spec (design/prd/[name].md or design/ux/[name].md)

Phase 2: Asset Identification

List every required asset for the target:


Phase 3: Spec Generation

Derive technical specifications and prompt descriptions:


Phase 4: Compile Spec

Format each asset:

### ASSET-[NNN]: [Asset Name]
- **Type**: Icon | Illustration | Brand | Template
- **Format**: SVG | WebP | PNG
- **Target Path**: `public/assets/[category]/[name].[ext]`
- **Dimensions**: [Width x Height in px / viewBox]
- **Theme Variants**: Light / Dark
- **Size Budget**: [N] KB
- **Design Tokens Used**: `primary`, `card`, `border`
- **Accessibility**: Alt text / ARIA label (`aria-hidden="true"` if decorative)
- **Generation / Design Brief**:
  > "[Detailed visual description: composition, palette, lighting, vector style matching design tokens]"

Phase 5: Write Spec File & Manifest

Write to design/assets/specs/[target-name]-assets.md.

Update design/assets/asset-manifest.md with status Specified.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.