mirror of
https://github.com/Leonxlnx/taste-skill.git
synced 2026-09-19 00:50:24 +08:00
56f8305988
Moves the original SKILL.md (install name design-taste-frontend) to skills/taste-skill-v1/ with renamed install ID design-taste-frontend-v1. Replaces skills/taste-skill/SKILL.md with the v1.5 rewrite, keeping the install ID design-taste-frontend so the default npx install command stays unchanged for existing users (now picks up v1.5 automatically). v1.5 highlights: - New Section 0 Brief Inference, Section 2 Design-System Map, Section 8 Dark Mode Protocol, Section 11 Redesign Protocol, Section 12 Block Library schema, Section 13 Out-of-Scope, Section 14 hard Pre-Flight Check - New Section 9.G complete em-dash ban - New canonical GSAP code skeletons (sticky-stack, horizontal-pan, scroll-reveal) - Hardened production-tested bans: section-number eyebrows, version labels, photo-credit captions, decoration hero strips, pills on images, locale strips, scroll cues, decorative dots, divider overuse - Color/Shape/Theme consistency locks, hero discipline, bento cell-count rule, italic descender clearance - Tailwind v4 default, Motion (rebrand of Framer Motion) recommended Backward compat: - npx skills add ... --skill 'design-taste-frontend' now installs v1.5 (recommended) - npx skills add ... --skill 'design-taste-frontend-v1' installs the original v1 (escape hatch) Updated: README skills table, skill.sh registry, skills/llms.txt, new CHANGELOG.md Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
897 B
Bash
26 lines
897 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Local skill registry
|
|
declare -A SKILLS=(
|
|
[taste-skill]="skills/taste-skill/SKILL.md"
|
|
[taste-skill-v1]="skills/taste-skill-v1/SKILL.md"
|
|
[gpt-taste]="skills/gpt-tasteskill/SKILL.md"
|
|
[image-to-code-skill]="skills/image-to-code-skill/SKILL.md"
|
|
[imagegen-frontend-web]="skills/imagegen-frontend-web/SKILL.md"
|
|
[imagegen-frontend-mobile]="skills/imagegen-frontend-mobile/SKILL.md"
|
|
[brandkit]="skills/brandkit/SKILL.md"
|
|
[redesign-skill]="skills/redesign-skill/SKILL.md"
|
|
[soft-skill]="skills/soft-skill/SKILL.md"
|
|
[output-skill]="skills/output-skill/SKILL.md"
|
|
[minimalist-skill]="skills/minimalist-skill/SKILL.md"
|
|
[brutalist-skill]="skills/brutalist-skill/SKILL.md"
|
|
[stitch-skill]="skills/stitch-skill/SKILL.md"
|
|
)
|
|
|
|
if [[ $# -eq 0 ]]; then
|
|
echo "Usage: source ./skill.sh <skill-name>"
|
|
echo "Available skills: ${!SKILLS[@]}"
|
|
else
|
|
echo "${SKILLS[$1]}"
|
|
fi
|