From ops-suite
Establish local connections to cluster services like databases, brokers, and APIs. Use when asked about "port-forward", "connect to database", "local connection", "tunnel", "forward port", "access service locally".
npx claudepluginhub weorbitant/workbench-dev --plugin ops-suiteThis skill is limited to using the following tools:
Check if `/tmp/ops-suite-session/config.json` exists:
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Check if /tmp/ops-suite-session/config.json exists:
config.yaml, parse it, and write to /tmp/ops-suite-session/config.json for other skills to reuse.
If neither exists, tell the user to copy config.example.yaml to config.yaml and fill in their values. Stop here.Extract:
orchestrator — determines which adapter to loadenvironments — available environments and their connection detailsservice_registry — known services with their ports and namespacesdeploy.local_ports — preferred local port mappingsRead the adapter file at adapters/{orchestrator}.md (in this skill's directory).
If the adapter does not exist, tell the user that the orchestrator {orchestrator} is not yet supported and stop.
If $ARGUMENTS contains an environment name, use it. Otherwise ask the user.
If $ARGUMENTS contains a service name, check it against service_registry.
If the service is found in service_registry, use its predefined configuration:
namespace, service, port, verifyIf the service is NOT in the registry:
Determine the local port:
deploy.local_ports.{env} is defined, use thatCheck for port conflicts using the adapter's "check port" command. If the port is in use, suggest an alternative.
Run the adapter's "port-forward" command in the background. Wait briefly and verify the connection using:
verify command from service_registry (if defined)Display to the user:
Port-forward active:
Service: {service_name}
Remote: {remote_host}:{remote_port}
Local: localhost:{local_port}
Namespace: {namespace}
Connection string: {connection_string_if_applicable}
To stop: kill the background process or press Ctrl+C
PID: {pid}
If the service requires credentials (e.g., database):