Langsung ke konten
Skillpedia
Branding42k Β· #6413

style-clone

Fungsinya

Skill ini membangun kursus baru dengan gaya visual dari dek yang sudah diimpor pengguna. Skill ini ditujukan untuk pembuat kursus yang ingin pelajaran baru mereka sesuai dengan desain tertentu.

Kapan dipakai

  • βœ“Saat Anda punya dek yang desainnya ingin dipakai ulang untuk pelajaran baru.
  • βœ“Saat Anda ingin konten pengajaran baru dengan gaya slide milik orang lain.
  • βœ“Saat Anda ingin hasilnya terlihat seperti dibuat oleh satu penulis untuk seluruh kursus.

Link skill

https://github.com/THU-MAIC/OpenMAIC/blob/main/skills/agent-runtime/style-clone/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/THU-MAIC/OpenMAIC/blob/main/skills/agent-runtime/style-clone/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œAjarkan pelajaran baru tentang machine learning dengan tampilan dari dek yang saya impor.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

AI mengimpor tata letak dek, menyalin tata letak yang sesuai untuk setiap halaman baru, lalu menulis ulang konten yang disalin satu elemen per satu.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Cloning a deck's style

The user has a deck by someone whose slides are worth copying. Your job is to produce new pages that look like that deck made them β€” its palette, its typography, its background treatment, its way of dividing a page β€” while the teaching content on those pages is entirely new. New content in the old style is the whole point of this mode, not the exception.

The route is copy, then refine. For every page in the new course you pick the source layout that fits it, duplicate_scene that layout, and rewrite the copy's content element by element. The design is preserved because you copied it, not because you described it.

Generation is not an alternative for a copied page. generate_scene re-rolls a page from its outline entry and draws in the house look, and no free-text slot on it overrides that: a real run that wrote the source deck's exact hex values and font names into materialFacts on every page produced pages where those values appear zero times. Describing a style to a generator does not transfer it. Copying the element tree does.

The learner-facing name for this mode is γ€ŒεεΈˆε€εˆ»γ€. Never show the learner the machinery β€” no talk of templates, clones or source pages. They should just see a course that looks like it came from one hand.

Why this works now

Copy-then-refine failed the first time it was tried, and the reason was the editing tools, not the approach. The only content editor then was a whole-block text setter, and 35 of one run's 44 edits went through it: each one replaced a block wholesale and flattened everything inside it, so a title's size and colour left with its words, contrast pairs came apart, and tables that resisted editing were shipped still carrying the old subject's text.

Those lossy ops are gone from the agent surface. What replaced them is an element-level, full-fidelity seam of three parts:

  • read_stage with path:/scenes/<order|id> and detail:"source" returns the page's exact persisted JSON β€” background, each text element's defaultColor and defaultFontName, the inline color / font-size / font-family inside its content HTML, shape fills, and exact geometry. It is your fidelity source and your address space: the paths you read are the paths you write.
  • patch_stage writes one scene-root JSON Pointer path with op:"set" or op:"remove". /content/canvas/elements/0/content replaces one text element's rich-text HTML and touches nothing else on the page; a <span> keeps its colour and size while its words change. Address the leaf, and everything you did not name keeps the value you copied.
  • add_element (a complete, id-less element JSON, id assigned by the server) and delete_element are the only ways the element set changes β€” a patch may not add, remove, rename or retype an element, which is exactly the guard that keeps a borrowed design intact.

So one atomic patch is the entry point for every content rewrite, whatever the element is β€” a paragraph at /content/canvas/elements/3/content, a shape's label at /content/canvas/elements/3/text/content, a table cell at /content/canvas/elements/5/data/0/0/text, a code line at /content/canvas/elements/9/lines/1/content, a formula's latex, a chart's label. There is no per-type editor to hunt for and no growing list of per-type operations: read the source JSON, find the path that holds the words, write that path. slide-dsl is the field manual β€” which field holds the words in each of the ten element types, the pointer rules, what values are legal, which field the renderer reads when two disagree, and what the renderer really does with the HTML you write.

Two guarantees are what make this trustworthy on someone else's design: a rejected patch changes nothing (a bad path, an unknown field or unsafe HTML fails loud with the page exactly as it was), and nothing is normalised β€” no colour, font or theme value is rewritten toward a house palette. The deck's look survives because the tool has no opinion about it.

stage-design governs the build of the stage this produces, and curriculum-planner governs a series of them; both still apply, and this skill shapes only how the pages get their look. page-clone carries the per-page mechanics of the loop in Step 4 β€” read it before the first page. slide-dsl is the field-level truth about the JSON you are patching, slide-craft is the design law any page still has to sa

Pertanyaan umum

Bisakah AI hanya mendeskripsikan gaya kepada generator?

Tidak. Skill menyebutkan mendeskripsikan gaya kepada generator tidak membawa gaya itu, sehingga skill menyalin struktur halaman.

Apakah peserta akan melihat cara pembuatannya?

Tidak. Skill menyebutkan peserta sebaiknya melihat kursus yang terlihat dibuat satu tangan, tanpa pembahasan tentang templat atau salinan.

Apa yang dibutuhkan untuk memulai?

Sebuah dek yang diimpor, atau file PowerPoint yang bisa diimpor terlebih dahulu.

Detail

Deskripsi asli dari pembuat

Building a new course inside someone else's deck β€” import the deck as a library of layouts, then produce each page of the new course by copying the layout that fits it and rewriting that copy's content element by element, so the result reads as though the original author made it. Use when the session has an imported deck (or a `.pptx` to import) and the ask is to teach new material in its design β€” its palette, its typography, its way of dividing a page. Not for a straight import that must stay slide-for-slide identical to the file (that is `pptx-import`), and not for extracting how a teacher s

repo: THU-MAIC/OpenMAIC

Popularitas

Bintang GitHub
42k
Peringkat
#6413
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa