AgentSkillsCN

smelteros-image-assets

SmelterOS 的图像资产库与生成指南。在处理视觉资产、背景素材以及生成的图像时,可使用此指南。

SKILL.md
--- frontmatter
name: smelteros-image-assets
description: Image asset library and generation guidelines for SmelterOS. Use this when working with visual assets, backgrounds, and generated imagery.

SmelterOS Image Assets Library

Reference catalog of all visual assets and guidelines for creating new ones.


🖼️ Current Asset Inventory

Hero Images

AssetPathDimensionsDescription
Smelter Hero/apps/web/public/smelter-hero.png740KBFoundry worker controlling molten metal pour, dramatic industrial scene with glowing magma

Logo Assets

AssetPathDimensionsDescription
SmelterOS Logo/apps/web/public/smelteros-logo.jpg512KBMain SmelterOS logo
Full Logo PNG/apps/web/public/assets/smelter-logo-full.png658KBTransparent full logo for headers
Chicken Hawk Logo/apps/web/public/chickenhawk-logo.png299KBChicken Hawk framework logo
Chicken Hawk Mascot/apps/web/public/chickenhawk-mascot.png503KBChicken Hawk mascot character

Background Patterns

AssetPathDescription
Foundry GridCSS PatternLinear gradient grid pattern
Circuit PatternCSS SVGCircuit board pattern overlay

🎨 Image Generation Guidelines

When generating new images for SmelterOS, follow these creative directions:

Visual Style: "Molten Forge"

Key Elements:

  • Industrial foundry environments
  • Molten metal / magma
  • Dark, dramatic lighting
  • High contrast (deep shadows, bright orange/gold highlights)
  • Professional, high-fidelity renders
  • Cinematic composition

Color Palette:

ColorHexUsage
Molten Orange#FF4D00Liquid metal, fire
Molten Gold#FFB000Highlights, sparks
Deep Red#E63900Hot coals, intensity
Foundry Black#09090BShadows, backgrounds
Bronze#3D2B1FCooled metal, surfaces

Prompt Templates

Hero Background:

code
A dramatic smelting furnace pouring molten magma, industrial foundry setting, 
glowing orange-gold liquid metal flowing toward the viewer, sparks flying, 
dark atmospheric environment, cinematic lighting, professional render, 
16:9 aspect ratio, 4K quality

Module Cards:

code
Abstract representation of [module concept], industrial foundry aesthetic,
dark background with molten orange accents, clean modern design,
professional tech visualization, 16:9 aspect ratio

Icon/Logo:

code
Minimalist industrial logo design, foundry/smelting theme,
molten orange on dark background, clean vector style,
professional branding, 1:1 aspect ratio

📁 Asset Organization

Directory Structure

code
apps/web/public/
├── smelter-hero.png           # Main hero image
├── smelteros-logo.jpg         # Primary logo
├── chickenhawk-logo.png       # Framework logo
├── chickenhawk-mascot.png     # Mascot image
├── assets/
│   ├── smelter-logo-full.png  # Transparent logo
│   ├── magma-bg.jpg           # Background image
│   ├── landing-ref.jpg        # Reference image
│   └── img/                   # Additional images
├── file.svg                   # Utility icons
├── globe.svg
├── next.svg
├── vercel.svg
└── window.svg

Naming Conventions

TypePatternExample
Hero Images[subject]-hero.pngsmelter-hero.png
Backgrounds[name]-bg.jpgmagma-bg.jpg
Logos[brand]-logo.pngsmelteros-logo.png
Icons[name]-icon.svgforge-icon.svg
Screenshots[feature]-screenshot.pngdashboard-screenshot.png

🔧 Image Usage Patterns

In Next.js Components

Optimized Image (recommended):

tsx
import Image from 'next/image'

<Image
  src="/smelter-hero.png"
  alt="Smelter foundry scene"
  width={1200}
  height={800}
  priority
  className="object-cover"
/>

Background Image:

tsx
<div 
  className="absolute inset-0 bg-cover bg-center"
  style={{ backgroundImage: 'url("/assets/magma-bg.jpg")' }}
/>

Logo in Header:

tsx
<img 
  src="/assets/smelter-logo-full.png" 
  alt="SmelterOS" 
  className="h-10 w-auto object-contain"
/>

With Gradient Overlays

tsx
<div className="relative">
  {/* Background Image */}
  <div 
    className="absolute inset-0 bg-cover bg-center"
    style={{ backgroundImage: 'url("/smelter-hero.png")' }}
  />
  
  {/* Gradient Overlays */}
  <div className="absolute inset-0 bg-gradient-to-r from-[#0f0c08] via-[#0f0c08]/90 to-transparent" />
  <div className="absolute inset-0 bg-gradient-to-t from-[#0f0c08] via-transparent to-[#0f0c08]/50" />
  
  {/* Content */}
  <div className="relative z-10">
    {/* Your content */}
  </div>
</div>

📏 Recommended Image Sizes

Use CaseDimensionsFormatMax Size
Hero Full-width1920x1080PNG/JPG1MB
Background1920x1080JPG500KB
Card Thumbnail400x300JPG/WebP100KB
Logo (Header)200x60PNG50KB
Logo (Full)800x200PNG200KB
Icon64x64SVG/PNG10KB
Favicon32x32ICO/PNG5KB

🛠️ Image Optimization

Before Adding Images

  1. Resize to appropriate dimensions
  2. Compress using tools like:
  3. Convert to WebP where possible for better performance
  4. Check file size is within limits

Next.js Image Optimization

The next/image component automatically:

  • Serves WebP format when supported
  • Lazy loads images by default
  • Prevents Cumulative Layout Shift
  • Resizes images on-demand

🎯 When to Use This Skill

  1. Adding new images — Check asset inventory and naming conventions
  2. Generating images — Use the prompt templates and style guidelines
  3. Optimizing images — Follow the size recommendations
  4. Implementing images — Use the usage patterns
  5. Organizing assets — Follow directory structure

📋 Quick Reference

Image File Paths

javascript
// From components:
"/smelter-hero.png"           // Hero image
"/assets/magma-bg.jpg"        // Background
"/assets/smelter-logo-full.png" // Logo

// With Next.js Image:
import Image from 'next/image'
<Image src="/smelter-hero.png" ... />

CSS Background Patterns

css
/* Foundry Grid */
background-image: linear-gradient(to right, #3a2c27 1px, transparent 1px),
                  linear-gradient(to bottom, #3a2c27 1px, transparent 1px);
background-size: 40px 40px;

/* Circuit Pattern */
background-image: url("data:image/svg+xml,...");