Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

build-on-vibekit

/build-on-vibekit

Rozszerza VibeKit z jego przestrzeni roboczej źródeł: definiowanie narzędzi, budowa pakietu ToolPlugin, składanie wdrożenia i udostępnianie własnego wdrożenia przez MCP stdio lub HTTP.

Repozytorium
vibekit ↗
Licencja
MIT
Ostatnia zmiana repozytorium
02.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
3
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 02.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Rozszerza VibeKit z jego przestrzeni roboczej źródeł: definiowanie narzędzi, budowa pakietu ToolPlugin, składanie wdrożenia i udostępnianie własnego wdrożenia przez MCP stdio lub HTTP.

Oryginalny opis (EN)

Extend VibeKit from its source workspace. Use when defining VibeKit tools, building a ToolPlugin package, composing a deployment, or exposing a custom deployment through stdio or HTTP MCP. Covers the current packages/vibekit/examples and packages/vibekit/src/plugins/* patterns. Do not use for routine CLI or on-chain operations inside a VibeKit-initialized project.

Jak działa

  1. The toolkit surface
  2. Current distribution boundary
  3. Choose the guide
  4. Non-negotiable contracts
  5. Source map
Sekcje z nagłówków SKILL.md, w oryginale · 73 linii, 471 słów
Podgląd SKILL.md
---
name: build-on-vibekit
description: Extend VibeKit from its source workspace. Use when defining VibeKit tools, building a ToolPlugin package, composing a deployment, or exposing a custom deployment through stdio or HTTP MCP. Covers the current packages/vibekit/examples and packages/vibekit/src/plugins/* patterns. Do not use for routine CLI or on-chain operations inside a VibeKit-initialized project.
---

# Build on VibeKit

VibeKit exposes one `ToolDefinition` contract through every host. Extend that
contract, compose tools and plugins into a deployment, then select a host. Do
not create a parallel handler or execution path.

## The toolkit surface

Beyond tools and plugins, `@initlabs/vibekit` ships the pieces the web agent is
built from — reach for these before writing your own: `@initlabs/vibekit/agent`
(`createAgent`, `createAgentHandler`: a turn over HTTP as NDJSON), `/actions`
(the draft → approve → sign → confirm machine, `createWalletSignDraft`), `/pay`
(`createPaywall`: x402 → credit → `charge(request)`), `/rest`
(`createRestHandler`: `POST /tools/<tool>`), and `vibekit add <component>`
(copy-paste React whose props are a tool's output type). Runnable examples:
`packages/vibekit/examples/{agent-http,rest,signer,stdio,http}.ts` and
`packages/vibekit/examples/action.ts`.

## Current distribution boundary

Everything ships as one package, `@initlabs/vibekit`, with subpath exports
(`.` is the core contract; `./tools`, `./preset`, `./mcp`, `./agent`,
`./signer-keystore`, `./plugins/<name>`). Build against this monorepo using
its `workspace:*` dependency. Do not invent install, publish, or versioning
instructions for external consumers.

Before changing structure, read the repository `AGENTS.md` and
`docs/CONSTITUTION.md`. Ask before adding a dependency, package, app, registry, or
extension point.

## Choose the guide

| Task                                                                                           | Guide                                              |
| ---------------------------------------------------------------------------------------------- | -------------------------------------------------- |
| Select tools and plugins, configure networks or signing, and expose a custom stdio or HTTP MCP | [Custom MCP deployment](references/custom-mcp.md)  |
| Define tools, integrate an external service, and package them as a reusable plugin             | [Plugin authoring](references/plugin-authoring.md) |

Load only the guide needed for the current task. A custom MCP may consume an
existing plugin; plugin work does not require changing a host.

## Non-negotiable contracts

- Define every tool with `defineTool()` and give every parameter a Zod schema
  and useful `.describe()` text.
- Tool handlers receive all runtime state through `ToolContext`. Do not keep
  module-level mutable state or mutate the context.
- Throw `ToolError` with a stable code for expected failures. Never return an
  `{ error }` result from a handler.
- Describe the post-`jsonSafe` wire shape in `output`: bigint values become
  numbers or decimal strings and bytes become base64.
- Every host must execute tools through `executeToolCall`; use the existing MCP
  adapter rather than registering bespoke handlers.
- Build writes through `packages/vibekit/src/core/compose/`. Stop if a write requires a
  side path around that engine.
- Keep tool results structured. Tools do not return JSX, HTML, or terminal
  markup.
- Land tests with code. Run the affected package tests and typecheck, then the
  repository gate required by `AGENTS.md`.

## Source map

- `packages/vibekit/src/core/contract.ts` — `ToolDefinition`, `ToolContext`, and
  `ToolPlugin`
- `packages/vibekit/src/core/deployment.ts` — registry validation, network contexts,
  and `executeToolCall`
- `packages/vibekit/src/mcp/` — the generic ToolDefinition-to-MCP adapter
- `packages/vibekit/src/preset/` — the stock mix (default tools, default
  plugins, keystore tools, NETWORK env convention) the stock hosts compose from
- `packages/vibekit/examples/` — the reference stdio and HTTP deployments, typechecked with the package
- `packages/vibekit/src/plugins/nfd/` and `.../pera/` — service-backed plugin
  examples with output schemas, network guards, and tests
Pliki w paczce (3)
  • SKILL.md 4 KB
  • references/custom-mcp.md 5 KB
  • references/plugin-authoring.md 5 KB

Wersje

W bazie nie ma innych skilli o nazwie build-on-vibekit.

Migawka bazy z 13.11.2026 · wersja paczki f0198e94296c (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100use-vibekit
    Obsługuje VibeKit w projektach utworzonych przez vibekit new i vibekit init: CLI i narzędzia MCP, LocalNet, konta, podpisywanie, wybór sieci, wdrożenia, transakcje i rozwiązywanie problemów.
  • 100vibekit
    Dodaje bibliotekę VibeKit jako zależność przypiętą do tagu i stosuje wzorce integracji modułów klienta i serwera.
  • 90using-vibekit
    Pilnuje, by skille zabezpieczające uruchamiały się automatycznie na starcie rozmowy i nie były pomijane po cichu.
  • 100update-skill
    Utrzymuje kanoniczne skille VibeKit i wygenerowane kopie CLI: dodawanie, przegląd, odświeżanie i usuwanie treści w skills/, linki do źródeł oraz przypięcia upstreamu.
  • 100mcp-server-patterns
    Pomaga budować serwery MCP w SDK Node/TypeScript: narzędzia, zasoby, prompty, walidację Zod oraz wybór transportu stdio lub HTTP.
  • 100mcp-server-patterns
    Pomaga debugować serwery MCP w SDK Node/TypeScript, sprawdzając narzędzia, zasoby, prompty, walidację Zod i transport stdio lub HTTP.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.