encore-go-getting-started — скилл для Claude Code: настройка Encore Go
Скилл encore-go-getting-started проводит от установки Encore CLI до запуска hello-world-приложения на Go и подключения MCP-серверов. Используйте его, когда начинаете проект с нуля.
Apache-2.0 575 установок ★ 30 обновлён 2026-10-23
npx skills add encoredev/skills --skill encore-go-getting-started -a claude-codeЧто делает encore-go-getting-started
Скилл проверяет Encore CLI, помогает войти в аккаунт и создать приложение из шаблона hello-world. Затем запускает проверку encore check 'curl /hello/world' и подключает локальный MCP-сервер; Encore Cloud можно добавить после входа. Шаги идут по порядку, для проверки каждого есть ожидаемый результат.
Для локального запуска вход в аккаунт можно пропустить. В CI ключ авторизации не создаёт приложения: его нужно создать через Cloud Dashboard и клонировать командой encore app clone <app-id>. Команда для локального MCP печатается из корневой папки приложения. Если вы уже разбираетесь в сервисах или API, этот скилл заканчивается раньше — на старте сборки.
Какие задачи решает
- установить Encore CLI и проверить его версию
- создать приложение Encore Go из шаблона hello-world
- проверить, отвечает ли локальное приложение
- подключить локальный MCP-сервер и Encore Cloud
Примеры запросов агенту
- Помоги мне настроить Encore Go с нуля и запустить приложение hello-world.
- Создай приложение Encore Go, проверь ответ
/hello/worldи подключи MCP-серверы. - Я работаю в CI: объясни, как создать приложение Encore Go и продолжить настройку.
Как установить encore-go-getting-started
1Через Skills CLI (Vercel)
npx skills add encoredev/skills --skill encore-go-getting-started -a claude-code2Вручную: положить файлы
~/.claude/skills/go-getting-started/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/go-getting-started/
1Через Skills CLI (Vercel)
npx skills add encoredev/skills --skill encore-go-getting-started -a codex2Вручную: положить файлы
.agents/skills/go-getting-started/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add encoredev/skills --skill encore-go-getting-started -a cursor2Вручную: положить файлы
.cursor/skills/go-getting-started/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install encoredev/skills encore/go-getting-started/SKILL.md2Вручную: положить файлы
.github/skills/go-getting-started/SKILL.md1Через Skills CLI (Vercel)
npx skills add encoredev/skills --skill encore-go-getting-started -a gemini-cli2Командой платформы
gemini skills install https://github.com/encoredev/skills --path encore/go-getting-startedВручную: положить файлы
.devin/skills/go-getting-started/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add encoredev/skills --skill encore-go-getting-started -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы об encore-go-getting-started
Как установить encore-go-getting-started в Claude Code?
Выполните npx skills add encoredev/skills --skill encore-go-getting-started -a claude-code, затем npx skills add encoredev/skills --skill go-getting-started -a claude-code. Файл скилла находится по пути ~/.claude/skills/go-getting-started/SKILL.md.
Что делает скилл encore-go-getting-started?
Он ведёт через настройку Encore Go: проверку CLI, вход, создание приложения, запуск проверки и подключение MCP-серверов. Для работы с отдельными функциями Encore нужны другие скиллы.
Можно ли запустить настройку без входа в аккаунт?
Да, если нужно только запустить приложение локально. Для приложения в CI скилл предлагает создать его через Cloud Dashboard, затем выполнить encore app clone <app-id>.
Исходный текст
SKILL.md · Apache-2.0
--- name: encore-go-getting-started description: Set up Encore Go from scratch. Install the CLI, log in, create an app, check that it runs, and connect Encore's MCP servers, with a pointer to the skill for each step. Ends where building starts. Not for architecture or feature questions. when_to_use: >- User has no Encore project yet and wants to get set up with Encore Go end to end: install the CLI, log in, create a hello-world Go app, check that it runs, and connect Encore's MCP servers. For a single step, use `encore-install`, `encore-login`, `encore-create-app`, `encore-run`, or `encore-mcp`. SKIP if the user already has an Encore Go project and is asking about architecture, services, endpoints, or specific features. Those go to `encore-go-service`, `encore-go-api`, `encore-go-pubsub`, etc. Trigger phrases: "set up Encore Go", "completely new to Encore", "first time", "get started with Encore Go", "hello world Go", "just starting out". --- # Setting Up Encore Go ## Instructions This guide is for Encore Go. For Encore.ts, use `encore-getting-started`. If the user hasn't said which language they want, ask. Do the steps in order. Each step says how to tell it worked. If a step fails, load the skill it names. ### 1. Check the CLI ```bash encore version ``` - **Prints `encore version v...`:** go to step 2. - **Command not found:** install it (`encore-install`), then go to step 2. ### 2. Log in Skip this step if the user only wants to run the app locally. ```bash encore auth whoami ``` - **`logged in as <email>`:** go to step 3. - **`not logged in.`:** start `encore auth login` in the background. Send the user the pairing code and URL it prints, and ask them to approve it in a browser on any device. Wait for `Successfully logged in!` (`encore-login`). - **`logged in as app <app-id>`, or no person can approve a login (CI):** an auth key can't create apps. Ask the user to create the app in the Cloud Dashboard, then run `encore app clone <app-id>`, `cd` into it, and go to step 4. ### 3. Create the app ```bash encore app create my-app --example=hello-world cd my-app ``` - **Ends with `Successfully created app my-app!`:** go to step 4. - **Empty app:** for an app with no services, use `--example=empty` instead, and skip step 4. - **Other templates and errors:** see `encore-create-app`. ### 4. Check that it runs ```bash encore check 'curl /hello/world' ``` - **Prints `"Message": "Hello, world!"` and exits 0:** go to step 5. - **Fails:** see `encore-run`. To keep the app running for the user, start `encore run` in the background, never in the foreground (`encore-run`). The API is at `http://localhost:4000`, and the local development dashboard, with a trace of every request, is at `http://localhost:9400`. ### 5. Connect Encore's MCP servers The MCP servers let you inspect and call the app while you build it, and read its deploys once it's on Encore Cloud. If the user created the app with `--llm-rules=<tool>`, the local server may already be configured for that tool: check before adding it again. 1. **Local server:** from the app's root directory, run `encore mcp start`. It prints `MCP stdio Command: encore mcp run --app=<app-id>`. Add that command to the user's tool. In Claude Code: ```bash claude mcp add --transport stdio encore-local -- encore mcp run --app=<app-id> ``` 2. **Encore Cloud server** (only if you logged in at step 2): ```bash claude mcp add --transport http --scope user encore-cloud https://api.encore.dev/mcp ``` 3. **Cursor, VS Code, other tools, or an API key instead of signing in:** see `encore-mcp`. ### 6. Report back Setup is done. Tell the user: - **Where the app is:** its directory, and, if it's on Encore Cloud, its Cloud Dashboard at `https://app.encore.dev/<app-id>`. - **What's left for them:** their tool loads the new MCP servers when it restarts. If you added `encore-cloud`, they also need to authenticate it once: in Claude Code, `/mcp`, select `encore-cloud`, and choose **Authenticate**. To build on the app, load the skill for the task. The hello-world app has one service, `hello`, in `hello/`. | To | Load | |----|------| | Add endpoints, validation, and errors | `encore-go-api` | | Add services or call one service from another | `encore-go-service` | | Add a SQL database | `encore-go-database` | | Require login on endpoints | `encore-go-auth` | | Add Pub/Sub, cron jobs, buckets, secrets, or caching | `encore-go-pubsub`, `encore-go-cron`, `encore-go-bucket`, `encore-go-secret`, `encore-go-cache` | | Write tests | `encore-go-testing` | | Deploy: commit, then `git push encore` | `encore-deploy` |
© encoredev · Apache-2.0 · encoredev/skills