web-technique-to-skill
Ce qu’il fait
Cette compétence prend un effet web qui fonctionne et en extrait le mécanisme clé pour en faire une compétence réutilisable, avec une démonstration qui prouve son bon fonctionnement. Elle s'adresse aux designers et développeurs web qui veulent réutiliser une technique déjà construite.
Quand l’utiliser
- ✓Quand vous avez construit un effet web qui fonctionne et voulez le réutiliser.
- ✓Quand une technique web est enfermée dans un seul fichier et doit être partagée.
- ✓Quand vous voulez une démonstration qui prouve qu'une technique rend toujours correctement.
Lien du skill
https://github.com/MengTo/Skills/blob/main/agent-skills/codex/web-technique-to-skill/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Transforme l'effet de feuilles qui tombent que j'ai construit en compétence réutilisable, avec une démonstration.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent nomme l'unique mécanisme qui fait fonctionner l'effet, le sépare du style qui l'entoure, puis rédige une compétence avec une démonstration. Il enregistre l'environnement d'exécution vérifié et contrôle le résultat visuel.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Web Technique to Skill
Start from working code, not from prose. Reach for article-prompts-to-skills when the source is an article or a prompt pack that describes behavior. Reach for this when you built the thing, it works, and the knowledge is currently trapped in one file.
Extract one mechanism per skill. A page that turned out well usually holds several; package them separately or each one gets diluted.
Treat this as the living quality contract for every web-technique skill. On every creation or revision, audit this skill too. If the work exposes a missing fidelity rule, failure mode, packaging constraint, or verification step, update this contract in the same scoped change instead of solving it only inside one child skill.
Name the mechanism in one sentence
Write the sentence before you write anything else: the one thing that, if removed, makes the effect stop working. If you cannot write it, you have a look, not a mechanism, and there is no skill here yet.
The sentence decides everything downstream. For a leaf fall it is "the tumble crosses edge-on, and that instant of near-disappearance is what the eye reads as a leaf" — so the sprite artwork, the palette, and the night scene are all staging, and the tumble is the skill.
Test it: change the subject, the palette, and the layout in your head. If the sentence still holds, it is the mechanism. If it stops making sense, you named the staging.
Name the demo and disclose the stack
Use the concrete technique name for the visible h1 and browser <title>: Wisps, Cursor Ripples, Liquid Metal Border, or Scroll-scrubbed Word Reveal. Do not hide the subject behind an abstract mechanism claim. “Draw at any speed” describes behaviour, but it does not tell anyone what the demo is.
Put the verified implementation path directly above or below that title. Name, in order:
- The runtime or framework: Vanilla JavaScript, React, Vue
- The renderer or browser API: Canvas 2D, WebGL, DOM/CSS, SVG
- The technique layer when present: GLSL shaders, Three.js, GSAP, ScrollTrigger
Write Vanilla JavaScript · Canvas 2D or Three.js · WebGL · GLSL, not “interactive experiment” or “motion study.” Never guess from the look. Verify imports, renderer construction, and context creation in the source. getContext('2d') is Canvas 2D, not a shader; WebGLRenderer plus ShaderMaterial is Three.js, WebGL, and GLSL. When the visual could be mistaken for a more complex stack, state the absence plainly: No WebGL, shaders, or Three.js.
Separate the effect stack from the interface stack when they differ. Write Vanilla JavaScript + Canvas 2D effect; CSS interface instead of listing CSS beside Canvas 2D as if both render the particles. Readers should know which technology creates the technique and which technology only lays out its controls.
If an approved reference headline must remain for layout fidelity, keep it and put the technique name plus stack in the browser title and the reference's existing kicker, control panel, or secondary label. The implementation must still be obvious on the first screen.
Split mechanism from staging
Sort every part of the source into three piles and keep only the first:
| pile | goes where | examples |
|---|---|---|
| mechanism | the skill | the maths, the state model, the ordering constraint, the budget |
| staging | the demo only | palette, copy, imagery, page layout, brand |
| incidental | nowhere | selector names, a font choice, a one-off asset path |
Strip project selectors and incidental asset paths from the reusable mechanism in the skill body. Keep the approved reference staging in the demo: the same owned brand, palette, type treatment, composition, asset placement, atmosphere, and motion hierarchy. Isolate the technique by narrowing what the demo teaches and controls, not by inventing a different visual world.
Anchor every rule to the failure it prevents
State the wrong result, not the right adjective. A rule with a named failure is testable; a rule without one is decoration.
- Weak: "vary the particle rotation for a natural feel."
- Strong: "drive rotation from the tumble angle, ninety degrees out of phase. An independent sine reads as a wobble or as an easing bug."
If you cannot name what goes wrong, you probably never tested the alternative, and the rule may not be real. Cut it or go and find out.
Carry numbers, not adjectives
Ship the constants you actually landed on. "Subtle"
Questions fréquentes
Qu'est-ce que le mécanisme ?
C'est la seule partie qui, si on l'enlève, fait cesser l'effet. Le reste est traité comme du style.
Une page peut-elle produire plusieurs compétences ?
Oui. La compétence indique d'empaqueter chaque mécanisme séparément pour qu'aucun ne soit dilué.
Une démonstration est-elle obligatoire ?
Oui. La compétence indique d'empaqueter la technique avec une démonstration qui prouve à la fois le mécanisme et son rendu.
Détails
Description originale de l’auteur
Turn a visual or interaction technique you already built into a reusable web-design skill, by isolating the one mechanism that makes it work while reproducing its approved reference exactly around that focus, and packaging it with a demo that proves both the mechanism and the visual fidelity. Covers finding the mechanism, naming the technique plainly, disclosing the verified runtime and renderer, auditing reference layers, carrying real numbers instead of adjectives, preserving owned staging, keeping expensive gotchas, declaring the boundary against neighbouring skills, and browser-verifying b
repo: MengTo/Skills
Popularité
- Étoiles GitHub
- 7.2k
- Position au classement
- #13344
- Licence
- MIT
- Mis à jour
- 01/11/2026
Commentaires
- …
Autres skills de ce dépôt
3d-cloth-material
7.2kAide votre agent à créer un tissu tissé réaliste dans Three.js, avec le tissage des fils, un léger brillant, des plis naturels, des ourlets et des coutures.
3d-falling-leaves
7.2kAide votre agent à ajouter des feuilles qui tombent de façon réaliste dans une scène 3D, qui tournoient, dérivent avec le vent et se recyclent quand la caméra bouge.
3d-four-seasons
7.2kAide votre agent à ajouter les looks printemps, été, automne et hiver à une scène 3D, en changeant le feuillage, la lumière, le ciel et la neige sans la reconstruire.
3d-high-poly-models
7.2kAide votre agent à construire des modèles 3D détaillés aux formes lisses, puis à préparer des versions légères qui tournent bien sur le web.
Skills similaires
writing-skills
311kApprend à votre agent à rédiger de nouvelles skills et à tester chacune d'elles en premier, en vérifiant que la skill change réellement son comportement.
writing-for-agents
310kExplique comment rédiger des instructions claires pour les agents IA, y compris les skills et les fichiers AGENTS.md et CLAUDE.md, afin que l'agent se comporte de façon prévisible.
bengali-nlp
280kPermet à votre agent de traiter des textes en bengali. Il aide à comprendre cette langue, à normaliser les textes et à gérer ses particularités.