返回顶部
p

programming-assistant

Assist with programming tasks using Claude CLI. Use when OpenClaw needs to perform coding tasks, create new programs, modify existing code, or get programming assistance. Handles project setup, code generation, debugging, refactoring, and code review.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
776
下载量
0
收藏
概述
安装方式
版本历史

programming-assistant

# Programming Assistant Skill ## Overview This skill enables OpenClaw to leverage Claude CLI for sophisticated programming tasks. It provides structured workflows for coding activities including project creation, code modification, debugging, and optimization. ## When to Use This Skill Use this skill when OpenClaw encounters tasks such as: - Creating new programs or scripts - Modifying existing code files - Debugging code issues - Refactoring code for better performance/readability - Performing code reviews - Setting up new projects or adding features - Converting code between languages or formats - Generating documentation for code ## Prerequisites - Claude CLI must be installed (`claude` command available) - Claude desktop application should be accessible for IDE integration - Sufficient permissions to read/write files in the target directory ## Basic Usage Patterns ### Pattern 1: Simple Code Generation When tasked with creating new code: 1. Identify the target directory for the project 2. Use `claude --ide` to initiate the coding session 3. Provide specific instructions about the desired functionality 4. Review the generated code for correctness ### Pattern 2: Code Modification When modifying existing code: 1. Determine the files that need to be changed 2. Use `claude --ide --add-dir <project-path>` to focus on the specific project 3. Request specific changes while preserving existing functionality 4. Verify the changes meet requirements ### Pattern 3: Project Setup When setting up new projects: 1. Create the necessary directory structure 2. Generate initial configuration files 3. Set up basic file templates 4. Ensure dependencies are properly documented ## Workflow Steps ### 1. Assessment - Determine the scope of the programming task - Identify the target directory and relevant files - Assess complexity and potential challenges ### 2. Preparation - Ensure Claude CLI is available and authenticated - Prepare any necessary context about the codebase - Gather requirements and constraints ### 3. Execution - Use appropriate Claude CLI commands based on the task - Monitor progress and intervene if needed - Ensure code quality and adherence to requirements ### 4. Verification - Review generated code for correctness - Test functionality if possible - Validate that requirements were met ## Available Tools Integration The skill integrates with Claude CLI tools: - **Bash**: For running commands, tests, and system operations - **Edit**: For modifying files directly - **Read**: For reading files to understand context - **IDE Integration**: For seamless code editing experience ## Error Handling - If Claude CLI is unavailable, suggest alternative approaches - If authentication is required, guide through setup process - For complex projects, break tasks into smaller manageable pieces - When facing permission issues, suggest alternative approaches ## Best Practices 1. Always consider security implications when generating code 2. Follow language-specific best practices and conventions 3. Include appropriate error handling in generated code 4. Add comments and documentation where appropriate 5. Ensure generated code is maintainable and readable

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 programming-assistant-1776278403 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 programming-assistant-1776278403 技能

通过命令行安装

skillhub install programming-assistant-1776278403

下载 Zip 包

⬇ 下载 programming-assistant v1.0.0

文件大小: 5.54 KB | 发布时间: 2026-4-16 18:45

v1.0.0 最新 2026-4-16 18:45
- Initial release of the Programming Assistant skill.
- Provides structured workflows for project setup, code generation, modification, debugging, and code review using Claude CLI.
- Supports seamless integration with Claude CLI tools for coding, file editing, and project management.
- Includes step-by-step usage patterns for common programming tasks.
- Offers guidance on prerequisites, error handling, and best practices for secure, maintainable code.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部