Skip to content

A collection of practical examples and best practices for Qwen Code

Notifications You must be signed in to change notification settings

QwenLM/qwen-code-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 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 
├── 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 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.

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 brochure
    • qwen-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

About

A collection of practical examples and best practices for Qwen Code

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5