QwenLM/qwen-code-examples
TypeScript
Captured source
source ↗QwenLM/qwen-code-examples
Description: A collection of practical examples and best practices for Qwen Code
Language: TypeScript
Stars: 131
Forks: 38
Open issues: 8
Created: 2025-12-18T07:21:25Z
Pushed: 2026-05-19T09:30:22Z
Default branch: main
Fork: no
Archived: no
README:
Qwen Code Examples
This repository contains a collection of practical examples and best practices for Qwen Code, designed to help developers leverage the power of Qwen-based models in their workflows.
The project includes examples for:
- Custom Commands: Tailored command-line interactions for specific tasks.
- Custom Extensions: Bundled commands and agents for reusable workflows.
- Custom Skills: Specialized toolsets for complex workflows (e.g., image generation, content extraction).
- SDK Usage: Practical code snippets showing how to integrate Qwen Code SDKs into your projects.
Project Structure
. ├── apps/ # Production-ready demo ├── extensions/ # Qwen Code extension examples ├── sdk/ # SDK usage examples ├── vibe/ # Marketing materials └── README.md
Demo Apps
Production-ready applications built on Qwen Code SDK, targeting different professional personas:
| App | Target User | Description | |-----|-------------|-------------| | ProtoFlow | Product Managers | bolt.new-style rapid prototyping — one sentence to functional prototype | | DesignPrint | Designers | lovart-inspired print design tool — A5 brochures, banners, posters | | CoWork | Office Workers | Daily task assistant — emails, notes, reports | | NoteGenius | Content Creators | NotebookLM-style workspace — write articles with AI-generated illustrations | | PromoStudio | Video Creators | Promotional video maker — powered by Remotion and Wanx |
See [apps/README.md](apps/README.md) for detailed documentation.
Featured Skills
1. YouTube Transcript Extractor
Extracts timestamped transcripts from YouTube videos for translation, summarization, and content creation.
- Location:
skills/youtube-transcript-extractor/ - Key Features: Auto-language detection, timestamp formatting, and local file saving.
2. Image Generation Skill
Generates high-quality images from text descriptions using Alibaba Cloud's DashScope (Wanx).
- Location:
skills/image-generate/ - Key Features: Smart prompt optimization for hand-drawn styles and automated asset management.
3. Auto PR Skill
Automated Pull Request submission assistant, including code review, documentation generation, and PR creation.
- Location:
skills/auto-pr/ - Key Features:
- Branch preparation and synchronization
- Code review analysis and difference checking
- Automatic PR template discovery
- English documentation generation with user confirmation
- Automated PR submission via GitHub CLI
- Pre-checks for dependencies and authentication
4. Dashboard Builder Skill
Builds full-stack dashboard applications using React/Next.js + shadcn/ui + Tailwind CSS + Recharts + Express with customizable data sources. Perfect for data visualization dashboards, business intelligence interfaces, monitoring systems, KPI displays, and analytics platforms.
- Location:
skills/dashboard-builder/ - Key Features: Professional dark theme, big screen optimization, animated components, configurable data integrations, quick start templates, and additional large-screen components.
Featured Extensions
Improve
Runs one meaningful codebase improvement now, or schedules recurring improvement work in the current Qwen Code session.
- Location:
extensions/improve/ - Key Features: One-shot and recurring
/improveworkflows, context-guided task selection, isolated git worktrees, implementation and validation subagents.
Marketing Materials
Qwen Code Brochures
Professional brochures introducing Qwen Code features and capabilities in multiple languages.
- Location:
vibe/brochure/ - Contents:
qwen-code.html- Chinese version of the introduction brochureqwen-code.en.html- English version of the introduction brochure
Getting Started
Prerequisites
- Python 3.9+ (for Python-based skills)
- Node.js (for JavaScript-based skills)
- API Keys (as required by specific skills, e.g.,
DASHSCOPE_API_KEY)
Installation
Clone the repository and install dependencies for the specific skill you want to use:
git clone https://github.com/your-username/qwen-code-examples.git cd qwen-code-examples
Refer to the SKILL.md file within each skill directory for detailed setup instructions.
Contributing
We welcome contributions! If you have a Qwen Code use case or example you'd like to share, feel free to open a Pull Request.
License
MIT License
Notability
notability 5.0/10Solid new repo with decent stars, not a major release