syncmeta
Sync changes from hotpath and hotpath-macros crates to their meta counterparts (hotpath-meta and hotpath-macros-meta). Use when meta crates need to be updated with recent changes.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up β so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/syncmeta-pawurb/β the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates β they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description β no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the βWhat this skill doesβ section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Sync changes from hotpath and hotpath-macros crates to their meta counterparts (hotpath-meta and hotpath-macros-meta). Use when meta crates need to be updated with recent changes.
What this skill does
Sync Meta Crates
Sync recent changes from hotpath β hotpath-meta and hotpath-macros β hotpath-macros-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-offβhotpath-off-meta - Crate imports:
hotpath_macrosβhotpath_macros_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
Instead, apply diffs to the existing meta files:
- Get the actual diff for each changed file:
git diff HEAD~N..HEAD -- crates/hotpath/src/path/to/file.rs - Read the corresponding meta file
- Apply the equivalent semantic changes, preserving all meta-specific naming
Steps
- Check the last N commits (default 1, user can specify more) for changes to
crates/hotpath/andcrates/hotpath-macros/:
git log --oneline -N
git diff HEAD~N..HEAD --name-only -- crates/hotpath/src/ crates/hotpath-macros/src/
- For each changed file, get the hotpath diff:
git diff HEAD~N..HEAD -- crates/hotpath/src/path/to/file.rs
-
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/**
-
Verify the meta crates compile:
cargo check -p hotpath-meta --features hotpath-meta
cargo check -p hotpath-macros-meta --features hotpath-meta
cargo check -p hotpath-meta --features hotpath-alloc-meta
cargo check -p hotpath-meta --features hotpath-off-meta
- Report a summary of what was synced.
Rules
- Only sync
src/files, neverCargo.tomlor other config files. - 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-off-meta(NOThotpath,hotpath-alloc,hotpath-off).
Related skills
A/B Test Designer
coreyhaines31
Design and plan A/B tests to measure which version performs better.
Ad Creative Generator
coreyhaines31
Generate and iterate high-performing ad copy, headlines, and variations for any platform.
Cold Email Writer
coreyhaines31
Write B2B cold emails and follow-up sequences designed to get replies.
Marketing Copy Editor
coreyhaines31
Review and polish marketing copy to strengthen messaging and improve readability.