شعار Draw Icons

Draw Icons

المجتمع
ronykax
draw-icons

صمّم أيقونات SVG مخصصة لمنتج، من أيقونة واحدة إلى مجموعة كاملة، بأي أسلوب بصري يناسبه (مخطط أو مصمت أو ثنائي اللون أو حاد أو مستدير أو بنمط البكسل أو مرسوم يدويًا أو متعدد الطبقات أو محفور أو منتفخ أو مرسوم تخطيطيًا…). اجعلها ملائمة لمظهر المنتج ومتناسقة مع أيقونات مخصصة سبق تصميمها للمشروع. استخدمها كلما أراد المستخدم أيقونات جديدة أو معاد تصميمها، أو أيقونات بأسلوب أو طابع محدد، أو أيقونات خاصة به بدلًا من مكتبة أيقونات، حتى لو قال فقط "add an icon for X".

نظرة عامة

الناشرronykax
المستودعskills
اسم المهارةdraw-icons
النجوم
386
التفريعات
6
الملفات المرفقة
4
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 4

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها ronykax على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Draw Icons في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/ronykax/skills/tree/main/skills/draw-icons
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ronykax/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/draw-icons .claude/skills/draw-icons
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Draw Icons في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Draw Icons تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Draw Icons بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Draw icons

An icon set holds together when every icon follows the same construction rules, and it belongs to its product when those rules come from the product's look. The work is: find those rules, write them down for yourself, apply every one of them to every icon, and check by looking at renders side by side.

1. List the icons

When the request names the icons, that's the list. When it names only a style, the icons to draw are the ones the product shows now:

  • Find them: imports from icon packages (lucide-react, @heroicons/react, react-icons, @phosphor-icons/react…), icon components and .svg files, icon fonts, and characters or emoji standing in for icons.
  • List each object once, with where it's used and at what size. Icons that show the same object become one entry.
  • Brand logos (a GitHub mark, a payment network) stay out of the set. Leave the official marks; a redrawn logo reads as fake.
  • Where a library icon was a poor fit for what it stands for, propose a better object (step 4, metaphor).
  • Before drawing a full set, show the user the list and its count.

2. Find the style

ICONS.md at the project root is the spec (step 8). Read it first, then render 3–5 of the icons it describes (step 5) and check they match. If they don't, tell the user what differs and ask which is right.

  • No ICONS.md, but the project has its own icons: search for .svg files and inline <svg> icon components. Icons from an installed icon library only count if the user wants to match them. Read 3–5 and render them. Take the numbers from the files: viewBox, stroke widths, radii, opacities, how cut-outs are made. Don't eyeball what you can read.
  • No icons yet: the style comes from the request and the product, and you confirm it with pictures (step 6).
    • A named style: start from its entry in references/styles.md, which also covers several names asked for together and styles it doesn't list.
    • A mood instead of a style (playful, technical, premium): it says how the icons should feel, not how they're built, and usually fits more than one build. Turn it into trait values that suit the product, and when it could mean clearly different looks, show them as candidates.
    • Nothing named: pick from what the product is and how its UI looks.
  • The user wants a different style than the icons already there: that's a redraw of every icon. Say so and confirm first.

Fit the style to the product. Unless the rules come from the project's own icons, every trait the request leaves open comes from the UI the icons sit in. Read the values from the CSS and design tokens, not from screenshots:

  • Weight from the text beside the icons: lines about as thick as the stems of the labels at that size. Heavier type, heavier icons.
  • Corners from the controls: a sharp UI gets sharp icons; otherwise round the icons' keyshapes by about the same share of their size as buttons and cards round theirs.
  • Shapes from the typeface: geometric type (true circles, even strokes) wants geometric icons; humanist or rounded type wants softer curves and rounder ends.
  • Tones and depth from the surfaces: a flat UI with one accent wants flat, one-tone icons; one built on layers, shadows or tinted panels can carry a second tone or a depth edge.
  • Detail from the density: tight toolbars and tables take fewer parts than roomy pages.

A style entry's numbers are a starting point. What the request names wins; the product sets the rest.

