Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<p align="center">
<img src="https://img.shields.io/badge/Unity-2022.3%2B-black?style=for-the-badge&logo=unity" alt="Unity">
<img src="https://img.shields.io/badge/Skills-733-green?style=for-the-badge" alt="Skills">
<img src="https://img.shields.io/badge/Skills-771-green?style=for-the-badge" alt="Skills">
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-orange?style=for-the-badge" alt="License"></a>
<a href="README_CN.md"><img src="https://img.shields.io/badge/README-中文-blue?style=for-the-badge" alt="中文"></a>
</p>
Expand All @@ -30,7 +30,7 @@ This project is a deep refactoring and feature extension based on the excellent

## 🚀 Core Features

- 🛠️ **733 REST Skills Comprehensive Toolkit**: Includes 51 functional source modules plus 20 advisory design modules, with Batch operations for multi-object control.
- 🛠️ **771 REST Skills Comprehensive Toolkit**: Includes 52 functional source modules plus 23 advisory design modules, with Batch operations for multi-object control.
- ⚡ **Revolutionary Efficiency Boost (v2.0.1+)**: Schema caching + exponential backoff polling + BATCH-FIRST guidance → **Token consumption ↓ 96%**, **simple tasks 4-6 calls → 1 call (↓ 75-83%)**. Current: v2.1.3.
- 🔐 **Three-Tier Permission Modes (v1.9.0+)**: Approval / Auto / Bypass with dual approval channels (Dialog / Panel), aligned with Claude Code permission modes; zero-impact upgrade for existing users.
- 🤖 **4 Major IDEs Native Support**: Claude Code / Antigravity / Codex / Cursor — one-click install and use.
Expand Down Expand Up @@ -63,7 +63,7 @@ UnitySkills ships with a true server-side permission system aligned with Claude
>
> 🗑 The Skill Installer card shows a **per-scope uninstall** button that auto-adapts: disabled when nothing's installed, a single button labeled with its scope when only one is installed, and a dropdown (`Uninstall ▾`) listing Project / Global when both are installed.
>
> 20 advisory design modules (architecture, performance, design patterns, testability, package-specific source rules, etc.) are available in all modes and loaded on demand.
> 23 advisory design modules (architecture, performance, design patterns, testability, package-specific source rules, etc.) are available in all modes and loaded on demand.

---

Expand Down Expand Up @@ -173,7 +173,7 @@ If you're using other tools that support Skills, install according to the Skills
---

<details>
<summary><h2>📦 Skills Category Overview (733)</h2></summary>
<summary><h2>📦 Skills Category Overview (771)</h2></summary>

| Category | Count | Core Functions |
| :--- | :---: | :--- |
Expand All @@ -195,6 +195,7 @@ If you're using other tools that support Skills, install according to the Skills
| **URP** | 7 | URP asset/renderer/renderer feature inspection and edits |
| **Decal** | 7 | URP Decal Projector create/inspect/configure/delete workflows |
| **DOTween** | 21 | DOTweenAnimation editor-time setup and tuning |
| **PrimeTween** | 5 | PrimeTween Free inspection, factory discovery, and runtime tween/sequence script generation |
| **Editor** | 14 | Play mode runtime capture/Selection/Undo-Redo/Context retrieval/Change journal/Menu execution |
| **Physics** | 12 | Raycast/SphereCast/BoxCast/Physics materials/Layer collision matrix |
| **Script** | 12 | C# script create/Read/Replace/List/Info/Rename/Move/Analyze |
Expand Down Expand Up @@ -230,7 +231,7 @@ If you're using other tools that support Skills, install according to the Skills

> ⚠️ Most modules support `*_batch` batch operations. When operating on multiple objects, prioritize batch Skills for better performance.
>
> 🧠 `unity-skills/skills/` also includes **20 advisory design modules** for architecture, script design, performance, maintainability, Inspector guidance, and package-specific source rules.
> 🧠 `unity-skills/skills/` also includes **23 advisory design modules** for architecture, script design, performance, maintainability, Inspector guidance, and package-specific source rules.

</details>

