devhub

Generate devhub.toml configuration files and manage multi-project development environments. Use when setting up projects, creating service configs, starting/stopping services, checking status, or managing development workflows. Triggers on mentions of devhub, project setup, service management, or development environment configuration.

$ Installieren

git clone https://github.com/majiayu000/claude-skill-registry /tmp/claude-skill-registry && cp -r /tmp/claude-skill-registry/skills/development/devhub ~/.claude/skills/claude-skill-registry

// tip: Run this command in your terminal to install the skill


name: devhub description: Generate devhub.toml configuration files and manage multi-project development environments. Use when setting up projects, creating service configs, starting/stopping services, checking status, or managing development workflows. Triggers on mentions of devhub, project setup, service management, or development environment configuration.

DevHub Skill

DevHub is a multi-project development environment manager that lets you start, stop, and monitor all your local development services from one place.

When to Use This Skill

Use DevHub when the user wants to:

  • Set up a new project for local development
  • Generate a devhub.toml configuration file
  • Start, stop, or restart development services
  • Check the status of running services
  • Manage multiple projects or services
  • View logs from services
  • Manage favorite projects

Primary Workflow: Setting Up a New Project

Step 1: Preview Discovery (Always Do This First)

devhub discover --dry-run

This shows what DevHub would detect without writing any files. Review the output with the user before proceeding.

Step 2: Generate Configuration

If the preview looks correct:

devhub discover

This creates devhub.toml in the project root.

Step 3: Register the Project

devhub register

This adds the project to DevHub's registry so it can be managed globally.

Step 4: Start Services

devhub start

Or start a specific service:

devhub start -s api

Key Commands Quick Reference

CommandPurpose
devhub discover --dry-runPreview auto-detection
devhub discoverGenerate devhub.toml
devhub registerAdd project to registry
devhub start [project]Start all services
devhub stop [project]Stop all services
devhub statusShow all project statuses
devhub logs <project> -fFollow service logs
devhub listList all registered projects

Supported Project Types

DevHub auto-detects these project types:

TypeDetection FileDefault Command
RustCargo.tomlcargo run
Node.jspackage.jsonnpm run dev
Python (UV)pyproject.tomluv run python
Python (pip)requirements.txtpython
Gogo.modgo run .
Flutterpubspec.yamlflutter run
Dockerdocker-compose.ymldocker compose up

Monorepo Support

When no root project marker is found, DevHub scans subdirectories and creates a multi-service configuration automatically.

Additional Reference

For detailed information, see:

Best Practices

  1. Always preview first: Run devhub discover --dry-run before generating config
  2. Review generated config: Check the devhub.toml and adjust ports/commands if needed
  3. Use favorites: Mark frequently-used projects with devhub fav add <project>
  4. Check for conflicts: Run devhub ports --check to detect port conflicts
  5. Follow logs: Use devhub logs <project> -f to monitor service output