Add Claude Code developer tooling (CLAUDE.md + project commands)#123
Open
ItayTheDar wants to merge 1 commit intomainfrom
Open
Add Claude Code developer tooling (CLAUDE.md + project commands)#123ItayTheDar wants to merge 1 commit intomainfrom
ItayTheDar wants to merge 1 commit intomainfrom
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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