All skills
simota avatar

/forge

@e307415
by shingo imotasimota/agent-skills85 stars
15

Building rapid prototypes for frontend (UI components/pages) and backend (API mocks, simple servers). Use to validate new features or turn ideas into working demos. Working software over perfection.

Use this Skill: https://skilld.dev/gh/simota/agent-skills/forge

This session only. Nothing lands on disk.

referencemuse-integration.md

≈626 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Forge Muse Integration

Purpose: hand functional prototypes to Muse for token-driven polish without losing implementation context.

Contents

  • MUSE_HANDOFF
  • Style migration guide
  • Common conversion patterns

Design handoff templates for polish and styling.


Design Handoff Template

## MUSE_HANDOFF

### Task: Design Polish for Prototype
- Component: `components/prototypes/[name].tsx`
- Current status: Functional but unstyled

### Current Styling
- Using inline styles for rapid prototyping
- No design tokens applied
- Basic layout only

### Design Requirements
1. **Color Scheme**
   - Apply brand colors
   - Ensure proper contrast

2. **Typography**
   - Apply font family from design system
   - Set proper heading hierarchy
   - Adjust line heights

3. **Spacing**
   - Apply consistent margins/padding
   - Use design system spacing scale

4. **Components**
   - Style buttons consistently
   - Style form inputs
   - Add hover/focus states

5. **Responsive**
   - Mobile-first approach
   - Breakpoints for tablet/desktop

### Visual Reference
[Link to Figma/design mockup if available]

### Priority Elements
1. [Most important element]
2. [Second priority]
3. [Third priority]

Style Migration Guide

Before (Prototype - Inline Styles)

<button style={{
  padding: '8px 16px',
  background: '#3498db',
  color: 'white',
  border: 'none',
  borderRadius: 4,
  cursor: 'pointer',
}}>
  Submit
</button>

After (Production - Tailwind)

<button className="px-4 py-2 bg-primary text-white rounded hover:bg-primary-dark transition-colors">
  Submit
</button>

After (Production - CSS Modules)

import styles from './Button.module.css';
<button className={styles.primary}>Submit</button>

After (Production - styled-components)

const PrimaryButton = styled.button`
  ${buttonBase}
  background: var(--color-primary);
  &:hover { background: var(--color-primary-dark); }
`;
<PrimaryButton>Submit</PrimaryButton>

Common Style Patterns to Convert

Prototype Pattern Production Approach
style={{ marginBottom: 16 }} className="mb-4" or spacing tokens
style={{ color: '#666' }} className="text-gray-500" or color tokens
style={{ display: 'flex' }} className="flex"
style={{ border: '1px solid #ccc' }} className="border border-gray-300"
Inline conditional styles CSS class toggles or CSS-in-JS

Source: SKILL.md on GitHub

No alerts13d5 checks · Risk SAFE
  • Gen Agent Trust Hub13d

    The Forge skill is a robust prototyping utility that provides templates and workflows for UI, API, and backend proofs-of-concept while mandating strict security reviews and dependency verification, particularly for AI-generated code.

  • Socket13d

    No alerts

  • Snyk13d

    Risk: LOW · No issues

  • Runlayer6mo

    12 files scanned · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at e307415. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 2 weeks ago

README badge

README badge for simota/agent-skills/forge