Before drawing, settle a rule for each of these traits. They go in ICONS.md (step 8).

TraitWhat to settle
CanvasviewBox, the live area inside it, the grid points snap to
Viewstraight on, or one projection for every icon (isometric, three-quarter) at a fixed angle
Constructionstroked paths, filled shapes, both, or cells on a pixel grid
Weightline or wall thickness; uniform, or swelling and tapering
Ends and cornerscaps (round, flat, angle-cut); corners (sharp, radius, squircle, chamfer); outer vs inner corners
Line qualityexact geometry, or drawn by hand: wobble, overshoot, breaks, doubled lines, and how much of each
Tones and layersone color; or a secondary tone at an opacity, overlapping translucent layers, a shape behind, highlights, a depth edge
Surfaceplain; or a texture (grain, halftone, hatching) drawn as dots and lines: its density and which parts carry it
Negative spacehow details are made: drawn lines, cut-outs, gaps between separate pieces
Detail and proportionhow many elements one icon carries; true proportions or exaggerated
Modifiersthe badge added to a base icon (plus, check, cross, dot): its size, the corner it sits in, the gap cut around it
Signaturewhat every icon in the style has (a highlight on the same side, a blob behind, one ornament)

3. Size

Draw for the size the icons are shown at.

  • Find it where the icons go: CSS or Tailwind sizes, size props, the icons they replace. If the code doesn't say, ask where the icons will appear (a dense toolbar, a settings list, a feature grid, an empty state) and work out the size from the answer. Never ask about viewBoxes or grids.
  • Check each size against the space around it. A size in the code may be a placeholder or a library default, not a choice. Beside text, an icon is about 1.1–1.5× the font size. Alone in a box (a tile, a card, an empty state), it spans about a quarter to a third of the box's shorter side; under a sixth it looks lost. Where a size doesn't fit its space, propose one that does, show it in the preview (step 6), and change it only after the user agrees.
  • Make one unit one display pixel at the size most icons are shown at: shown at N px → viewBox="0 0 N N". Edges then land on pixels. Pixel styles are the exception: one unit is one cell (references/styles.md).
  • The smaller the icon, the fewer the elements, the heavier the lines relative to the canvas, and the wider the gaps. Large icons can carry more detail and the style's ornaments.
  • Every gap and cut-out is at least 1 display pixel wide at the smallest size it's shown at, 1.5 where there's room. Thinner fills in.
  • Sizes 1.5× apart or more get their own drawings: draw each icon for the sizes it's shown at, not one drawing for the smallest. Each size has one canvas, weight and live area for every icon drawn at it. The large drawings carry the style's full detail and ornaments; don't strip a style down so one drawing survives 16px.

