agentleFS
guaracloudguaracloud/agent-skills/guara-develop/SKILL.md

guara-develop

Skill2 starsChanged 7 months agoApache-2.0View on GitHub

Integrates GuaraCloud into local development workflows — project linking, remote shell access, port forwarding, log streaming, and environment management. Use when the user wants to connect their local environment to GuaraCloud, tail logs, exec into a container, or forward ports.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run a one-shot command:

    line 47
  2. Distinctive:

    Test API endpoints locally

    line 76
  3. Very specific:

    Use --json for scripting: All commands support --json for structured output and --quiet for minimal output (IDs only).

    line 149

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Local Development with GuaraCloud

Project Linking

Link your working directory to a GuaraCloud project so commands automatically know which project/service to target:

guara link                                    # Interactive picker
guara link --project my-app --service api     # Direct link

This creates .guara.json in the current directory:

{
  "project": "my-app",
  "service": "api"
}

The CLI walks upward from the current directory to find this file. Add .guara.json to .gitignore if it contains developer-specific choices.

Remove a link:

guara unlink

Remote Shell (exec)

Open an interactive shell in a running service container:

guara exec                          # Default shell (/bin/sh)
guara exec --shell /bin/bash        # Use bash

Run a one-shot command:

guara exec -- ls -la /app
guara exec -- cat /etc/hostname
guara exec -- env                   # Check runtime env vars
guara exec -- node -e "console.log(process.env.DATABASE_URL)"

JSON mode buffers output and returns structured result:

guara exec --json -- whoami
# Returns: { "exitCode": 0, "output": "node\n", "command": ["whoami"] }

Requirements: Service must be running with at least one healthy pod. If you get "No ready pods available", start the service first: guara services start.

Port Forwarding (proxy)

Forward a local port to the service's container port:

guara proxy                         # Random local port assigned
guara proxy --local-port 8080       # Forward localhost:8080 -> container

Use cases:

  • Connect to a database running in the service
  • Test API endpoints locally
  • Debug with local tools

Press Ctrl+C to stop. Only one TCP connection at a time per proxy session.

Log Streaming

View recent logs:

guara logs                          # Last 100 lines
guara logs --lines 500              # More lines

Stream in real time:

guara logs --follow                 # Polls every 2.5s
guara logs -f --level error         # Only errors, streaming

Filter logs:

guara logs --level error            # By level: trace|debug|info|warn|error|fatal
guara logs --since 1h               # Last hour (also: 30m, 2d, 90s)
guara logs --search "connection refused"  # Text search
guara logs --since 2h --level warn --search "timeout"  # Combined

Time range query:

guara logs --since 2026-04-01T00:00:00Z --until 2026-04-01T12:00:00Z

Environment Management

List current env vars (values masked):

guara env list
guara env list --json               # Full values in JSON

Set variables:

guara env set KEY=value
guara env set KEY1=val1 KEY2=val2   # Multiple at once
guara env set NPM_TOKEN=xxx --build # Available during Docker build

Remove variables:

guara env unset KEY
guara env unset KEY1 KEY2

Important: env set and env unset trigger a rolling restart of the service. The new process picks up the updated environment.

CLI Configuration

guara config list                   # Show api-url and api-key status
guara config get api-url            # Get specific value
guara config set api-url https://api.guaracloud.com
guara config reset                  # Reset to defaults

Tips

  • Use --json for scripting. All commands support --json for structured output and --quiet for minimal output (IDs only).
  • Use --yes to skip prompts in CI/CD or scripted workflows.
  • Env var overrides are useful in CI: GUARA_API_KEY, GUARA_PROJECT, GUARA_SERVICE let you skip guara login and guara link.

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.