Skip to content

Commit 140578c

Browse files
committed
chore: init AI
1 parent e34fe6d commit 140578c

3 files changed

Lines changed: 39 additions & 0 deletions

File tree

.claude/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"env": {
3+
"DISABLE_BUG_COMMAND": "1",
4+
"DISABLE_ERROR_REPORTING": "1",
5+
"DISABLE_TELEMETRY": "1"
6+
}
7+
}

AGENTS.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# AGENTS.md
2+
3+
This file provides guidance to AI Agents when working with code in this repository.
4+
5+
## Project Overview
6+
7+
Discord Bot for VirtualLiveLab, built with Python + discord.py. Uses `uv` for package management and `mise` for task running.
8+
9+
## Commands
10+
11+
```bash
12+
mise run lint # ruff check
13+
mise run format # ruff format
14+
mise run tidy # lint:fix + format (run before committing)
15+
uv run main.py # start the bot locally
16+
```
17+
18+
YOU MUST CHECK `mise run lint` and `mise run format` before completing task.
19+
20+
## Branch and Release Strategy
21+
22+
- Default branch is `staging` (not `master`)
23+
- Merge feature branches into `staging`
24+
- Pushing to `staging` auto-generates a release PR (`master ← staging`) via `git-pr-release --squashed`
25+
- `master` is the production branch; do not push directly
26+
27+
## Coding Rules
28+
29+
- Do not use `X | Y` union syntax — use `Optional[X]` or `Union[X, Y]` instead (UP040 is disabled for discord.py compatibility)
30+
- Type annotations are required on all functions (`mypy disallow_untyped_defs = true`)
31+
- No test suite is currently set up; do not suggest adding tests unless explicitly asked

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AGENTS.md

0 commit comments

Comments
 (0)