Rename built-in tools to use PascalCase naming convention#16
Merged
Conversation
2c6102a to
144733e
Compare
Rename all 16 built-in tools to match Claude Code's naming (PascalCase): read_file→Read, write_file→Write, update_file→Edit, append_file→AppendFile, list_directory→LS, search_files→Grep, glob_files→Glob, move_file→MoveFile, copy_file→CopyFile, delete_file→DeleteFile, execute_bash→Bash, execute_powershell→PowerShell, web_fetch→WebFetch, ask_user→AskUserQuestion, checklist→TodoWrite, subagent→Agent. Default context.patterns now discovers CLAUDE.md, AGENTS.md, .cursorrules, .windsurfrules, and .github/copilot-instructions.md so content written for Claude Code, Cursor, Windsurf, GitHub Copilot, and OpenCode works out of the box. Default skillDirs now includes .claude/skills, .agents/skills, and .opencode/skills so skills authored for any agent are found automatically. https://claude.ai/code/session_01HkzuGxPQ1N55bMWFMdNNU6
Add a note in the Context Discovery sections explaining that ra automatically discovers context files and skills from Claude Code, Cursor, Windsurf, GitHub Copilot, and OpenCode — no migration needed. https://claude.ai/code/session_01HkzuGxPQ1N55bMWFMdNNU6
Aligns tool names with Claude Code conventions (e.g., read_file → ReadFile, execute_bash → Bash). Updates all references in source, tests, docs, and recipes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
144733e to
151260e
Compare
chinmaymk
pushed a commit
that referenced
this pull request
Mar 12, 2026
PR #16 was squash-merged but only 2 of 44 changed files survived in the merge commit (9671ebd). This re-applies the missing changes from the original commit (99761b1): renaming all 16 built-in tools from snake_case to PascalCase (read_file→Read, execute_bash→Bash, etc.) and updating all references across docs, tests, and config. https://claude.ai/code/session_01W4cKgwwSFv71LivgvcrtzD
chinmaymk
added a commit
that referenced
this pull request
Mar 12, 2026
* Re-apply PascalCase tool renames lost during PR #16 squash merge PR #16 was squash-merged but only 2 of 44 changed files survived in the merge commit (9671ebd). This re-applies the missing changes from the original commit (99761b1): renaming all 16 built-in tools from snake_case to PascalCase (read_file→Read, execute_bash→Bash, etc.) and updating all references across docs, tests, and config. https://claude.ai/code/session_01W4cKgwwSFv71LivgvcrtzD * Fix printToolCall test to pass required args parameter The conflict resolution dropped the second argument to printToolCall(), which requires both name and args. Restored the args parameter to fix the TypeScript compilation error. https://claude.ai/code/session_01W4cKgwwSFv71LivgvcrtzD --------- Co-authored-by: Claude <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
Standardizes all built-in tool names from snake_case to PascalCase for improved consistency and readability. This includes filesystem operations, shell commands, network tools, and agent interaction tools.
Key Changes
Tool Name Updates
read_file→Read,write_file→Write,update_file→Edit,append_file→AppendFile,list_directory→LS,search_files→Grep,glob_files→Glob,move_file→MoveFile,copy_file→CopyFile,delete_file→DeleteFileexecute_bash→Bash,execute_powershell→PowerShellweb_fetch→WebFetchask_user→AskUserQuestion,checklist→TodoWrite,subagent→AgentImplementation Details
src/tools/to use new PascalCase namestests/tools/builtin-tools.test.tsand provider testsdocs/site/tools/index.mdand related docsAskUserQuestioninstead ofask_userConfiguration Enhancements
.claude/skills,.agents/skills,.opencode/skillsCLAUDE.md,AGENTS.md,.cursorrules,.windsurfrules,.github/copilot-instructions.mdNotes
All tool functionality remains unchanged—this is purely a naming convention update. The new PascalCase names are more consistent with common API naming patterns and improve readability in logs and documentation.
https://claude.ai/code/session_01HkzuGxPQ1N55bMWFMdNNU6