Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

take-tour

БесплатноБез исполняемых скриптовНе проверен

Runs the agent-guided tour of Microbus using examples. Use when the user asks to take the tour.

microbus-ioот microbus-io★ 173 звезды на GitHub

Об этом скилле

CRITICAL: Do NOT explore or analyze other microservices unless explicitly instructed to do so. The instructions in this skill are self-contained to this microservice.

Workflow

Copy this checklist and track your progress:

Take the agent-guided tour:
- [ ] Step 1: Download examples
- [ ] Step 2: Extend main app
- [ ] Step 3: Docker Compose
- [ ] Step 4: Run the example app
- [ ] Step 5: Example menu (OpenAPI portal + examples; loops until the user ends the tour)
- [ ] Step 6: Telemetry
- [ ] Step 7: Stop example app
- [ ] Step 8: Stop Docker containers
- [ ] Step 9: What's next

Step 1: Download Examples

Download the latest examples from Github.

git clone --depth 1 https://github.com/microbus-io/fabric temp-clone
rm -rf exampleservices
cp -r temp-clone/exampleservices .
rm -rf temp-clone  

The example files reference github.com/microbus-io/fabric/exampleservices/... internally. Replace all those references with the local module path.

Step 2: Extend Main App

Edit main/main.go and add the following block to the main app after the block of the core microservices.

app.Add(
	// Example microservices
	helloworld.NewService(),
	hello.NewService(),
	messaging.NewService(),
	messaging.NewService(),
	messaging.NewService(),
	calculator.NewService(),
	eventsource.NewService(),
	eventsink.NewService(),
	yellowpages.NewService(),
	browser.NewService(),
	petstore.NewService(),
	login.NewService(),
	creditflow.NewService(),
	chatbox.NewService(),
	weather.NewService(),
	flightbooking.NewService(),
	// LLM core and providers - required by the chatbox, weather, and flight-booking demos
	llm.NewService(),
	claudellm.NewService(),
	chatgptllm.NewService(),
	geminillm.NewService(),
)

Add the appropriate imports too, again, replace all references to github.com/microbus-io/fabric/exampleservices/... with the local module path.

import (
	"github.com/microbus-io/fabric/exampleservices/browser"
	"github.com/microbus-io/fabric/exampleservices/petstore"
	"github.com/microbus-io/fabric/exampleservices/calculator"
	"github.com/microbus-io/fabric/exampleservices/chatbox"
	"github.com/microbus-io/fabric/exampleservices/creditflow"
	"github.com/microbus-io/fabric/exampleservices/yellowpages"
	"github.com/microbus-io/fabric/exampleservices/eventsink"
	"github.com/microbus-io/fabric/exampleservices/eventsource"
	"github.com/microbus-io/fabric/exampleservices/flightbooking"
	"github.com/microbus-io/fabric/exampleservices/hello"
	"github.com/microbus-io/fabric/exampleservices/helloworld"
	"github.com/microbus-io/fabric/exampleservices/login"
	"github.com/microbus-io/fabric/exampleservices/messaging"
	"github.com/microbus-io/fabric/exampleservices/weather"
	"github.com/microbus-io/fabric/coreservices/httpingress/middleware"
	"github.com/microbus-io/fabric/coreservices/llm"
	"github.com/microbus-io/fabric/coreservices/claudellm"
	"github.com/microbus-io/fabric/coreservices/chatgptllm"
	"github.com/microbus-io/fabric/coreservices/geminillm"
)

Add the LoginExample401Redirect middleware to the HTTP ingress proxy using its Init method.

httpingress.NewService().Init(func(svc *httpingress.Service) (err error) {
	svc.Middleware().Append("LoginExample401Redirect",
		middleware.OnRoute(
			func(path string) bool {
				return strings.HasPrefix(path, "/"+login.Hostname+"/")
			},
			middleware.ErrorPageRedirect(http.StatusUnauthorized, "/"+login.Hostname+"/login"),
		),
	)
	return nil
}),

Step 3: Docker Compose

Ask the user if they'd like to install NATS and the LGTM stack using Docker Compose.

  • NATS is not required for the tour, but it is worthwhile learning
  • The Grafana LGTM stack is also optional and only required for one step of the tour

If the answer is yes, do so using the following command.

docker compose -f setup/microbus.yaml -p microbus up -d

CRITICAL: Stop the Docker containers when the user ends the tour or exits the session.

docker compose -f setup/microbus.yaml -p microbus down

Step 4: Run the Example App

Change into the main directory and run the example app in the backgroun.

cd main
go run main.go

CRITICAL: Interrupt or kill the example app when the user ends the tour or exists the session.

Step 5: Example Menu

This is the hub of the tour. There are many things to explore and the user should drive, not click "next" a dozen times. Present the numbered menu below (keep the one-line descriptions) and let the user choose by number. If the user is unsure where to start, suggest 1 (the OpenAPI Portal) for a bird's-eye view of the whole running app before drilling into individual microservices.

When the user picks an item, go to its subsection below, present it, and offer the deeper "Explore more" dive if they want it. Then return here and present t

Полный SKILL.md на GitHub

Установить take-tour в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл take-tour?

Runs the agent-guided tour of Microbus using examples. Use when the user asks to take the tour.

Как установить скилл take-tour?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл take-tour запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить take-tour с