diff options
| author | Harsh Aggarwal (NVIDIA) <haaggarwal@nvidia.com> | 2025-07-11 00:06:10 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-10 18:36:10 +0000 |
| commit | df398fab63ac0c14a4a6cf34e4711a67ec1f4724 (patch) | |
| tree | b3f6eee30576e25a13c27dead4fe59c6ffb2a640 /CLAUDE.local.md | |
| parent | aa3cc1e79315592e9b22fccd77fc27fef0c09762 (diff) | |
Fix#7676 - Add Claude Code Assistant for using LLMs (#7673)
* Add Claude Code Assistant for using LLMs
add claude.md files for context to the LLM
* format code
* Update claude.yml
add pull request target
* Force test claude.yml
* Remove sensitive flag - Update claude.yml
* Update claude.yml
Reverted the direct_prompt
* format code (#7674)
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
* Fix Claude workflow based on PR review feedback
- Remove unused pull_request_review_comment trigger
- Increase timeout from 30 to 60 minutes
- Change fetch-depth from 0 to 2 for minimal git history
- Add recursive submodule checkout following copilot pattern
- Add environment setup with libx11-dev dependency
- Switch to release build config following copilot pattern
- Increase max_turns from 10 to 20 for longer conversations
- Update custom instructions with build commands and OS info
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Update workflow - configure debug build
* Update max turns to 50 for M size work
* Add Claude Code settings with auto-formatting hook
- Create .claude/settings.json with PostToolUse hook
- Automatically runs ./extras/formatting.sh after Write/Edit/MultiEdit operations
- Ensures code formatting consistency when Claude makes changes
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Co-authored-by: slangbot <ellieh+slangbot@nvidia.com>
Co-authored-by: Claude <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.local.md')
| -rwxr-xr-x | CLAUDE.local.md | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/CLAUDE.local.md b/CLAUDE.local.md new file mode 100755 index 000000000..282936701 --- /dev/null +++ b/CLAUDE.local.md @@ -0,0 +1,48 @@ +# Slang Repository Structure + +For the repoName: `shader-slang/slang` repository, the deepwiki mcp server structure includes: + +## Main Topics: + - 1 Overview + - 2 Compiler Architecture + - 2.1 Front-End: Parsing & AST + - 2.2 Semantic Analysis + - 2.3 Intermediate Representation + - 2.4 IR Lowering & Optimization + - 2.5 Code Generation + - 3 Session Management & API + - 3.1 Session & Linkage System + - 3.2 ComponentType Hierarchy + - 4 Language Features + - 4.1 Automatic Differentiation + - 4.2 Module System + - 4.3 Interfaces & Generics + - 4.4 Capabilities System + - 5 Target Platforms + - 5.1 HLSL & DirectX Targets + - 5.2 GLSL & Vulkan Targets + - 5.3 C++, CUDA & CPU Targets + - 5.4 Other Targets & Extensions + - 6 Rendering System + - 6.1 GFX API Architecture + - 6.2 Shader Objects & Resource Binding + - 6.3 Device & Pipeline Management + - 7 Testing & Build Infrastructure + - 7.1 Test Framework + - 7.2 Build System + - 7.3 CI/CD Pipeline + - 8 Development Tools + - 8.1 Language Server + - 8.2 Utilities & Core Libraries +### MCP Tools +#### 1. `mcp__deepwiki__ask_question` +- **Purpose**: Ask specific questions about a GitHub repository +- **Parameters**: + - `repoName` (required): GitHub repository in format "shader-slang/slang" + - `question` (required): The question to ask about the repository +- **Usage**: Returns AI-generated answers based on repository analysis + +## Build Instructions +- Build using: `cmake --build --preset debug` +- Test using: `./build/Debug/bin/slangc -target path/to/file.slang` + - Add `-dump-ir` for IR stages / optimization logs and understanding |
