[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DRDA896AGCE8Z513PEANDX":3,"skill-same:01M7DRDA896AGCE8Z513PEANDX":51},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M7DRDA896AGCE8Z513PEANDX","trl-training",null,"Train and fine-tune transformer language models using TRL (Transformers Reinforcement Learning). Supports SFT, DPO, GRPO, KTO, RLOO and Reward Model training via CLI commands.","Hazek-dc\u002FPresensiGuru_FaceNet_EMAR","Hazek-dc","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F75208960?v=4","01M7DEQV5B4YGS86A81DYH81DR","Hazek","01M7DEQV5XP4TM0C6NTHXCXCHR",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftrl-training\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: trl-training\ndescription: Train and fine-tune transformer language models using TRL (Transformers Reinforcement Learning). Supports SFT, DPO, GRPO, KTO, RLOO and Reward Model training via CLI commands.\nrisk: unknown\nsource: https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Ftree\u002Fmain\u002Fskills\u002Ftrl-training\nsource_repo: huggingface\u002Fskills\nsource_type: official\ndate_added: 2026-07-01\nlicense: Apache-2.0\nlicense_source: https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE\n---\n\n# TRL Training Skill\n## When to Use\n\nUse this skill when you need train and fine-tune transformer language models using TRL (Transformers Reinforcement Learning). Supports SFT, DPO, GRPO, KTO, RLOO and Reward Model training via CLI commands.\n\n\nYou are an expert at using the TRL (Transformers Reinforcement Learning) library to train and fine-tune large language models.\n\n## Overview\n\nTRL provides CLI commands for post-training foundation models using state-of-the-art techniques:\n\n- **SFT** (Supervised Fine-Tuning): Fine-tune models on instruction-following or conversational datasets\n- **DPO** (Direct Preference Optimization): Align models using preference data\n- **GRPO** (Group Relative Policy Optimization): Train models by ranking multiple sampled outputs relative to each other and optimizing based on their comparative rewards.\n- **RLOO** (Reinforce Leave One Out): Online RL training with generation-based rewards\n- **Reward Model Training**: Train reward models for RLHF\n\nTRL is built on top of Hugging Face Transformers and Accelerate, providing seamless integration with the Hugging Face ecosystem.\n\n## Core Commands\n\n### trl sft - Supervised Fine-Tuning\n\nFine-tune language models on instruction-following or conversational datasets.\n\n**Full training:**\n\n```bash\ntrl sft \\\n  --model_name_or_path Qwen\u002FQwen2-0.5B \\\n  --dataset_name trl-lib\u002FCapybara \\\n  --learning_rate 2.0e-5 \\\n  --num_train_epochs 1 \\\n  --packing \\\n  --per_device_train_batch_size 2 \\\n  --gradient_accumulation_steps 8 \\\n  --eos_token '\u003C|im_end|>' \\\n  --eval_strategy steps \\\n  --eval_steps 100 \\\n  --output_dir Qwen2-0.5B-SFT \\\n  --push_to_hub\n```\n\n**Train with LoRA adapters:**\n\n```bash\ntrl sft \\\n  --model_name_or_path Qwen\u002FQwen2-0.5B \\\n  --dataset_name trl-lib\u002FCapybara \\\n  --learning_rate 2.0e-4 \\\n  --num_train_epochs 1 \\\n  --packing \\\n  --per_device_train_batch_size 2 \\\n  --gradient_accumulation_steps 8 \\\n  --eos_token '\u003C|im_end|>' \\\n  --eval_strategy steps \\\n  --eval_steps 100 \\\n  --use_peft \\\n  --lora_r 32 \\\n  --lora_alpha 16 \\\n  --output_dir Qwen2-0.5B-SFT \\\n  --push_to_hub\n```\n\n### trl dpo - Direct Preference Optimization\n\nAlign models using preference data (chosen\u002Frejected pairs).\n\n**Full training:**\n\n```bash\ntrl dpo \\\n  --dataset_name trl-lib\u002Fultrafeedback_binarized \\\n  --model_name_or_path Qwen\u002FQwen2-0.5B-Instruct \\\n  --learning_rate 5.0e-7 \\\n  --num_train_epochs 1 \\\n  --per_device_train_batch_size 2 \\\n  --max_steps 1000 \\\n  --gradient_accumulation_steps 8 \\\n  --eval_strategy steps \\\n  --eval_steps 50 \\\n  --output_dir Qwen2-0.5B-DPO \\\n  --no_remove_unused_columns\n```\n\n**Train with LoRA adapters:**\n\n```bash\ntrl dpo \\\n  --dataset_name trl-lib\u002Fultrafeedback_binarized \\\n  --model_name_or_path Qwen\u002FQwen2-0.5B-Instruct \\\n  --learning_rate 5.0e-6 \\\n  --num_train_epochs 1 \\\n  --per_device_train_batch_size 2 \\\n  --max_steps 1000 \\\n  --gradient_accumulation_steps 8 \\\n  --eval_strategy steps \\\n  --eval_steps 50 \\\n  --output_dir Qwen2-0.5B-DPO \\\n  --no_remove_unused_columns \\\n  --use_peft \\\n  --lora_r 32 \\\n  --lora_alpha 16\n```\n\n### trl grpo - Group Relative Policy Optimization\n\nTrain models using reward functions or LLM-as-a-judge for evaluating generations and providing rewards.\n\n**Basic usage:**\n\n```bash\ntrl grpo \\\n  --model_name_or_path Qwen\u002FQwen2.5-0.5B \\\n  --dataset_name trl-lib\u002Fgsm8k \\\n  --reward_funcs accuracy_reward \\\n  --output_dir Qwen2-0.5B-GRPO \\\n  --push_to_hub\n```\n\n### trl rloo - Reinforce Leave One Out\n\nOnline RL training where the model generates text and receives rewards based on custom criteria.\n\n**Basic usage:**\n\n```bash\ntrl rloo \\\n  --model_name_or_path Qwen\u002FQwen2.5-0.5B \\\n  --dataset_name trl-lib\u002Ftldr \\\n  --reward_model_name_or_path sentiment-analysis:nlptown\u002Fbert-base-multilingual-uncased-sentiment \\\n  --output_dir Qwen2-0.5B-RLOO \\\n  --push_to_hub\n```\n\n### trl reward - Reward Model Training\n\nTrain a reward model to score text quality for RLHF.\n\n**Full training:**\n\n```bash\ntrl reward \\\n  --model_name_or_path Qwen\u002FQwen2-0.5B-Instruct \\\n  --dataset_name trl-lib\u002Fultrafeedback_binarized \\\n  --output_dir Qwen2-0.5B-Reward \\\n  --per_device_train_batch_size 8 \\\n  --num_train_epochs 1 \\\n  --learning_rate 1.0e-5 \\\n  --eval_strategy steps \\\n  --eval_steps 50 \\\n  --max_length 2048\n```\n\n**Train with LoRA adapters:**\n\n```bash\ntrl reward \\\n  --model_name_or_path Qwen\u002FQwen2-0.5B-Instruct \\\n  --dataset_name trl-lib\u002Fultrafeedback_binarized \\\n  --output_dir Qwen2-0.5B-Reward-LoRA \\\n  --per_device_train_batch_size 8 \\\n  --num_train_epochs 1 \\\n  --learning_rate 1.0e-4 \\\n  --eval_strategy steps \\\n  --eval_steps 50 \\\n  --max_length 2048 \\\n  --use_peft \\\n  --lora_task_type SEQ_CLS \\\n  --lora_r 32 \\\n  --lora_alpha 16\n```\n\n## Configuration Files\n\nTRL supports YAML configuration files for reproducible training. All CLI arguments can be specified in a config file.\n\n**Example config (sft_config.yaml):**\n\n```yaml\nmodel_name_or_path: Qwen\u002FQwen2.5-0.5B\ndataset_name: trl-lib\u002FCapybara\nlearning_rate: 2.0e-5\nnum_train_epochs: 1\nper_device_train_batch_size: 8\ngradient_accumulation_steps: 2\noutput_dir: .\u002Fsft_output\nuse_peft: true\nlora_r: 16\nlora_alpha: 16\nreport_to: trackio\n```\n\n**Launch with config:**\n\n```bash\ntrl sft --config sft_config.yaml\n```\n\n**Override config values:**\n\n```bash\ntrl sft --config sft_config.yaml --learning_rate 1.0e-5\n```\n\n## Distributed Training\n\nTRL integrates with Accelerate for multi-GPU and multi-node training.\n\n**Multi-GPU training:**\n\n```bash\ntrl sft \\\n  --config sft_config.yaml \\\n  --num_processes 4\n```\n\n**Use predefined Accelerate configs:**\n\nTRL provides predefined configs: `single_gpu`, `multi_gpu`, `fsdp1`, `fsdp2`, `zero1`, `zero2`, `zero3`\n\n```bash\ntrl sft \\\n  --config sft_config.yaml \\\n  --accelerate_config zero2\n```\n\n**Custom Accelerate config:**\n\n```bash\n# Generate custom config\naccelerate config\n\n# Use custom config\ntrl sft --config sft_config.yaml --config_file ~\u002F.cache\u002Fhuggingface\u002Faccelerate\u002Fdefault_config.yaml\n```\n\n**Fully Sharded Data Parallel (FSDP):**\n\n```bash\ntrl sft --config sft_config.yaml --accelerate_config fsdp2\n```\n\n**DeepSpeed ZeRO:**\n\n```bash\ntrl sft --config sft_config.yaml --accelerate_config zero3\n```\n\n## Troubleshooting\n\n### CUDA Out of Memory\n\n- Reduce `--per_device_train_batch_size` and increase `--gradient_accumulation_steps`\n- Enable `--use_peft` for LoRA training\n- Use `--gradient_checkpointing` to save memory\n- Try smaller model or longer sequence truncation\n\n### Dataset Loading Issues\n\n- Verify dataset exists: check Hugging Face Hub or local path\n- Check dataset format matches expected columns\n- Use `--dataset_config` for multi-config datasets\n- Inspect dataset: `from datasets import load_dataset; ds = load_dataset(name)`\n\n### Model Loading Issues\n\n- Verify model exists on Hugging Face Hub\n- Check if gated model requires authentication: `hf auth login`\n- For local models, provide absolute path\n- Ensure sufficient disk space and memory\n\n### Slow Training\n\n- Enable dataset `--packing` for short sequences\n- Use larger `--per_device_train_batch_size` if memory allows\n- Enable `--tf32` for faster computation on Ampere GPUs\n- Use `--bf16` on supported hardware\n- Consider multi-GPU training with `--num_processes`\n\n### Generation Issues (GRPO\u002FRLOO)\n\n- Check prompt format in dataset\n- Adjust `--temperature` and `--top_p` for generation\n- Verify the reward function (for GRPO\u002FRLOO)\n\n## Additional Resources\n\n- **Documentation**: https:\u002F\u002Fhuggingface.co\u002Fdocs\u002Ftrl\n- **GitHub**: https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Ftrl\n- **Examples**: https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Ftrl\u002Ftree\u002Fmain\u002Fexamples\n\n## Best Practices\n\n1. **Start with SFT**: Always fine-tune base models with SFT before preference alignment\n2. **Use LoRA for efficiency**: Enable `--use_peft` for faster training and lower memory\n3. **Monitor training**: Use `--report_to trackio` (or `--report_to wandb` or `--report_to tensorboard`) for tracking\n4. **Save checkpoints**: TRL automatically saves checkpoints in `--output_dir`\n5. **Test on small datasets first**: Verify pipeline works before full training\n6. **Use configuration files**: Create YAML configs for reproducibility\n7. **Leverage Accelerate**: Use multi-GPU training for faster iteration\n\nWhen helping users with TRL:\n- Always check which training method is appropriate for their use case\n- Verify dataset format matches the expected schema\n- Recommend starting with smaller models for testing\n- Suggest LoRA for resource-constrained environments\n- Point to specific documentation sections for advanced features\n\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream product or API scope.\n- Verify commands, API behavior, pricing, quotas, credentials, and deployment effects against current official documentation before making changes.\n- Do not treat generated examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n","# TRL Training Skill\n## When to Use\n\nUse this skill when you need train and fine-tune transformer language models using TRL (Transformers Reinforcement Learning). Supports SFT, DPO, GRPO, KTO, RLOO and Reward Model training via CLI commands.\n\n\nYou are an expert at using the TRL (Transformers Reinforcement Learning) library to train and fine-tune large language models.\n\n## Overview\n\nTRL provides CLI commands for post-training foundation models using state-of-the-art techniques:\n\n- **SFT** (Supervised Fine-Tuning): Fine-tune models on instruction-following or conversational datasets\n- **DPO** (Direct Preference Optimization): Align models using preference data\n- **GRPO** (Group Relative Policy Optimization): Train models by ranking multiple sampled outputs relative to each other and optimizing based on their comparative rewards.\n- **RLOO** (Reinforce Leave One Out): Online RL training with generation-based rewards\n- **Reward Model Training**: Train reward models for RLHF\n\nTRL is built on top of Hugging Face Transformers and Accelerate, providing seamless integration with the Hugging Face ecosystem.\n\n## Core Commands\n\n### trl sft - Supervised Fine-Tuning\n\nFine-tune language models on instruction-following or conversational datasets.\n\n**Full training:**\n\n```bash\ntrl sft \\\n  --model_name_or_path Qwen\u002FQwen2-0.5B \\\n  --dataset_name trl-lib\u002FCapybara \\\n  --learning_rate 2.0e-5 \\\n  --num_train_epochs 1 \\\n  --packing \\\n  --per_device_train_batch_size 2 \\\n  --gradient_accumulation_steps 8 \\\n  --eos_token '\u003C|im_end|>' \\\n  --eval_strategy steps \\\n  --eval_steps 100 \\\n  --output_dir Qwen2-0.5B-SFT \\\n  --push_to_hub\n```\n\n**Train with LoRA adapters:**\n\n```bash\ntrl sft \\\n  --model_name_or_path Qwen\u002FQwen2-0.5B \\\n  --dataset_name trl-lib\u002FCapybara \\\n  --learning_rate 2.0e-4 \\\n  --num_train_epochs 1 \\\n  --packing \\\n  --per_device_train_batch_size 2 \\\n  --gradient_accumulation_steps 8 \\\n  --eos_token '\u003C|im_end|>' \\\n  --eval_strategy steps \\\n  --eval_steps 100 \\\n  --use_peft \\\n  --lora_r 32 \\\n  --lora_alpha 16 \\\n  --output_dir Qwen2-0.5B-SFT \\\n  --push_to_hub\n```\n\n### trl dpo - Direct Preference Optimization\n\nAlign models using preference data (chosen\u002Frejected pairs).\n\n**Full training:**\n\n```bash\ntrl dpo \\\n  --dataset_name trl-lib\u002Fultrafeedback_binarized \\\n  --model_name_or_path Qwen\u002FQwen2-0.5B-Instruct \\\n  --learning_rate 5.0e-7 \\\n  --num_train_epochs 1 \\\n  --per_device_train_batch_size 2 \\\n  --max_steps 1000 \\\n  --gradient_accumulation_steps 8 \\\n  --eval_strategy steps \\\n  --eval_steps 50 \\\n  --output_dir Qwen2-0.5B-DPO \\\n  --no_remove_unused_columns\n```\n\n**Train with LoRA adapters:**\n\n```bash\ntrl dpo \\\n  --dataset_name trl-lib\u002Fultrafeedback_binarized \\\n  --model_name_or_path Qwen\u002FQwen2-0.5B-Instruct \\\n  --learning_rate 5.0e-6 \\\n  --num_train_epochs 1 \\\n  --per_device_train_batch_size 2 \\\n  --max_steps 1000 \\\n  --gradient_accumulation_steps 8 \\\n  --eval_strategy steps \\\n  --eval_steps 50 \\\n  --output_dir Qwen2-0.5B-DPO \\\n  --no_remove_unused_columns \\\n  --use_peft \\\n  --lora_r 32 \\\n  --lora_alpha 16\n```\n\n### trl grpo - Group Relative Policy Optimization\n\nTrain models using reward functions or LLM-as-a-judge for evaluating generations and providing rewards.\n\n**Basic usage:**\n\n```bash\ntrl grpo \\\n  --model_name_or_path Qwen\u002FQwen2.5-0.5B \\\n  --dataset_name trl-lib\u002Fgsm8k \\\n  --reward_funcs accuracy_reward \\\n  --output_dir Qwen2-0.5B-GRPO \\\n  --push_to_hub\n```\n\n### trl rloo - Reinforce Leave One Out\n\nOnline RL training where the model generates text and receives rewards based on custom criteria.\n\n**Basic usage:**\n\n```bash\ntrl rloo \\\n  --model_name_or_path Qwen\u002FQwen2.5-0.5B \\\n  --dataset_name trl-lib\u002Ftldr \\\n  --reward_model_name_or_path sentiment-analysis:nlptown\u002Fbert-base-multilingual-uncased-sentiment \\\n  --output_dir Qwen2-0.5B-RLOO \\\n  --push_to_hub\n```\n\n### trl reward - Reward Model Training\n\nTrain a reward model to score text quality for RLHF.\n\n**Full training:**\n\n```bash\ntrl reward \\\n  --model_name_or_path Qwen\u002FQwen2-0.5B-Instruct \\\n  --dataset_name trl-lib\u002Fultrafeedback_binarized \\\n  --output_dir Qwen2-0.5B-Reward \\\n  --per_device_train_batch_size 8 \\\n  --num_train_epochs 1 \\\n  --learning_rate 1.0e-5 \\\n  --eval_strategy steps \\\n  --eval_steps 50 \\\n  --max_length 2048\n```\n\n**Train with LoRA adapters:**\n\n```bash\ntrl reward \\\n  --model_name_or_path Qwen\u002FQwen2-0.5B-Instruct \\\n  --dataset_name trl-lib\u002Fultrafeedback_binarized \\\n  --output_dir Qwen2-0.5B-Reward-LoRA \\\n  --per_device_train_batch_size 8 \\\n  --num_train_epochs 1 \\\n  --learning_rate 1.0e-4 \\\n  --eval_strategy steps \\\n  --eval_steps 50 \\\n  --max_length 2048 \\\n  --use_peft \\\n  --lora_task_type SEQ_CLS \\\n  --lora_r 32 \\\n  --lora_alpha 16\n```\n\n## Configuration Files\n\nTRL supports YAML configuration files for reproducible training. All CLI arguments can be specified in a config file.\n\n**Example config (sft_config.yaml):**\n\n```yaml\nmodel_name_or_path: Qwen\u002FQwen2.5-0.5B\ndataset_name: trl-lib\u002FCapybara\nlearning_rate: 2.0e-5\nnum_train_epochs: 1\nper_device_train_batch_size: 8\ngradient_accumulation_steps: 2\noutput_dir: .\u002Fsft_output\nuse_peft: true\nlora_r: 16\nlora_alpha: 16\nreport_to: trackio\n```\n\n**Launch with config:**\n\n```bash\ntrl sft --config sft_config.yaml\n```\n\n**Override config values:**\n\n```bash\ntrl sft --config sft_config.yaml --learning_rate 1.0e-5\n```\n\n## Distributed Training\n\nTRL integrates with Accelerate for multi-GPU and multi-node training.\n\n**Multi-GPU training:**\n\n```bash\ntrl sft \\\n  --config sft_config.yaml \\\n  --num_processes 4\n```\n\n**Use predefined Accelerate configs:**\n\nTRL provides predefined configs: `single_gpu`, `multi_gpu`, `fsdp1`, `fsdp2`, `zero1`, `zero2`, `zero3`\n\n```bash\ntrl sft \\\n  --config sft_config.yaml \\\n  --accelerate_config zero2\n```\n\n**Custom Accelerate config:**\n\n```bash\n# Generate custom config\naccelerate config\n\n# Use custom config\ntrl sft --config sft_config.yaml --config_file ~\u002F.cache\u002Fhuggingface\u002Faccelerate\u002Fdefault_config.yaml\n```\n\n**Fully Sharded Data Parallel (FSDP):**\n\n```bash\ntrl sft --config sft_config.yaml --accelerate_config fsdp2\n```\n\n**DeepSpeed ZeRO:**\n\n```bash\ntrl sft --config sft_config.yaml --accelerate_config zero3\n```\n\n## Troubleshooting\n\n### CUDA Out of Memory\n\n- Reduce `--per_device_train_batch_size` and increase `--gradient_accumulation_steps`\n- Enable `--use_peft` for LoRA training\n- Use `--gradient_checkpointing` to save memory\n- Try smaller model or longer sequence truncation\n\n### Dataset Loading Issues\n\n- Verify dataset exists: check Hugging Face Hub or local path\n- Check dataset format matches expected columns\n- Use `--dataset_config` for multi-config datasets\n- Inspect dataset: `from datasets import load_dataset; ds = load_dataset(name)`\n\n### Model Loading Issues\n\n- Verify model exists on Hugging Face Hub\n- Check if gated model requires authentication: `hf auth login`\n- For local models, provide absolute path\n- Ensure sufficient disk space and memory\n\n### Slow Training\n\n- Enable dataset `--packing` for short sequences\n- Use larger `--per_device_train_batch_size` if memory allows\n- Enable `--tf32` for faster computation on Ampere GPUs\n- Use `--bf16` on supported hardware\n- Consider multi-GPU training with `--num_processes`\n\n### Generation Issues (GRPO\u002FRLOO)\n\n- Check prompt format in dataset\n- Adjust `--temperature` and `--top_p` for generation\n- Verify the reward function (for GRPO\u002FRLOO)\n\n## Additional Resources\n\n- **Documentation**: https:\u002F\u002Fhuggingface.co\u002Fdocs\u002Ftrl\n- **GitHub**: https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Ftrl\n- **Examples**: https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Ftrl\u002Ftree\u002Fmain\u002Fexamples\n\n## Best Practices\n\n1. **Start with SFT**: Always fine-tune base models with SFT before preference alignment\n2. **Use LoRA for efficiency**: Enable `--use_peft` for faster training and lower memory\n3. **Monitor training**: Use `--report_to trackio` (or `--report_to wandb` or `--report_to tensorboard`) for tracking\n4. **Save checkpoints**: TRL automatically saves checkpoints in `--output_dir`\n5. **Test on small datasets first**: Verify pipeline works before full training\n6. **Use configuration files**: Create YAML configs for reproducibility\n7. **Leverage Accelerate**: Use multi-GPU training for faster iteration\n\nWhen helping users with TRL:\n- Always check which training method is appropriate for their use case\n- Verify dataset format matches the expected schema\n- Recommend starting with smaller models for testing\n- Suggest LoRA for resource-constrained environments\n- Point to specific documentation sections for advanced features\n\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream product or API scope.\n- Verify commands, API behavior, pricing, quotas, credentials, and deployment effects against current official documentation before making changes.\n- Do not treat generated examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n",{"name":5,"risk":24,"source":25,"license":15,"date_added":26,"description":7,"source_repo":27,"source_type":28,"license_source":29},"unknown","https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Ftree\u002Fmain\u002Fskills\u002Ftrl-training",1782864000000,"huggingface\u002Fskills","official","https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE","main","b1e4ffadb4f933bbbcaa03a83f8b9929171ac28b",".agents\u002Fskills\u002Ftrl-training",0,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR","https:\u002F\u002Fgithub.com\u002FHazek-dc","2026-10-22 08:36:44",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill trl-training",{"tool":43,"command":44},"bunx","bunx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill trl-training",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill trl-training","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftrl-training\u002FSKILL.md",true,[],[52,60,67,74,81,88],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":56,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7DS6GGYRZAYD33PFPS8Z2T3","testing-best-practices","Laravel test design and review. Use when selecting coverage, naming or structuring tests, choosing assertions or test data, isolating dependencies, testing HTTP or security boundaries, improving suite performance, or reviewing test value. Use framework guidance or search-docs for Pest and PHPUnit syntax.","MIT","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Ftesting-best-practices\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":56,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7DS6BC3AW7HTPRHE2TTVKWM","tailwindcss-development","Always invoke when the user's message includes 'tailwind' in any form. Also invoke for: building responsive grid layouts (multi-column card grids, product grids), flex\u002Fgrid page structures (dashboards with sidebars, fixed topbars, mobile-toggle navs), styling UI components (cards, tables, navbars, pricing sections, forms, inputs, badges), adding dark mode variants, fixing spacing or typography, and Tailwind v3\u002Fv4 work. The core use case: writing or fixing Tailwind utility classes in HTML templates (Blade, JSX, Vue). Skip for backend PHP logic, database queries, API routes, JavaScript with no HTML\u002FCSS component, CSS file audits, build tool configuration, and vanilla CSS.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Ftailwindcss-development\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":56,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7DS66GE6B11MYJDVC74HXM4","laravel-best-practices","Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Flaravel-best-practices\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":56,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7DS5ZW717DMS6P1E90AQCKV","infer-conventions","Use this skill to analyze how a Laravel application is actually written and record its conventions as shared rules. Trigger when the user wants to detect, infer, document, or standardize project conventions or coding style, set up or grow `.ai\u002Frules`, resolve mixed or conflicting patterns (e.g. \"are we using Form Requests or inline validation?\"), or onboard agents and teammates to \"how we do things here\". Covers: a systematic sweep of ~49 Laravel convention dimensions (validation, models, architecture, testing, frontend, database, console), open-ended house-pattern discovery, conflict reporting, and recording rules scoped to the right paths via the Boost `record-rule` MCP tool. Only run this skill when the user explicitly asks for it; never start a sweep as part of another task. Do not use for one-off code review, enforcing formatting a linter already handles, or editing `.ai\u002Frules` files by hand.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Finfer-conventions\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":56,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7DS5W12RGCVJTFQJ1N0GB8E","inertia-react-development","Develops Inertia.js v2 React client-side applications. Activates when creating React pages, forms, or navigation; using \u003CLink>, \u003CForm>, useForm, or router; working with deferred props, prefetching, or polling; or when user mentions React with Inertia, React pages, React forms, or React navigation.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Finertia-react-development\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":56,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7DS5PVDPMPCWSK2RXPDC9BB","deploying-to-cloud","Deploys and manages Laravel applications on Laravel Cloud using the `cloud` CLI. Use when the user wants to deploy an app, ship to Cloud, create or manage applications, environments, databases, caches, object storage, queues, domains, instances, background processes, secrets, compute, scheduled tasks, or Laravel Cloud infrastructure; or check billing, usage, or spend. Triggers on deployment, shipping, Cloud management, environment setup, database provisioning, billing or usage queries, the `cloud` CLI, and Laravel Cloud deployment troubleshooting.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Fdeploying-to-cloud\u002FSKILL.md",[],[]]