Expand All @@ -246,9 +247,9 @@ If you're using other tools that support Skills, install according to the Skills
│ │ ├── SKILL.md # Main Skill Definitions (AI-readable)
│ │ ├── scripts/
│ │ │ └── unity_skills.py # Python Client Library
│ │ ├── skills/ # 69 module docs (49 REST/module docs + 20 advisory docs)
│ │ ├── skills/ # 71 module docs (48 REST/module docs + 23 advisory docs)
│ │ └── references/ # Unity Development References
│ └── Editor/Skills/ # Core Skill Logic (51 *Skills.cs files, 733 Skills)
│ └── Editor/Skills/ # Core Skill Logic (52 *Skills.cs files, 771 Skills)
│ ├── SkillsHttpServer.cs # HTTP Server Core (Producer-Consumer)
│ ├── SkillRouter.cs # Request Routing & Reflection-based Skill Discovery
│ ├── WorkflowManager.cs # Persistent Workflow (Task/Session/Snapshot)
Expand All @@ -260,7 +261,7 @@ If you're using other tools that support Skills, install according to the Skills
│ ├── CinemachineSkills.cs # Cinemachine 2.x/3.x (34 skills)
│ ├── WorkflowSkills.cs # Workflow Undo/Rollback (23 skills)
│ ├── PerceptionSkills.cs # Scene Understanding (18 skills)
│ └── ... # 733 Skills source code
│ └── ... # 771 Skills source code
├── docs/
│ └── SETUP_GUIDE.md # Complete Setup & Usage Guide
├── CHANGELOG.md # Version Update Log
Expand Down
17 changes: 9 additions & 8 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<p align="center">
<img src="https://img.shields.io/badge/Unity-2022.3%2B-black?style=for-the-badge&logo=unity" alt="Unity">
<img src="https://img.shields.io/badge/Skills-733-green?style=for-the-badge" alt="Skills">
<img src="https://img.shields.io/badge/Skills-771-green?style=for-the-badge" alt="Skills">
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-orange?style=for-the-badge" alt="License"></a>
<a href="README.md"><img src="https://img.shields.io/badge/README-English-blue?style=for-the-badge" alt="English"></a>
</p>
Expand All @@ -30,7 +30,7 @@

## 🚀 核心特性

- 🛠️ **733 REST Skills 全能库**:包含 51 个功能源码模块和 20 个 advisory 设计模块,支持 Batch 批处理,一次操控多个对象。
- 🛠️ **771 REST Skills 全能库**:包含 52 个功能源码模块和 23 个 advisory 设计模块,支持 Batch 批处理,一次操控多个对象。
- ⚡ **调用效率革命性提升 (v2.0.1+)**:Schema 缓存 + 指数退避轮询 + BATCH-FIRST 引导 → **Token 消耗 ↓ 96%**,**简单任务 4-6 次调用 → 1 次(↓ 75-83%)**。当前:v2.1.3。
- 🔐 **三档权限模式 (v1.9.0+)**:Approval / Auto / Bypass,配合双轨审批渠道(Dialog / Panel),对齐 Claude Code permission modes;老用户升级零感知。
- 🤖 **4 大 IDE 原生支持**:Claude Code / Antigravity / Codex / Cursor,一键安装即用。
Expand Down Expand Up @@ -63,7 +63,7 @@ UnitySkills 引入真正的服务端权限系统,对齐 Claude Code permission
>
> 🗑 Skill Installer 卡片的"卸载"按钮按 scope 智能形变:未装为灰态;仅一处装则按钮自带 scope 标签直接卸载;两处都装则显示 `Uninstall ▾` 下拉,分别选择 Project / Global。
>
> 20 个 advisory 设计模块(架构、性能、设计模式、可测试性、包级源码规则等)在所有模式下均可用,按需自动加载。
> 23 个 advisory 设计模块(架构、性能、设计模式、可测试性、包级源码规则等)在所有模式下均可用,按需自动加载。

---

Expand Down Expand Up @@ -173,7 +173,7 @@ https://github.com/Besty0728/Unity-Skills.git?path=/SkillsForUnity#v1.6.0
---

<details>
<summary><h2>📦 Skills 分类概要 (733)</h2></summary>
<summary><h2>📦 Skills 分类概要 (771)</h2></summary>

| 分类 | 数量 | 核心功能 |
| :--- | :---: | :--- |
Expand All @@ -195,6 +195,7 @@ https://github.com/Besty0728/Unity-Skills.git?path=/SkillsForUnity#v1.6.0
| **URP** | 7 | URP 资产/Renderer/Renderer Feature 检查与编辑 |
| **Decal** | 7 | URP Decal Projector 创建/检查/配置/删除工作流 |
| **DOTween** | 21 | DOTweenAnimation 编辑器期配置与调参 |
| **PrimeTween** | 5 | PrimeTween Free 检查、工厂方法发现与运行时补间/序列脚本生成 |
| **Editor** | 14 | Play 模式运行捕获/选择/撤销重做/上下文获取/变更日志/菜单执行 |
| **Physics** | 12 | 射线检测/球形投射/盒形投射/物理材质/层碰撞矩阵 |
| **Script** | 12 | C#脚本创建/读取/替换/列表/信息/重命名/移动/分析 |
Expand Down Expand Up @@ -230,7 +231,7 @@ https://github.com/Besty0728/Unity-Skills.git?path=/SkillsForUnity#v1.6.0

