ワンクリックで
astrophotography
Manage astrophotography gallery - add new photos, update metadata, optimize images, and list current photos.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Manage astrophotography gallery - add new photos, update metadata, optimize images, and list current photos.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Edit and regenerate the PDF resume. Use when the user wants to update resume content, add jobs, modify skills, or regenerate the PDF.
Manage high-resolution deep-zoom mosaics - add new mosaics with DZI tiles, update metadata, and list current mosaics. Uses vips for tile generation and OpenSeadragon for viewing.
| name | astrophotography |
| description | Manage astrophotography gallery - add new photos, update metadata, optimize images, and list current photos. |
| argument-hint | [add|list|update|optimize] [photo-name] |
| allowed-tools | Read, Edit, Write, Bash(magick *), Bash(ls *), Bash(cp *), Bash(mkdir *), Bash(./scripts/*) |
| Type | Path |
|---|---|
| Data file | src/data/astrophotography.ts |
| Optimization script | scripts/optimize-astro-images.sh |
| Source photos | ~/Pictures/website/ |
| Thumbnails (400px) | public/images/astrophotography/thumbnails/ |
| Grid images (800px) | public/images/astrophotography/grid/ |
| Full size (1920px) | public/images/astrophotography/full/ |
/astrophotography [action] [args]
Actions:
add <source-file> <id> — Add a new photo from ~/Pictures/websitelist — List all current photos with metadataupdate <id> — Update metadata for a specific photooptimize [id] — Optimize a specific photo or all photosWhen adding a new photo:
Check source file exists in ~/Pictures/website/
Generate optimized versions using ImageMagick:
# Thumbnail (400px max)
magick "~/Pictures/website/SourceFile.jpg" -resize "400x400>" -quality 85 -strip "public/images/astrophotography/thumbnails/photo-id.jpg"
# Grid (800px max)
magick "~/Pictures/website/SourceFile.jpg" -resize "800x800>" -quality 85 -strip "public/images/astrophotography/grid/photo-id.jpg"
# Full (1920px max)
magick "~/Pictures/website/SourceFile.jpg" -resize "1920x1920>" -quality 85 -strip "public/images/astrophotography/full/photo-id.jpg"
Add entry to data file (src/data/astrophotography.ts):
{
id: 'photo-id',
title: 'Display Title',
catalogId: 'NGC/M/IC number',
description: 'Brief description of the object.',
thumbnail: `${BASE_PATH}/thumbnails/photo-id.jpg`,
grid: `${BASE_PATH}/grid/photo-id.jpg`,
fullSize: `${BASE_PATH}/full/photo-id.jpg`,
featured: true, // Show in homepage carousel?
},
interface AstroPhoto {
id: string; // kebab-case identifier
title: string; // Display name (e.g., "Crescent Nebula")
catalogId: string; // Catalog designation (e.g., "NGC 6888", "M31")
description: string; // Brief description
thumbnail: string; // 400px version path
grid: string; // 800px version path
fullSize: string; // 1920px version path
featured: boolean; // Include in homepage carousel
}
Read src/data/astrophotography.ts to see the current photo list.
| Prefix | Catalog | Example |
|---|---|---|
| M | Messier | M31 (Andromeda) |
| NGC | New General Catalogue | NGC 6888 |
| IC | Index Catalogue | IC 63 |
| Sh2 | Sharpless | Sh2-106 |
| LDN | Lynds Dark Nebula | LDN 673 |
/astrophotography add "Horsehead.jpg" horsehead-nebula
Then provide: title, catalog ID, description, featured (y/n)
/astrophotography list
/astrophotography update horsehead-nebula
/astrophotography optimize