lov-maintain-partners

Featured

Maintain the Skill Publisher website's partners section AND align partner logo rows on event posters / hero strips: reuse lov-find-logo for brand logo discovery, normalize collected logos to a 240px-tall content canvas (retina-ready), rasterize SVGs via rsvg-convert before normalizing (so SVG viewBox padding gets cropped), strip embedded background rects from icon-style SVGs, composite icon + wordmark when only an icon is available (using brand fonts), wrap logos in a fixed-size grid box (96×30 with subtle border) for stable matrix layouts, replace existing logos with user-provided files, append new partners to the PARTNERS array with i18n taglines across zh-CN/en/ja/th, and audit the section for dead URLs / missing files / missing translations. Also handles cross-asset visual height parity (multi-logo strips on dark backgrounds, "logo 不等高", unified-color filter recipe). Trigger when the user mentions "合作伙伴", "partners", "trusted by", "新增 logo", "标准化 logo", "替换 logo", "审计合作伙伴", "维护合作伙伴", "logo 不一样高", "logo 对齐

Data & Documents 64 stars 16 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
60
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# maintain-partners — Skill Publisher 合作伙伴板块维护 Maintains the configured website repo. Resolve the path from `--repo`, `SKILL_MAINTAIN_PARTNERS_SITE_ROOT`, or the shared user profile. The partners strip usually lives in `app/(main)/(home)/PartnersGrid.tsx` as a `PARTNERS: Partner[]` array; older sites may still keep it in `app/(main)/(home)/WorkshopDispatch.tsx`. Logos live in `public/partners/<slug>/logo.png`; taglines in `src/i18n/messages/{zh-CN,en,ja,th}.json` under `dispatch.partner*Tagline`. ## User Configuration Before touching files, resolve: ```bash SKILL_ROOT="${SKILL_SKILLS_INSTALL_DIR:?Set SKILL_SKILLS_INSTALL_DIR}" SKILL_DIR="${SKILL_DIR:-$SKILL_ROOT/lov-maintain-partners}" WEB_ROOT="${SKILL_MAINTAIN_PARTNERS_SITE_ROOT:?Set this or pass --repo}" PARTNERS_TSX="${SKILL_MAINTAIN_PARTNERS_FILE:-app/(main)/(home)/PartnersGrid.tsx}" ``` Use this precedence for the website root: 1. Explicit `--repo <path>` on `add_partner.py` / `audit_partners.py`. 2. `SKILL_MAINTAIN_PARTNERS_SITE_ROOT`. 3. Shared profile JSON at `${SKILL_PROFILE_PATH:-$HOME/.skill-publisher/skills/profile.json}`. `SKILL_WEB_ROOT` and `PARTNERS_SITE_ROOT` are accepted as legacy aliases, but should not be the public contract for reusable skills. Use this precedence for the partners TSX file: 1. Explicit `--partners-file <path>`. 2. `SKILL_MAINTAIN_PARTNERS_FILE`. 3. Shared profile keys `sites.partners_file`, `skill-publisher.partners_file`, `partners.file`, or `workspace.partners_file`. 4. ...

Details

Author
lovstudio
Repository
lovstudio/skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category