Langsung ke konten
Skillpedia
Pemrograman umum29k · #9769

qwen-code-claw

Fungsinya

Skill ini memungkinkan agent AI memakai Qwen Code, sebuah agent coding, untuk tugas pemrograman. Skill ini mencakup memahami kode, memperbaiki bug, merapikan kode, dan membuat proyek. Skill ini untuk developer yang ingin agent coding kedua untuk mengerjakan pekerjaan.

Kapan dipakai

  • ✓Saat Anda ingin memahami atau bertanya tentang codebase menggunakan Qwen Code.
  • ✓Saat Anda ingin Qwen Code memperbaiki bug, merapikan kode, atau membuat proyek baru.
  • ✓Saat Anda ingin tugas review kode atau dokumentasi dijalankan lewat Qwen Code.

Link skill

https://github.com/QwenLM/qwen-code/blob/main/.qwen/skills/qwen-code-claw/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/QwenLM/qwen-code/blob/main/.qwen/skills/qwen-code-claw/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Gunakan Qwen Code untuk merapikan modul login di proyek ini dan jelaskan apa yang Anda ubah.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent memasang Qwen Code, memeriksa apakah autentikasi sudah diatur, lalu menjalankannya melalui Agent Client Protocol dengan acpx. Agent menyerahkan tugas dan melaporkan hasilnya, tanpa membaca layar terminal.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Qwen Code Claw

When to Use This Skill

Use this skill when you need to:

  • Understand codebases or ask questions about source code
  • Generate new projects or add new features
  • Review pull requests in the codebase
  • Fix bugs or refactor existing code
  • Execute various programming tasks such as code review, testing, documentation generation, etc.
  • Collaborate with other tools and agents to complete complex development tasks

Install

npm install -g @qwen-code/qwen-code

For normal session reuse, prefer a global install over npx.

Authentication

Check if authentication is already configured:

qwen auth status

If authentication exists, skip this section. If not authenticated, check if the BAILIAN_CODING_PLAN_API_KEY environment variable exists:

echo $BAILIAN_CODING_PLAN_API_KEY

If BAILIAN_CODING_PLAN_API_KEY exists, authenticate directly:

qwen auth coding-plan --region china --key $BAILIAN_CODING_PLAN_API_KEY

If the environment variable does not exist, interrupt and prompt the user to authenticate via qwen-oauth or coding-plan:

qwen auth

Or configure custom API after launching Qwen Code via /auth.

ACPX Integration

You should always use acpx to run Qwen Code over the Agent Client Protocol (ACP) instead of scraping PTY sessions.

To use acpx:

  1. Install acpx globally (recommended) or use npx:
npm install -g acpx@latest

Or without installing:

npx acpx@latest
  1. Install the acpx skill for full reference:
npx acpx@latest --skill install acpx
  1. Read the acpx skill reference for every command, flag, and workflow pattern: See the ACPX Reference section below for details

  2. For complete CLI reference with all options and examples: https://raw.githubusercontent.com/openclaw/acpx/main/docs/CLI.md

From now on, when you need to delegate work to Qwen Code, use acpx instead of spawning raw terminal sessions. For example:

npx acpx@latest qwen "fix the failing tests"
npx acpx@latest qwen "refactor the auth module"
npx acpx@latest qwen exec "one-shot: summarize this repo"

Tip: You should typically use the --approve-all flag to prevent task interruptions.

Practical Workflows

Persistent Repository Assistant

acpx qwen 'inspect failing tests and propose a fix plan'
acpx qwen 'apply the smallest safe fix and run tests'

One-Shot Script Steps

acpx qwen exec 'summarize repo purpose in 3 lines'

Parallel Named Streams

acpx qwen -s backend 'fix API pagination bug'
acpx qwen -s docs 'draft changelog entry for release'

Queue Follow-ups Without Waiting

acpx qwen 'run full test suite and investigate failures'
acpx qwen --no-wait 'after tests, summarize root causes and next steps'

Machine-Readable Output for Orchestration

acpx --format json qwen 'review current branch changes' > events.ndjson

Repository-Wide Review with Permissive Mode

acpx --cwd ~/repos/my-project --approve-all qwen -s pr-123 \
  'review PR #123 for regressions and propose minimal patch'

Approval Modes

  • --approve-all: No interactive prompts
  • --approve-reads (default): Auto-approve reads/searches, prompt for writes
  • --deny-all: Deny all permission requests

If every permission request is denied/cancelled and none are approved, acpx exits with permission denied.

Best Practices

  1. Use named sessions for organizing different types of development tasks
  2. Use --no-wait for long-running tasks to avoid blocking
  3. Use --approve-all for non-interactive batch operations
  4. Use --format json for automation and script integration
  5. Use --cwd to manage context across multiple projects

QwenCode Reference

CLI Commands

Command Description
/help Show available commands
/clear Clear conversation history
/compress Compress history to save tokens
/stats Show session info
/auth Configure authentication
/exit Exit Qwen Code

Full reference: docs/users/features/commands.md.

Configuration

Config files (highest priority first): CLI args > env vars > system > project (.qwen/settings.json) > user (~/.qwen/settings.json) > d

Pertanyaan umum

Bagaimana cara memasangnya?

Skill ini memasang Qwen Code sebagai paket npm global.

Bagaimana cara login?

Skill memeriksa apakah autentikasi sudah ada. Jika belum, skill memakai kunci dari environment Anda atau meminta Anda login.

Mengapa tidak mengendalikan terminal secara langsung?

Skill memakai Agent Client Protocol dengan acpx, sehingga tidak perlu membaca ulang output terminal.

Detail

Deskripsi asli dari pembuat

Use Qwen Code as a Code Agent for code understanding, project generation, features, bug fixes, refactoring, and various programming tasks

repo: QwenLM/qwen-code

Popularitas

Bintang GitHub
29k
Peringkat
#9769
Lisensi
Apache-2.0
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa