Skip to content
Back to skills

Ops Stitch

ASecurity

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.

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 11, 2026
developmentgobash

Security analysis

A100/100

Pro scans all 17 files and shows the line behind each finding

Scanned September 23, 2026

npx -y skills add grahama1970/agent-skills --skill ops-stitch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ops Stitch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ops Stitch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/grahama1970-ops-stitch/badge)](https://www.skillsdirectory.com/skills/grahama1970-ops-stitch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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/"
```

Files in this skill

  • SKILL.md2.6 KB
  • bundle.py5 KB
  • captures/design-board-canvas/context-bundle/DESIGN.md6.1 KB
  • captures/design-board-canvas/context-bundle/PROMPT.md801 B
  • captures/design-board-canvas/context-bundle/current-state.png48.2 KB
  • captures/reasoning-block/context-bundle/DESIGN.md8.2 KB
  • captures/reasoning-block/context-bundle/PROMPT.md905 B
  • captures/reasoning-block/context-bundle/current-state.png79.8 KB
  • captures/reasoning-block/context-bundle/ref-chat.png79.8 KB
  • captures/reasoning-block/context-bundle/ref-ecl.png79.8 KB
  • captures/reasoning-block/stitch-v1/122a803bf2ef4e1bbcd13f3beffd38f3.html17.4 KB
  • captures/reasoning-block/stitch-v1/122a803bf2ef4e1bbcd13f3beffd38f3.png55.5 KB
  • captures/reasoning-block/stitch-v1/16802158895153191082.png49.5 KB
  • captures/reasoning-block/stitch-v1/18b3262920a24f2ab1006ea22de879ec.html18.8 KB
  • captures/reasoning-block/stitch-v1/18b3262920a24f2ab1006ea22de879ec.png62.1 KB
  • captures/reasoning-block/stitch-v1/1950635495367857596.png21.6 KB
  • captures/reasoning-block/stitch-v1/3916379577467655120.html8.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.