dagger
БесплатноБез исполняемых скриптовНе проверенRun, set up, and write Dagger 1.0 checks, generators, services, and modules. Use when the repository has dagger.toml, dagger.json, or dagger-module.toml, or…
от anam-org★ 127 звёзд на GitHubОб этом скилле
Dagger
Dagger is CI. It runs the same checks before push (dagger check) and after
push (Cloud Checks). Checks run as functions in containers. Modules run native
tools, such as go test or ESLint, and read their native configuration, such as
go.mod.
When to use it
dagger.tomlexists: preferdaggerto native tools to build, test, lint, and generate. A native command, such asgo test ./pkg, is fine for a quick loop, but verify each change withdagger check.- Only
dagger.jsonexists: it is Dagger 0.x configuration. Dagger 1.0 runs it. Migrate only when the user asks. dagger-module.tomlexists, with or withoutdagger.toml: the repository is a module. Read write-a-module.md.- No file exists: set up Dagger only when the user asks.
Read first
Dagger 1.0 is different from 0.x. Do not trust your memory.
- The first time you do a task in "Tasks", read its docs page. Read each page once per session. Do not skip this for setup.
- To find other pages, read https://docs.dagger.io/llms.txt. Do not use web search results or blog posts.
- For toolchain guides, such as Go or ESLint, and CI migration guides, read the
"Guides" list of https://dagger.io/llms.txt. Add
.mdto a guide URL to get Markdown. Pages on docs.dagger.io have no.mdform. - For commands and flags, read
dagger COMMAND --help. If the docs and the CLI disagree, follow the CLI.
Terms
- Workspace: a directory with
dagger.toml, usually a Git repository.dagger.tomllists the installed modules and their settings. - Module: a package of functions. Its manifest is
dagger-module.toml. - Setting: a value for a module constructor argument.
- Check: a function that passes or fails, such as a test or a linter.
- Generator: a function that returns a changeset (proposed file changes).
- Collection: a set of artifacts (typed objects, such as Go packages or test files) that a module finds at run time. Each collection adds a flag to select artifacts.
- DAG link: the
dag://address of a check, generator, service, or artifact. To list links, add-l -a -f linktodagger check,generate, orstart. For the syntax, readdagger help links. Adag+check://ordag+generator://link is the same address as itsdag://form.
Tasks
| Task | Start with | Docs (docs.dagger.io) |
|---|---|---|
| Set up a workspace | dagger init |
/getting-started/quickstart |
| Add a module for a tool | dagger module recommend, dagger module search TOOL |
/reference/modules |
| Give project tools or services to a module | Read write-a-module.md | /config/module-wiring |
| Change module settings | dagger module settings |
/config |
| Run checks | dagger check -l |
/using/checking |
| Run generators | dagger generate -l |
/using/generating |
| Start services | dagger start -l |
/using/services |
| Call a function | dagger api functions |
/using/calling-functions |
| Run checks after each push to GitHub | dagger cloud checks on |
/cloud-checks |
| Move from another CI | Read the guide for that CI | /cloud-checks |
| Write a module | Read write-a-module.md | /reference/sdks |
| Migrate from 0.x | dagger workspace migrate |
/migrate-to-v1 |
Finish setup
Setup is done when at least one check of the project's real code passes.
- Run
dagger check -l. Each toolchain module, such asdagger.io/go, must list checks for the project's code. If a module lists no checks or misses code, first look for missing native configuration, such as nogo.modat the expected path. Then read the module page for its settings. - Run
dagger check. Report each failure and each skipped test. - Find agent and contributor instructions that name native commands, such as
./check.shorgo testinAGENTS.md,CLAUDE.md, orCONTRIBUTING.md. Tell the user, and offer to replace them with the matchingdaggercommands. - Tell the user which modules you installed and which commands run them.
Move from another CI
Moving CI is a separate task from setup. It is done when Dagger checks cover what each old job tests.
- Keep the old jobs. Remove a job only after Dagger checks cover what it tests and give the same results.
- Checks run in Linux containers. Keep jobs that need another platform, such as Windows or macOS runners. Tell the user which jobs stay.
- Cloud Checks run checks only. Put each deploy or release step in a function
of the dev module, not in a check. The existing CI or the user calls it with
dagger api call.
Command rules
- To apply a changeset, add
-y. To preview it, add--no-apply. - Ask the user before a
dagger cloudcommand that changes Cloud configuration. If a step needs a browser, such as login, tell the user to do it. - Do not use
dagger agent,-i, ordagger shellwithout-c. They need an interactive terminal. `dagger shell FUNCTI
Установить dagger в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл dagger?
Run, set up, and write Dagger 1.0 checks, generators, services, and modules. Use when the repository has dagger.toml, dagger.json, or dagger-module.toml, or when the user mentions Dagger, dag:// links, or Dagger Cloud.
Как установить скилл dagger?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dagger запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic