Skip to content

Commit 82bf457

Browse files
committed
ai: update skills
1 parent 7f3d285 commit 82bf457

2 files changed

Lines changed: 6 additions & 12 deletions

File tree

.claude/skills/default-next-meetup/SKILL.md

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,17 @@ Restore the homepage **Next Meetup** section (`app-meetup`) to the generic defau
1111

1212
- `src/app/components/meetup/meetup.component.html`
1313
- `public/i18n/it.json` and `public/i18n/en.json` (the `nextMeetup` object)
14-
- `public/images/homepage/NextMeetup.jpg`
15-
- Bundled default image: `assets/NextMeetup.default.jpg` (1440x1440)
14+
- `public/images/homepage/DefaultNextMeetup.jpg` — the committed generic default image (1440x1440). The default state points the `<img>` at this file directly; it is never overwritten. (Event-specific images go to `NextMeetup.jpg` instead, written by the `set-next-meetup` skill.)
1615

1716
## Steps
1817

19-
1. **Restore the image.** Copy the bundled default over the live one:
20-
```bash
21-
cp .claude/skills/default-next-meetup/assets/NextMeetup.default.jpg public/images/homepage/NextMeetup.jpg
22-
```
23-
24-
2. **Reset the HTML.** Make `src/app/components/meetup/meetup.component.html` exactly:
18+
1. **Reset the HTML.** Make `src/app/components/meetup/meetup.component.html` exactly:
2519
```html
2620
<section id="next-meetup" class="bg-(--surface) px-4">
2721
<div class="mx-auto flex max-w-5xl flex-col items-center gap-10 md:flex-row-reverse">
2822
<div class="w-full md:w-1/2">
2923
<img
30-
ngSrc="/images/homepage/NextMeetup.jpg"
24+
ngSrc="/images/homepage/DefaultNextMeetup.jpg"
3125
alt="Next Meetup"
3226
width="1440"
3327
height="1440"
@@ -54,9 +48,9 @@ Restore the homepage **Next Meetup** section (`app-meetup`) to the generic defau
5448
</div>
5549
</section>
5650
```
57-
Key differences from the event-specific state: `alt="Next Meetup"`, image `width/height` `1440`, no `nextMeetup.date` paragraph, generic `href="https://www.meetup.com/python-catania/"`, and the button uses `inline-flex` (not centered).
51+
Key differences from the event-specific state: `ngSrc` points at `DefaultNextMeetup.jpg` (not `NextMeetup.jpg`), `alt="Next Meetup"`, image `width/height` `1440`, no `nextMeetup.date` paragraph, generic `href="https://www.meetup.com/python-catania/"`, and the button uses `inline-flex` (not centered).
5852

59-
3. **Remove the date translation key.** Delete the `"date": ...` line from the `nextMeetup` object in both `public/i18n/it.json` and `public/i18n/en.json`. The resulting object is:
53+
2. **Remove the date translation key.** Delete the `"date": ...` line from the `nextMeetup` object in both `public/i18n/it.json` and `public/i18n/en.json`. The resulting object is:
6054
```json
6155
"nextMeetup": {
6256
"title": "...",
@@ -66,7 +60,7 @@ Restore the homepage **Next Meetup** section (`app-meetup`) to the generic defau
6660
```
6761
Leave `title`, `description`, `join` untouched.
6862

69-
4. **Verify** the build still compiles:
63+
3. **Verify** the build still compiles:
7064
```bash
7165
npm run build
7266
```

.claude/skills/default-next-meetup/assets/NextMeetup.default.jpg renamed to public/images/homepage/DefaultNextMeetup.jpg

File renamed without changes.

0 commit comments

Comments
 (0)