4. Draw

  • Write the final SVGs directly, one file per icon, named after the object it shows rather than the feature it stands for, where the project keeps icons.
  • Color is currentColor only. Secondary tones are currentColor at an opacity, unless the project themes them with a CSS variable.
  • Make the body fillable, so the product can fill it for a selected state with a CSS fill on the icon. Draw the body's outline as one closed path. The <svg> sets fill="none". The body's path has no fill attribute, so it inherits the icon's fill; every other element sets its own (fill="none" on lines, currentColor on solid parts), so open lines such as an arrowhead never fill. An icon with no body (an arrow, a cross) has nothing to fill. Skip this in styles whose body is already filled, and in hand-drawn styles whose lines cross or overshoot at corners: one closed outline would remove that. If such a product fills icons for a selected state, draw the fill as its own closed shape behind the strokes, with stroke="none" and no fill, so the same CSS fill turns it on.
  • Metaphor: show the object, not the action, and use the convention people already know (gear for settings, magnifier for search). For a concept specific to the product, combine a known object with a modifier.
  • Draw shared parts first (document, person, badge, plus) and copy their exact coordinates into every icon that uses them. A modifier sits in the same corner at the same size on every icon, with its gap cut out of the base icon.
  • Lay out each icon from the set's own canvas, grid and keyshapes. Never write out path data you remember from an icon library: that's a copy of a licensed icon, and it carries that library's style instead of the product's.
  • Optical size: circles a bit larger than squares, points past the live area, asymmetric shapes centered by their mass.
  • Apply every trait from step 2 to every icon, in the same amount. A highlight sits on the same side in every icon; a shape behind is the same size in every icon; hand-drawn wobble is the same strength everywhere.
  • The rules hold for every icon. When one looks too small, too light or too heavy next to its neighbors, redraw it within them: fill more of the live area, use a larger keyshape, drop a part, try another metaphor. Never give one icon its own canvas, weight or live area; icons drawn for the same size share all three. Changing a rule changes the whole set: confirm it with the user, redraw every icon it touches, and update ICONS.md.
  • Use code for geometry you would otherwise approximate. If ICONS.md has a pipeline, copy it into a temp folder and run each new icon's geometry through it unchanged. Otherwise write a throwaway Node script in a temp folder, install what it needs there, and print path data. Put the steps that every icon goes through in one function that takes an icon's geometry and returns its SVG; that function becomes the pipeline in ICONS.md. Libraries:
    • paper + paperjs-offset: boolean union, subtract and intersect, and turning a stroke into a filled outline (PaperOffset.offsetStroke(path, halfWidth, { cap, join })). For solid icons with cut-outs, single-shape icons, overlapping layers, pieces split by gaps. Call paper.setup(new paper.Size(w, h)) first.
    • roughjs: hand-drawn lines from clean paths (rough.generator(), then toPaths(g.path(d, { roughness, bowing, seed }))). Same options and a fixed seed for the whole set.
    • figma-squircle: superellipse corners (getSvgPath({ width, height, cornerRadius, cornerSmoothing })).
    • svgpath: move, scale or round a path (place a shared part somewhere else, move to a new grid).

5. Look

You can't judge an icon from its source; look at it rendered. Any way to see the pixels works. Without one, render a sheet:

bash
npm install --prefix <skill-dir>/scripts
node <skill-dir>/scripts/sheet.mjs <out.png> <display-px> [--dark] [--fill] <icon.svg>...

Each tile shows the icon large, then at the display size enlarged with hard pixels, then its file name. --dark draws light icons on a dark background; --fill turns the body fill on. A sheet holds up to 24 icons: put related icons on the same one (the arrows, the document icons) together with 2–3 of the icons they sit next to. Read the PNG. Check:

  • Can you name each icon at display size without reading its file name?
  • Does each look as big and as dark as its neighbors? A heavier blob has too much detail or too-thick parts; a bigger one overshoots the live area.
  • Is every trait from step 2 there, and the same as in the neighbors?
  • Are gaps open, cut-outs clean, edges crisp, and no slivers left?
  • In solid styles, does the silhouette alone still read as the object?
  • With the fill on (--fill), does only the body fill, and does the icon still read? Details drawn inside the body vanish when it fills in the line color; if the product fills that way, those icons need the solid twin (step 7).
  • If the product has a dark theme, do secondary tones and highlights still separate on it (--dark)?

Fix and render again until nothing on the list fails; the next sheet needs only the icons that failed, beside the same neighbors. Every icon you drew goes on a sheet before you report it. An icon made in code by mirroring or rotating one you looked at (arrow-right from arrow-left) needs no sheet of its own.

6. Show the user

For a new style, or when picking between metaphors, show the options in the product: a static HTML page that copies the piece of UI the icons go into (its markup, CSS, real labels), with the icons inline and the candidates side by side. Draw 3–4 icons that differ (round, square, detailed, product-specific) for each candidate, ask which one, and give your recommendation first. Draw the rest only after they pick. A few icons added to an existing set need no preview.

The candidates are the choices the request left open. When it named the style down to its traits, they're variations on the rest (corner radius, live area, how much detail), not other styles. When it named a mood, they're the different looks the mood could mean.

