managing-traefik

Manages Traefik reverse proxy for local development. Use when routing domains to local services, configuring CORS, checking service health, or debugging connectivity issues.

16 stars

Best use case

managing-traefik is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Manages Traefik reverse proxy for local development. Use when routing domains to local services, configuring CORS, checking service health, or debugging connectivity issues.

Teams using managing-traefik should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/managing-traefik/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/data-ai/managing-traefik/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/managing-traefik/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How managing-traefik Compares

Feature / Agentmanaging-traefikStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Manages Traefik reverse proxy for local development. Use when routing domains to local services, configuring CORS, checking service health, or debugging connectivity issues.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Traefik Hub MCP

Local development reverse proxy management.

## Quick Start

**Generate Docker labels for a new service?**
```
generate_labels name="myapp" domain="myapp.localhost" port=3000
```
Returns docker-compose label configuration to copy into your project.

**Something not working?**
```
doctor
```
Comprehensive health check with actionable tips.

## Tool Categories

### Project Setup
| Tool | Use When |
|------|----------|
| `generate_labels` | Creating docker-compose labels for Docker services |

### CORS Management
| Tool | Use When |
|------|----------|
| `get_cors` | Checking current allowed origins |
| `update_cors` | Adding/removing CORS origins |

### Health & Debugging
| Tool | Use When |
|------|----------|
| `doctor` | First step for any problem (comprehensive check) |
| `check_health` | Testing if specific domain responds |
| `check_setup` | Verifying MCP configuration |

### Inspection
| Tool | Use When |
|------|----------|
| `list_routers` | Seeing all configured routes |
| `list_services` | Seeing all backend services |
| `list_middlewares` | Seeing available middlewares |
| `get_router` | Getting details of specific route |

### Stack Control
| Tool | Use When |
|------|----------|
| `init_stack` | First time setup (creates network + starts Traefik) |
| `start_traefik` | Starting stopped Traefik |
| `stop_traefik` | Stopping Traefik |
| `create_network` | Creating traefik-public network only |

## Common Workflows

### New Project Setup
```
1. generate_labels name="myapp" domain="myapp.localhost" port=3000
2. update_cors add=["http://myapp.localhost"]
```
Add the generated labels to your project's docker-compose.yml, then update CORS if needed.

### Debug Service Not Reachable
```
1. doctor                           # Check all components
2. check_health domain="X.localhost" # Test specific domain
3. list_routers                     # Verify route exists
4. container_logs name="traefik"    # Check Traefik logs
```

### Add CORS Origin
```
1. get_cors                         # See current origins
2. update_cors add=["http://newapp.localhost"]
```

### Generate Docker Labels
```
generate_labels name="myapp" domain="myapp.localhost" port=3000
```
Returns docker-compose label configuration to copy into your project.

## Decision Guide

| Situation | Tool |
|-----------|------|
| First time ever | `init_stack` |
| New Docker service | `generate_labels` |
| CORS errors | `get_cors` → `update_cors` |
| Service unreachable | `doctor` |
| Check specific domain | `check_health` |

## Available Middlewares

Reference with `@file` suffix (e.g., `cors-dev@file`):
- `cors-dev` - CORS headers for local development
- `secure-headers` - Security headers
- `rate-limit` - Rate limiting (100 req/s)
- `strip-api-prefix` - Strip `/api` prefix from path

Related Skills

managing-skills

16
from diegosouzapw/awesome-omni-skill

Install, find, update, and manage agent skills. Use when the user wants to add a new skill, search for skills that do something, check if skills are up to date, or update existing skills. Triggers on: install skill, add skill, get skill, find skill, search skill, update skill, check skills, list skills.

managing-astro-local-env

16
from diegosouzapw/awesome-omni-skill

Manage local Airflow environment with Astro CLI. Use when the user wants to start, stop, or restart Airflow, view logs, troubleshoot containers, or fix environment issues. For project setup, see setting-up-astro-project.

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

moai-lang-r

16
from diegosouzapw/awesome-omni-skill

R 4.4+ best practices with testthat 3.2, lintr 3.2, and data analysis patterns.

moai-lang-python

16
from diegosouzapw/awesome-omni-skill

Python 3.13+ development specialist covering FastAPI, Django, async patterns, data science, testing with pytest, and modern Python features. Use when developing Python APIs, web applications, data pipelines, or writing tests.

moai-icons-vector

16
from diegosouzapw/awesome-omni-skill

Vector icon libraries ecosystem guide covering 10+ major libraries with 200K+ icons, including React Icons (35K+), Lucide (1000+), Tabler Icons (5900+), Iconify (200K+), Heroicons, Phosphor, and Radix Icons with implementation patterns, decision trees, and best practices.

moai-foundation-trust

16
from diegosouzapw/awesome-omni-skill

Complete TRUST 4 principles guide covering Test First, Readable, Unified, Secured. Validation methods, enterprise quality gates, metrics, and November 2025 standards. Enterprise v4.0 with 50+ software quality standards references.

moai-foundation-memory

16
from diegosouzapw/awesome-omni-skill

Persistent memory across sessions using MCP Memory Server for user preferences, project context, and learned patterns

moai-foundation-core

16
from diegosouzapw/awesome-omni-skill

MoAI-ADK's foundational principles - TRUST 5, SPEC-First TDD, delegation patterns, token optimization, progressive disclosure, modular architecture, agent catalog, command reference, and execution rules for building AI-powered development workflows

moai-cc-claude-md

16
from diegosouzapw/awesome-omni-skill

Authoring CLAUDE.md Project Instructions. Design project-specific AI guidance, document workflows, define architecture patterns. Use when creating CLAUDE.md files for projects, documenting team standards, or establishing AI collaboration guidelines.

moai-alfred-language-detection

16
from diegosouzapw/awesome-omni-skill

Auto-detects project language and framework from package.json, pyproject.toml, etc.

mnemonic

16
from diegosouzapw/awesome-omni-skill

Unified memory system - aggregates communications and AI sessions across all channels into searchable, analyzable memory