source-command-setup · git:20260812.34020a0 · 2026-08-12 · sha256 673f5beb6a5f816c

source-command-setup git:20260812.34020a0A

Immutable. This exact content never changes and is served at /api/v1/blob/673f5beb6a5f816c.

---
name: "source-command-setup"
description: "Set up the development environment"
---

# source-command-setup

Use this skill when the user asks to run the migrated source command `setup`.

## Command Template

Set up a complete development environment for the UniFi MCP Server project.

Execute the following setup steps:

1. Check if uv is installed; if not, provide installation instructions
2. Create a virtual environment: `uv venv`
3. Activate the virtual environment
4. Install dependencies: `uv pip install -e ".[dev]"`
5. Install pre-commit hooks: `pre-commit install && pre-commit install --hook-type commit-msg`
6. Check if .env file exists; if not, copy from .env.example
7. Run initial tests to verify setup: `pytest --co -q`

Report back with:

- Setup completion status
- Any errors encountered
- Next steps for configuration
- Reminder to update .env with actual credentials