stackblitz-core-workflow-b
/stackblitz-core-workflow-b
Projektuje i wdraża osadzenie StackBlitz JavaScript SDK z określonym źródłem projektu, strategią ładowania, opcjami UI i rozwiązaniem awaryjnym dla małych ekranów.
- Autor
- jeremylongshore ↗
- Repozytorium
- tons-of-skills-marketplace ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 26.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Projektuje i wdraża osadzenie StackBlitz JavaScript SDK z określonym źródłem projektu, strategią ładowania, opcjami UI i rozwiązaniem awaryjnym dla małych ekranów.
Wyzwalacze z opisu
Argumenty
/stackblitz-core-workflow-b [project-path] [project-id|github-path|inline]
Oryginalny opis (EN)
Design and implement a StackBlitz JavaScript SDK embed with an explicit project source, load strategy, UI options, persistence expectations, and responsive fallback. Use when documentation, training, or product pages need an interactive code example without owning a custom WebContainer runtime. Trigger with "embed StackBlitz", "StackBlitz SDK project", or "interactive code example".
Jak działa
- Overview
- Prerequisites
- Tool Discipline
- Current Contract
- Authentication
- Workflow
- Approval Boundaries
- Output
- Error Handling
- Examples
Podgląd SKILL.md
--- name: stackblitz-core-workflow-b description: >- Design and implement a StackBlitz JavaScript SDK embed with an explicit project source, load strategy, UI options, persistence expectations, and responsive fallback. Use when documentation, training, or product pages need an interactive code example without owning a custom WebContainer runtime. Trigger with "embed StackBlitz", "StackBlitz SDK project", or "interactive code example". argument-hint: "[project-path] [project-id|github-path|inline]" allowed-tools: Read, Glob, Grep, WebFetch, Write, Edit version: 1.7.0 author: Jeremy Longshore <jeremy@intentsolutions.io> license: MIT tags: - saas - stackblitz - embedding - documentation model: inherit effort: medium compatibility: Designed for Claude Code --- # StackBlitz Embed Integration ## Overview This skill selects and implements the supported SDK method for an existing StackBlitz project, a public GitHub path, or an inline project. It treats the embed as third-party executable content with explicit loading, persistence, accessibility, and browser-support boundaries. ## Prerequisites - A named host page and the source of the project to embed - Confirmation that source code is public and safe to send to or execute through StackBlitz - A static fallback and intended responsive behavior ## Tool Discipline Use `Read`, `Glob`, and `Grep` to inspect the host component, content source, CSP, existing third-party scripts, and responsive patterns. Use `WebFetch` only for current official StackBlitz documentation. Use `Write` or `Edit` after the embed source and trust boundary are confirmed. ## Current Contract - Use `embedProjectId` for an existing StackBlitz project, `embedGithubProject` for a public GitHub repository/path, and `embedProject` for a generated inline project. - Inline projects live in browser memory unless a user forks them into a StackBlitz account; do not promise automatic persistence. - Use current `EmbedOptions`; do not depend on deprecated `forceEmbedLayout` behavior. - `clickToLoad` is a useful consent/performance boundary for expensive or numerous embeds. - Treat the returned VM instance as an integration capability with an explicit owner and disposal path. - WebContainer-based embeds have stricter browser constraints than static code fallbacks. ## Authentication Do not embed private repositories, secrets, licensed source, or authenticated application state through a public project method. If enterprise origin or private access is required, stop and obtain the documented organization configuration and security approval. ## Workflow 1. Inspect the host page, choose the authoritative project source, and classify its sensitivity. 2. Select one SDK method and a pinned SDK version from the repository lockfile. 3. Define height, view, theme, `openFile`, and `clickToLoad` from the user journey; avoid deprecated options. 4. Add a titled container, loading state, error state, and accessible static link or code fallback. 5. Reconcile CSP, privacy disclosure, responsive layout, and browser support with the site owner. 6. Test initial load, user-triggered load, failure, keyboard flow, narrow viewport, and navigation cleanup. ## Approval Boundaries Require explicit authorization before adding a third-party executable embed, changing CSP, loading private code, selecting an enterprise origin, or adding analytics. Show the data/source flow and fallback before deployment. ## Output Return the selected source and SDK method, package/version evidence, embed options, trust and persistence semantics, accessibility/fallback behavior, tests run, changed files, rollout, and rollback. ## Error Handling | Condition | Response | |---|---| | GitHub project cannot load | Verify the public repository, branch/tag/commit, and optional subfolder path. | | Inline work disappears | Explain browser-memory semantics and offer an explicit fork/export path. | | Embed breaks narrow layouts | Use a responsive container and preserve the static fallback. | | Host CSP blocks the embed | Propose the narrow official origins; never disable CSP wholesale. | ## Examples Given a public tutorial repository pinned to a commit, add a click-to-load embed opening the relevant file and provide a normal GitHub link plus static code sample when the runtime cannot load. ## Resources - [Official StackBlitz and WebContainers references](references/official-docs.md) - [StackBlitz JavaScript SDK](https://developer.stackblitz.com/platform/api/javascript-sdk) - [SDK options reference](https://developer.stackblitz.com/platform/api/javascript-sdk-options)
Pliki w paczce (2)
- SKILL.md 5 KB
- references/official-docs.md 1 KB
Wersje
W bazie nie ma innych skilli o nazwie stackblitz-core-workflow-b.
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki 7e056dee8169 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100stackblitz-install-auth
Przygotowuje integrację StackBlitz WebContainer lub JavaScript SDK z przypiętymi pakietami, zgodnymi nagłówkami izolacji i właściwą ścieżką uwierzytelniania dla licencji komercyjnej lub pakietów prywatnych. - 100stackblitz-common-errors
Diagnozuje błędy startu WebContainer, izolacji, Service Workera, zależności, procesów i podglądu w przeglądarce na podstawie dowodów, zanim zmieni kod lub nagłówki. - 100bolt
Pomaga pracować z Bolt (bolt.new od StackBlitz), czyli narzędziem AI zamieniającym prompt w działającą aplikację: prototypowanie, lepsze prompty, Plan Mode, oszczędzanie tokenów, GitHub, Supabase, Stripe, Netlify i bolt.diy. - 100aws-sdk-js-v3-usage
Dostarcza wzorce programowania z AWS SDK for JavaScript v3 (pakiety @aws-sdk/*) w JavaScript i TypeScript oraz odpowiada na pytania o schematy, walidację, serializację i generowanie kodu. - 100output-dev-code-style
Stosuje konwencje stylu kodu w projektach Output SDK: najpierw wykrywa reguły lintera projektu, a bez lintera przyjmuje konwencje Output SDK dla TypeScript i JavaScript.