Skip to content

Add Claude Code developer tooling (CLAUDE.md + project commands)#123

Open
ItayTheDar wants to merge 1 commit intomainfrom
add-claude-code-developer-tooling
Open

Add Claude Code developer tooling (CLAUDE.md + project commands)#123
ItayTheDar wants to merge 1 commit intomainfrom
add-claude-code-developer-tooling

Conversation

@ItayTheDar
Copy link
Copy Markdown
Contributor

Summary

  • Adds CLAUDE.md at the repo root — loaded automatically by Claude Code every session, covering full architecture (modules, DI, controllers, guards, DB providers, testing, common mistakes)
  • Adds .claude/commands/pynest-resource.md/project:pynest-resource scaffolds a complete resource (5 files) and wires it into AppModule, then verifies the import chain boots
  • Adds .claude/commands/pynest-explain.md/project:pynest-explain explains any PyNest concept by reading the actual nest/ source before answering
  • Adds .claude/settings.json — allowlists common read/dev commands (find, grep, pytest, uvicorn, pynest) to reduce permission prompts during development

Why

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

  • Open a new Claude Code session in this repo — confirm CLAUDE.md is acknowledged in the context
  • Run /project:pynest-resource products in Claude Code — confirm 5 files are created and AppModule is updated
  • Run /project:pynest-explain guards — confirm it reads nest/core/decorators/guards.py before answering
  • Confirm no existing tests are broken (pytest tests/)

🤖 Generated with Claude Code

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant