eobrien60/lwd/lwd-toml
Claude Code and agent skill by eobrien60/lwd
- community
Checking that the SKILL.md file is still in the repository.
Use when authoring or generating an lwd.toml file, or when asked to deploy a project with lwd, containerize a repo for lwd, or set up lwd for an app. Triggers on requests like "make an lwd.toml", "write an lwd config", "deploy this with lwd", or "set up lwd for this project".
Install
npx vskill@latest install eobrien60/lwd/lwd-tomlSKILL.md
The same SKILL.md was published earlier as eobrien60/lwd/lwd-toml.
lwd-toml
Authors a valid lwd.toml for a project by inspecting it, choosing the right app shape, and asking only for what can't be inferred. The generated file must satisfy internal/spec's Validate() in the lwd repo — see references/schema.md for the authoritative field list and every validation rule, with three complete worked examples.
Procedure
- Inspect the target directory.
Dockerfilepresent?docker-compose.ymlpresent?- Language/framework:
package.json,go.mod,requirements.txt/
pyproject.toml, Gemfile, Cargo.toml.
- Listening port: a Dockerfile
EXPOSEline wins; otherwise the
framework's conventional default.
- Backing-service hints: a postgres/mysql/redis/minio/S3 client library in
the manifest, or a db/cache service in docker-compose.yml.
- See
references/detect.mdfor the file→language→port/health lookup
table and the dependency→backing-service table.
- Choose the app shape:
| Situation | Shape | |
|---|---|---|
Project has a Dockerfile, lives in (or will be pushed to) a git repo | [git] (url, ref) + [build] (dockerfile) | |
| You'll build/push a pre-built image yourself | image = "..." | |
Project has its own docker-compose.yml you want run as-is | compose = "docker-compose.yml" + service = "<web service name>" |
These are mutually exclusive — never combine image, [git], or compose on the same app.
- Infer and confirm:
port: fromEXPOSEor the framework default (seedetect.md) —
confirm with the user, don't guess silently.
[health].path: a plausible endpoint (/,/health,/healthz) —
confirm.
env: non-secret config only (log level, feature flags, non-sensitive
hostnames/ports).
secrets: names only, for anything sensitive (API keys, DB passwords,
tokens) — never put a real value in lwd.toml.
- Suggest `[[services]]` backing when a matching client dependency or
compose db service is found: postgres:16, redis:7, or minio/minio, each with a named volume and matching env/secrets (see references/detect.md and the worked example in references/schema.md).
- Ask only the unknowables, in one batch:
domain(required — cannot be inferred).- Confirm the inferred
portand[health].path. - Confirm any suggested backing services (image/version, whether to
include them at all).
- Write `./lwd.toml`. Then tell the user:
- Run
lwd apply .(or use thelwd-webdashboard's Deploy modal). - For each declared secret, run
lwd secret set <app> <KEY>before the
first deploy — deploys fail closed on any unset secret.
Validation is non-negotiable
Every field and constraint in references/schema.md comes directly from internal/spec/spec.go's Validate(). Do not invent fields, and do not relax a rule (e.g. secret name charset, git URL scheme, no .. in paths) — an invalid lwd.toml fails lwd apply outright. When unsure whether a shape is valid, check the decision table and rule list in references/schema.md before writing the file.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/lwd-toml/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/eobrien60/lwd/lwd-toml)