Λογότυπο Glide

Glide

Κοινότητα
SrivarsanK
glide

How to change UI in a project that uses the Glide visual editor (@srivarsank/glide), and how to explain what Glide did. Use this skill whenever the project has `glideSourceStamping` in its Vite or Astro config, a `glide-components.json` file, or `data-gl-source` attributes; whenever the user mentions Glide, the visual editor, the canvas, `/__glide/`, or port 7777; and whenever the user asks why a Glide edit was refused (`UNSUPPORTED_OPERATION`, `STALE_DIGEST`, `STALE_NODE`) or why an element cannot be selected or edited. Also use it before you edit JSX, Vue, Svelte, Astro or HTML markup in such a project, so that your edits and the user's canvas edits do not conflict.

Επισκόπηση

ΕκδότηςSrivarsanK
ΑποθετήριοGlide
Όνομα δεξιότηταςglide
Αστέρια
217
Διακλαδώσεις
8
Συνοδευτικά αρχεία
28
Άδεια χρήσηςApache-2.0
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Συνοδευτικά αρχεία: 28

    Αρχεία script, πρότυπα και υλικό αναφοράς που μπορεί να διαβάζει το μοντέλο καθώς εργάζεται. Τα αρχεία είναι μόνο για ανάγνωση και δεν εκτελούνται ποτέ.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό SrivarsanK. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Glide στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/SrivarsanK/Glide/tree/main/skills/glide
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SrivarsanK/Glide.git /tmp/Glide
mkdir -p .claude/skills
cp -r /tmp/Glide/skills/glide .claude/skills/glide
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Glide σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Glide μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Glide δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Glide

Glide is a visual editor that runs next to the dev server. The user selects an element on a live preview of the app, changes it, and Glide writes the change into the source file. There is no second copy of the design: the source file is the only record.

You do not drive the canvas. You edit source files, and Glide watches the project and updates the canvas. So your job in a Glide project is to (1) find the right element fast, (2) edit it in a way that Glide and the user can keep working with, and (3) explain Glide's behavior when the user asks.

Use Glide's tools when you have them

If your tool list has Glide's MCP tools (get_selection, get_source, update_styles, …), use them: get_selection tells you what the user is pointing at on the canvas, and the edit tools write through Glide, so the change keeps the project's style format and joins the user's undo history. Set them up with npx @srivarsank/glide mcp install --agent claude (also cursor, vscode, all) or run npx -y @srivarsank/glide mcp as a stdio server. Call get_guide once for the conventions, and build new sections with insert_markup. For anything they don't cover, edit the files.

Find the element

Do not guess file paths. If glide-components.json is in the project root, it lists every component with its file and its elements, each with a line and column.

bash
node <this skill folder>/scripts/query-components.mjs --list          # all components
node <this skill folder>/scripts/query-components.mjs --name Card     # one component, as JSON

In each component, the element with isRoot: true is the outer wrapper: use it for background, outer padding and size. A capitalized tagName (<UserAvatar>) is another component; look up its own entry to change what it renders. For the file format and edge cases, read the glide-component-segregator skill.

If the file is missing, Glide is not running. Read the source files directly; do not create the file by hand, because Glide overwrites it.

Edit so that Glide can keep working

The user may have the editor open while you work. Four rules keep your edits and theirs compatible.

Change one thing, keep the rest. For a Tailwind change, replace only the class for that property and keep the others. md:, hover: and similar classes are separate decisions the user made; an edit to the base padding must not remove md:p-8. Keep arbitrary values such as w-[420px], and prefer the project's theme tokens over raw values. Details and the prefix table: references/tailwind-rewriting.md.

