swarm-page-builder
/swarm-page-builder
Buduje edytowalne strony w stylu wspólnego konstruowania w projekcie React: ruch kursorów, rysowanie przy przewijaniu i konfigurowane sceny.
- Autor
- cxyax ↗
- Repozytorium
- swarm-cursors-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 08.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 53
- Skrypty
- 32
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 08.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 32 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: assets/template/src/App.jsx, assets/template/src/main.jsx, assets/template/src/swarm/SwarmExperience.jsx, assets/template/src/swarm/animation/DrawingEngine.js, assets/template/src/swarm/animation/SwarmEngine.js, assets/template/src/swarm/animation/config.js, assets/template/src/swarm/animation/motion.js, assets/template/src/swarm/components/ConstructionOverlay.jsx
Co robi i kiedy
Buduje edytowalne strony w stylu wspólnego konstruowania w projekcie React: ruch kursorów, rysowanie przy przewijaniu i konfigurowane sceny.
Oryginalny opis (EN)
Build editable swarm-cursors-style collaborative construction pages directly in a new or existing React project, including cursor movement, scroll-triggered drawing, typing, duplication, rulers and interactions. Uses configured scenes; does not snapshot arbitrary DOM or provide a browser extension.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 47 linii, 538 słów
Podgląd SKILL.md
--- name: swarm-page-builder description: Build editable swarm-cursors-style collaborative construction pages directly in a new or existing React project, including cursor movement, scroll-triggered drawing, typing, duplication, rulers and interactions. Uses configured scenes; does not snapshot arbitrary DOM or provide a browser extension. --- # Swarm page builder [简体中文](SKILL.zh-CN.md) Use the included editable source to implement a multi-cursor construction page in the user's project. The effect is inspired by [swarm-cursors](https://github.com/DhvanilPatel/swarm-cursors); the page runs its own React components, scheduling engine, scene builder and interactions. It does not need the skill, the original site's compressed scripts, or an AI service at runtime. # 1、Choose an integration Inspect the target stack, routing, package manager and files first; follow its conventions. - **New project:** Use `standalone` as described in [integration](references/integration.md). - **Existing React project:** Use `module` in a new feature directory and mount a full-screen route. The script does not change the host's entry point, dependencies or routes. - **Vue or plain HTML:** Use a standalone page or full-viewport iframe, or implement a native rendering and lifecycle adapter around the scene/task protocol. JSX is not directly portable. - **Decoration or a local panel:** This is not an off-the-shelf component for that use. Adapt the coordinate, scrolling and rendering logic to the requested scope. The template uses the browser document as its scroll container, with one instance per page. It does not support a nested scroll container, offset or transformed parent. Mount SSR applications from a client component; the engine is created only in a browser effect. # 2、Copy the source Replace `<skill-dir>` with the directory containing this file. The target must be a new directory. ```bash python3 <skill-dir>/scripts/scaffold.py --mode standalone --target /path/to/new-project python3 <skill-dir>/scripts/scaffold.py --mode module --target /path/to/existing-project/src/features/swarm ``` Add `--dry-run` to inspect the plan. The script copies local files only: it does not download, install, build, commit or deploy. If the target exists, stop and choose a new directory or manually merge reviewed changes. Do not copy `node_modules`, original-site build artifacts, machine settings or local absolute paths. Existing projects retain their own dependency versions and package manager. # 3、Adapt the page Read [scene and interaction customization](references/customization.md) as needed. Edit scene sections, theme and click actions before changing animation scheduling. With a custom scene, pass matching `interactions`; remove hotspots for deleted elements. `SwarmExperience` accepts a scene factory, interactions, an action callback and automatic start. Content, colors, tasks and graphics remain editable. Use the host `onAction` to implement real business behavior; local demos must not claim a purchase, application or AI task has been performed. - Keep CSS and Canvas font, size and line-height measurements consistent. - Enable hotspots only after their background, text, copy and replacement tasks complete. Duplicate element suffixes start at `~1`, while duplicate task indices start at `0`. - Mutable entities use version `v`; call `markChanged()` after mutation. - `INITIAL`, `BASE`, `FOLLOW` and `MAXIMUM` jointly control cursor numbers; a fixed count needs corresponding scheduling changes. - Module CSS is scoped under `.swarm-experience`. The host owns its reset; do not copy the standalone `demo.css` globally into an existing project. # 4、Deliver Follow the target repository's allowed verification scope. When browser verification is authorized, inspect scroll construction, navigation, dialogs and focus restoration, copy/download behavior and cleanup after routing. If only static review is allowed, say so; do not claim runtime validation. Describe the output files, startup or route entry, customization points and any unverified behavior. Preserve the [provenance](references/provenance.md); do not represent the template as the original author's unpublished source or grant rights on their behalf.
Pliki w paczce (53)
- SKILL.md 4 KB
- SKILL.zh-CN.md 5 KB
- agents/openai.yaml 1 KB
- assets/template/.gitignore 1 KB
- assets/template/index.html 1 KB
- assets/template/jsconfig.json 1 KB
- assets/template/package.json 1 KB
- assets/template/vite.config.js 1 KB
- assets/template/src/App.jsx 1 KB
- assets/template/src/demo.css 1 KB
- assets/template/src/main.jsx 1 KB
- assets/template/src/swarm/SwarmExperience.jsx 3 KB
- assets/template/src/swarm/index.js 1 KB
- assets/template/src/swarm/animation/DrawingEngine.js 18 KB
- assets/template/src/swarm/animation/SwarmEngine.js 30 KB
- assets/template/src/swarm/animation/config.js 1 KB
- assets/template/src/swarm/animation/motion.js 2 KB
- assets/template/src/swarm/components/ConstructionOverlay.jsx 7 KB
- assets/template/src/swarm/components/Cursor.jsx 6 KB
- assets/template/src/swarm/components/InteractionDialog.jsx 16 KB
- assets/template/src/swarm/components/Rulers.jsx 5 KB
- assets/template/src/swarm/components/SceneElements.jsx 7 KB
- assets/template/src/swarm/components/SceneInteractions.jsx 2 KB
- assets/template/src/swarm/components/Stage.jsx 3 KB
- assets/template/src/swarm/hooks/usePageInteractions.js 2 KB
- assets/template/src/swarm/hooks/useSwarm.js 5 KB
- assets/template/src/swarm/interactions/actions.js 6 KB
- assets/template/src/swarm/scene/create-scene.js 1 KB
- assets/template/src/swarm/scene/scene-builder.js 11 KB
- assets/template/src/swarm/scene/text-metrics.js 3 KB
- assets/template/src/swarm/scene/theme.js 5 KB
- assets/template/src/swarm/scene/types.js 2 KB
- assets/template/src/swarm/scene/sections/configuration.js 2 KB
- assets/template/src/swarm/scene/sections/features.js 2 KB
- assets/template/src/swarm/scene/sections/footer.js 3 KB
- assets/template/src/swarm/scene/sections/hero.js 4 KB
- assets/template/src/swarm/scene/sections/navigation.js 1 KB
- assets/template/src/swarm/scene/sections/pricing.js 3 KB
- assets/template/src/swarm/scene/sections/workflow.js 3 KB
- assets/template/src/swarm/styles/base.css 1 KB
- assets/template/src/swarm/styles/cursors.css 1 KB
- assets/template/src/swarm/styles/dialog.css 6 KB
- assets/template/src/swarm/styles/index.css 1 KB
- assets/template/src/swarm/styles/interactions.css 1 KB
- assets/template/src/swarm/styles/overlays.css 1 KB
- assets/template/src/swarm/styles/stage.css 1 KB
- references/customization.md 3 KB
- references/customization.zh-CN.md 4 KB
- references/integration.md 4 KB
- references/integration.zh-CN.md 7 KB
- references/provenance.md 2 KB
- references/provenance.zh-CN.md 2 KB
- scripts/scaffold.py 3 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · cxyax/swarm-cursors-skills | 100 | MIT |
| TejasLamba2006/swarm-page-builder | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 70d2e5ff51c7 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 3 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100swarm-build
Dodaje do strony animację, w której roje kolorowych kursorów rysują ramki i budują zrzut ekranu albo całą stronę blok po bloku. - 100living-ui-swarm
Tworzy animację budowania strony rojem kolorowych kursorów, które składają sekcje w miarę przewijania. - 100mouse-swarm-reveal
Tworzy sekwencyjne odsłanianie strony z symulowanymi rojami kursorów i opcjonalnie podgląd statusu agentów Ruflo. - 90swarm-design
Projektuje i buduje wielostronicową stronę WWW szybko, rojem agentów na żywo, a potem zamienia ją w działającą aplikację lub grę. - 90agent-build-scroll
Dodaje nazwane kursory AI, które rysują klatki i składają sekcje strony podczas przewijania, z obsługą ruchu zredukowanego. - 95orbit
Buduje na Canvas 2D rój dwudziestu sześciu podpisanych kursorów wielu osób, krążących po niewidocznej sferze.