# Source Command Setup

> Set up the development environment

- Skill: `enuno/source-command-setup` (Agent Skill)
- Install (CLI): `npx skillmds@latest add enuno/source-command-setup`
- Raw SKILL.md: https://api.skillmd.com/api/skills/enuno/source-command-setup/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: enuno (https://skillmd.com/u/enuno)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/enuno/source-command-setup

---


# 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

