eobrien60/lwd/lwd-toml

Claude Code and agent skill by eobrien60/lwd

Trust tier 3
  • community
Source check pending

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-toml

SKILL.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

  1. Inspect the target directory.
  • Dockerfile present? docker-compose.yml present?
  • Language/framework: package.json, go.mod, requirements.txt /

pyproject.toml, Gemfile, Cargo.toml.

  • Listening port: a Dockerfile EXPOSE line 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.md for the file→language→port/health lookup

table and the dependency→backing-service table.

  1. Choose the app shape:
SituationShape
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 yourselfimage = "..."
Project has its own docker-compose.yml you want run as-iscompose = "docker-compose.yml" + service = "<web service name>"

These are mutually exclusive — never combine image, [git], or compose on the same app.

  1. Infer and confirm:
  • port: from EXPOSE or the framework default (see detect.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.

  1. 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).

  1. Ask only the unknowables, in one batch:
  • domain (required — cannot be inferred).
  • Confirm the inferred port and [health].path.
  • Confirm any suggested backing services (image/version, whether to

include them at all).

  1. Write `./lwd.toml`. Then tell the user:
  • Run lwd apply . (or use the lwd-web dashboard'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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/eobrien60/lwd/lwd-toml/badge)](https://verified-skill.com/skills/eobrien60/lwd/lwd-toml)

Something wrong with this skill or its page? Tell us.