Skip to content

Restructure tile palette skills - #85

Closed
markg-unity wants to merge 2 commits into
mainfrom
tilemap-updates
Closed

markg-unity wants to merge 2 commits into
mainfrom
tilemap-updates

Conversation

@markg-unity

@markg-unity markg-unity commented Sep 24, 2026 •

Copy link
Copy Markdown

Restructure tile palette skills into one routing SKILL.md plus reference files to help with Codex limits and other agent limitations.

@markg-unity markg-unity changed the title Restructure tilemap skills Restructure tile palette skills Sep 24, 2026
@markg-unity
markg-unity marked this pull request as ready for review September 24, 2026 12:02
@markg-unity
markg-unity requested a review from a team as a code owner September 24, 2026 12:02

@csantayanaUnity csantayanaUnity left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also need to wait for PR#75 to land before submitting this one

name: create-tile-palette
description: Create a tile palette from sprites or textures. Make sure to use this skill when the user wants to create tiles for 2D level design, even if they don't explicitly ask about tile palettes or tile assets.
---

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: I noticed that we don't have any required packages on the routing skill, is that ok? Before when flat the skill knew what packages it needed, not this skill does not expose what packages are needed for it's reference skills.

@markg-unity markg-unity Sep 24, 2026 •

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think agents would ignore any required-packages fields in the metadata of these Unity CLI-specific skills, because that's an AI Assistant-specific field? So this PR moves any package requirements into the skill body instead.

Let me know if that's not the case though

# Tilemap Palette Creation

Requires package: `com.unity.2d.tilemap` >=1.0.0

## Workflow

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other references seem to keep most of the description before workflow. Here we don't have any, is that intended and why?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh that's just because the new SKILL.md already has that description, and routes to this reference file. So it would just be unnecessary duplication in this file.

@markg-unity

Copy link
Copy Markdown
Author

@leoyaikUnity @ChuanXin-Unity I've updated the skill name and description from our Slack discussion now


# Tilemap RuleTile Create From Segment

Use when the user wants tiles that auto-tile (autotile) as they paint, wants a RuleTile built from existing terrain or edge sprites, or asks to make sprites "tile correctly" or "connect properly". Also converts sprite-segment-3x3grid output patterns into Unity RuleTile TilingRules: 3x3 grid text patterns (X, ., *) become TilingRule neighbor configurations, mapping '.' to 'This' rules and 'X' to 'DontCare', sorted by specificity (more 'This' rules first). Sprites must be provided as input.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible use something other than "autotile"? I wonder if this would conflict with another Tile asset we have called "AutoTile" (similar to RuleTile).

@markg-unity markg-unity Sep 28, 2026 •

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ChuanXin-Unity - this is a verbatim copy from the original skill (https://github.com/Unity-Technologies/skills/blob/main/skills/tilemap-ruletile-createfromsegment/SKILL.md), it just moved out of the description into the body. In the interests of keeping this PR quick, we can probably leave it as is for now?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, sure!

@ChuanXin-Unity ChuanXin-Unity left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, would be great if the "autotile" term could be replaced if possible.

@elham-saboori

Copy link
Copy Markdown
Contributor

Thanks for this! These skills are now maintained in Unity's own skills repo and published here automatically, so your change has been moved there with your commits kept. Closing it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants