Repository navigation
Add Claude Code developer tooling (CLAUDE.md + project commands) - #123
ItayTheDar wants to merge 2 commits into
Conversation
Adds a CLAUDE.md with full architecture reference for AI assistants, two project-level slash commands (/project:pynest-resource and /project:pynest-explain), and a .claude/settings.json with allowlisted read/dev commands to reduce permission prompts. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Reviewed the current diff and green CI. Two documentation examples need correction before this is merge-ready:
I did not merge: required review is still outstanding, and these examples are not source-accurate. |
|
Updated |
|
Reviewing the current diff against |
Summary
CLAUDE.mdat the repo root — loaded automatically by Claude Code every session, covering full architecture (modules, DI, controllers, guards, DB providers, testing, common mistakes).claude/commands/pynest-resource.md—/project:pynest-resourcescaffolds a complete resource (5 files) and wires it into AppModule, then verifies the import chain boots.claude/commands/pynest-explain.md—/project:pynest-explainexplains any PyNest concept by reading the actualnest/source before answering.claude/settings.json— allowlists common read/dev commands (find,grep,pytest,uvicorn,pynest) to reduce permission prompts during developmentWhy
AI coding assistants (Claude Code, Copilot, Cursor, etc.) are now part of the standard development workflow. Without
CLAUDE.md, every AI session starts cold with no knowledge of PyNest's conventions — leading to generated code that breaks DI rules, uses wrong file naming, or misses the module wiring step. This PR makes the repo AI-native out of the box.Test plan
CLAUDE.mdis acknowledged in the context/project:pynest-resource productsin Claude Code — confirm 5 files are created and AppModule is updated/project:pynest-explain guards— confirm it readsnest/core/decorators/guards.pybefore answeringpytest tests/)🤖 Generated with Claude Code