Skip to content

improve build skill description for AI agent discoverability#2101

Draft
oraluben wants to merge 1 commit intotile-ai:mainfrom
oraluben:fix-build-skill-description
Draft

improve build skill description for AI agent discoverability#2101
oraluben wants to merge 1 commit intotile-ai:mainfrom
oraluben:fix-build-skill-description

Conversation

@oraluben
Copy link
Copy Markdown
Collaborator

@oraluben oraluben commented Apr 25, 2026

Summary

Make the build skill description directive so AI agents always load it before build operations.

Before: Repository-specific build, rebuild, install, and test instructions for tilelang. Use when working in the tilelang repository and the correct commands are needed...

After: MUST load before any build, install, cmake, pip, or test operation in tilelang. Defines canonical build methods (pip install, cmake dev, editable-install ban) and test commands. ALWAYS re-read after rebase, merge, or dependency changes.

Why

AI agents see skill descriptions as one-line summaries in a long list. The passive phrasing ("Use when...commands are needed") reads as optional documentation — agents skip it when they already have cached knowledge of cmake commands from prior context. This causes them to miss project-specific constraints (e.g., the editable-install ban, or the need to re-configure after rebase).

The directive phrasing ("MUST load before...") and explicit triggers ("after rebase, merge, or dependency changes") ensure agents treat the skill as mandatory rather than informational.

Summary by CodeRabbit

Documentation

  • Updated skill documentation to clarify build process requirements and loading order constraints.

The previous description was passive ('Use when working in the tilelang
repository and the correct commands are needed...'), which AI agents
interpret as optional background info and skip it when they already
know cmake commands from prior context.

The new description uses MUST/ALWAYS trigger words so agents load the
skill before any build operation, especially after rebase or dependency
changes where cached build knowledge may be stale.
@github-actions
Copy link
Copy Markdown

👋 Hi! Thank you for contributing to the TileLang project.

Please remember to run pre-commit run --all-files in the root directory of the project to ensure your changes are properly linted and formatted. This will help ensure your contribution passes the format check.

We appreciate you taking this step! Our team will review your contribution, and we look forward to your awesome work! 🚀

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 25, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 530f401c-63ba-4e0f-8b9f-dedf69f70164

📥 Commits

Reviewing files that changed from the base of the PR and between 8f4a08f and f997fc3.

📒 Files selected for processing (1)
  • .agents/skills/tilelang-build/SKILL.md

📝 Walkthrough

Walkthrough

The SKILL.md metadata for the tilelang-build skill was updated to rename the skill from tilelang-build to build and revise the description to establish loading order requirements and define canonical build methods while discouraging editable installs.

Changes

Cohort / File(s) Summary
Skill Metadata
.agents/skills/tilelang-build/SKILL.md
Updated front-matter name from tilelang-build to build and revised description to specify loading order precedence and canonical build method guidelines.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested reviewers

  • LeiWang1999

Poem

🐰 A skill renamed from long to short,
The build path now clearly sorted,
Load me first, that's the rule,
No editable tricks—canonical's cool! 🔨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title directly describes the main change—improving the build skill description specifically for AI agent discoverability, which aligns with the PR's core objective of making the skill mandatory through directive phrasing.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@oraluben
Copy link
Copy Markdown
Collaborator Author

Related: #1869 ([Metal] Add Metal GEMM support with cooperative_tensor MMA — the main Metal backend PR). This PR (#2101) is independent and can merge separately.

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.

1 participant