تاریخ شمسی… --:--:--
لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI

CanvasKit / Skia

آزاد تازه‌وارد تاییدشده امن

چک‌لیست و روند کار تخصصی در حوزهٔ رسانه و فایل برای گرفتن نتیجهٔ دقیق و قابل اتکا. (شامل ۷ گام عملی · سازگار با Claude Code).

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: canvaskit-skia
description: Use CanvasKit when a Node scene needs Skia's CPU raster surface and deterministic PNG output without browser capture. The VCR fixture covers simple rectangles only.
---

# CanvasKit / Skia

`vcr` below means `node <plugin-root>/cli/vcr.mjs`; in the VCR repository it is `pnpm vcr`. Run workspace commands from the directory with `vcr.json`.

## Use cases and limits
- Use the Node CPU-WASM `SkSurface` route for crisp raster frames, when Canvas 2D's browser runtime is not needed.
- This fixture proves two non-antialiased rectangles and PNG encoding only. It does not validate browser/GPU surfaces, text shaping, SkSL, PDF/SVG, or animation.
- For browser Canvas scenes, use `canvas-2d`; for richer text shaping, consult the CanvasKit docs but treat it as untested here.

## Capability map
The [CanvasKit quickstart](https://skia.org/docs/user/modules/quickstart/) routes into surfaces and drawing; the [Skia API overview](https://api.skia.org/) documents `SkCanvas`, `SkPaint`, paths, and images; [CanvasKit's package README](https://www.npmjs.com/package/canvaskit-wasm) documents the WASM package entry points. VCR exercises `MakeSurface`, `SkCanvas.drawRect`, snapshot and PNG encode. Text, shaders, browser/GPU, and vector/PDF surfaces are documented but untested.

## Install and doctor
```text
pnpm add canvaskit-wasm@0.42.0
vcr doctor
```
`vcr doctor` does not probe project-local JavaScript imports; resolve the package from the selected project and check its installed version there. The fixture pins its dependencies separately.

## Smoke test
```text
vcr example create canvaskit-skia-raster
cd examples/canvaskit-skia-raster && ./run.sh
# expect: canvaskit-skia-raster: OK (64x48; 192 orange, 64 blue, 2816 transparent; hashes match)
```
This run was validated on macOS 26.6 arm64 with Node 25.6.1 and CanvasKit 0.42.0. It compares decoded pixel counts and two repeat renders.

## Troubleshooting
- WASM initialization fails: use the fixture-pinned package version and load its local WASM asset; do not substitute a browser build.
- Pixel checks change: inspect dimensions, alpha and exact RGBA probes before recording new expectations.

## Official docs
- [CanvasKit quickstart](https://skia.org/docs/user/modules/quickstart/)
- [CanvasKit 0.42.0 npm package](https://www.npmjs.com/package/canvaskit-wasm)


— ‹guest · 2026-11-27› —

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
رسانه و فایل
✦ Pro

DOCX creation, editing, and analysis

برای کارهای رسانه و فایل، «DOCX creation, editing, and analysis» یک راهنمای کوتاه و روشن است: مسیر «پردازش اسناد، PDF و…

⚡ /docx SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۱۹۸,۷۹۴
رسانه و فایل
✦ Pro

PDF Processing Guide

«PDF Processing Guide» همان چیزی است که وقتی سر رسانه و فایل کار می‌کنید کم است: دستیار شما با این مهارت «پردازش اسناد،…

⚡ /pdf SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۱۹۸,۷۹۴
رسانه و فایل
✦ Pro

PPTX creation, editing, and analysis

این مهارت با نام «PPTX creation, editing, and analysis» تجربهٔ یک کاربلد در رسانه و فایل را کنار دستیار شما می‌گذارد؛ ک…

⚡ /pptx SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۱۹۸,۷۹۴
رسانه و فایل
✦ Pro

Slack GIF Creator

«Slack GIF Creator» یک مهارت آماده در حوزهٔ رسانه و فایل است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «خودکارسازی جریان کار…

⚡ /slack-gif-creator SKILL.md
Claude / Claude Code
۹۶/۱۰۰ ★ ۱۹۸,۷۹۴
رسانه و فایل
✦ Pro

Audio Jingle Skill

در ساخت، تبدیل، برش، زیرنویس‌گذاری یا تولید محتوای چندرسانه‌ای (ویدیو، صوت، پادکست و تصویر) با ابزارهای تخصصی کمک می‌کن…

⚡ /audio-jingle SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۶/۱۰۰ ★ ۱۰۹,۵۹۶
رسانه و فایل
✦ Pro

Changelog → Branded Video

برای کدها، APIها و تغییرات پروژه مستندات تمیز، README کاربردی و گزارش تغییرات (Changelog) قابل فهم می‌نویسد. (شامل ۹ گا…

⚡ /changelog-video SKILL.md
Claude / Claude CodeOpenAI Codex +۲
۹۶/۱۰۰ ★ ۹۰,۱۴۸