Skip to main content

ops-stitch

Bundle design context (screenshots, DESIGN.md, references, prompt) for Google Stitch sessions. Prepares a context-bundle directory with current-state screenshots, design tokens, reference images, and a structured prompt ready for upload to the Stitch web UI.

Quellinformationen

Repository
grahama1970/agent-stack-public
Letzte Quellaktivität
24. September 2026 um 15:51
Erkannte Sprache von SKILL.md
Englisch
Sterne
0
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
57 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
ops-stitch
version
0.1.0
description
Bundle design context (screenshots, DESIGN.md, references, prompt) for Google Stitch sessions. Prepares a context-bundle directory with current-state screenshots, design tokens, reference images, and a structured prompt ready for upload to the Stitch web UI.
triggers
["bundle for stitch","stitch context","prepare stitch","design with stitch","ops-stitch"]
provides
["stitch-context-bundle"]
composes
["agentic-evals"]
disciplines
["ui-design-engineering","developer-tooling"]
# ops-stitch Bundle design context for Google Stitch sessions. ## What it does Takes a target view/component name and produces a `context-bundle/` directory containing everything needed for a Stitch design session: 1. **Screenshot** — headless Chrome captures the current state of the target URL 2. **DESIGN.md** — copied from the project (auto-detected in cwd or parent, or explicit path) 3. **Reference images** — any inspiration/reference images you want Stitch to see 4. **PROMPT.md** — the prompt text plus instructions for the human on what to upload 5. **manifest.json** — metadata (target, timestamp, URL, prompt, image list) The output directory is ready for manual upload to the Stitch web UI. Stitch SDK is text-only, but the web UI accepts image uploads — the human drags in the screenshots and references. ## Usage ```bash # Bundle context for a component ./run.sh bundle \ --target design-board-canvas \ --url http://localhost:3001 \ --hash music-lab-pipeline \ --prompt "Redesign the pipeline view with better spacing and hierarchy" \ --references /path/to/inspo1.png /path/to/inspo2.png # List previous bundles ./run.sh list-bundles ``` ## Output structure ``` captures/{target}/context-bundle/ current-state.png # headless Chrome screenshot DESIGN.md # design tokens / spec PROMPT.md # prompt + upload instructions manifest.json # metadata ref-*.png # reference images (renamed copies) ``` ## References (retrieve on demand — do not vendor) External docs drift; cite the canonical URLs and fetch them when needed with `/context7` (library docs) or `/fetcher` (any URL/PDF) rather than caching stale copies. Verified reachable (HTTP 200) 2026-08-24. - Google Stitch: <https://stitch.withgoogle.com/> - llms.txt (LLM-friendly doc index): <https://stitch.withgoogle.com/llms.txt> - llms-full.txt (expanded LLM index): <https://stitch.withgoogle.com/llms-full.txt> ```bash skills/context7/run.sh "google stitch design" skills/fetcher/run.sh "https://stitch.withgoogle.com/" ```
Auf GitHub ansehen