[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72J6Y8STFDW5F7Z28PYRY3T":3,"skill-same:01M72J6Y8STFDW5F7Z28PYRY3T":78},{"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":43,"commitSha":44,"skillDirectory":45,"forksCount":14,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M72J6Y8STFDW5F7Z28PYRY3T","pytorch-lightning",null,"High-level PyTorch framework with Trainer class, automatic distributed training (DDP\u002FFSDP\u002FDeepSpeed), callbacks system, and minimal boilerplate. Scales from laptop to supercomputer with same code. Use when you want clean training loops with built-in best practices.","cocyuhao\u002Fai-dev-tooling-research-archive","cocyuhao","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F269083740?v=4","01M72F908ET5R76KP9NXS6Y2GJ","Hao Yu","01M72F909376KCNJVKG8MEPY2Q",0,"MIT","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fmlops\u002Fpytorch-lightning\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: pytorch-lightning\ndescription: High-level PyTorch framework with Trainer class, automatic distributed training (DDP\u002FFSDP\u002FDeepSpeed), callbacks system, and minimal boilerplate. Scales from laptop to supercomputer with same code. Use when you want clean training loops with built-in best practices.\nversion: 1.0.0\nauthor: Orchestra Research\nlicense: MIT\ndependencies: [lightning, torch, transformers]\nmetadata:\n  hermes:\n    tags: [PyTorch Lightning, Training Framework, Distributed Training, DDP, FSDP, DeepSpeed, High-Level API, Callbacks, Best Practices, Scalable]\n\n---\n\n# PyTorch Lightning - High-Level Training Framework\n\n## Quick start\n\nPyTorch Lightning organizes PyTorch code to eliminate boilerplate while maintaining flexibility.\n\n**Installation**:\n```bash\npip install lightning\n```\n\n**Convert PyTorch to Lightning** (3 steps):\n\n```python\nimport lightning as L\nimport torch\nfrom torch import nn\nfrom torch.utils.data import DataLoader, Dataset\n\n# Step 1: Define LightningModule (organize your PyTorch code)\nclass LitModel(L.LightningModule):\n    def __init__(self, hidden_size=128):\n        super().__init__()\n        self.model = nn.Sequential(\n            nn.Linear(28 * 28, hidden_size),\n            nn.ReLU(),\n            nn.Linear(hidden_size, 10)\n        )\n\n    def training_step(self, batch, batch_idx):\n        x, y = batch\n        y_hat = self.model(x)\n        loss = nn.functional.cross_entropy(y_hat, y)\n        self.log('train_loss', loss)  # Auto-logged to TensorBoard\n        return loss\n\n    def configure_optimizers(self):\n        return torch.optim.Adam(self.parameters(), lr=1e-3)\n\n# Step 2: Create data\ntrain_loader = DataLoader(train_dataset, batch_size=32)\n\n# Step 3: Train with Trainer (handles everything else!)\ntrainer = L.Trainer(max_epochs=10, accelerator='gpu', devices=2)\nmodel = LitModel()\ntrainer.fit(model, train_loader)\n```\n\n**That's it!** Trainer handles:\n- GPU\u002FTPU\u002FCPU switching\n- Distributed training (DDP, FSDP, DeepSpeed)\n- Mixed precision (FP16, BF16)\n- Gradient accumulation\n- Checkpointing\n- Logging\n- Progress bars\n\n## Common workflows\n\n### Workflow 1: From PyTorch to Lightning\n\n**Original PyTorch code**:\n```python\nmodel = MyModel()\noptimizer = torch.optim.Adam(model.parameters())\nmodel.to('cuda')\n\nfor epoch in range(max_epochs):\n    for batch in train_loader:\n        batch = batch.to('cuda')\n        optimizer.zero_grad()\n        loss = model(batch)\n        loss.backward()\n        optimizer.step()\n```\n\n**Lightning version**:\n```python\nclass LitModel(L.LightningModule):\n    def __init__(self):\n        super().__init__()\n        self.model = MyModel()\n\n    def training_step(self, batch, batch_idx):\n        loss = self.model(batch)  # No .to('cuda') needed!\n        return loss\n\n    def configure_optimizers(self):\n        return torch.optim.Adam(self.parameters())\n\n# Train\ntrainer = L.Trainer(max_epochs=10, accelerator='gpu')\ntrainer.fit(LitModel(), train_loader)\n```\n\n**Benefits**: 40+ lines → 15 lines, no device management, automatic distributed\n\n### Workflow 2: Validation and testing\n\n```python\nclass LitModel(L.LightningModule):\n    def __init__(self):\n        super().__init__()\n        self.model = MyModel()\n\n    def training_step(self, batch, batch_idx):\n        x, y = batch\n        y_hat = self.model(x)\n        loss = nn.functional.cross_entropy(y_hat, y)\n        self.log('train_loss', loss)\n        return loss\n\n    def validation_step(self, batch, batch_idx):\n        x, y = batch\n        y_hat = self.model(x)\n        val_loss = nn.functional.cross_entropy(y_hat, y)\n        acc = (y_hat.argmax(dim=1) == y).float().mean()\n        self.log('val_loss', val_loss)\n        self.log('val_acc', acc)\n\n    def test_step(self, batch, batch_idx):\n        x, y = batch\n        y_hat = self.model(x)\n        test_loss = nn.functional.cross_entropy(y_hat, y)\n        self.log('test_loss', test_loss)\n\n    def configure_optimizers(self):\n        return torch.optim.Adam(self.parameters(), lr=1e-3)\n\n# Train with validation\ntrainer = L.Trainer(max_epochs=10)\ntrainer.fit(model, train_loader, val_loader)\n\n# Test\ntrainer.test(model, test_loader)\n```\n\n**Automatic features**:\n- Validation runs every epoch by default\n- Metrics logged to TensorBoard\n- Best model checkpointing based on val_loss\n\n### Workflow 3: Distributed training (DDP)\n\n```python\n# Same code as single GPU!\nmodel = LitModel()\n\n# 8 GPUs with DDP (automatic!)\ntrainer = L.Trainer(\n    accelerator='gpu',\n    devices=8,\n    strategy='ddp'  # Or 'fsdp', 'deepspeed'\n)\n\ntrainer.fit(model, train_loader)\n```\n\n**Launch**:\n```bash\n# Single command, Lightning handles the rest\npython train.py\n```\n\n**No changes needed**:\n- Automatic data distribution\n- Gradient synchronization\n- Multi-node support (just set `num_nodes=2`)\n\n### Workflow 4: Callbacks for monitoring\n\n```python\nfrom lightning.pytorch.callbacks import ModelCheckpoint, EarlyStopping, LearningRateMonitor\n\n# Create callbacks\ncheckpoint = ModelCheckpoint(\n    monitor='val_loss',\n    mode='min',\n    save_top_k=3,\n    filename='model-{epoch:02d}-{val_loss:.2f}'\n)\n\nearly_stop = EarlyStopping(\n    monitor='val_loss',\n    patience=5,\n    mode='min'\n)\n\nlr_monitor = LearningRateMonitor(logging_interval='epoch')\n\n# Add to Trainer\ntrainer = L.Trainer(\n    max_epochs=100,\n    callbacks=[checkpoint, early_stop, lr_monitor]\n)\n\ntrainer.fit(model, train_loader, val_loader)\n```\n\n**Result**:\n- Auto-saves best 3 models\n- Stops early if no improvement for 5 epochs\n- Logs learning rate to TensorBoard\n\n### Workflow 5: Learning rate scheduling\n\n```python\nclass LitModel(L.LightningModule):\n    # ... (training_step, etc.)\n\n    def configure_optimizers(self):\n        optimizer = torch.optim.Adam(self.parameters(), lr=1e-3)\n\n        # Cosine annealing\n        scheduler = torch.optim.lr_scheduler.CosineAnnealingLR(\n            optimizer,\n            T_max=100,\n            eta_min=1e-5\n        )\n\n        return {\n            'optimizer': optimizer,\n            'lr_scheduler': {\n                'scheduler': scheduler,\n                'interval': 'epoch',  # Update per epoch\n                'frequency': 1\n            }\n        }\n\n# Learning rate auto-logged!\ntrainer = L.Trainer(max_epochs=100)\ntrainer.fit(model, train_loader)\n```\n\n## When to use vs alternatives\n\n**Use PyTorch Lightning when**:\n- Want clean, organized code\n- Need production-ready training loops\n- Switching between single GPU, multi-GPU, TPU\n- Want built-in callbacks and logging\n- Team collaboration (standardized structure)\n\n**Key advantages**:\n- **Organized**: Separates research code from engineering\n- **Automatic**: DDP, FSDP, DeepSpeed with 1 line\n- **Callbacks**: Modular training extensions\n- **Reproducible**: Less boilerplate = fewer bugs\n- **Tested**: 1M+ downloads\u002Fmonth, battle-tested\n\n**Use alternatives instead**:\n- **Accelerate**: Minimal changes to existing code, more flexibility\n- **Ray Train**: Multi-node orchestration, hyperparameter tuning\n- **Raw PyTorch**: Maximum control, learning purposes\n- **Keras**: TensorFlow ecosystem\n\n## Common issues\n\n**Issue: Loss not decreasing**\n\nCheck data and model setup:\n```python\n# Add to training_step\ndef training_step(self, batch, batch_idx):\n    if batch_idx == 0:\n        print(f\"Batch shape: {batch[0].shape}\")\n        print(f\"Labels: {batch[1]}\")\n    loss = ...\n    return loss\n```\n\n**Issue: Out of memory**\n\nReduce batch size or use gradient accumulation:\n```python\ntrainer = L.Trainer(\n    accumulate_grad_batches=4,  # Effective batch = batch_size × 4\n    precision='bf16'  # Or 'fp16', reduces memory 50%\n)\n```\n\n**Issue: Validation not running**\n\nEnsure you pass val_loader:\n```python\n# WRONG\ntrainer.fit(model, train_loader)\n\n# CORRECT\ntrainer.fit(model, train_loader, val_loader)\n```\n\n**Issue: DDP spawns multiple processes unexpectedly**\n\nLightning auto-detects GPUs. Explicitly set devices:\n```python\n# Test on CPU first\ntrainer = L.Trainer(accelerator='cpu', devices=1)\n\n# Then GPU\ntrainer = L.Trainer(accelerator='gpu', devices=1)\n```\n\n## Advanced topics\n\n**Callbacks**: See [references\u002Fcallbacks.md](references\u002Fcallbacks.md) for EarlyStopping, ModelCheckpoint, custom callbacks, and callback hooks.\n\n**Distributed strategies**: See [references\u002Fdistributed.md](references\u002Fdistributed.md) for DDP, FSDP, DeepSpeed ZeRO integration, multi-node setup.\n\n**Hyperparameter tuning**: See [references\u002Fhyperparameter-tuning.md](references\u002Fhyperparameter-tuning.md) for integration with Optuna, Ray Tune, and WandB sweeps.\n\n## Hardware requirements\n\n- **CPU**: Works (good for debugging)\n- **Single GPU**: Works\n- **Multi-GPU**: DDP (default), FSDP, or DeepSpeed\n- **Multi-node**: DDP, FSDP, DeepSpeed\n- **TPU**: Supported (8 cores)\n- **Apple MPS**: Supported\n\n**Precision options**:\n- FP32 (default)\n- FP16 (V100, older GPUs)\n- BF16 (A100\u002FH100, recommended)\n- FP8 (H100)\n\n## Resources\n\n- Docs: https:\u002F\u002Flightning.ai\u002Fdocs\u002Fpytorch\u002Fstable\u002F\n- GitHub: https:\u002F\u002Fgithub.com\u002FLightning-AI\u002Fpytorch-lightning ⭐ 29,000+\n- Version: 2.5.5+\n- Examples: https:\u002F\u002Fgithub.com\u002FLightning-AI\u002Fpytorch-lightning\u002Ftree\u002Fmaster\u002Fexamples\n- Discord: https:\u002F\u002Fdiscord.gg\u002Flightning-ai\n- Used by: Kaggle winners, research labs, production teams\n\n\n","# PyTorch Lightning - High-Level Training Framework\n\n## Quick start\n\nPyTorch Lightning organizes PyTorch code to eliminate boilerplate while maintaining flexibility.\n\n**Installation**:\n```bash\npip install lightning\n```\n\n**Convert PyTorch to Lightning** (3 steps):\n\n```python\nimport lightning as L\nimport torch\nfrom torch import nn\nfrom torch.utils.data import DataLoader, Dataset\n\n# Step 1: Define LightningModule (organize your PyTorch code)\nclass LitModel(L.LightningModule):\n    def __init__(self, hidden_size=128):\n        super().__init__()\n        self.model = nn.Sequential(\n            nn.Linear(28 * 28, hidden_size),\n            nn.ReLU(),\n            nn.Linear(hidden_size, 10)\n        )\n\n    def training_step(self, batch, batch_idx):\n        x, y = batch\n        y_hat = self.model(x)\n        loss = nn.functional.cross_entropy(y_hat, y)\n        self.log('train_loss', loss)  # Auto-logged to TensorBoard\n        return loss\n\n    def configure_optimizers(self):\n        return torch.optim.Adam(self.parameters(), lr=1e-3)\n\n# Step 2: Create data\ntrain_loader = DataLoader(train_dataset, batch_size=32)\n\n# Step 3: Train with Trainer (handles everything else!)\ntrainer = L.Trainer(max_epochs=10, accelerator='gpu', devices=2)\nmodel = LitModel()\ntrainer.fit(model, train_loader)\n```\n\n**That's it!** Trainer handles:\n- GPU\u002FTPU\u002FCPU switching\n- Distributed training (DDP, FSDP, DeepSpeed)\n- Mixed precision (FP16, BF16)\n- Gradient accumulation\n- Checkpointing\n- Logging\n- Progress bars\n\n## Common workflows\n\n### Workflow 1: From PyTorch to Lightning\n\n**Original PyTorch code**:\n```python\nmodel = MyModel()\noptimizer = torch.optim.Adam(model.parameters())\nmodel.to('cuda')\n\nfor epoch in range(max_epochs):\n    for batch in train_loader:\n        batch = batch.to('cuda')\n        optimizer.zero_grad()\n        loss = model(batch)\n        loss.backward()\n        optimizer.step()\n```\n\n**Lightning version**:\n```python\nclass LitModel(L.LightningModule):\n    def __init__(self):\n        super().__init__()\n        self.model = MyModel()\n\n    def training_step(self, batch, batch_idx):\n        loss = self.model(batch)  # No .to('cuda') needed!\n        return loss\n\n    def configure_optimizers(self):\n        return torch.optim.Adam(self.parameters())\n\n# Train\ntrainer = L.Trainer(max_epochs=10, accelerator='gpu')\ntrainer.fit(LitModel(), train_loader)\n```\n\n**Benefits**: 40+ lines → 15 lines, no device management, automatic distributed\n\n### Workflow 2: Validation and testing\n\n```python\nclass LitModel(L.LightningModule):\n    def __init__(self):\n        super().__init__()\n        self.model = MyModel()\n\n    def training_step(self, batch, batch_idx):\n        x, y = batch\n        y_hat = self.model(x)\n        loss = nn.functional.cross_entropy(y_hat, y)\n        self.log('train_loss', loss)\n        return loss\n\n    def validation_step(self, batch, batch_idx):\n        x, y = batch\n        y_hat = self.model(x)\n        val_loss = nn.functional.cross_entropy(y_hat, y)\n        acc = (y_hat.argmax(dim=1) == y).float().mean()\n        self.log('val_loss', val_loss)\n        self.log('val_acc', acc)\n\n    def test_step(self, batch, batch_idx):\n        x, y = batch\n        y_hat = self.model(x)\n        test_loss = nn.functional.cross_entropy(y_hat, y)\n        self.log('test_loss', test_loss)\n\n    def configure_optimizers(self):\n        return torch.optim.Adam(self.parameters(), lr=1e-3)\n\n# Train with validation\ntrainer = L.Trainer(max_epochs=10)\ntrainer.fit(model, train_loader, val_loader)\n\n# Test\ntrainer.test(model, test_loader)\n```\n\n**Automatic features**:\n- Validation runs every epoch by default\n- Metrics logged to TensorBoard\n- Best model checkpointing based on val_loss\n\n### Workflow 3: Distributed training (DDP)\n\n```python\n# Same code as single GPU!\nmodel = LitModel()\n\n# 8 GPUs with DDP (automatic!)\ntrainer = L.Trainer(\n    accelerator='gpu',\n    devices=8,\n    strategy='ddp'  # Or 'fsdp', 'deepspeed'\n)\n\ntrainer.fit(model, train_loader)\n```\n\n**Launch**:\n```bash\n# Single command, Lightning handles the rest\npython train.py\n```\n\n**No changes needed**:\n- Automatic data distribution\n- Gradient synchronization\n- Multi-node support (just set `num_nodes=2`)\n\n### Workflow 4: Callbacks for monitoring\n\n```python\nfrom lightning.pytorch.callbacks import ModelCheckpoint, EarlyStopping, LearningRateMonitor\n\n# Create callbacks\ncheckpoint = ModelCheckpoint(\n    monitor='val_loss',\n    mode='min',\n    save_top_k=3,\n    filename='model-{epoch:02d}-{val_loss:.2f}'\n)\n\nearly_stop = EarlyStopping(\n    monitor='val_loss',\n    patience=5,\n    mode='min'\n)\n\nlr_monitor = LearningRateMonitor(logging_interval='epoch')\n\n# Add to Trainer\ntrainer = L.Trainer(\n    max_epochs=100,\n    callbacks=[checkpoint, early_stop, lr_monitor]\n)\n\ntrainer.fit(model, train_loader, val_loader)\n```\n\n**Result**:\n- Auto-saves best 3 models\n- Stops early if no improvement for 5 epochs\n- Logs learning rate to TensorBoard\n\n### Workflow 5: Learning rate scheduling\n\n```python\nclass LitModel(L.LightningModule):\n    # ... (training_step, etc.)\n\n    def configure_optimizers(self):\n        optimizer = torch.optim.Adam(self.parameters(), lr=1e-3)\n\n        # Cosine annealing\n        scheduler = torch.optim.lr_scheduler.CosineAnnealingLR(\n            optimizer,\n            T_max=100,\n            eta_min=1e-5\n        )\n\n        return {\n            'optimizer': optimizer,\n            'lr_scheduler': {\n                'scheduler': scheduler,\n                'interval': 'epoch',  # Update per epoch\n                'frequency': 1\n            }\n        }\n\n# Learning rate auto-logged!\ntrainer = L.Trainer(max_epochs=100)\ntrainer.fit(model, train_loader)\n```\n\n## When to use vs alternatives\n\n**Use PyTorch Lightning when**:\n- Want clean, organized code\n- Need production-ready training loops\n- Switching between single GPU, multi-GPU, TPU\n- Want built-in callbacks and logging\n- Team collaboration (standardized structure)\n\n**Key advantages**:\n- **Organized**: Separates research code from engineering\n- **Automatic**: DDP, FSDP, DeepSpeed with 1 line\n- **Callbacks**: Modular training extensions\n- **Reproducible**: Less boilerplate = fewer bugs\n- **Tested**: 1M+ downloads\u002Fmonth, battle-tested\n\n**Use alternatives instead**:\n- **Accelerate**: Minimal changes to existing code, more flexibility\n- **Ray Train**: Multi-node orchestration, hyperparameter tuning\n- **Raw PyTorch**: Maximum control, learning purposes\n- **Keras**: TensorFlow ecosystem\n\n## Common issues\n\n**Issue: Loss not decreasing**\n\nCheck data and model setup:\n```python\n# Add to training_step\ndef training_step(self, batch, batch_idx):\n    if batch_idx == 0:\n        print(f\"Batch shape: {batch[0].shape}\")\n        print(f\"Labels: {batch[1]}\")\n    loss = ...\n    return loss\n```\n\n**Issue: Out of memory**\n\nReduce batch size or use gradient accumulation:\n```python\ntrainer = L.Trainer(\n    accumulate_grad_batches=4,  # Effective batch = batch_size × 4\n    precision='bf16'  # Or 'fp16', reduces memory 50%\n)\n```\n\n**Issue: Validation not running**\n\nEnsure you pass val_loader:\n```python\n# WRONG\ntrainer.fit(model, train_loader)\n\n# CORRECT\ntrainer.fit(model, train_loader, val_loader)\n```\n\n**Issue: DDP spawns multiple processes unexpectedly**\n\nLightning auto-detects GPUs. Explicitly set devices:\n```python\n# Test on CPU first\ntrainer = L.Trainer(accelerator='cpu', devices=1)\n\n# Then GPU\ntrainer = L.Trainer(accelerator='gpu', devices=1)\n```\n\n## Advanced topics\n\n**Callbacks**: See [references\u002Fcallbacks.md](references\u002Fcallbacks.md) for EarlyStopping, ModelCheckpoint, custom callbacks, and callback hooks.\n\n**Distributed strategies**: See [references\u002Fdistributed.md](references\u002Fdistributed.md) for DDP, FSDP, DeepSpeed ZeRO integration, multi-node setup.\n\n**Hyperparameter tuning**: See [references\u002Fhyperparameter-tuning.md](references\u002Fhyperparameter-tuning.md) for integration with Optuna, Ray Tune, and WandB sweeps.\n\n## Hardware requirements\n\n- **CPU**: Works (good for debugging)\n- **Single GPU**: Works\n- **Multi-GPU**: DDP (default), FSDP, or DeepSpeed\n- **Multi-node**: DDP, FSDP, DeepSpeed\n- **TPU**: Supported (8 cores)\n- **Apple MPS**: Supported\n\n**Precision options**:\n- FP32 (default)\n- FP16 (V100, older GPUs)\n- BF16 (A100\u002FH100, recommended)\n- FP8 (H100)\n\n## Resources\n\n- Docs: https:\u002F\u002Flightning.ai\u002Fdocs\u002Fpytorch\u002Fstable\u002F\n- GitHub: https:\u002F\u002Fgithub.com\u002FLightning-AI\u002Fpytorch-lightning ⭐ 29,000+\n- Version: 2.5.5+\n- Examples: https:\u002F\u002Fgithub.com\u002FLightning-AI\u002Fpytorch-lightning\u002Ftree\u002Fmaster\u002Fexamples\n- Discord: https:\u002F\u002Fdiscord.gg\u002Flightning-ai\n- Used by: Kaggle winners, research labs, production teams\n\n\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"description":7,"dependencies":39},"Orchestra Research","1.0.0",{"hermes":27},{"tags":28},[29,30,31,32,33,34,35,36,37,38],"PyTorch Lightning","Training Framework","Distributed Training","DDP","FSDP","DeepSpeed","High-Level API","Callbacks","Best Practices","Scalable",[40,41,42],"lightning","torch","transformers","main","f4a24bd1ab047411d4ae57ee9a96701a7706e779","hermes-agent\u002Foptional-skills\u002Fmlops\u002Fpytorch-lightning","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive","https:\u002F\u002Fgithub.com\u002Fcocyuhao","Beijing Wuzi University","2026-05-12 10:57:02",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add cocyuhao\u002Fai-dev-tooling-research-archive --skill pytorch-lightning",{"tool":56,"command":57},"bunx","bunx skills add cocyuhao\u002Fai-dev-tooling-research-archive --skill pytorch-lightning",{"tool":59,"command":60},"pnpm","pnpm dlx skills add cocyuhao\u002Fai-dev-tooling-research-archive --skill pytorch-lightning","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fmlops\u002Fpytorch-lightning\u002FSKILL.md",true,[64,70,74],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fcallbacks.md","REFERENCE","参考文档",12031,"https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fmlops\u002Fpytorch-lightning\u002Freferences\u002Fcallbacks.md",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fdistributed.md",10818,"https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fmlops\u002Fpytorch-lightning\u002Freferences\u002Fdistributed.md",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fhyperparameter-tuning.md",12517,"https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Foptional-skills\u002Fmlops\u002Fpytorch-lightning\u002Freferences\u002Fhyperparameter-tuning.md",[79,86,94,101,108,115],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M72JQ593HE3SRJD3446CCKA8","web-access","所有联网操作必须通过此 skill 处理，包括：搜索、网页抓取、登录后操作、网络交互等。 触发场景：用户要求搜索信息、查看网页内容、访问需要登录的网站、操作网页界面、抓取社交媒体内容（小红书、微博、推特等）、读取动态渲染页面、以及任何需要真实浏览器环境的网络任务。","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fweb-access\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M72JKXJYFT2RBJ2HP5ZRA853","last30days","Multi-query social research across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, and the web. Intelligent query planning with Gemini\u002FOpenAI fallback.","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Flast30days-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Flast30days-skill\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M72JKMRQSD0ZY66KQ863HVY5","writing-plans","Use when you have a spec or requirements for a multi-step task. Creates comprehensive implementation plans with bite-sized tasks, exact file paths, and complete code examples.","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Fskills\u002Fsoftware-development\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M72JKHCV8DT6VWSD4KS5YWT9","test-driven-development","Use when implementing any feature or bugfix, before writing implementation code. Enforces RED-GREEN-REFACTOR cycle with test-first approach.","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Fskills\u002Fsoftware-development\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":19},"01M72JKD7VX7EQM38R704F3KT1","systematic-debugging","Use when encountering any bug, test failure, or unexpected behavior. 4-phase root cause investigation — NO fixes without understanding the problem first.","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Fskills\u002Fsoftware-development\u002Fsystematic-debugging\u002FSKILL.md",[],[],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":19},"01M72JKA9XXB92FS8JHPCYW8CM","subagent-driven-development","Use when executing implementation plans with independent tasks. Dispatches fresh delegate_task per task with two-stage review (spec compliance then code quality).","https:\u002F\u002Fgithub.com\u002Fcocyuhao\u002Fai-dev-tooling-research-archive\u002Fblob\u002Fmain\u002Fhermes-agent\u002Fskills\u002Fsoftware-development\u002Fsubagent-driven-development\u002FSKILL.md",[],[]]