refactor: move nested skills to root + add ui-ux-pro-max + ConsentOS
- Extract 9 nested skills from website-creator/ to root skills/ - Remove duplicate seo-analyzers, seo-geo, seo-multi-channel from website-creator - Add new ui-ux-pro-max skill with full UI/UX data - Update install-skills.sh to sync properly - Remove .DS_Store artifacts Moved skills: - api-and-interface-design - banner-design - brand - design-system - design - frontend-ui-engineering - slides - spec-driven-development - ui-styling
This commit is contained in:
@@ -9,7 +9,7 @@ set -e
|
|||||||
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||||
SKILLS_DIR="${REPO_ROOT}/skills"
|
SKILLS_DIR="${REPO_ROOT}/skills"
|
||||||
GLOBAL_DIR="${HOME}/.config/opencode"
|
GLOBAL_DIR="${HOME}/.config/opencode"
|
||||||
GLOBAL_SKILLS_DIR="${GLOBAL_DIR}/skills"
|
GLOBAL_SKILLS_DIR="${HOME}/.opencode/skills"
|
||||||
UNIFIED_ENV="${GLOBAL_DIR}/.env"
|
UNIFIED_ENV="${GLOBAL_DIR}/.env"
|
||||||
REPO_UNIFIED_ENV="${REPO_ROOT}/.env"
|
REPO_UNIFIED_ENV="${REPO_ROOT}/.env"
|
||||||
|
|
||||||
@@ -285,7 +285,18 @@ main() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
|
# Also sync to ~/.config/opencode/skills/ for backward compatibility
|
||||||
|
if [ "$TARGET" != "${GLOBAL_DIR}/skills" ]; then
|
||||||
|
print_info "Syncing to ~/.config/opencode/skills/ for compatibility..."
|
||||||
|
mkdir -p "${GLOBAL_DIR}/skills"
|
||||||
|
for skill in $SKILLS; do
|
||||||
|
cp -r "${TARGET}/${skill}" "${GLOBAL_DIR}/skills/" 2>/dev/null || true
|
||||||
|
done
|
||||||
|
print_success "Synced to ~/.config/opencode/skills/"
|
||||||
|
fi
|
||||||
|
echo ""
|
||||||
|
|
||||||
# Install deps
|
# Install deps
|
||||||
print_info "Installing dependencies..."
|
print_info "Installing dependencies..."
|
||||||
|
|
||||||
|
|||||||
BIN
skills/.DS_Store
vendored
BIN
skills/.DS_Store
vendored
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user