agentleFS
liatrio-labsliatrio-labs/ai-prompts/skills/tilt-dev/SKILL.md

tilt-dev

Skill4 starsChanged 13 months agoApache-2.0View on GitHub

Manage local development environments with Tilt. Use when working with projects that run services via Tilt (indicated by presence of Tiltfile), including checking service status, viewing logs, troubleshooting connectivity issues, or managing the Tilt stack. Essential for projects using Tiltfile with local_resource for orchestrating backend, frontend, and other services.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always check before starting Tilt:

    line 16
  2. Distinctive:

    Only if services are not already running:

    line 40
  3. Distinctive:

    Check health endpoints and logs before restarting services.

    line 71
  4. Distinctive:

    Check Tilt UI resource status

    line 86
  5. Distinctive:

    Check health endpoint with curl

    line 88

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Tilt Development Environment Management

Manage and troubleshoot local development stacks orchestrated by Tilt.

Quick Start

Script paths shown as scripts/... assume your current working directory is skills/tilt-dev/. From repo root, use skills/tilt-dev/scripts/....

Check if Services Are Running

Always check before starting Tilt:

# Run status check script
scripts/check_tilt_status.sh [port]

# Or manually
tilt get uiresources --port <PORT>

Check Service Health

# Run health check script
scripts/get_service_health.sh

# Or manually check endpoints
curl http://localhost:3000/health     # Backend
curl http://localhost:3001/           # Frontend
curl http://localhost:4111/swagger-ui # Mastra

Start Tilt

Only if services are not already running:

tilt up --port <PORT>

Common ports: 10102, 10301, 10350

View Logs

tilt logs --port <PORT> <resource>

# Follow logs
tilt logs --port <PORT> <resource> --follow

Stop Tilt

tilt down

Important Principles

Always Check First

Services are likely already running with hot reload. Never blindly run tilt up without checking status first.

Prefer Health Checks Over Restarts

Check health endpoints and logs before restarting services. Tilt hot-reloads changes automatically.

Use the Tilt UI

Access at http://localhost:<PORT> for:

  • Real-time resource status
  • Build logs
  • Service restarts
  • Error messages

Common Workflows

Debug Service Not Responding

  1. Check Tilt UI resource status
  2. View resource logs: tilt logs --port <PORT> <resource>
  3. Check health endpoint with curl
  4. Review error messages in logs

View Recent Errors

# Tail logs for specific service
tilt logs --port <PORT> <resource> | tail -50

# Follow logs in real-time
tilt logs --port <PORT> <resource> --follow

Diagnose Tilt Issues

tilt doctor

Reference

See references/tilt_commands.md for:

  • Complete command reference
  • Tiltfile (Starlark) syntax guidelines
  • Project-specific examples
  • Troubleshooting guide
  • Port conventions

Scripts

  • scripts/check_tilt_status.sh [port] - Check if Tilt is running and list resources
  • scripts/get_service_health.sh - Check health endpoints for common services

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.