Watt 3
These instructions ship with the installed Watt 3 release. The wattpm skill [FILE]
command is available starting with 3.74.0. Prefer writing application files directly
when assisting an agent-driven workflow. Watt 3 still supports its existing generators,
including create, init, add, and import workflows.
Inspect the project
- Read project instructions, manifests, lockfiles, configuration, entrypoints, and deployment files.
- Require Node.js 22.19.0 or newer in development, CI, and production.
- Identify the installed Watt version and capability versions. Keep dependencies on major 3; do not silently upgrade to Watt 4. Check external capabilities' compatibility separately.
- Preserve the package manager, module system, workspace boundaries, scripts, and existing topology.
- Identify public listeners, application IDs, environment variable names, and the requested goal.
- Preserve unrelated code and secrets. Explain substantial changes and obtain authorization before installing dependencies, running migrations, deploying, or executing project code.
Use the project's local Watt installation for CLI checks. Do not fall back to a global
installation or let npx download the latest version. If no installation exists, agree
on the target version and installation first. If the version predates 3.74.0 or has no
skill command, stop the skill workflow and report the requirement; do not upgrade automatically.
Configuration contract
- Prefer
watt.jsonfor new Watt 3 projects. Existing JSON5, YAML, and TOML configurations remain supported. Do not rewrite them into Watt 4watt.config.*modules. - Identify capabilities with
moduleor a matching$schema. Use the exact installed package version for schema URLs rather than copying an old example's version. - A multi-application root declares
applicationsand/orautoload; Watt also supports theservicesandwebdirectory shortcuts. Keep root runtime options at the root. - A standalone capability can embed orchestration options under
runtime. Do not add a nestedruntimeblock to a runtime root merely because a capability example has one. - Watt 3 uses
entrypointand rootserverfor the public application. Check the capability and custom-command contract before changing listener addresses or ports. - Environment placeholders such as
{PORT}are valid. Preserve their required/default behavior and document variable names in.env.examplewithout exposing secret values. - Watt 3 tracing configuration is named
telemetry. Inspect installed schemas before borrowing options from another release. - Native TypeScript stripping does not replace framework builds or type checking and does not support every TypeScript language feature.
Installed schemas and source take precedence over generic examples. A requested upgrade to Watt 4 is a separate migration: obtain destination-version guidance explicitly rather than applying v4 API or configuration changes during ordinary v3 maintenance.
Workflow router
| Request | References |
|---|---|
init, setup, integrate, port an existing app | Frameworks, integration |
create, scaffold, add an application | Scaffolding |
| Service, gateway, database | Services |
| Enterprise, multi-service | Enterprise |
| POC | POC checklist |
| Logs, traces, metrics | Observability |
| Profiling, CPU, heap, flamegraphs | Performance |
| Cron, scheduled jobs | Scheduler |
| CMS, content webhooks | CMS integration |
| Docker | Docker |
| Kubernetes | Kubernetes |
| Cloud | Cloud deployment |
| Commands, import, resolve, admin | CLI |
| Operations | Operations |
| Diagnosis | Troubleshooting |
| Status | Status check below |
Read only the references relevant to the task. Reference examples illustrate individual concerns; merge them with existing configuration instead of replacing whole files.
Reading bundled references
wattpm skill prints this file verbatim. All relative Markdown links refer to documents
inside the same release's bundle, not files in the user's application or the discovery skill.
Resolve a link relative to the document currently being read, remove its fragment, and
pass the resulting bundle-relative path to the same local wattpm skill command.
wattpm skill references/frameworks.md
wattpm skill references/frameworks/nextjs.md
For example, frameworks/nextjs.md in references/frameworks.md resolves to
references/frameworks/nextjs.md. All bundled references are available offline. External
web links provide optional further reading; they are not paths accepted by this command.
Status check
- Identify installed versions and report mixed Watt majors or incompatible capabilities.
- Check Node.js against the installed release's requirement.
- Inspect recognized configuration files, scripts, build output, application IDs, and listeners.
- Inspect environment variable names, not values. Deployment-supplied variables do not require
.env. - Distinguish static inspection from schema validation and successful startup. Parsing JSON or printing a CLI version does not establish that an application is ready.
- With authorization, check development startup, representative endpoints/internal calls, framework build, production startup, and shutdown. Stop processes started for validation.
Report findings, changes, checks performed, and remaining decisions. The companion agents
and slash commands in platformatic/skills are distributed separately from this bundle.