شعار Old Adventure Game Draw

Old Adventure Game Draw

المجتمع
scpedicini
old-adventure-game-draw

ارسم مشاهد ألعاب مغامرات كلاسيكية بأسلوب Sierra / King's-Quest (AGI، بدقة 160×168، وألوان EGA ذات 16 لونًا) على هيئة تعليمات رسم متجهية بلغة PicScript، ثم حوّلها إلى PNG وأضفها إلى عارض kq-styles. استخدمها عند طلب رسم مشهد أو خلفية أو شاشة أو غرفة من لعبة مغامرات قديمة أو تلوينها أو تصميمها أو إعادة إنشائها، بما في ذلك نسخ النهار والليل والغسق، أو عند كتابة ملفات PicScript (.pic) أو تصحيحها. إذا أرسل المستخدم صورة لإعادة إنشائها، أو رسمًا تخطيطيًا للتصميم، أو رسمًا هجينًا (كلمات مع ضربات فرشاة ملوّنة)، أو تخطيطًا نصيًا بـ ASCII (كلمات موضوعة في أماكن العناصر)، فاستخدم old-adventure-game-from-image بدلًا من ذلك.

نظرة عامة

الناشرscpedicini
المستودعagi-stylist
اسم المهارةold-adventure-game-draw
النجوم
35
التفريعات
0
الملفات المرفقة
86
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Old Adventure Game draw

You write PicScript: a small, Logo-flavoured drawing language that compiles to the same kind of instructions Sierra's AGI engine used to paint King's Quest I screens (colour, lines, flood fills, brush plots). Scenes are text files. The app replays them stroke by stroke in the browser, and a CLI renders them to PNG so you can look at your own work.

Paths starting with references/ or examples/ are inside this skill's folder (skills/old-adventure-game-draw/). All other paths and commands are relative to the project root (the directory with package.json).

Read first (once per task)

  1. references/picscript.md: the language, the canvas (160×168, pixels twice as wide as tall) and the one rule that matters: fill only fills white pixels.
  2. references/style-guide.md: how KQ1 screens are composed and coloured, including the stage (up the screen is further away: sizes and ground paths shrink towards the horizon).
  3. references/stdlib.md: ready-made functions (horizon, sky, hills, ground, tree, pine, bush, rock, pond, river, path, cloud, fence, stonewall, flowers, fruit, sparkle, night()…). Each has a thumbnail PNG you can Read. There are also seed sheets (tree-seeds.png, rock-seeds.png, …) for choosing shapes.