> ⚠️ 大部分模块支持 `*_batch` 批量操作,操作多个物体时应优先使用批量 Skills 以提升性能。
>
> 🧠 `unity-skills/skills/` 目录下额外提供 **20 个 advisory 设计模块**,用于在脚本编写前辅助 AI 进行架构、性能、可维护性、Inspector 设计与包级源码规则决策。
> 🧠 `unity-skills/skills/` 目录下额外提供 **23 个 advisory 设计模块**,用于在脚本编写前辅助 AI 进行架构、性能、可维护性、Inspector 设计与包级源码规则决策。

</details>

Expand All @@ -246,9 +247,9 @@ https://github.com/Besty0728/Unity-Skills.git?path=/SkillsForUnity#v1.6.0
│ │ ├── SKILL.md # 主 Skill 定义 (AI 读取)
│ │ ├── scripts/
│ │ │ └── unity_skills.py # Python 客户端库
│ │ ├── skills/ # 69 个模块文档(49 个 REST/模块文档 + 20 个 advisory 文档)
│ │ ├── skills/ # 71 个模块文档(48 个 REST/模块文档 + 23 个 advisory 文档)
│ │ └── references/ # Unity 开发参考文档
│ └── Editor/Skills/ # 核心 Skill 逻辑 (51 个 *Skills.cs, 共 733 Skills)
│ └── Editor/Skills/ # 核心 Skill 逻辑 (52 个 *Skills.cs, 共 771 Skills)
│ ├── SkillsHttpServer.cs # HTTP 服务器核心 (Producer-Consumer)
│ ├── SkillRouter.cs # 请求路由 & 反射发现 Skills
│ ├── WorkflowManager.cs # 持久化工作流 (Task/Session/Snapshot)
Expand All @@ -260,7 +261,7 @@ https://github.com/Besty0728/Unity-Skills.git?path=/SkillsForUnity#v1.6.0
│ ├── CinemachineSkills.cs # Cinemachine 2.x/3.x (34 skills)
│ ├── WorkflowSkills.cs # Workflow 撤销/回滚 (23 skills)
│ ├── PerceptionSkills.cs # 场景理解 (18 skills)
│ └── ... # 733 Skills 源码
│ └── ... # 771 Skills 源码
├── docs/
│ └── SETUP_GUIDE.md # 完整安装使用指南
├── CHANGELOG.md # 版本更新记录
Expand Down
12 changes: 12 additions & 0 deletions SkillsForUnity/Editor/Skills/Localization.cs
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,11 @@ public static string Get(string key)
{"decal_delete", "Delete a Decal Projector GameObject"},
{"decal_set_properties_batch", "Modify multiple Decal Projectors in one request"},
{"decal_ensure_renderer_feature", "Ensure the current URP renderer has a DecalRendererFeature"},
{"primetween_get_status", "Get PrimeTween Free installation status and package version"},
{"primetween_get_config", "Read PrimeTween global runtime configuration"},
{"primetween_list_factories", "List PrimeTween public factory methods"},
{"primetween_generate_tween_script", "Generate a PrimeTween Transform tween MonoBehaviour script"},
{"primetween_generate_sequence_script", "Generate a PrimeTween Sequence MonoBehaviour script"},
{"dotween_get_status", "Get DOTween installation status, Pro availability, settings, and visible modules"},
{"dotween_settings_get", "Read common fields from Resources/DOTweenSettings.asset"},
{"dotween_settings_find", "Find DOTweenSettings assets in the project"},
Expand Down Expand Up @@ -1796,6 +1801,13 @@ public static string Get(string key)
{"decal_set_properties_batch", "批量修改 Decal Projector 属性"},
{"decal_ensure_renderer_feature", "确保当前 URP 渲染器已启用 DecalRendererFeature"},

// PrimeTween Skills
{"primetween_get_status", "获取 PrimeTween Free 安装状态与包版本"},
{"primetween_get_config", "读取 PrimeTween 全局运行时配置"},
{"primetween_list_factories", "列出 PrimeTween 公开工厂方法"},
{"primetween_generate_tween_script", "生成 PrimeTween Transform 补间 MonoBehaviour 脚本"},
{"primetween_generate_sequence_script", "生成 PrimeTween Sequence MonoBehaviour 脚本"},

// DOTween Skills
{"dotween_get_status", "获取 DOTween 安装状态、Pro 可用性、设置与已加载模块"},
{"dotween_settings_get", "读取 Resources/DOTweenSettings.asset 的常用字段"},
Expand Down
Loading