feat: add 'prepare' skill for Defang compose compatibility#2123
Merged
Conversation
Guides agents to prepare a Docker Compose file (and Dockerfiles) for deployment with Defang. Covers creating files from scratch or adapting existing ones: unsupported directives, volumes, ports, secrets, service discovery, healthchecks, resource reservations, x-defang extensions, build config, and GitHub Actions integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
raphaeltm
reviewed
May 21, 2026
raphaeltm
reviewed
May 21, 2026
raphaeltm
reviewed
May 21, 2026
raphaeltm
reviewed
May 21, 2026
- Use explicit ${VAR} interpolation syntax instead of bare variable names
for better developer readability
- Add guidance for agents to include `defang config set` comments in
compose files
- Clarify that build args are NOT resolved from defang config
- Note OIDC auth prerequisites (Portal cloud connection or `defang cd setup`)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
jordanstephens
approved these changes
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
skills/prepare.mdskill that guides agents to prepare a project for deployment with DefangKey areas addressed
Based on research across samples, docs, and CLI validation code, the skill specifically tackles common confusion points:
mode: hostrequirement for internal DNSconfig-env-varsfor secrets, OIDC auth,AWS_PROFILEgotchacompose.local.yamlwithextendsTest plan
🤖 Generated with Claude Code