Logo: Syncmeta

Syncmeta

CommunautéitBeléift
pawurb
syncmeta

Synchroniséiert Ännerungen aus de Crates hotpath, hotpath-macros an hotpath-drain mat hiren Entspriechungen an de Meta-Crates (hotpath-meta, hotpath-macros-meta an hotpath-drain-meta). Benotzt dëse Skill, wann d'Meta-Crates mat de rezenten Ännerungen aktualiséiert musse ginn.

Iwwersiicht

Editeurpawurb
Repositoryhotpath-rs
Skill-Nummsyncmeta
Stären
1.7K
Forks
51
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    pawurb huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Syncmeta an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/pawurb/hotpath-rs/tree/main/skills/syncmeta
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pawurb/hotpath-rs.git /tmp/hotpath-rs
mkdir -p .claude/skills
cp -r /tmp/hotpath-rs/skills/syncmeta .claude/skills/syncmeta
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Syncmeta an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Syncmeta automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Syncmeta net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Sync Meta Crates

Sync recent changes from hotpath → hotpath-meta, hotpath-macros → hotpath-macros-meta and hotpath-drain → hotpath-drain-meta.

The meta crates are copies of the main crates used to profile the profiler itself. They must stay in sync with the source crates.

Effective Approach

DO NOT copy entire files from hotpath to hotpath-meta and then sed-replace. This approach fails because the meta crates have many naming differences beyond simple hotpath:: → hotpath_meta:: substitution:

  • Feature flags: hotpath → hotpath-meta, hotpath-alloc → hotpath-alloc-meta, hotpath-cpu → hotpath-cpu-meta, hotpath-cloud → hotpath-cloud-meta, hotpath-prometheus → hotpath-prometheus-meta, hotpath-mcp → hotpath-mcp-meta
  • Crate imports: hotpath_macros → hotpath_macros_meta, hotpath_drain → hotpath_drain_meta
  • Environment variables: HOTPATH_FOCUS → HOTPATH_META_FOCUS, HOTPATH_EXCLUDE_WRAPPER → HOTPATH_META_EXCLUDE_WRAPPER, HOTPATH_OUTPUT_PATH → HOTPATH_META_OUTPUT_PATH
  • Self-instrumentation: lines like #[cfg_attr(feature = "hotpath-meta", hotpath_meta::measure_all)] exist in hotpath but must NOT exist in hotpath-meta
  • hotpath-drain-meta is the simplest mirror: it has no features and no dependencies, so syncing hotpath-drain means applying the diff and dropping the #[cfg_attr(feature = "hotpath-meta", hotpath_meta::measure(...))] lines. Nothing else is renamed - there is no hotpath-drain-meta feature flag.

Instead, apply diffs to the existing meta files:

  1. Get the actual diff for each changed file: git diff HEAD~N..HEAD -- crates/hotpath/src/path/to/file.rs
  2. Read the corresponding meta file
  3. Apply the equivalent semantic changes, preserving all meta-specific naming

Steps

  1. Check the last N commits (default 1, user can specify more) for changes to crates/hotpath/, crates/hotpath-macros/ and crates/hotpath-drain/:
git log --oneline -N
git diff HEAD~N..HEAD --name-only -- crates/hotpath/src/ crates/hotpath-macros/src/ crates/hotpath-drain/src/
  1. For each changed file, get the source diff:
git diff HEAD~N..HEAD -- crates/hotpath/src/path/to/file.rs
git diff HEAD~N..HEAD -- crates/hotpath-drain/src/lib.rs
  1. Read the corresponding meta file and apply the equivalent changes using Edit tool. The meta files are at:

    • crates/hotpath/src/** → crates/hotpath-meta/src/**
    • crates/hotpath-macros/src/** → crates/hotpath-macros-meta/src/**
    • crates/hotpath-drain/src/** → crates/hotpath-drain-meta/src/**
  2. Verify the meta crates compile:

cargo check -p hotpath-drain-meta
cargo check -p hotpath-meta
cargo check -p hotpath-meta --features hotpath-meta
cargo check -p hotpath-macros-meta --features hotpath-meta
cargo check -p hotpath-meta --features hotpath-meta,hotpath-alloc-meta
cargo check -p hotpath-meta --features hotpath-meta,hotpath-alloc-meta,hotpath-prometheus-meta

The no-feature check covers the lib_off path. Every *-meta sub-feature (hotpath-alloc-meta, hotpath-cpu-meta, hotpath-cloud-meta, hotpath-prometheus-meta, hotpath-mcp-meta) requires hotpath-meta and hits a compile_error! on its own, so always combine them with hotpath-meta. Add hotpath-cloud-meta / hotpath-mcp-meta / hotpath-cpu-meta to the last command when the synced files touch those subsystems.

  1. Report a summary of what was synced.

Rules

  • Only sync src/ files, never Cargo.toml or other config files. examples/ and tests/ (including the miri test in hotpath-drain) are not mirrored either.
  • If no changes were made to the source crates in the specified commits, report that and exit.
  • NEVER copy entire files and do bulk find-and-replace. Always apply diffs to existing meta files.
  • Preserve ALL meta-specific naming conventions (feature flags, env vars, crate names, self-instrumentation removal).
  • Lines with #[cfg_attr(feature = "hotpath-meta", hotpath_meta::...)] in hotpath are self-instrumentation and must NOT be copied to meta crates.
  • The meta feature flags are hotpath-meta, hotpath-alloc-meta, hotpath-cpu-meta, hotpath-cloud-meta, hotpath-prometheus-meta, hotpath-mcp-meta (NOT hotpath, hotpath-alloc, ...). There is no hotpath-off-meta; the disabled path is the no-feature build.

Heefeg gestallte Froen

Wat mécht de KI-Skill Syncmeta?

Synchroniséiert Ännerungen aus de Crates hotpath, hotpath-macros an hotpath-drain mat hiren Entspriechungen an de Meta-Crates (hotpath-meta, hotpath-macros-meta an hotpath-drain-meta). Benotzt dëse Skill, wann d'Meta-Crates mat de rezenten Ännerungen aktualiséiert musse ginn.

Firwat Syncmeta op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Syncmeta besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Syncmeta an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/pawurb/hotpath-rs/tree/main/skills/syncmeta an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Syncmeta benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Syncmeta benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Syncmeta domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Syncmeta gratis?

Jo. pawurb huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