run

Manage and run corgi-compose defined stacks of services and databases.

35|Updated Sep 20, 2022
One-click install
npx skills add https://github.com/Andriiklymiuk/corgi --skill run-andriiklymiuk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: run
Source: https://github.com/Andriiklymiuk/corgi/tree/main/plugins/corgi/skills/run
Command: npx skills add https://github.com/Andriiklymiuk/corgi --skill run-andriiklymiuk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires corgi-compose, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of setting up and running a local stack of services and databases, eliminating the need for manual setup and configuration.

Core Features & Use Cases

  • Stack Initialization: Automatically clones repositories, seeds databases, and writes .env files.
  • Service and Database Management: Start, stop, and manage individual services and databases within the stack.
  • Detached Execution: Run the stack in the background without blocking the user's terminal.
  • Health Monitoring: Wait for the stack to become healthy before reporting URLs and instructions for stopping it.
  • Use Case: Imagine you have a stack of services and databases that you need to run locally for development. Use this Skill to start the entire stack with a single command and receive the necessary URLs and instructions.

Quick Start

Use the run skill to start your stack: run

Frequently Asked Questions about run

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I start a local development stack with a single command?

To start a local development stack, use the run command to initialize services and databases defined in corgi-compose.yml. It automates repository cloning, database seeding, and environment configuration before launching the entire stack.

What is the best way to manage and run corgi-compose services and databases?

The best way to manage corgi-compose services and databases is using the run command. It handles stack initialization, starts individual services or databases, and monitors their health status automatically.

Does running a corgi-compose stack require a configuration file?

Yes, running a corgi-compose stack requires a corgi-compose.yml configuration file. This file defines the services and databases that the run command will initialize, manage, and monitor.

Can I run my local service stack in the background without blocking the terminal?

Yes, you can run your local service stack in the background using detached execution. This prevents the stack from blocking your terminal while it runs and monitors service health.

How does health monitoring work when starting a database and service stack?

Health monitoring waits for the database and service stack to become fully healthy. Once healthy, it reports the accessible URLs and provides instructions for stopping the running stack.

Why is my corgi-compose stack not initializing local services properly?

Your corgi-compose stack may not initialize properly if the corgi-compose.yml file is missing or misconfigured. The run command depends entirely on this file to clone repositories, write .env files, and seed databases.