image-to-mission

$npx mdskill add Tibsfox/gsd-skill-creator/image-to-mission

Extract creative intent from images into executable build specs.

  • Translates visual references into code, design, or specifications.
  • Optionally depends on vision-to-mission for image analysis.
  • Activates on images plus build intent or keywords like 'i2m'.
  • Produces a structured transmission package with analysis and instructions.

SKILL.md

.github/skills/image-to-missionView on GitHub ↗
---
name: image-to-mission
description: Extract creative intent from images into executable build specs. Activates on images + build intent, "image to mission", "i2m", or capturing visual energy in code/design.
domain: creative-translation
context: fork
activation: domain
dependencies:
  optional:
    - vision-to-mission
format: 2025-10-02
version: 1.0.0
status: ACTIVE
updated: 2026-04-15
triggers:
  - user provides an image and wants it turned into a build spec or mission
  - '"image to mission" or "i2m" is requested'
  - capturing visual or design energy from an image into code or a mission package
---

# Image to Mission

Takes one or more images plus optional creator context and produces:
1. Structured 4-layer visual analysis (literal, spatial, relational, mood)
2. Extracted technical parameters (color, geometry, material, feel)
3. Executable build instructions with philosophy annotations
4. Self-contained transmission package for cross-context handoff

## When to Activate

Activate when the user provides images AND expresses intent to:
- Build, create, or make something based on the images
- Translate visual reference into code, design, or specifications
- Capture the "feel" or "energy" of images in another medium
- Create a mission package from visual reference
- Direct keywords: "image to mission", "i2m"
- Target medium: "translate this to [canvas/react/three.js/SVG/CSS]"

DO NOT activate when the user:
- Simply asks "what's in this image?" (use standard image analysis)
- Wants image editing or manipulation
- Needs OCR or text extraction from images
- Is asking about image file formats or metadata
- Asks to describe colors or content without build intent

## Observation Protocol

Before building anything, enter observation mode:

### Phase 1: Observe (mandatory — do not skip)
Process each image through four layers:
- **Literal:** Inventory all visible objects, materials, colors
- **Spatial:** Map relationships, arrangements, density
- **Relational:** Find patterns across images, note changes vs. constants
- **Mood:** Quantify atmosphere (energy, intimacy, order, handmade, ceremony)

### Phase 2: Listen (if creator provides context)
Structure context into: process, intent, constraints, accidents, multipurpose.
Extract the process insight — the key understanding about HOW it was made.

### Phase 3: Connect
Synthesize observations + context into unified understanding.
Find what neither source reveals alone.

### Phase 4: Extract
Convert understanding to numerical parameters:
- Colors (palette, temperature, contrast, relationships)
- Geometry (shape, arrangement, symmetry, constants)
- Materials (surfaces, light interaction, blend modes)
- Feel (energy, intimacy, order, handmade, ceremony — all 0-1)

### Phase 5: Build
Translate parameters to target medium.
Generate step-by-step instructions with philosophy notes.

### Phase 6: Document
Package everything for transmission.
Validate self-containment.

## Output Formats

| Format | When | Content |
|--------|------|---------|
| Direct build | Simple, single-medium output | Code/SVG + philosophy notes |
| Build spec | Medium complexity | Step-by-step instructions |
| Mission package | Complex, multi-component | Full vision_to_mission handoff |
| Transmission package | Cross-context work | JSON/Markdown bundle |

## Implementation

Code lives in `src/vtm/image-to-mission/`. Key modules:
- **observation-engine** — four-layer observation (literal/spatial/relational/mood)
- **context-integrator** — freeform text parser, layer mapping, process insight extraction
- **connection-engine** — cross-image linker, visual-context bridge, synthesis orchestrator
- **parameter-extractor** — color/geometry/material/feel extraction with reference tables
- **translation-code** — Canvas, React/JSX, Three.js, CSS translators
- **translation-design** — SVG, palette, markdown layout spec
- **build-generator** — ordered atomic build steps with philosophy annotations
- **transmission-packager** — 5 self-containment checks, JSON + markdown serialization
- **pipeline-bridge** — complexity scoring (0-12), routing, override detection, v2m handoff

