unity-light

Create and configure Unity scene lights including Directional, Point, Spot, and Area types.

Updated Jun 21, 2026
One-click install
npx skills add https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications --skill unity-light-du-qwq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: unity-light
Source: https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications/tree/main/.agents/skills/unity-skills/skills/light
Command: npx skills add https://github.com/du-qwq/Shader-Writing-Architecture-and-Specifications --skill unity-light-du-qwq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up and tuning Unity scene lighting through the editor is repetitive, especially when configuring many lights at once. This Skill lets you create, configure, query, and batch-toggle Unity lights directly through natural language commands. ## Core Features & Use Cases - Light Creation & Configuration: Create Directional, Point, Spot, and Area lights with color, intensity, range, spot angle, and shadow settings via light_create and light_set_properties. - Batch Operations: Configure or enable/disable multiple lights in a single call using light_set_properties_batch and light_set_enabled_batch, reducing API round-trips. - Scene Lighting Inspection: Query individual light details, find all lights in the scene, and inspect lightmap baking settings with light_get_info, light_find_all, and light_get_lightmap_settings. - Probes: Add Light Probe Groups with optional grid layouts and create Reflection Probes at specified positions. - Use Case: When building a torch-lit dungeon scene, create several Point lights, then batch-adjust their intensity and warm color in one call, and finally batch-disable them for a lights-out gameplay event. ## Quick Start Ask the AI to create a soft-shadowed directional light named Sun with warm color and intensity 1.2 in the current Unity scene.

Frequently Asked Questions about unity-light

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a light in Unity using a script or AI command?

Use the light_create skill with a lightType of Directional, Point, Spot, or Area, plus optional position, color, intensity, range, and shadows parameters. It returns the new light's name, instanceId, and applied settings.

How to change intensity or color of multiple Unity lights at once?

Use light_set_properties_batch with an items array where each entry identifies a light by name, instanceId, or path and specifies the properties to change. This performs all edits in one API call instead of one call per light.

Does Unity Area light work in real time?

No, Area lights are baked-only and do not illuminate in real time. Use Directional, Point, or Spot lights for real-time lighting, and bake lightmaps when you need Area light effects.

How do I delete a light in Unity with this skill?

There is no light_delete skill in this module. Call gameobject_delete from the gameobject module on the light's GameObject to remove it from the scene.

Why does light_set_color or light_set_intensity not work?

Those skills do not exist. Use light_set_properties instead, which sets color, intensity, range, spot angle, and shadows together on a target light identified by name or instanceId.