mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
## Summary - Restructure CLAUDE.md hierarchy so Claude Code auto-discovers project-specific instructions - Delete dead `AGENTS.md` files (referenced non-existent `.tessl/RULES.md`) - Rename `django/aiservice/AGENTS.md` → `CLAUDE.md` for auto-discovery - Create `js/CLAUDE.md` with package commands and gotchas - Move PR review guidelines to `.claude/rules/pr-review.md` (auto-loaded rule) - Move prek workflow to `.claude/skills/fix-prek.md` (on-demand skill) - Add path-scoped rules for Python and Next.js patterns - Add domain glossary, service architecture diagram, and per-package gotchas ## Test plan - Verify `CLAUDE.md` files exist at root, `django/aiservice/`, and `js/` - Verify no remaining references to `AGENTS.md` or `.tessl/` - Verify `.claude/rules/` and `.claude/skills/` files are committed
547 B
547 B
| paths | |
|---|---|
|
Python Patterns (aiservice)
- Always use
libcstfor code transformation, neverast(preserves formatting and comments) - All endpoints are async — use
async defandasyncio.TaskGroupfor concurrency - Use Pydantic
BaseModelorninja.Schemafor all request/response types - Use
call_llm()fromaiservice/llm.pyfor all LLM calls — never call OpenAI/Anthropic APIs directly - Django-Ninja has no built-in exception handling — use
get_object_or_404and custom error responses explicitly