# Dev Setup

> Set up development environment and run builds. Use for initial setup or testing changes. Use when this capability is needed.

- Skill: `tomevault-io/dev-setup` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/dev-setup`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/dev-setup/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/dev-setup

---


# Development Setup

## When to Use

- First time setup
- After cloning repository
- Testing changes

## Quick Setup

```bash
./scripts/setup.sh
```

Checks Node.js, installs deps, builds, creates `.env`.

## Manual Setup

```bash
npm install
cp .env.example .env
# Add GITHUB_TOKEN to .env
npm run build
```

## Development Mode

```bash
npm run dev
```

Hot reload enabled - changes auto-recompile.

## Production Build

```bash
npm run build
npm start
```

## Environment Variables

Required:

- `GITHUB_TOKEN` - GitHub PAT with `repo` and `read:user` scopes

Optional:

- `DEBUG=true` - Enable debug logging

## Node.js Version

Requires 20.19.0+ (or 22.12.0+, 23.0.0+)

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/jamesjfoong) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

