跳至主要内容
小龙虾小龙虾AI
🤖

Development Coding Agent

Enhanced coding agent for development workflows. Optimized for building features, fixing bugs, and code refactoring with OpenCode integration.

下载2.8k
星标2
版本1.0.0
AI 智能体
安全通过

技能说明


name: dev-coding-agent description: 'Enhanced coding agent for development workflows. Optimized for building features, fixing bugs, and code refactoring with OpenCode integration.' metadata: { "openclaw": { "emoji": "👨‍💻", "requires": { "anyBins": ["opencode"] } }, "author": "Roger", "version": "1.0.0" }

Development Coding Agent

Specialized coding agent skill optimized for software development tasks using OpenCode.

Quick Start

Basic Usage

# Simple task in your project
bash pty:true workdir:~/your-project command:"opencode run 'Add feature or fix bug'"

# Background task for complex work
bash pty:true workdir:~/your-project background:true command:"opencode run 'Build complete feature'"

Common Development Patterns

Bug Fixing

bash pty:true workdir:~/project command:"opencode run 'Fix the [specific issue] in [file/component]'"

Feature Development

bash pty:true workdir:~/project command:"opencode run 'Implement [feature name] with [requirements]'"

Code Refactoring

bash pty:true workdir:~/project background:true command:"opencode run 'Refactor [module] to improve [performance/readability/maintainability]'"

Testing

bash pty:true workdir:~/project command:"opencode run 'Add unit tests for [function/module] using [testing framework]'"

Best Practices

  1. Always specify the work directory - keeps context focused
  2. Use descriptive prompts - include file names, expected behavior, and constraints
  3. Monitor background tasks - use process action:log to track progress
  4. Git required - ensure your project is a git repository (OpenCode requirement)

Examples

Create React Component

bash pty:true workdir:~/my-app command:"opencode run 'Create a reusable Button component with variants (primary, secondary, danger), loading state, and TypeScript interface'"

API Development

bash pty:true workdir:~/backend command:"opencode run 'Add user registration endpoint with email validation, password hashing, and JWT token generation'"

Database Migration

bash pty:true workdir:~/project command:"opencode run 'Create database migration to add created_at and updated_at timestamps to all existing tables'"

Requirements

  • OpenCode CLI installed (npm install -g opencode)
  • Git repository for target project
  • PTY support enabled (automatic with pty:true)

如何使用「Development Coding Agent」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Development Coding Agent技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能