본문으로 건너뛰기
cccskills
무료GitHub에 공개

saas-asset-spec

Author per-asset visual specs, SVG dimensions, and generation prompts from PRDs and design tokens. After design tokens.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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

Asset Spec

Interaction Localization Rule: When locale: pt-BR (or user speaks Portuguese), ALL questions (AskUserQuestion / ask_question), confirmation prompts, and selectable options MUST be translated and presented in Brazilian Portuguese (PT-BR). Any English question text or options in this skill are illustrative examples — NEVER display English questions or options to a Portuguese developer. Internal reasoning, code synthesis, tests, and documentation files MUST remain 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:

  • If it exists: read it, find the first asset or screen with status "Needed" but no spec file yet, and prompt the user.
  • If no inventory: check design/assets/asset-manifest.md.
  • If neither exists: start the Entity & Screen Inventory flow (Phase 0b below).

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:

  • design/prd/*.md — feature requirements, data tables, empty states
  • design/ux/*.md — screen layouts, user flows, app shell
  • design/ui/design-tokens.md — visual foundation, color tokens, typography

Step 2 — Build proposed inventory

Categorize needed assets:

  • Brand Assets: Primary logo, dark/light variations, app icon (square, circle), favicon bundle (favicon.ico, apple-touch-icon.png), social cards (og-image.png).
  • UI Screens & Components: Dashboard views, settings panels, table views, modal dialogs.
  • Empty States & Illustrations: "No projects found", "No invoices yet", "Search returned 0 results", "Invite your team".
  • Marketing & Email Media: Feature preview graphics, hero illustrations, transactional email headers.

Step 3 — Write inventory

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


Phase 0: Parse Arguments

Parse target:

  • feature:<name> — specify assets for a specific feature (e.g. feature:billing, feature:analytics)
  • screen:<name> — specify assets for a specific screen (e.g. screen:dashboard, screen:onboarding)
  • brand:<name> — specify brand identity assets (e.g. brand:logos, brand:favicons)

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:

  • Format: SVG (vectors, icons, logos), WebP/PNG (illustrations, photos), JSON (Lottie animations)
  • Viewport and density targets (1x, 2x for retina displays, responsive mobile)
  • Dark mode variant needed? (Yes / No)

Phase 3: Spec Generation

Derive technical specifications and prompt descriptions:

  • Dimensions: ViewBox dimensions (e.g., 24x24 for icons, 400x300 for empty states, 1200x630 for OG cards).
  • Color Mapping: Bind SVG fills and strokes to semantic design tokens (var(--primary), var(--muted-foreground)).
  • File Size Budget: Max file size in KB (e.g. icon < 5KB, illustration < 50KB, OG image < 200KB).
  • Generation Prompt: High-fidelity AI generation prompt (Midjourney, DALL-E, Recraft) if the asset will be procedurally generated.

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.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Turn your AI session into an autonomous SaaS and software engineering studio with 49 specialized agents, 74 workflow skills (/saas-*), 28 director gates, and complete architecture across Next.js, FastAPI, Supabase, Tailwind, and Stripe.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Basinfy/Basinfy-SaaS-Studio22026년 10월 22일 업데이트

Brownfield audit — do existing artifacts actually work? Numbered migration plan. Unlike /saas-project-stage-detect, checks compliance not existence.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Basinfy/Basinfy-SaaS-Studio22026년 10월 22일 업데이트

Create an ADR documenting a technical decision: context, alternatives considered, consequences.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Basinfy/Basinfy-SaaS-Studio22026년 10월 22일 업데이트

Traceability matrix mapping PRD requirements to ADRs. Finds gaps, cross-ADR conflicts, stack compatibility. PASS/CONCERNS/NOT ASSESSED/FAIL.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Basinfy/Basinfy-SaaS-Studio22026년 10월 22일 업데이트

Audit assets against naming conventions, file size budgets, format standards. Finds orphaned assets, missing references.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Basinfy/Basinfy-SaaS-Studio22026년 10월 22일 업데이트

Guides the user through finding and choosing a product concept. Use when the user wants product ideas, a new concept, a SaaS application jam idea, or to explore other directions, including dropping the current idea and starting over.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Basinfy/Basinfy-SaaS-Studio22026년 10월 22일 업데이트

Basinfy의 스킬 모두 보기

이 스킬의 문제 신고