Programming Assistant
by @leowing
Assist with programming tasks using Claude CLI. Use when OpenClaw needs to perform coding tasks, create new programs, modify existing code, or get programmin...
clawhub install programming-assistantπ About This Skill
name: programming-assistant description: 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.
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:
Prerequisites
claude command available)Basic Usage Patterns
Pattern 1: Simple Code Generation
When tasked with creating new code: 1. Identify the target directory for the project 2. Useclaude --ide to initiate the coding session
3. Provide specific instructions about the desired functionality
4. Review the generated code for correctnessPattern 2: Code Modification
When modifying existing code: 1. Determine the files that need to be changed 2. Useclaude --ide --add-dir to focus on the specific project
3. Request specific changes while preserving existing functionality
4. Verify the changes meet requirementsPattern 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 documentedWorkflow Steps
1. Assessment
2. Preparation
3. Execution
4. Verification
Available Tools Integration
The skill integrates with Claude CLI tools:
Error Handling
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
βοΈ Configuration
claude command available)π Tips & 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