[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71KDRRDAC41AB03WWV4571G":3,"skill-same:01M71KDRRDAC41AB03WWV4571G":106},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M71KDRRDAC41AB03WWV4571G","stable-baselines3",null,"Production-ready reinforcement learning algorithms (PPO, SAC, DQN, TD3, DDPG, A2C) with scikit-learn-like API. Use for standard RL experiments, quick prototyping, and well-documented algorithm implementations. Best for single-agent RL with Gymnasium environments. For high-performance parallel training, multi-agent systems, or custom vectorized environments, use pufferlib instead.","iDorgham\u002FWorkspace-Factory","iDorgham","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F136521493?v=4","01M6CNGBDAHE4ARW3YJEF4X2FD","Dorgham","01M71E8H3CXZ7DJX59MTM9JEB2",1,"MIT","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fgithub_imports\u002Fstable-baselines3\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"stable baselines3","learn","learning","for","parallel","algorithms","environments","multi-agent","reinforcement learning algorithms","experiments","api","high-performance","scikit-learn","production-ready","training","prototyping","performance","vectorized","quick","ready","2026-11-10 10:12:30",false,"---\nname: stable-baselines3\ndescription: Production-ready reinforcement learning algorithms (PPO, SAC, DQN, TD3, DDPG, A2C) with scikit-learn-like API. Use for standard RL experiments, quick prototyping, and well-documented algorithm implementations. Best for single-agent RL with Gymnasium environments. For high-performance parallel training, multi-agent systems, or custom vectorized environments, use pufferlib instead.\nlicense: MIT license\nmetadata:\n    skill-author: K-Dense Inc.\n---\n\n# Stable Baselines3\n\n## Overview\n\nStable Baselines3 (SB3) is a PyTorch-based library providing reliable implementations of reinforcement learning algorithms. This skill provides comprehensive guidance for training RL agents, creating custom environments, implementing callbacks, and optimizing training workflows using SB3's unified API.\n\n## Core Capabilities\n\n### 1. Training RL Agents\n\n**Basic Training Pattern:**\n\n```python\nimport gymnasium as gym\nfrom stable_baselines3 import PPO\n\n# Create environment\nenv = gym.make(\"CartPole-v1\")\n\n# Initialize agent\nmodel = PPO(\"MlpPolicy\", env, verbose=1)\n\n# Train the agent\nmodel.learn(total_timesteps=10000)\n\n# Save the model\nmodel.save(\"ppo_cartpole\")\n\n# Load the model (without prior instantiation)\nmodel = PPO.load(\"ppo_cartpole\", env=env)\n```\n\n**Important Notes:**\n- `total_timesteps` is a lower bound; actual training may exceed this due to batch collection\n- Use `model.load()` as a static method, not on an existing instance\n- The replay buffer is NOT saved with the model to save space\n\n**Algorithm Selection:**\nUse `references\u002Falgorithms.md` for detailed algorithm characteristics and selection guidance. Quick reference:\n- **PPO\u002FA2C**: General-purpose, supports all action space types, good for multiprocessing\n- **SAC\u002FTD3**: Continuous control, off-policy, sample-efficient\n- **DQN**: Discrete actions, off-policy\n- **HER**: Goal-conditioned tasks\n\nSee `scripts\u002Ftrain_rl_agent.py` for a complete training template with best practices.\n\n### 2. Custom Environments\n\n**Requirements:**\nCustom environments must inherit from `gymnasium.Env` and implement:\n- `__init__()`: Define action_space and observation_space\n- `reset(seed, options)`: Return initial observation and info dict\n- `step(action)`: Return observation, reward, terminated, truncated, info\n- `render()`: Visualization (optional)\n- `close()`: Cleanup resources\n\n**Key Constraints:**\n- Image observations must be `np.uint8` in range [0, 255]\n- Use channel-first format when possible (channels, height, width)\n- SB3 normalizes images automatically by dividing by 255\n- Set `normalize_images=False` in policy_kwargs if pre-normalized\n- SB3 does NOT support `Discrete` or `MultiDiscrete` spaces with `start!=0`\n\n**Validation:**\n```python\nfrom stable_baselines3.common.env_checker import check_env\n\ncheck_env(env, warn=True)\n```\n\nSee `scripts\u002Fcustom_env_template.py` for a complete custom environment template and `references\u002Fcustom_environments.md` for comprehensive guidance.\n\n### 3. Vectorized Environments\n\n**Purpose:**\nVectorized environments run multiple environment instances in parallel, accelerating training and enabling certain wrappers (frame-stacking, normalization).\n\n**Types:**\n- **DummyVecEnv**: Sequential execution on current process (for lightweight environments)\n- **SubprocVecEnv**: Parallel execution across processes (for compute-heavy environments)\n\n**Quick Setup:**\n```python\nfrom stable_baselines3.common.env_util import make_vec_env\n\n# Create 4 parallel environments\nenv = make_vec_env(\"CartPole-v1\", n_envs=4, vec_env_cls=SubprocVecEnv)\n\nmodel = PPO(\"MlpPolicy\", env, verbose=1)\nmodel.learn(total_timesteps=25000)\n```\n\n**Off-Policy Optimization:**\nWhen using multiple environments with off-policy algorithms (SAC, TD3, DQN), set `gradient_steps=-1` to perform one gradient update per environment step, balancing wall-clock time and sample efficiency.\n\n**API Differences:**\n- `reset()` returns only observations (info available in `vec_env.reset_infos`)\n- `step()` returns 4-tuple: `(obs, rewards, dones, infos)` not 5-tuple\n- Environments auto-reset after episodes\n- Terminal observations available via `infos[env_idx][\"terminal_observation\"]`\n\nSee `references\u002Fvectorized_envs.md` for detailed information on wrappers and advanced usage.\n\n### 4. Callbacks for Monitoring and Control\n\n**Purpose:**\nCallbacks enable monitoring metrics, saving checkpoints, implementing early stopping, and custom training logic without modifying core algorithms.\n\n**Common Callbacks:**\n- **EvalCallback**: Evaluate periodically and save best model\n- **CheckpointCallback**: Save model checkpoints at intervals\n- **StopTrainingOnRewardThreshold**: Stop when target reward reached\n- **ProgressBarCallback**: Display training progress with timing\n\n**Custom Callback Structure:**\n```python\nfrom stable_baselines3.common.callbacks import BaseCallback\n\nclass CustomCallback(BaseCallback):\n    def _on_training_start(self):\n        # Called before first rollout\n        pass\n\n    def _on_step(self):\n        # Called after each environment step\n        # Return False to stop training\n        return True\n\n    def _on_rollout_end(self):\n        # Called at end of rollout\n        pass\n```\n\n**Available Attributes:**\n- `self.model`: The RL algorithm instance\n- `self.num_timesteps`: Total environment steps\n- `self.training_env`: The training environment\n\n**Chaining Callbacks:**\n```python\nfrom stable_baselines3.common.callbacks import CallbackList\n\ncallback = CallbackList([eval_callback, checkpoint_callback, custom_callback])\nmodel.learn(total_timesteps=10000, callback=callback)\n```\n\nSee `references\u002Fcallbacks.md` for comprehensive callback documentation.\n\n### 5. Model Persistence and Inspection\n\n**Saving and Loading:**\n```python\n# Save model\nmodel.save(\"model_name\")\n\n# Save normalization statistics (if using VecNormalize)\nvec_env.save(\"vec_normalize.pkl\")\n\n# Load model\nmodel = PPO.load(\"model_name\", env=env)\n\n# Load normalization statistics\nvec_env = VecNormalize.load(\"vec_normalize.pkl\", vec_env)\n```\n\n**Parameter Access:**\n```python\n# Get parameters\nparams = model.get_parameters()\n\n# Set parameters\nmodel.set_parameters(params)\n\n# Access PyTorch state dict\nstate_dict = model.policy.state_dict()\n```\n\n### 6. Evaluation and Recording\n\n**Evaluation:**\n```python\nfrom stable_baselines3.common.evaluation import evaluate_policy\n\nmean_reward, std_reward = evaluate_policy(\n    model,\n    env,\n    n_eval_episodes=10,\n    deterministic=True\n)\n```\n\n**Video Recording:**\n```python\nfrom stable_baselines3.common.vec_env import VecVideoRecorder\n\n# Wrap environment with video recorder\nenv = VecVideoRecorder(\n    env,\n    \"videos\u002F\",\n    record_video_trigger=lambda x: x % 2000 == 0,\n    video_length=200\n)\n```\n\nSee `scripts\u002Fevaluate_agent.py` for a complete evaluation and recording template.\n\n### 7. Advanced Features\n\n**Learning Rate Schedules:**\n```python\ndef linear_schedule(initial_value):\n    def func(progress_remaining):\n        # progress_remaining goes from 1 to 0\n        return progress_remaining * initial_value\n    return func\n\nmodel = PPO(\"MlpPolicy\", env, learning_rate=linear_schedule(0.001))\n```\n\n**Multi-Input Policies (Dict Observations):**\n```python\nmodel = PPO(\"MultiInputPolicy\", env, verbose=1)\n```\nUse when observations are dictionaries (e.g., combining images with sensor data).\n\n**Hindsight Experience Replay:**\n```python\nfrom stable_baselines3 import SAC, HerReplayBuffer\n\nmodel = SAC(\n    \"MultiInputPolicy\",\n    env,\n    replay_buffer_class=HerReplayBuffer,\n    replay_buffer_kwargs=dict(\n        n_sampled_goal=4,\n        goal_selection_strategy=\"future\",\n    ),\n)\n```\n\n**TensorBoard Integration:**\n```python\nmodel = PPO(\"MlpPolicy\", env, tensorboard_log=\".\u002Ftensorboard\u002F\")\nmodel.learn(total_timesteps=10000)\n```\n\n## Workflow Guidance\n\n**Starting a New RL Project:**\n\n1. **Define the problem**: Identify observation space, action space, and reward structure\n2. **Choose algorithm**: Use `references\u002Falgorithms.md` for selection guidance\n3. **Create\u002Fadapt environment**: Use `scripts\u002Fcustom_env_template.py` if needed\n4. **Validate environment**: Always run `check_env()` before training\n5. **Set up training**: Use `scripts\u002Ftrain_rl_agent.py` as starting template\n6. **Add monitoring**: Implement callbacks for evaluation and checkpointing\n7. **Optimize performance**: Consider vectorized environments for speed\n8. **Evaluate and iterate**: Use `scripts\u002Fevaluate_agent.py` for assessment\n\n**Common Issues:**\n\n- **Memory errors**: Reduce `buffer_size` for off-policy algorithms or use fewer parallel environments\n- **Slow training**: Consider SubprocVecEnv for parallel environments\n- **Unstable training**: Try different algorithms, tune hyperparameters, or check reward scaling\n- **Import errors**: Ensure `stable_baselines3` is installed: `uv pip install stable-baselines3[extra]`\n\n## Resources\n\n### scripts\u002F\n- `train_rl_agent.py`: Complete training script template with best practices\n- `evaluate_agent.py`: Agent evaluation and video recording template\n- `custom_env_template.py`: Custom Gym environment template\n\n### references\u002F\n- `algorithms.md`: Detailed algorithm comparison and selection guide\n- `custom_environments.md`: Comprehensive custom environment creation guide\n- `callbacks.md`: Complete callback system reference\n- `vectorized_envs.md`: Vectorized environment usage and wrappers\n\n## Installation\n\n```bash\n# Basic installation\nuv pip install stable-baselines3\n\n# With extra dependencies (Tensorboard, etc.)\nuv pip install stable-baselines3[extra]\n```\n\n","# Stable Baselines3\n\n## Overview\n\nStable Baselines3 (SB3) is a PyTorch-based library providing reliable implementations of reinforcement learning algorithms. This skill provides comprehensive guidance for training RL agents, creating custom environments, implementing callbacks, and optimizing training workflows using SB3's unified API.\n\n## Core Capabilities\n\n### 1. Training RL Agents\n\n**Basic Training Pattern:**\n\n```python\nimport gymnasium as gym\nfrom stable_baselines3 import PPO\n\n# Create environment\nenv = gym.make(\"CartPole-v1\")\n\n# Initialize agent\nmodel = PPO(\"MlpPolicy\", env, verbose=1)\n\n# Train the agent\nmodel.learn(total_timesteps=10000)\n\n# Save the model\nmodel.save(\"ppo_cartpole\")\n\n# Load the model (without prior instantiation)\nmodel = PPO.load(\"ppo_cartpole\", env=env)\n```\n\n**Important Notes:**\n- `total_timesteps` is a lower bound; actual training may exceed this due to batch collection\n- Use `model.load()` as a static method, not on an existing instance\n- The replay buffer is NOT saved with the model to save space\n\n**Algorithm Selection:**\nUse `references\u002Falgorithms.md` for detailed algorithm characteristics and selection guidance. Quick reference:\n- **PPO\u002FA2C**: General-purpose, supports all action space types, good for multiprocessing\n- **SAC\u002FTD3**: Continuous control, off-policy, sample-efficient\n- **DQN**: Discrete actions, off-policy\n- **HER**: Goal-conditioned tasks\n\nSee `scripts\u002Ftrain_rl_agent.py` for a complete training template with best practices.\n\n### 2. Custom Environments\n\n**Requirements:**\nCustom environments must inherit from `gymnasium.Env` and implement:\n- `__init__()`: Define action_space and observation_space\n- `reset(seed, options)`: Return initial observation and info dict\n- `step(action)`: Return observation, reward, terminated, truncated, info\n- `render()`: Visualization (optional)\n- `close()`: Cleanup resources\n\n**Key Constraints:**\n- Image observations must be `np.uint8` in range [0, 255]\n- Use channel-first format when possible (channels, height, width)\n- SB3 normalizes images automatically by dividing by 255\n- Set `normalize_images=False` in policy_kwargs if pre-normalized\n- SB3 does NOT support `Discrete` or `MultiDiscrete` spaces with `start!=0`\n\n**Validation:**\n```python\nfrom stable_baselines3.common.env_checker import check_env\n\ncheck_env(env, warn=True)\n```\n\nSee `scripts\u002Fcustom_env_template.py` for a complete custom environment template and `references\u002Fcustom_environments.md` for comprehensive guidance.\n\n### 3. Vectorized Environments\n\n**Purpose:**\nVectorized environments run multiple environment instances in parallel, accelerating training and enabling certain wrappers (frame-stacking, normalization).\n\n**Types:**\n- **DummyVecEnv**: Sequential execution on current process (for lightweight environments)\n- **SubprocVecEnv**: Parallel execution across processes (for compute-heavy environments)\n\n**Quick Setup:**\n```python\nfrom stable_baselines3.common.env_util import make_vec_env\n\n# Create 4 parallel environments\nenv = make_vec_env(\"CartPole-v1\", n_envs=4, vec_env_cls=SubprocVecEnv)\n\nmodel = PPO(\"MlpPolicy\", env, verbose=1)\nmodel.learn(total_timesteps=25000)\n```\n\n**Off-Policy Optimization:**\nWhen using multiple environments with off-policy algorithms (SAC, TD3, DQN), set `gradient_steps=-1` to perform one gradient update per environment step, balancing wall-clock time and sample efficiency.\n\n**API Differences:**\n- `reset()` returns only observations (info available in `vec_env.reset_infos`)\n- `step()` returns 4-tuple: `(obs, rewards, dones, infos)` not 5-tuple\n- Environments auto-reset after episodes\n- Terminal observations available via `infos[env_idx][\"terminal_observation\"]`\n\nSee `references\u002Fvectorized_envs.md` for detailed information on wrappers and advanced usage.\n\n### 4. Callbacks for Monitoring and Control\n\n**Purpose:**\nCallbacks enable monitoring metrics, saving checkpoints, implementing early stopping, and custom training logic without modifying core algorithms.\n\n**Common Callbacks:**\n- **EvalCallback**: Evaluate periodically and save best model\n- **CheckpointCallback**: Save model checkpoints at intervals\n- **StopTrainingOnRewardThreshold**: Stop when target reward reached\n- **ProgressBarCallback**: Display training progress with timing\n\n**Custom Callback Structure:**\n```python\nfrom stable_baselines3.common.callbacks import BaseCallback\n\nclass CustomCallback(BaseCallback):\n    def _on_training_start(self):\n        # Called before first rollout\n        pass\n\n    def _on_step(self):\n        # Called after each environment step\n        # Return False to stop training\n        return True\n\n    def _on_rollout_end(self):\n        # Called at end of rollout\n        pass\n```\n\n**Available Attributes:**\n- `self.model`: The RL algorithm instance\n- `self.num_timesteps`: Total environment steps\n- `self.training_env`: The training environment\n\n**Chaining Callbacks:**\n```python\nfrom stable_baselines3.common.callbacks import CallbackList\n\ncallback = CallbackList([eval_callback, checkpoint_callback, custom_callback])\nmodel.learn(total_timesteps=10000, callback=callback)\n```\n\nSee `references\u002Fcallbacks.md` for comprehensive callback documentation.\n\n### 5. Model Persistence and Inspection\n\n**Saving and Loading:**\n```python\n# Save model\nmodel.save(\"model_name\")\n\n# Save normalization statistics (if using VecNormalize)\nvec_env.save(\"vec_normalize.pkl\")\n\n# Load model\nmodel = PPO.load(\"model_name\", env=env)\n\n# Load normalization statistics\nvec_env = VecNormalize.load(\"vec_normalize.pkl\", vec_env)\n```\n\n**Parameter Access:**\n```python\n# Get parameters\nparams = model.get_parameters()\n\n# Set parameters\nmodel.set_parameters(params)\n\n# Access PyTorch state dict\nstate_dict = model.policy.state_dict()\n```\n\n### 6. Evaluation and Recording\n\n**Evaluation:**\n```python\nfrom stable_baselines3.common.evaluation import evaluate_policy\n\nmean_reward, std_reward = evaluate_policy(\n    model,\n    env,\n    n_eval_episodes=10,\n    deterministic=True\n)\n```\n\n**Video Recording:**\n```python\nfrom stable_baselines3.common.vec_env import VecVideoRecorder\n\n# Wrap environment with video recorder\nenv = VecVideoRecorder(\n    env,\n    \"videos\u002F\",\n    record_video_trigger=lambda x: x % 2000 == 0,\n    video_length=200\n)\n```\n\nSee `scripts\u002Fevaluate_agent.py` for a complete evaluation and recording template.\n\n### 7. Advanced Features\n\n**Learning Rate Schedules:**\n```python\ndef linear_schedule(initial_value):\n    def func(progress_remaining):\n        # progress_remaining goes from 1 to 0\n        return progress_remaining * initial_value\n    return func\n\nmodel = PPO(\"MlpPolicy\", env, learning_rate=linear_schedule(0.001))\n```\n\n**Multi-Input Policies (Dict Observations):**\n```python\nmodel = PPO(\"MultiInputPolicy\", env, verbose=1)\n```\nUse when observations are dictionaries (e.g., combining images with sensor data).\n\n**Hindsight Experience Replay:**\n```python\nfrom stable_baselines3 import SAC, HerReplayBuffer\n\nmodel = SAC(\n    \"MultiInputPolicy\",\n    env,\n    replay_buffer_class=HerReplayBuffer,\n    replay_buffer_kwargs=dict(\n        n_sampled_goal=4,\n        goal_selection_strategy=\"future\",\n    ),\n)\n```\n\n**TensorBoard Integration:**\n```python\nmodel = PPO(\"MlpPolicy\", env, tensorboard_log=\".\u002Ftensorboard\u002F\")\nmodel.learn(total_timesteps=10000)\n```\n\n## Workflow Guidance\n\n**Starting a New RL Project:**\n\n1. **Define the problem**: Identify observation space, action space, and reward structure\n2. **Choose algorithm**: Use `references\u002Falgorithms.md` for selection guidance\n3. **Create\u002Fadapt environment**: Use `scripts\u002Fcustom_env_template.py` if needed\n4. **Validate environment**: Always run `check_env()` before training\n5. **Set up training**: Use `scripts\u002Ftrain_rl_agent.py` as starting template\n6. **Add monitoring**: Implement callbacks for evaluation and checkpointing\n7. **Optimize performance**: Consider vectorized environments for speed\n8. **Evaluate and iterate**: Use `scripts\u002Fevaluate_agent.py` for assessment\n\n**Common Issues:**\n\n- **Memory errors**: Reduce `buffer_size` for off-policy algorithms or use fewer parallel environments\n- **Slow training**: Consider SubprocVecEnv for parallel environments\n- **Unstable training**: Try different algorithms, tune hyperparameters, or check reward scaling\n- **Import errors**: Ensure `stable_baselines3` is installed: `uv pip install stable-baselines3[extra]`\n\n## Resources\n\n### scripts\u002F\n- `train_rl_agent.py`: Complete training script template with best practices\n- `evaluate_agent.py`: Agent evaluation and video recording template\n- `custom_env_template.py`: Custom Gym environment template\n\n### references\u002F\n- `algorithms.md`: Detailed algorithm comparison and selection guide\n- `custom_environments.md`: Comprehensive custom environment creation guide\n- `callbacks.md`: Complete callback system reference\n- `vectorized_envs.md`: Vectorized environment usage and wrappers\n\n## Installation\n\n```bash\n# Basic installation\nuv pip install stable-baselines3\n\n# With extra dependencies (Tensorboard, etc.)\nuv pip install stable-baselines3[extra]\n```\n\n",{"name":5,"license":44,"metadata":45,"description":7},"MIT license",{"skill-author":46},"K-Dense Inc.","master","c2e410e11df4d80d885e0ecf0583ef3c926df736","factory\u002Flibrary\u002Fskills\u002Fgithub_imports\u002Fstable-baselines3",0,"https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory","https:\u002F\u002Fgithub.com\u002FiDorgham","Dorgham.me","hey I'm Dorgham \r\nI code, I create, and AI codes back. \r\nMaybe we can give AI the chance!! now we begin. 🚀🤖\r\n... . . . git commit -m \"Hello, Future\" ","2026-05-04 18:39:09",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add iDorgham\u002FWorkspace-Factory --skill stable-baselines3",{"tool":62,"command":63},"bunx","bunx skills add iDorgham\u002FWorkspace-Factory --skill stable-baselines3",{"tool":65,"command":66},"pnpm","pnpm dlx skills add iDorgham\u002FWorkspace-Factory --skill stable-baselines3","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fgithub_imports\u002Fstable-baselines3\u002FSKILL.md",true,[70,76,80,84,88,92,98,102],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"_AIWF_IMPORT.json","REFERENCE","参考文档",371,"https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fgithub_imports\u002Fstable-baselines3\u002F_AIWF_IMPORT.json",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Falgorithms.md",10038,"https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fgithub_imports\u002Fstable-baselines3\u002Freferences\u002Falgorithms.md",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fcallbacks.md",15631,"https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fgithub_imports\u002Fstable-baselines3\u002Freferences\u002Fcallbacks.md",{"path":85,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fcustom_environments.md",13729,"https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fgithub_imports\u002Fstable-baselines3\u002Freferences\u002Fcustom_environments.md",{"path":89,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fvectorized_envs.md",14789,"https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fgithub_imports\u002Fstable-baselines3\u002Freferences\u002Fvectorized_envs.md",{"path":93,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":96,"sourceHtmlUrl":97},"scripts\u002Fcustom_env_template.py","SCRIPT","脚本",9350,"https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fgithub_imports\u002Fstable-baselines3\u002Fscripts\u002Fcustom_env_template.py",{"path":99,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":100,"sourceHtmlUrl":101},"scripts\u002Fevaluate_agent.py",7335,"https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fgithub_imports\u002Fstable-baselines3\u002Fscripts\u002Fevaluate_agent.py",{"path":103,"resourceType":94,"resourceTypeDesc":95,"sizeBytes":104,"sourceHtmlUrl":105},"scripts\u002Ftrain_rl_agent.py",5123,"https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fgithub_imports\u002Fstable-baselines3\u002Fscripts\u002Ftrain_rl_agent.py",[107,139,160,182,202,225],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":118,"publishedAt":138},"01M71P8WVBMB2X3D24R0YT0B0E","vercel-react-view-transitions","Guide for implementing smooth, native-feeling animations using React's View Transition API (`\u003CViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter\u002Fexit of components, animate list reorder, implement directional (forward\u002Fback) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions view transitions, `startViewTransition`, `ViewTransition`, transition types, or asks about animating between UI states in React without third-party animation libraries.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_vercel_labs_react_view_transitions\u002Fskill.md",[113],{"categoryNo":114,"categoryName":115,"taxonomyType":116,"taxonomyTypeDesc":117},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",[119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,29,135,136,137],"react","vercel react view transitions","view","react view transitions","vercel","transitions","shared","back","Animation","css","types","states","element","implementing","when","components","route","create","libraries","2026-11-10 13:02:02",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":146,"publishedAt":138},"01M71P8TDGHZ289TSAC5VTG2EW","vercel-react-native-skills","React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_vercel_labs_react_native_skills\u002Fskill.md",[145],{"categoryNo":114,"categoryName":115,"taxonomyType":116,"taxonomyTypeDesc":117},[119,147,148,123,149,150,151,35,132,152,133,153,134,154,155,156,157,158,159,22],"react native","native","vercel react native skills","react native skills","modules","apps","tasks","mobile","expo","list","mobile performance","platform","animations",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":167,"publishedAt":138},"01M71P8QK4JF5BYRGYDDGPZQG9","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_vercel_labs_react_best_practices\u002Fskill.md",[166],{"categoryNo":114,"categoryName":115,"taxonomyType":116,"taxonomyTypeDesc":117},[119,168,169,123,170,35,171,133,172,153,134,173,174,175,176,177,178,179,180,181],"react best practices","vercel react best practices","best practices","writing","code","data fetching","react components","next","refactoring","data","patterns","Optimization","guidelines","triggers",{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":186,"categories":187,"keywords":189,"publishedAt":138},"01M71P8HVEA70K5N6ZVJCG2ED3","vercel-composition-patterns","React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_vercel_labs_composition_patterns\u002Fskill.md",[188],{"categoryNo":114,"categoryName":115,"taxonomyType":116,"taxonomyTypeDesc":117},[190,123,191,178,192,193,194,195,181,196,197,198,133,199,153,134,200,201,29,119],"Composition","composition patterns","vercel composition patterns","react composition patterns","react 19","render","boolean","component architecture","use","reusable","architecture","react composition",{"skillNo":203,"name":204,"nameZh":6,"description":205,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":206,"categories":207,"keywords":211,"publishedAt":138},"01M71P60XXKKP222ZFJRG7R373","supabase-postgres-best-practices","Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_supabase_supabase_postgres_best_practices\u002Fskill.md",[208],{"categoryNo":209,"categoryName":210,"taxonomyType":116,"taxonomyTypeDesc":117},"01JBSEEDCAT000000000000010","后端与接口",[212,213,214,215,170,216,217,218,22,179,35,219,220,171,221,198,222,223,224,133],"postgres best practices","supabase","postgres","supabase postgres best practices","categories","postgres performance","advanced","correct","schema","impact","Rules","critical","database",{"skillNo":226,"name":227,"nameZh":6,"description":228,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":229,"categories":230,"keywords":232,"publishedAt":248},"01M71P2ZCEJD0PKC458YTP1FJW","portable-text-serialization","Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend framework, building custom serializers for non-standard block types, converting Portable Text to HTML strings server-side, converting Portable Text to Markdown, extracting plain text from Portable Text, or troubleshooting rendering issues with marks, blocks, lists, or custom types.","https:\u002F\u002Fgithub.com\u002FiDorgham\u002FWorkspace-Factory\u002Fblob\u002Fmaster\u002Ffactory\u002Flibrary\u002Fskills\u002Fofficial_sanity_io_portable_text_serialization\u002Fskill.md",[231],{"categoryNo":114,"categoryName":115,"taxonomyType":116,"taxonomyTypeDesc":117},[233,234,235,236,237,129,238,195,239,132,240,241,133,119,242,243,244,245,246,247],"text","portable text serialization","portable","serialization","extracting","strings","issues","frontend","svelte","sanity","astro","server","markdown","rendering","vue","2026-11-10 10:56:23"]