aliyun-solution-article-illustrator
$
npx mdskill add cinience/alicloud-skills/aliyun-solution-article-illustratorGenerates illustrated articles with Alibaba Cloud image backends
- Solves workflow for article illustration with Type x Style planning
- Uses Alibaba Cloud image generation APIs and Markdown tools
- Recommends image backends based on article preferences and style
- Delivers Markdown articles with embedded local image references
SKILL.md
.github/skills/aliyun-solution-article-illustratorView on GitHub ↗
--- name: aliyun-solution-article-illustrator description: Use when the user needs an end-to-end article illustration workflow in this repository that preserves Type x Style planning, loads article-illustration preferences, recommends Alibaba Cloud image backends, and produces a Markdown article with inserted local image references. version: 1.0.0 --- Category: solution # Content Article Illustrator Preserve the article-illustration workflow model while recommending Alibaba Cloud skills as the default execution backends. ## Two Dimensions | Dimension | Controls | Examples | |-----------|----------|----------| | **Type** | Information structure | infographic, scene, flowchart, comparison, framework, timeline | | **Style** | Visual aesthetics | notion, warm, minimal, blueprint, watercolor, editorial | ## Validation ```bash mkdir -p output/aliyun-solution-article-illustrator python3 tests/common/compile_skill_scripts.py \ --skill-path skills/solutions/aliyun-solution-article-illustrator \ --output output/aliyun-solution-article-illustrator/compile-check.json ``` Pass criteria: command exits 0 and `output/aliyun-solution-article-illustrator/compile-check.json` is generated with `"status": "pass"`. ## Output And Evidence - Write workflow artifacts under `output/aliyun-solution-article-illustrator/<topic-slug>/`. - Save at least: `source.md`, `outline.md`, one prompt file, generated images, `article.with-images.md`, and `delivery-report.md`. - Keep evidence for prompt-before-generation ordering and any edit pass used during repair. ## Prerequisites - A source Markdown article. - A generation backend that satisfies `references/backend-contract.md`. - If you want repository-default behavior, prefer `aliyun-qwen-image` and `aliyun-qwen-image-edit`. - Optional `EXTEND.md` preferences at project or user scope. ## Workflow 1. Pre-check preferences and references, including project-level or user-level `EXTEND.md`. 2. Analyze the source Markdown article and identify candidate illustration positions. 3. Confirm settings in one batch: Type, Density, Style, optional Language, and output size. 4. Choose or recommend a backend and build `outline.md`. 5. Save prompt files before any generation step. 6. Use the selected generation backend for first-pass images. Recommend `aliyun-qwen-image` by default. 7. If needed, use the selected edit backend for one repair pass per image. Recommend `aliyun-qwen-image-edit` by default. 8. Write `article.with-images.md` with relative `images/...` Markdown links. 9. Save evidence and produce `delivery-report.md`. ## Minimal Executable Run ```bash python3 skills/solutions/aliyun-solution-article-illustrator/scripts/run_workflow.py \ --source path/to/article.md \ --output-dir output/aliyun-solution-article-illustrator/example-run \ --generation-backend mock ``` ## State Gates - `drafted`: source article and initial outline exist - `confirmed`: user settings, preferences, and backend choice are confirmed - `generated`: prompt files and first-pass images exist - `validated`: artifact structure and Markdown insertion pass checks - `delivered`: final article and report are written ## References - Detailed workflow: `references/workflow.md` - Usage examples: `references/usage.md` - Style system: `references/styles.md` - Backend contract: `references/backend-contract.md` - Prompt construction rules: `references/prompt-construction.md` - Output contract: `references/output-spec.md` - Validation and test expectations: `references/test-plan.md` - Config setup: `references/config/first-time-setup.md` - Preferences schema: `references/config/preferences-schema.md` - Source references: `references/sources.md` - Helper scripts: `scripts/load_preferences.py`, `scripts/validate_inputs.py`, `scripts/build_outline.py`, `scripts/collect_evidence.py`
More from cinience/alicloud-skills
- aliyun-adb-mysqlUse when managing Alibaba Cloud AnalyticDB for MySQL (ADB) via OpenAPI/SDK, including the user needs AnalyticDB resource lifecycle and configuration operations, status checks, or troubleshooting ADB API and cluster workflow issues.
- aliyun-adb-mysql-testSmoke test for aliyun-adb-mysql. Validate minimal authentication, API reachability, and one read-only query path.
- aliyun-aicontent-generateUse when managing Alibaba Cloud AIContent (AiContent) via OpenAPI/SDK, including the user needs AI content generation or content workflow operations in Alibaba Cloud, including listing assets, creating/updating generation configurations, checking task status, or troubleshooting failed content jobs.
- aliyun-aicontent-generate-testSmoke test for aliyun-aicontent-generate. Validate minimal authentication, API reachability, and one read-only query path.
- aliyun-aimiaobi-generateUse when managing Alibaba Cloud Quan Miao (AiMiaoBi) via OpenAPI/SDK, including the user asks for Alibaba Cloud MiaoBi content operations, including listing resources, creating/updating configurations, querying runtime status, and diagnosing API or workflow failures.
- aliyun-aimiaobi-generate-testSmoke test for aliyun-aimiaobi-generate. Validate minimal authentication, API reachability, and one read-only query path.
- aliyun-airec-manageUse when managing Alibaba Cloud AIRec (Airec) via OpenAPI/SDK, including the user needs recommendation-engine resource operations in Alibaba Cloud, including list/create/update flows, status inspection, and troubleshooting AIRec configuration or runtime issues.
- aliyun-airec-manage-testSmoke test for aliyun-airec-manage. Validate minimal authentication, API reachability, and one read-only query path.
- aliyun-alb-manageUse when managing and troubleshoot Alibaba Cloud ALB (Application Load Balancer), including the user asks to inspect, create, change, or debug ALB instances, listeners, server groups, rules, certificates, ACLs, security policies, or health checks in Alibaba Cloud.
- aliyun-alb-manage-testSmoke test for Alibaba Cloud ALB skill. Validates SDK auth, script compilation, list instances, and health check flows.