Improve ui-framework skill with project conventions

Add project-specific UI checklist, component organization,
LiveView structure, toast patterns, and routing conventions
above the usage-rules managed section. Widen trigger description.
This commit is contained in:
Claudio Ortolina
2026-04-09 16:24:35 +01:00
parent 3e80de32b3
commit f92a41241f
2 changed files with 67 additions and 2 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ defmodule MusicLibrary.MixProject do
build: [
"ui-framework": [
description:
"Use this skill when working with LiveViews, UI components using the Phoenix framework, and in general ANY FILE THAT CONTAINS HTML",
"Use this skill when working with LiveViews, UI components using the Phoenix framework, and in general ANY FILE THAT CONTAINS HTML. Use proactively when editing .heex files, LiveView modules, LiveComponents, or any component module under lib/music_library_web/components/.",
usage_rules: [
:phoenix,
~r/^phoenix_/,