## Key Principles

1. **Observe before building** — spend time with images
2. **Process reveals pattern** — ask how, not just what
3. **Emergent > designed** — honor organic over mechanical
4. **Feel over fidelity** — capture energy, not pixels
5. **Document for transmission** — write for the next mind

## Safety

- Output is inspired by, not a copy of, source images
- Creator context is attributed, never silently absorbed
- Simple description requests are rejected to avoid wasting observation protocol

More from Tibsfox/gsd-skill-creator

SkillDescription
3d-interaction-designDesign heuristics for three-dimensional interaction — input modalities (6DoF controllers, gaze, gesture, voice), selection and manipulation techniques (ray-cast, virtual hand, go-go, world-in-miniature), navigation (teleport, continuous, redirected walking), and feedback loops (haptic, audio, visual). Covers Fitts' law in 3D, discoverability vs affordance, safe-zone design, and comfort/simulator sickness mitigation. Use when designing VR/AR interactions, immersive walkthroughs, or any input system where the user's body is the controller.
accessibility-patternsProvides web accessibility best practices for semantic HTML, ARIA, keyboard navigation, color contrast, and screen reader patterns. Use when building UI components, reviewing accessibility, or when user mentions 'a11y', 'accessibility', 'ARIA', 'screen reader', 'keyboard navigation', 'WCAG'.
active-listeningActive listening techniques for effective communication. Covers attending behaviors, paraphrasing, reflective listening, clarifying questions, empathic response, barriers to listening, listening in conflict, and cross-cultural listening. Use when building listening skills, improving understanding in conversation, mediating disputes, or analyzing communication breakdowns.
adversarial-pr-reviewAdversarial spec-compliance PR review — cross-references diffs against approved specs, verifies runtime claims against source, detects competing PRs, audits scope/convention compliance. Use before merging.
agile-methodsAgile and Lean software development methodologies for iterative, adaptive project execution. Covers Scrum (roles, ceremonies, artifacts), Kanban (WIP limits, flow metrics), XP (TDD, pair programming, CI), SAFe overview, Lean Software Development (Poppendieck's 7 principles), user stories (INVEST criteria), estimation via story points and velocity, and the Agile Manifesto's values and principles. Includes Cynefin framework for methodology selection and GSD's relationship to Agile as a structured Lean variant.
algebraic-reasoningSymbolic manipulation, equation solving, and algebraic structures for mathematical reasoning. Covers distributive law, factoring, completing the square, linear through polynomial equation solving, systems of equations (substitution, elimination, Gaussian elimination, matrix methods), algebraic structures (groups, rings, fields), modular arithmetic, polynomial theory, and inequalities. Use when solving equations, simplifying expressions, working with algebraic structures, or performing symbolic manipulation.
algorithmic-awarenessUnderstanding how algorithmic systems shape what users see, know, and do -- from recommendation feeds to search ranking to credit scoring to hiring software. Covers the mechanics of recommendation systems, algorithmic bias and its sources, personalization's effects on information diets, opacity and accountability, AI limitations (hallucination, confident wrongness), and the human-in-the-loop question. Use when a learner needs to think critically about why particular content reached them.
algorithms-data-structuresAlgorithms and data structures from first principles through advanced analysis. Covers sorting (bubble, insertion, selection, merge, quick, heap, radix), searching (linear, binary, BFS, DFS, Dijkstra, A*), fundamental data structures (arrays, linked lists, stacks, queues, hash tables, trees, heaps, graphs, tries), complexity analysis (Big-O, Big-Omega, Big-Theta, amortized), recurrence relations, and algorithm design paradigms (divide-and-conquer, greedy, dynamic programming, backtracking). Use when analyzing, selecting, implementing, or comparing algorithms and data structures.
aminet-browserAminet search and browse: full-text search, category tree navigation, architecture filtering, package detail, and curated collections. Use when searching, browsing, or managing package collections.
aminet-emulatorFS-UAE emulator configuration and launch: hardware profiles, ROM management, WHDLoad integration, config generation, and state snapshots. Use when configuring emulation, managing ROMs, or launching Amiga software.