Skip to content
Draft
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
11 changes: 9 additions & 2 deletions skill.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env bash

# Local skill registry
AVAILABLE_SKILLS="taste-skill gpt-taste image-to-code-skill imagegen-frontend-web imagegen-frontend-mobile brandkit redesign-skill soft-skill output-skill minimalist-skill brutalist-skill stitch-skill"

declare -A SKILLS=(
[taste-skill]="skills/taste-skill/SKILL.md"
[gpt-taste]="skills/gpt-tasteskill/SKILL.md"
Expand All @@ -17,8 +19,13 @@ declare -A SKILLS=(
)

if [[ $# -eq 0 ]]; then
echo "Usage: source ./skill.sh <skill-name>"
echo "Available skills: ${!SKILLS[@]}"
echo "Usage: source ./skill.sh <skill-name>" >&2
echo "Available skills: $AVAILABLE_SKILLS" >&2
return 2 2>/dev/null || exit 2
elif [[ -z "${SKILLS[$1]}" ]]; then
echo "Unknown skill: $1" >&2
echo "Available skills: $AVAILABLE_SKILLS" >&2
return 1 2>/dev/null || exit 1
else
echo "${SKILLS[$1]}"
fi
2 changes: 1 addition & 1 deletion skills/taste-skill/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ LLMs have statistical biases toward specific UI cliché patterns. Proactively co
* **COLOR CONSISTENCY:** Stick to one palette for the entire output. Do not fluctuate between warm and cool grays within the same project.

**Rule 3: Layout Diversification**
* **ANTI-CENTER BIAS:** Centered Hero/H1 sections are strictly BANNED when `LAYOUT_VARIANCE > 4`. Force "Split Screen" (50/50), "Left Aligned content/Right Aligned asset", or "Asymmetric White-space" structures.
* **ANTI-CENTER BIAS:** Centered Hero/H1 sections are strictly BANNED when `DESIGN_VARIANCE > 4`. Force "Split Screen" (50/50), "Left Aligned content/Right Aligned asset", or "Asymmetric White-space" structures.

**Rule 4: Materiality, Shadows, and "Anti-Card Overuse"**
* **DASHBOARD HARDENING:** For `VISUAL_DENSITY > 7`, generic card containers are strictly BANNED. Use logic-grouping via `border-t`, `divide-y`, or purely negative space. Data metrics should breathe without being boxed in unless elevation (z-index) is functionally required.
Expand Down