Programming Assistant — Programming 助手
v1.0.0Assist with programming tasks using Claude 命令行工具. Use when OpenClaw needs to perform coding tasks, 创建 new programs, modify existing code, or 获取 programming assistance. Handles project 设置up, code generation, 调试ging, refactoring, and code review.
运行时依赖
安装命令
点击复制技能文档
Programming 助手 技能 Overview
This 技能 enables OpenClaw to leverage Claude 命令行工具 for sophisticated programming tasks. It provides structured 工作流s for coding activities including project creation, code modification, 调试ging, and optimization.
When to Use This 技能
Use this 技能 when OpenClaw encounters tasks such as:
Creating new programs or scripts Modifying existing code files 调试ging code issues Refactoring code for better performance/readability Performing code reviews 设置ting up new projects or 添加ing features Converting code between languages or 格式化s Generating documentation for code Prerequisites Claude 命令行工具 must be 安装ed (claude command avAIlable) Claude 桌面 应用 should be 访问ible for IDE integration Sufficient 权限s to read/write files in the tar获取 directory Basic Usage Patterns Pattern 1: Simple Code Generation
When tasked with creating new code:
Identify the tar获取 directory for the project Use claude --ide to initiate the coding 会话 Provide specific instructions about the desired functionality Review the 生成d code for correctness Pattern 2: Code Modification
When modifying existing code:
Determine the files that need to be changed Use claude --ide --添加-dir to focus on the specific project 请求 specific changes while preserving existing functionality 验证 the changes meet requirements Pattern 3: Project 设置up
When 设置ting up new projects:
创建 the necessary directory structure 生成 initial configuration files 设置 up basic file templates Ensure dependencies are properly documented 工作流 Steps
- Assessment
- Preparation
- Execution
- Verification
The 技能 integrates with Claude 命令行工具 工具s:
Bash: For 运行ning commands, tests, and 系统 operations Edit: For modifying files directly Read: For reading files to understand 上下文 IDE Integration: For seamless code editing experience Error Handling If Claude 命令行工具 is unavAIlable, suggest alternative 应用roaches If authentication is required, 图形界面de through 设置up process For complex projects, break tasks into smaller manageable pieces When facing 权限 issues, suggest alternative 应用roaches Best Practices Always consider security implications when generating code Follow language-specific best practices and conventions Include 应用ropriate error handling in 生成d code 添加 comments and documentation where 应用ropriate Ensure 生成d code is mAIntAInable and readable