How hxy1073/ecommerce-product-ads-skill works
This repository is a reusable ecommerce key-visual design skill, not an autonomous image-generation application. Its principal workflow turns supplied product facts and protected assets into concepts, an approved visual direction, generated artwork, QA, a human delivery decision, and a final PNG. The README documents the creative stages; sampled Python code supports workspace initialization and deterministic validation. Stage-level implementation details beyond those documents were not inspected.
Main entry points: validate.py Deterministic validation · input Task inputs · SKILL.md Final human check · visual_strategy.yaml Visual direction
Components 16
Task workspace
- Task inputs
input - Workspace bootstrap
scripts/bootstrap.py - Stage decisions
work/state.yaml
Creative workflow
- Product brief
work/brief.yaml - Concept options
work/concepts.yaml - Concept checkpoint
SKILL.md - Visual direction
work/visual_strategy.yaml - Composition layout
work/layout.json - Direction checkpoint
SKILL.md
Review and delivery
- Design QA
work/qa_report.md - Final human check
SKILL.md - PNG export
output
Skill resources
- Design knowledge
references - Deterministic validation
scripts/validate.py
Other components
- Task owner
- ImageGen
Connections 22
- Task owner → Task inputs: supplies assets
README.md - Task inputs → Workspace bootstrap: initializes workspace
scripts/bootstrap.py - Workspace bootstrap → Stage decisions: resumes stage
scripts/bootstrap.py - Task inputs → Product brief: analyzes facts
README.md - Product brief → Concept options: informs concepts
README.md - Concept options → Concept checkpoint: presents options
README.md - Task owner → Concept checkpoint: selects concept
README.md - Concept checkpoint → Visual direction: guides direction
README.md - Design knowledge → Visual direction: informs styling
README.md - Visual direction → Composition layout: defines composition
README.md - Composition layout → Direction checkpoint: presents direction
README.md - Task owner → Direction checkpoint: approves direction
README.md - Direction checkpoint → ImageGen: prompts artwork
README.md - ImageGen → Design QA: provides artwork
README.md - Design QA → Final human check: informs review
README.md - Task owner → Final human check: chooses outcome
README.md - Final human check → ImageGen: requests iteration
README.md - Final human check → PNG export: approves delivery
README.md - Task owner → Deterministic validation: runs checks
README.md - Deterministic validation → Task inputs: checks inputs
scripts/validate.py - Deterministic validation → Stage decisions: checks workflow
scripts/validate.py - Deterministic validation → PNG export: checks PNG
scripts/validate.py