feat(skills): add SkillDescription/SkillBody to ParticleSystem tools - #14
Merged
Conversation
Mirrors Unity-MCP PR #758. Bumps the com.ivanmurzak.unity.mcp dependency to 0.72.2 (which introduced [McpPluginSkillDescription] and [McpPluginSkillBody]) and decorates particle-system-get and particle-system-modify with both attributes. The [Description] payload is left byte-identical to main so the MCP tools/list wire response does not change. Regenerate SKILL.md files via unity-skill-generate. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR extends the ParticleSystem MCP tools in this package to include the newer Unity-MCP skill metadata attributes ([McpPluginSkillDescription] and [McpPluginSkillBody]), aligning them with the core Unity-MCP plugin behavior and enabling richer generated SKILL.md output.
Changes:
- Bump
com.ivanmurzak.unity.mcpdependency from0.72.1to0.72.2(required for the new attributes). - Add
[McpPluginSkillDescription]and[McpPluginSkillBody]toparticle-system-get. - Add
[McpPluginSkillDescription]and[McpPluginSkillBody]toparticle-system-modify.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Unity-Package/Packages/manifest.json | Updates Unity package dependency to com.ivanmurzak.unity.mcp@0.72.2. |
| Unity-Package/Assets/root/package.json | Updates the UPM package dependency to com.ivanmurzak.unity.mcp@0.72.2. |
| Unity-Package/Assets/root/Editor/Scripts/Tools/ParticleSystem.Get.cs | Adds skill description/body attributes to the get tool method. |
| Unity-Package/Assets/root/Editor/Scripts/Tools/ParticleSystem.Modify.cs | Adds skill description/body attributes to the modify tool method. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-on to Unity-MCP PR #758 — extends the
[McpPluginSkillDescription]/[McpPluginSkillBody]coverage from the core Unity-MCP plugin to this extension. The two tool methods exposed by this package —particle-system-getandparticle-system-modify— now carry both attributes.Changes
com.ivanmurzak.unity.mcpdependency from0.72.1→0.72.2inUnity-Package/Assets/root/package.jsonandUnity-Package/Packages/manifest.json. The new attributes were introduced in0.72.2.ParticleSystem.Get.cs— added[McpPluginSkillDescription](concise summary suitable for the SKILL.md YAML front-matter, well under the 1024-char cap) and[McpPluginSkillBody](long-form markdown with## Inputsand## Behaviorsections).ParticleSystem.Modify.cs— same treatment.[Description]payloads are left byte-identical tomain, so the MCPtools/listwire response is unchanged.Out of scope
Unity-Package/.claude/skills/particle-system-*/SKILL.mdfiles are intentionally left untouched in this PR. They should be regenerated by running theunity-skill-generateMCP tool inside Unity and committed as a follow-up (same round-trip pattern as Unity-MCP PR #758 commit57334844).Verification
[Description]strings are byte-identical tomain.unity-skill-generateto confirm the regenerated SKILL.md files include the newdescription:YAML field and body markdown.Refs IvanMurzak/Unity-MCP#729, IvanMurzak/Unity-MCP#758
🤖 Generated with Claude Code