본문으로 건너뛰기
cccskills
무료GitHub에 공개

change-sponsor-logo

Use when a sponsor has rebranded or sent an updated logo and it must change on current and future events without altering how they appeared at past devopsdays events.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Change a sponsor's logo

Sponsor logos and data are shared globally, so overwriting assets/sponsors/<c>/<id>.png would retroactively change every event that sponsor has ever supported. This project deliberately does not rewrite history — a 2018 event should still show the 2018 logo.

The fix is to keep the old logo under a date-stamped id, repoint past events at it, and give the new logo the original id so current and future events pick it up with no action from their organizers.

When you do not need any of this

If this event is the only one that has ever listed the sponsor, just replace the image and open a normal PR. Check first:

grep -rl "id: <sponsor-id>" data/events/ | sort

One result → simple replacement. More than one → continue.

Run the script

This is the one utility script worth calling directly: it takes arguments, has no interactive loop, and validates its inputs.

./utilities/change_sponsor_logo.sh <sponsor-id> /full/path/to/new-logo.png

Use the exact existing id as it appears in data/sponsors/, not the display name. The path to the new image must be absolute.

It will:

  1. Copy the current logo to assets/sponsors/<c>/<id>-before-<YYYYMMDD>.png
  2. Copy it again to static/img/sponsors/<id>-before-<YYYYMMDD>.png (the legacy tree — this filename pattern is the one exemption to the CI block on that directory)
  3. Copy the current data/sponsors/<id>.yml to <id>-before-<YYYYMMDD>.yml
  4. Overwrite assets/sponsors/<c>/<id>.png with the new image
  5. Rewrite past events' id: <sponsor-id> to id: <sponsor-id>-before-<YYYYMMDD>

Check what it actually did — this part matters

The script's idea of "past" is a path prefix match on the current calendar year, so it does not exclude future years. An event in a later year gets wrongly rewritten to the old logo.

git diff --stat
git diff -- data/events/ | grep '^[-+].*id:'

Then revert any event whose year is the current year or later:

git checkout -- data/events/2027/

Also check nothing was missed. The script enumerates through git ls-tree HEAD, so an event whose data file is not yet committed is invisible to it:

git status --short data/events/

Finish the sponsor data

Update data/sponsors/<id>.yml with anything else that changed — a new name after a rebrand, a new URL. The -before- copy keeps the old values for the old events.

Confirm the new logo meets the requirements: at least 200px wide (600px preferred), white or transparent background, and it really is a PNG.

Verify

  • A past event's sponsor page still shows the old logo
  • A current or upcoming event shows the new one
  • data/sponsors/<id>-before-<date>.yml exists and has the old values
  • Nothing under static/img/sponsors/ changed except the -before-<date> file, or CI blocks the PR
  • Preview two events — one old, one current — side by side

Submit

Follow .claude/skills/submit-changes/SKILL.md.

PR title: [SITE] Update <Sponsor> logo, since this is not scoped to one event.

Mention in the PR body which events were repointed to the -before- id, so a reviewer can sanity check the year boundary.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when adding, removing, or updating a local organizer on a devopsdays event team - covers the team_members entry, the photo, and the mandatory email to info@devopsdays.org that gates the merge.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

devopsdays/devopsdays-web1932026년 10월 16일 업데이트

Use when a devopsdays event has confirmed a speaker and their talk, workshop, ignite, or keynote needs to appear on the event site - covers the speaker bio page, the talk page, the headshot, and multi-speaker talks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

devopsdays/devopsdays-web1932026년 10월 16일 업데이트

Use when a devopsdays event has sold or confirmed a sponsorship and the sponsor needs to appear on the event's site - covers both sponsors already in the shared directory and brand-new ones needing a logo and data file.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

devopsdays/devopsdays-web1932026년 10월 16일 업데이트

Use when a devopsdays event has finished and the slides or video recordings need to be attached to the talk pages, or when a speaker sends a link to their deck afterwards.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

devopsdays/devopsdays-web1932026년 10월 16일 업데이트

Use when building or editing a devopsdays event's schedule - adding talks, ignites, open spaces, breaks, and evening events to the program, or moving time slots around.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

devopsdays/devopsdays-web1932026년 10월 16일 업데이트

Use when a devopsdays event that is already listed on the site has to be cancelled or postponed, and its pages need to stop advertising dates, registration, and sponsorship.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

devopsdays/devopsdays-web1932026년 10월 16일 업데이트

devopsdays의 스킬 모두 보기

이 스킬의 문제 신고