About aliyun-qwen-coder
aliyun-qwen-coder is a Qwen Coder skill for coding assistants and software agents, covering code generation, review drafts, and repository-level reasoning. Its normalized request interface and saved context support repeatable runs.
Key features
- 01Prepare code generation requests
- 02Include repository context and files
- 03Set model, language, and tools
- 04Save request and context records
Use cases
- 01Draft code review feedback
- 02Plan code patches
- 03Analyze repository-wide changes
- 04Build tool-using software agents
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ cinience/ alicloud-skills --skill aliyun-qwen-coderAfter installing, type/aliyun-qwen-coderin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
agents/openai.yamlreferences/sources.mdscripts/prepare_code_request.pyDetails
From the project READMECategory: provider
Model Studio Qwen Coder
Validation
mkdir -p output/aliyun-qwen-coder
python -m py_compile skills/ai/code/aliyun-qwen-coder/scripts/prepare_code_request.py && echo "py_compile_ok" > output/aliyun-qwen-coder/validate.txt
Pass criteria: command exits 0 and output/aliyun-qwen-coder/validate.txt is generated.
Output And Evidence
- Save prompts, repository context summaries, and normalized coding request payloads under
output/aliyun-qwen-coder/. - Record the exact model, endpoint mode, and target language/framework for reproducibility.
Use Qwen Coder for coding assistants, code review drafting, repository-level reasoning, patch planning, and tool-using software agents.
Critical model names
Use one of these exact model strings as appropriate:
qwen3-coder-nextqwen3-coder-plusqwen-coder-plusqwen2.5-coder-32b-instruct
Prerequisites
- Install SDK in a virtual environment:
python3 -m venv .venv
. .venv/bin/activate
python -m pip install dashscope
- Set
DASHSCOPE_API_KEYin your environment, or adddashscope_api_keyto~/.alibabacloud/credentials. - Prefer the OpenAI-compatible endpoint when a client does not yet expose the latest coder models in dropdown UI.
Normalized interface (code.generate)
Request
messages(array, required)model(string, optional): defaultqwen3-coder-nextrepository_summary(string, optional)files(array, optional)language(string, optional)tools(array, optional)stream(bool, optional)text(string)patch(string, optional)usage(object, optional)
Response
Quick start
python skills/ai/code/aliyun-qwen-coder/scripts/prepare_code_request.py \
--task "Refactor request validation into a small helper and add one unit test." \
--language python
Operational guidance
- Pass only the files relevant to the requested change to reduce noise.
- Use
qwen3-coder-nextfor current-generation coding tasks andqwen3-coder-pluswhen you need a stronger but potentially costlier coder. - For repo-scale changes, include architecture notes and expected test commands.
- Prefer deterministic prompts and pinned model IDs for benchmarking or regression comparison.
Output location
- Default output:
output/aliyun-qwen-coder/requests/ - Override base dir with
OUTPUT_DIR.
References
references/sources.md
Comments
Markdown supported