Worked examples: examples/*.pic in this skill are small and focused:

  • minimal
  • outline-then-fill
  • turtle-tree
  • day-night-cottage
  • feature-object (a glowing golden apple)

scenes/handmade/lakeside.pic is a full recreation of a KQ1 screen.

Workflow

  1. Plan the scene as layers, back to front: sky → distant hills → far treeline → ground → far objects → near objects → small details → lighting (variants) → frame().
    • Decide the horizon row (KQ1 median: sky to ~row 14, hills to ~25, grass below ~30). horizon(y) paints that whole standard backdrop in one call with no gaps.
    • Decide where the big framing element goes and keep the walkable middle open.
    • Size things by depth: groundscale(base_y, horizon); paths, roads and rivers on the ground with trail(...), stands of trees with forest(...).
    • List the variants the user asked for (e.g. variants day, night).
  2. Write scenes/custom/<slug>.pic (kebab-case slug). Start with scene "<Title>" and variants …. Use stdlib functions for standard motifs. Write your own fns for anything specific to the request (a golden apple, a signpost, a well). Use polygon / rect / ellipse / shape() for shapes painted over other things. Use line for thin details in a contrasting partner colour.
  3. Render every variant and look at them:
    bash
    pnpm render scenes/custom/<slug>.pic --variant all --scale 3
    This writes out/<slug>-<variant>.png. Open each PNG with the Read tool and check it against the request and the style guide:
    • Is every requested element present and recognisable at this resolution?
    • Any white specks or bands (unpainted canvas)? Any leaked fills?
    • Do the colours follow KQ1 conventions? Are outlines visible against their background?
    • Does each variant read correctly (night is dark, lights stand out, …)? Add --steps 6 to see the painting order if layering looks wrong. Small details are hard to judge at full size, so zoom in with pnpm render <scene> --crop x1,y1,x2,y2 --scale 8.
  4. Lint:
    bash
    pnpm lint:pic scenes/custom/<slug>.pic
    Fix every error and warning. A fill that floods more than 40% of the picture is flagged as a possible leak. If a big background fill is intended, end its line with # lint: ok. Notes about never-painted canvas usually mean a gap: extend a band or add a backdrop rect.
  5. Iterate on steps 2-4 until it looks right. Usually 2-4 rounds. Small details (fruit, windows, flowers) are only a pixel or two, so make important ones at least 2×2.
  6. Report: the file path, the variants, the PNGs in out/, and the viewer link. Any .pic under scenes/ appears in the viewer automatically, at http://localhost:5250/#/scene/custom/<slug>?variant=<name>. The link only works while pnpm dev is running; say so instead of starting a server if you were asked not to. Mention anything you approximated.

Rules of thumb

  • Paint back to front. Solid shapes (rect, polygon, ellipse, stdlib) cover anything below them. fill only works on a white canvas, so use it for big areas painted first or in outline-then-fill sections.
  • The 2:1 pixel aspect: round things need rx ≈ ry / 2.
  • Use seed: arguments to get a different but repeatable shape for each tree or rock. Pick seeds from the seed sheets rather than guessing.
  • Make things that must be noticed (a golden apple, a key, a door) bigger than their neighbours, outline them in black, and give them a highlight pixel. examples/feature-object.pic shows how.
  • stars paint over anything, so keep their bottom above the mountain peaks.
  • Put variant-specific drawing after the shared scene. Call night() / dusk() (or your own remap) before drawing the moon, stars, lit windows and anything that should glow, so those keep their colours. night() darkens every colour at once (see its entry in stdlib.md).
  • Things may run off the picture: shape, polygon, outline and stroke are clipped at the edge. line bends off-picture points onto the edge and warns, so use stroke for lines that leave the picture.
  • Finish with frame(), the black 1-pixel border every KQ1 screen has.
  • Keep it bold and simple. Ten strong shapes beat a hundred specks.

Working from someone else's picture or layout

If the user gives you an image to recreate (a photo, painting, illustration, screenshot, or a tile from a sheet of game backgrounds), use the sibling skill ../old-adventure-game-from-image/SKILL.md. It reframes the image, grids it for measuring, and explains how to translate colours and simplify detail by eye. Don't convert it automatically.

The same skill handles layout sketches: an image or an ASCII box of words placed where things go (SUN top right, TREE1 bottom left), usually with a description of each, and hybrids that add rough coloured brushstrokes for areas and paths. Its sketch mode turns the layout into measured picture positions (exact ones for ASCII) and checks the result with an overlay.

Matching a KQ1 reference screen

To match a reference image (e.g. one of reference/kq1/*.png), add # @reference kq1/rRR-cCC to the scene header. Then:

  • pnpm render <scene> --compare --confusion prints the % match and the biggest "wanted X, got Y" mismatches.
  • pnpm regions kq1/rRR-cCC lists the major colour regions as polygons.
  • pnpm regions kq1/rRR-cCC --lines black extracts line art as polylines.

Troubleshooting

symptomcause / fix
fill did nothingseed pixel was already painted. Use polygon/rect, or fill before painting over
everything turned one coloura fill leaked through a gap in its outline. Close it, or use polygon
a parenthesised value can't contain ','write calls as tree(80, 120) or tree 80, 120, not tree (80, 120)
line 10 -5 drew the wrong thinga spaced minus starts a new argument. Write 10 - 5 or use commas
'variant' is built invariants are chosen at render time. Use if variant == "night" { … }
a detail disappearedit's the same colour as its background, or a later layer covered it

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

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

وهناك ملفات إضافية عددها 26.

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

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

ارسم مشاهد ألعاب مغامرات كلاسيكية بأسلوب Sierra / King's-Quest (AGI، بدقة 160×168، وألوان EGA ذات 16 لونًا) على هيئة تعليمات رسم متجهية بلغة PicScript، ثم حوّلها إلى PNG وأضفها إلى عارض kq-styles. استخدمها عند طلب رسم مشهد أو خلفية أو شاشة أو غرفة من لعبة مغامرات قديمة أو تلوينها أو تصميمها أو إعادة إنشائها، بما في ذلك نسخ النهار والليل والغسق، أو عند كتابة ملفات PicScript (.pic) أو تصحيحها. إذا أرسل المستخدم صورة لإعادة إنشائها، أو رسمًا تخطيطيًا للتصميم، أو رسمًا هجينًا (كلمات مع ضربات فرشاة ملوّنة)، أو تخطيطًا نصيًا بـ ASCII (كلمات موضوعة في أماكن العناصر)، فاستخدم old-adventure-game-fro...

لماذا تستخدم Old Adventure Game Draw على TypingMind؟

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

كيف أثبّت Old Adventure Game Draw في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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