Keep static things static. Glide can only save an edit when it can point at one literal in the source. If you turn class="p-4" into a computed value, the user can no longer edit that element on the canvas. Use a dynamic class only where the behavior needs it. The same goes for attributes: the editor adds and edits href, target, id, type, alt, src, popover and aria-* on HTML elements only while they are plain string literals. Interactions made in the editor are plain links (<a href="/page">, href="https://…" with target="_blank", or href="#id" to scroll), and the Interactions panel reads them back from that markup, so keep them as literal links.

Leave the pasteboard alone. A block like {false && <div data-gl-workspace-id="..." data-gl-workspace-x="..." ...>} is an element the user moved off the page to keep for later. It never renders. Do not delete it as dead code.

Expect a conflict after you write. Each canvas edit carries a digest of the file. If you change a file after the user selected an element in it, their next save is refused with STALE_DIGEST and nothing is written. This is the safety working. Tell the user to select the element again.

What Glide can save

File typeClass, inline style, text, attributes, change tag, drag and resizeInsert, delete, move, group
JSX / TSXYesYes
Vue, Svelte, AstroYesNo
HTMLYes, in projects with no UI frameworkNo

Glide refuses an edit that it cannot make exactly, and says why. This is intended: a wrong guess in source code is worse than a refusal. The common causes:

  • The class or style is computed: :class, class={...}, class:list, a {...spread}.
  • The text has an expression ({count}, {{ count }}) or child elements.
  • A condition, or a cva definition that other code also uses, would override the new class.
  • The element is a component (<Card>) in a Vue, Svelte or Astro template.
  • The element was added by a script at runtime, so it has no source position.

When the user reports a refusal, read the message, find the cause in the source, and offer the source edit that does what they wanted. The limits for each file type are in references/framework-adapters.md.

When something does not work

The user seesLikely causeWhat to do
Elements select, but the properties panel is inactiveNo source stampsAdd glideSourceStamping() to the Vite config and restart the dev server (see the glide-setup skill)
"Could not reach dev server" on port 7777The glide command points at the wrong portType the app's address in the editor's URL field, or start with npx @srivarsank/glide <port>
STALE_DIGEST or STALE_NODEThe file changed after selectionSelect the element again
UNSUPPORTED_OPERATIONSee the list aboveEdit in source
Editor says "Disconnected"Opened from a host that is not allowedUse the address in the [Glide] Editor: line of the terminal

Reference files

Read these only when the task needs them.

FileRead it when
references/framework-adapters.mdYou need the exact support and refusal rules for one file type
references/tailwind-rewriting.mdYou change Tailwind classes, scoped variants, or cn / cva expressions
references/staged-edits.mdThe user asks about Instant and Staged mode, or how a drag is saved
references/architecture.mdYou debug Glide itself: transactions, the file watcher, the socket messages

Συνοδευτικά αρχεία

Το μοντέλο τα διαβάζει όποτε χρειάζεται, όσο η δεξιότητα είναι φορτωμένη. Διατίθενται ως αρχεία για ανάγνωση και δεν εκτελούνται ποτέ.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Glide;

How to change UI in a project that uses the Glide visual editor (@srivarsank/glide), and how to explain what Glide did. Use this skill whenever the project has `glideSourceStamping` in its Vite or Astro config, a `glide-components.json` file, or `data-gl-source` attributes; whenever the user mentions Glide, the visual editor, the canvas, `/__glide/`, or port 7777; and whenever the user asks why a Glide edit was refused (`UNSUPPORTED_OPERATION`, `STALE_DIGEST`, `STALE_NODE`) or why an element cannot be selected or edited. Also use it before you edit JSX, Vue, Svelte, Astro or HTML markup in...

Γιατί να χρησιμοποιήσετε τη δεξιότητα Glide στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Glide είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Glide στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/SrivarsanK/Glide/tree/main/skills/glide. Το TypingMind διαβάζει το αρχείο SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Glide;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Glide;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Glide με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Glide;

Ναι. Δημοσιεύεται στο GitHub από τον λογαριασμό SrivarsanK με την άδεια χρήσης Apache-2.0. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