[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CPTFPMH278R12STH34G3F1":3,"skill-same:01M7CPTFPMH278R12STH34G3F1":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7CPTFPMH278R12STH34G3F1","nemo-mbridge-perf-activation-recompute",null,"Validate and use selective and full activation recompute in Megatron Bridge to reduce GPU memory usage at the cost of extra compute.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fnvidia-skills\u002Fnemo-mbridge-perf-activation-recompute\u002Fskills\u002Fnemo-mbridge-perf-activation-recompute\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: nemo-mbridge-perf-activation-recompute\ndescription: Validate and use selective and full activation recompute in Megatron Bridge to reduce GPU memory usage at the cost of extra compute.\nlicense: Apache-2.0\nwhen_to_use: Reducing GPU memory via activation recompute, or investigating a commit that changed recompute settings and caused OOM or a regression; 'recompute_granularity', 'recompute_num_layers', 'recompute_modules', 'recompute_method', 'selective recompute', 'full recompute', 'activation memory OOM'.\n---\n\n# Activation Recompute\n\nStable docs: @docs\u002Ftraining\u002Factivation-recomputation.md\nCard: @skills\u002Fnemo-mbridge-perf-activation-recompute\u002Fcard.yaml\n\n\u003C!-- NVSkills CI refresh: 2026-06-15. No instruction changes. -->\n\n## What It Is\n\nActivation recompute trades GPU compute for memory by discarding intermediate\nactivations during the forward pass and recomputing them during backward.\nMegatron Bridge supports two granularities:\n\n| Granularity | What you specify | What gets recomputed | Memory savings | Compute cost |\n|---|---|---|---|---|\n| `selective` | `recompute_modules` list (e.g. `core_attn`, `mlp`) | specific submodules within each layer | moderate (module-dependent) | low to high |\n| `full` | `recompute_num_layers` + `recompute_method` | entire transformer layers (N layers) | strongest | highest |\n\nNote: MCore names these \"selective\" (submodule-level) vs \"full\" (layer-level).\n\"Full\" means recomputing full layers, not the full model — you still choose\nhow many layers via `recompute_num_layers`.\n\n## Quick Decision\n\n1. Rule out allocator fragmentation first with\n   `PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True`; see\n   @skills\u002Fnemo-mbridge-perf-memory-tuning\u002FSKILL.md.\n2. For activation pressure, start with selective recompute:\n   `recompute_granularity=\"selective\"` and `recompute_modules=[\"core_attn\"]`.\n3. Add modules by cost: `\"layernorm\"` is cheap but saves little, while `\"mlp\"`\n   saves much more memory at a clear throughput cost.\n4. Use full-layer recompute only when selective recompute does not fit, and set\n   all required fields: `recompute_granularity=\"full\"`, `recompute_method`, and\n   `recompute_num_layers`.\n5. With FP8 or TE-scoped CUDA graphs, avoid full-layer recompute unless graph\n   scope is `full_iteration`; otherwise use selective recompute or disable TE\n   graph capture.\n\nCPU offloading (`cpu_offloading=True`) is an alternative that avoids recompute\ncost entirely, but it is **incompatible with PP > 1**.\n\n## Enablement\n\n### Selective recompute\n\n```python\ncfg.model.recompute_granularity = \"selective\"\ncfg.model.recompute_modules = [\"core_attn\"]  # add \"layernorm\", \"mlp\", or other valid modules as needed\n```\n\n### Full-layer recompute\n\n```python\ncfg.model.recompute_granularity = \"full\"\ncfg.model.recompute_method = \"uniform\"\ncfg.model.recompute_num_layers = 4\n```\n\n### Available recompute_modules\n\n| Module | What it recomputes | Compute cost | Memory savings |\n|---|---|---|---|\n| `core_attn` | attention softmax\u002Fdropout\u002FQKV dot product | low (Flash Attention already recomputes internally) | moderate |\n| `layernorm` | layer normalization | negligible (~0%) | negligible |\n| `mlp` | full FFN block | high (~16% on Llama3 70B, hidden=28672) | ~3 GB |\n| `moe` | MoE expert dispatch | varies | varies |\n| `moe_act` | MoE activation functions | low | small |\n| `shared_experts` | shared expert layers | moderate | moderate |\n| `mla_up_proj` | Multi-Latent Attention up projection | moderate | moderate |\n\n### Performance harness CLI\n\n```bash\nuv run python scripts\u002Fperformance\u002Frun_script.py \\\n  -m llama \\\n  -mr llama3_8b \\\n  --task pretrain \\\n  -g h100 \\\n  -c bf16 \\\n  -ng 8 \\\n  --recompute_modules core_attn,layernorm \\\n  ...\n```\n\n## Compatibility and Constraints\n\n- `recompute_granularity=selective` requires a non-empty `recompute_modules` list\n- `recompute_granularity=full` requires `recompute_method` and `recompute_num_layers`\n- **Layer-level recompute (`recompute_granularity=\"full\"` +\n  `recompute_num_layers`) is incompatible with TE-scoped CUDA graphs.**\n  MCore calls this \"full\" granularity — the name refers to recomputing\n  full transformer layers, not the full model. Even though you're selecting\n  how many layers to recompute, MCore treats it differently from submodule\n  recompute. Any TE-scoped scope (`attn`, `mlp`, `moe_router`, etc.) will\n  assert. This commonly hits FP8 configs that enable TE-scoped graphs by\n  default (e.g. `LLAMA3_70B_SFT_CONFIG_H100_FP8_CS_V1` sets\n  `cuda_graph_impl=\"transformer_engine\"`, `cuda_graph_scope=\"mlp\"`). Options:\n  - use submodule recompute (`recompute_granularity=\"selective\"` +\n    `recompute_modules`) — compatible with TE-scoped graphs\n  - disable CUDA graphs (`cuda_graph_impl=\"none\"`) and use layer-level recompute\n  - switch to `cuda_graph_impl=\"local\"`, `cuda_graph_scope=\"full_iteration\"`\n- `distribute_saved_activations=True` cannot be combined with `sequence_parallel=True`\n- Combining `mlp` + `core_attn` recompute is slightly worse than `mlp` alone\n  due to double recompute overhead\n\n## Measured Results\n\nLlama3 70B SFT on 32x H100 80GB, FP8 (Current Scaling):\n- Baseline: TP=4, PP=4, VPP=5, DP=2, MBS=1, GBS=32, seq_len=4096\n- Golden GPU utilization: 709.93 TFLOP\u002Fs\u002FGPU\n- Regression threshold: 5%\n\n| Experiment | recompute_modules | TFLOP\u002Fs\u002FGPU | vs Golden | Peak Mem (GB) | Result |\n|---|---|---|---|---|---|\n| Baseline | [core_attn] | ~704 | -0.8% | 58.8 (OOM rank0) | OOM |\n| Exp 1 | [mlp] | 593.6 | -16.4% | 55.6 | Perf regression |\n| Exp 2 | [mlp, core_attn] | 586.8 | -17.3% | 55.6 | Perf regression |\n| Exp 3 | [core_attn, layernorm] | ~702 | -1.1% | 59.6 (OOM rank0) | OOM |\n\nKey takeaways:\n\n- `layernorm` recompute is nearly free compute-wise but saves negligible memory\n- `mlp` recompute saves ~3 GB peak but costs ~16% because the Llama3 70B FFN\n  (hidden=28672) is expensive to recompute\n- Combining `mlp` + `core_attn` is slightly worse than `mlp` alone\n- For this workload, the actual OOM fix was `PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True`\n  (memory fragmentation, not capacity). See @skills\u002Fnemo-mbridge-perf-memory-tuning\u002FSKILL.md.\n\n## Code Anchors\n\n### Recompute modules enum and selective checkpoint logic\n\n```python\n# 3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_block.py\n# _checkpointed_forward() applies selective recompute based on recompute_modules\n```\n\n### Recompute config validation\n\n```python\n# 3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n# Validates recompute_granularity, recompute_method, recompute_num_layers\n```\n\n### Llama3 recipe defaults\n\n```99:103:src\u002Fmegatron\u002Fbridge\u002Frecipes\u002Fllama\u002Fllama3.py\n    # Memory saving (recompute & offloading)\n    cfg.model.recompute_granularity = None\n    cfg.model.recompute_modules = None\n    cfg.model.fine_grained_activation_offloading = False\n    cfg.model.offload_modules = None\n```\n\n### Full recompute + CUDA graph assertion (MCore)\n\n```2001:2005:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n            if self.recompute_granularity:\n                if self.recompute_granularity != \"selective\":\n                    assert self.cuda_graph_scope == [\n                        CudaGraphScope.full_iteration\n                    ], \"full recompute is only supported with full iteration CUDA graph.\"\n```\n\n### CPU offloading PP incompatibility (MCore)\n\n```1303:1306:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n        if self.cpu_offloading and self.pipeline_model_parallel_size > 1:\n            raise ValueError(\n                \"Currently there is no support for Pipeline parallelism with CPU offloading\"\n            )\n```\n\n## Failure Diagnosis\n\n| Symptom | Cause | Confirm | Fix |\n|---|---|---|---|\n| >15% GPU utilization drop | `mlp` recompute on a large FFN | check whether `recompute_modules` includes `mlp` | remove `mlp`, lower micro batch size, or use CPU offload if PP=1 |\n| Still OOM after adding layernorm | layernorm activations are too small to move the peak materially | compare peak memory before\u002Fafter | switch to a higher-impact module or full-layer recompute |\n| `AssertionError: full recompute is only supported with full iteration CUDA graph` | layer-level recompute with TE-scoped graph capture | check `cuda_graph_impl` and `cuda_graph_scope` | use `selective`, set `cuda_graph_impl=none`, or use `local` + `full_iteration` |\n| ValueError: PP + CPU offloading | `cpu_offloading=True` with `pipeline_model_parallel_size > 1` | check PP config | disable CPU offloading or set PP=1 |\n| mlp+core_attn worse than mlp alone | double recompute overhead | compare Exp 1 vs Exp 2 | use mlp alone |\n\n## Known Limitations\n\n- Per-module memory savings vary significantly by model architecture and hidden\n  dimension\n- No automatic module selection — users must choose which modules to recompute\n- `layernorm` recompute is almost never worth it as a standalone fix\n- CPU offloading (the zero-compute-cost alternative) is blocked when PP > 1\n\n## Verification\n\n```bash\nuv run python -m pytest \\\n  tests\u002Funit_tests\u002Ftraining\u002Ftest_config.py -k \"recompute\" -q\n```\n\nSuccess criteria:\n- Unit tests pass for recompute config validation\n- No assertion errors from config validation\n","# Activation Recompute\n\nStable docs: @docs\u002Ftraining\u002Factivation-recomputation.md\nCard: @skills\u002Fnemo-mbridge-perf-activation-recompute\u002Fcard.yaml\n\n\u003C!-- NVSkills CI refresh: 2026-06-15. No instruction changes. -->\n\n## What It Is\n\nActivation recompute trades GPU compute for memory by discarding intermediate\nactivations during the forward pass and recomputing them during backward.\nMegatron Bridge supports two granularities:\n\n| Granularity | What you specify | What gets recomputed | Memory savings | Compute cost |\n|---|---|---|---|---|\n| `selective` | `recompute_modules` list (e.g. `core_attn`, `mlp`) | specific submodules within each layer | moderate (module-dependent) | low to high |\n| `full` | `recompute_num_layers` + `recompute_method` | entire transformer layers (N layers) | strongest | highest |\n\nNote: MCore names these \"selective\" (submodule-level) vs \"full\" (layer-level).\n\"Full\" means recomputing full layers, not the full model — you still choose\nhow many layers via `recompute_num_layers`.\n\n## Quick Decision\n\n1. Rule out allocator fragmentation first with\n   `PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True`; see\n   @skills\u002Fnemo-mbridge-perf-memory-tuning\u002FSKILL.md.\n2. For activation pressure, start with selective recompute:\n   `recompute_granularity=\"selective\"` and `recompute_modules=[\"core_attn\"]`.\n3. Add modules by cost: `\"layernorm\"` is cheap but saves little, while `\"mlp\"`\n   saves much more memory at a clear throughput cost.\n4. Use full-layer recompute only when selective recompute does not fit, and set\n   all required fields: `recompute_granularity=\"full\"`, `recompute_method`, and\n   `recompute_num_layers`.\n5. With FP8 or TE-scoped CUDA graphs, avoid full-layer recompute unless graph\n   scope is `full_iteration`; otherwise use selective recompute or disable TE\n   graph capture.\n\nCPU offloading (`cpu_offloading=True`) is an alternative that avoids recompute\ncost entirely, but it is **incompatible with PP > 1**.\n\n## Enablement\n\n### Selective recompute\n\n```python\ncfg.model.recompute_granularity = \"selective\"\ncfg.model.recompute_modules = [\"core_attn\"]  # add \"layernorm\", \"mlp\", or other valid modules as needed\n```\n\n### Full-layer recompute\n\n```python\ncfg.model.recompute_granularity = \"full\"\ncfg.model.recompute_method = \"uniform\"\ncfg.model.recompute_num_layers = 4\n```\n\n### Available recompute_modules\n\n| Module | What it recomputes | Compute cost | Memory savings |\n|---|---|---|---|\n| `core_attn` | attention softmax\u002Fdropout\u002FQKV dot product | low (Flash Attention already recomputes internally) | moderate |\n| `layernorm` | layer normalization | negligible (~0%) | negligible |\n| `mlp` | full FFN block | high (~16% on Llama3 70B, hidden=28672) | ~3 GB |\n| `moe` | MoE expert dispatch | varies | varies |\n| `moe_act` | MoE activation functions | low | small |\n| `shared_experts` | shared expert layers | moderate | moderate |\n| `mla_up_proj` | Multi-Latent Attention up projection | moderate | moderate |\n\n### Performance harness CLI\n\n```bash\nuv run python scripts\u002Fperformance\u002Frun_script.py \\\n  -m llama \\\n  -mr llama3_8b \\\n  --task pretrain \\\n  -g h100 \\\n  -c bf16 \\\n  -ng 8 \\\n  --recompute_modules core_attn,layernorm \\\n  ...\n```\n\n## Compatibility and Constraints\n\n- `recompute_granularity=selective` requires a non-empty `recompute_modules` list\n- `recompute_granularity=full` requires `recompute_method` and `recompute_num_layers`\n- **Layer-level recompute (`recompute_granularity=\"full\"` +\n  `recompute_num_layers`) is incompatible with TE-scoped CUDA graphs.**\n  MCore calls this \"full\" granularity — the name refers to recomputing\n  full transformer layers, not the full model. Even though you're selecting\n  how many layers to recompute, MCore treats it differently from submodule\n  recompute. Any TE-scoped scope (`attn`, `mlp`, `moe_router`, etc.) will\n  assert. This commonly hits FP8 configs that enable TE-scoped graphs by\n  default (e.g. `LLAMA3_70B_SFT_CONFIG_H100_FP8_CS_V1` sets\n  `cuda_graph_impl=\"transformer_engine\"`, `cuda_graph_scope=\"mlp\"`). Options:\n  - use submodule recompute (`recompute_granularity=\"selective\"` +\n    `recompute_modules`) — compatible with TE-scoped graphs\n  - disable CUDA graphs (`cuda_graph_impl=\"none\"`) and use layer-level recompute\n  - switch to `cuda_graph_impl=\"local\"`, `cuda_graph_scope=\"full_iteration\"`\n- `distribute_saved_activations=True` cannot be combined with `sequence_parallel=True`\n- Combining `mlp` + `core_attn` recompute is slightly worse than `mlp` alone\n  due to double recompute overhead\n\n## Measured Results\n\nLlama3 70B SFT on 32x H100 80GB, FP8 (Current Scaling):\n- Baseline: TP=4, PP=4, VPP=5, DP=2, MBS=1, GBS=32, seq_len=4096\n- Golden GPU utilization: 709.93 TFLOP\u002Fs\u002FGPU\n- Regression threshold: 5%\n\n| Experiment | recompute_modules | TFLOP\u002Fs\u002FGPU | vs Golden | Peak Mem (GB) | Result |\n|---|---|---|---|---|---|\n| Baseline | [core_attn] | ~704 | -0.8% | 58.8 (OOM rank0) | OOM |\n| Exp 1 | [mlp] | 593.6 | -16.4% | 55.6 | Perf regression |\n| Exp 2 | [mlp, core_attn] | 586.8 | -17.3% | 55.6 | Perf regression |\n| Exp 3 | [core_attn, layernorm] | ~702 | -1.1% | 59.6 (OOM rank0) | OOM |\n\nKey takeaways:\n\n- `layernorm` recompute is nearly free compute-wise but saves negligible memory\n- `mlp` recompute saves ~3 GB peak but costs ~16% because the Llama3 70B FFN\n  (hidden=28672) is expensive to recompute\n- Combining `mlp` + `core_attn` is slightly worse than `mlp` alone\n- For this workload, the actual OOM fix was `PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True`\n  (memory fragmentation, not capacity). See @skills\u002Fnemo-mbridge-perf-memory-tuning\u002FSKILL.md.\n\n## Code Anchors\n\n### Recompute modules enum and selective checkpoint logic\n\n```python\n# 3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_block.py\n# _checkpointed_forward() applies selective recompute based on recompute_modules\n```\n\n### Recompute config validation\n\n```python\n# 3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n# Validates recompute_granularity, recompute_method, recompute_num_layers\n```\n\n### Llama3 recipe defaults\n\n```99:103:src\u002Fmegatron\u002Fbridge\u002Frecipes\u002Fllama\u002Fllama3.py\n    # Memory saving (recompute & offloading)\n    cfg.model.recompute_granularity = None\n    cfg.model.recompute_modules = None\n    cfg.model.fine_grained_activation_offloading = False\n    cfg.model.offload_modules = None\n```\n\n### Full recompute + CUDA graph assertion (MCore)\n\n```2001:2005:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n            if self.recompute_granularity:\n                if self.recompute_granularity != \"selective\":\n                    assert self.cuda_graph_scope == [\n                        CudaGraphScope.full_iteration\n                    ], \"full recompute is only supported with full iteration CUDA graph.\"\n```\n\n### CPU offloading PP incompatibility (MCore)\n\n```1303:1306:3rdparty\u002FMegatron-LM\u002Fmegatron\u002Fcore\u002Ftransformer\u002Ftransformer_config.py\n        if self.cpu_offloading and self.pipeline_model_parallel_size > 1:\n            raise ValueError(\n                \"Currently there is no support for Pipeline parallelism with CPU offloading\"\n            )\n```\n\n## Failure Diagnosis\n\n| Symptom | Cause | Confirm | Fix |\n|---|---|---|---|\n| >15% GPU utilization drop | `mlp` recompute on a large FFN | check whether `recompute_modules` includes `mlp` | remove `mlp`, lower micro batch size, or use CPU offload if PP=1 |\n| Still OOM after adding layernorm | layernorm activations are too small to move the peak materially | compare peak memory before\u002Fafter | switch to a higher-impact module or full-layer recompute |\n| `AssertionError: full recompute is only supported with full iteration CUDA graph` | layer-level recompute with TE-scoped graph capture | check `cuda_graph_impl` and `cuda_graph_scope` | use `selective`, set `cuda_graph_impl=none`, or use `local` + `full_iteration` |\n| ValueError: PP + CPU offloading | `cpu_offloading=True` with `pipeline_model_parallel_size > 1` | check PP config | disable CPU offloading or set PP=1 |\n| mlp+core_attn worse than mlp alone | double recompute overhead | compare Exp 1 vs Exp 2 | use mlp alone |\n\n## Known Limitations\n\n- Per-module memory savings vary significantly by model architecture and hidden\n  dimension\n- No automatic module selection — users must choose which modules to recompute\n- `layernorm` recompute is almost never worth it as a standalone fix\n- CPU offloading (the zero-compute-cost alternative) is blocked when PP > 1\n\n## Verification\n\n```bash\nuv run python -m pytest \\\n  tests\u002Funit_tests\u002Ftraining\u002Ftest_config.py -k \"recompute\" -q\n```\n\nSuccess criteria:\n- Unit tests pass for recompute config validation\n- No assertion errors from config validation\n",{"name":5,"license":15,"description":7,"when_to_use":24},"Reducing GPU memory via activation recompute, or investigating a commit that changed recompute settings and caused OOM or a regression; 'recompute_granularity', 'recompute_num_layers', 'recompute_modules', 'recompute_method', 'selective recompute', 'full recompute', 'activation memory OOM'.","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fnvidia-skills\u002Fnemo-mbridge-perf-activation-recompute\u002Fskills\u002Fnemo-mbridge-perf-activation-recompute",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill nemo-mbridge-perf-activation-recompute",{"tool":39,"command":40},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill nemo-mbridge-perf-activation-recompute",{"tool":42,"command":43},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill nemo-mbridge-perf-activation-recompute","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fnvidia-skills\u002Fnemo-mbridge-perf-activation-recompute\u002Fskills\u002Fnemo-mbridge-perf-activation-recompute\u002FSKILL.md",true,[],[48,56,61,68,73,80],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":52,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":57,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":52,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":52,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":69,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":52,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":52,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":81,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":52,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]