7. Put them in the product

  • Replace what the icons stand in for, where the user meant. Keep classes and states. Keep sizes, except those the user agreed to change (step 3).
  • Inline the SVG (component or markup) so currentColor works; <img> draws it black. If the bundler can't import SVGs as components, add its standard loader (vite-plugin-svgr, @svgr/webpack, vite-svg-loader) and say so.
  • Icon-only buttons get an aria-label; icons next to text get aria-hidden="true".
  • If a state swaps to a solid icon (the selected tab), draw the solid twin in the same style.

8. Keep ICONS.md

A later session starts from ICONS.md at the project root and nothing else, so it must hold every rule needed to draw the next icon. Write it right before drawing the full set: at the end of step 2 when the rules come from the project's icons, or after the user picks in step 6 when the style is new. Update it whenever a rule changes, so that it matches the icons that ship. When the rules were measured from flattened files, say which values you couldn't recover. Record only what the SVG files and the code don't show:

  • Origin: a sentence or two on the style: what the request named, and what was taken from the product's UI.
  • Rules: each trait from step 2 as values in viewBox units: canvas, live area, keyshape sizes, optical center, weight, caps and corners, tones, minimum gaps, modifier size and corner, signature.
  • Pipeline: if code builds the icons (strokes outlined, shapes booleaned, paths roughened), that code as a code block: imports, constants, and the function that turns one icon's source geometry into its final SVG. The output no longer shows these steps. Leave out the geometry of single icons, and don't repeat the pipeline's constants under Rules.
  • Sizes: where the icons are shown, the canvas and weight for each size that has its own drawings, the size gaps are tested at, which icons have a separate drawing for another size, and any display size changed from what the product used, with the reason.
  • Shared parts: their source geometry, when the files hold only the finished result.
  • Stepped curves: for pixel styles, the run lengths of each curve in use, by size (a 3-cell corner: 2, 1; a 10-cell circle: 4, 2, 1, 1). The files show only cells, not which runs make each curve.
  • Decisions: each choice a later session might "fix" without knowing why, with the reason: departures from this skill's defaults, exceptions, options that were tried and dropped.
  • Neighbors: 2–3 icons to render new ones beside.

Leave out what can be read elsewhere or worked out: details of single icons, values derived from others (ratios, px at each size), how icons are imported, the color classes used, and process steps or checklists, which this skill already covers. Write values and reasons, not instructions.

Gotchas

  • <mask>, <clipPath>, <pattern>, <filter> and gradient IDs repeat when an icon is inlined twice, and break when the first copy is hidden. Make cut-outs with compound paths and fill-rule="evenodd", or boolean the shapes with paper; make textures from real dots and lines.
  • Overlapping shapes at partial opacity show a darker overlap. Subtract one from the other unless the style is built on that overlap.
  • Stroke widths scale with the viewBox. Don't override stroke-width in CSS or props; the gaps were drawn for the width in the file.
  • Hand-drawn styles: draw clean geometry first, then roughen it with code. Hand-typed jitter drifts from icon to icon.
  • Letters and numbers inside icons don't translate and blur at small sizes. Avoid them unless the concept is the letter.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Draw Icons؟

صمّم أيقونات SVG مخصصة لمنتج، من أيقونة واحدة إلى مجموعة كاملة، بأي أسلوب بصري يناسبه (مخطط أو مصمت أو ثنائي اللون أو حاد أو مستدير أو بنمط البكسل أو مرسوم يدويًا أو متعدد الطبقات أو محفور أو منتفخ أو مرسوم تخطيطيًا…). اجعلها ملائمة لمظهر المنتج ومتناسقة مع أيقونات مخصصة سبق تصميمها للمشروع. استخدمها كلما أراد المستخدم أيقونات جديدة أو معاد تصميمها، أو أيقونات بأسلوب أو طابع محدد، أو أيقونات خاصة به بدلًا من مكتبة أيقونات، حتى لو قال فقط "add an icon for X".

لماذا تستخدم Draw Icons على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Draw Icons عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Draw Icons في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/ronykax/skills/tree/main/skills/draw-icons. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Draw Icons؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Draw Icons؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Draw Icons معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Draw Icons مجانية؟

نعم. نشرها ronykax على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