Agent skill
new-gallery
Creates a new gallery item in src/content/gallery/ with valid frontmatter and image reference. Use when adding a photo, artwork, or visual item to the gallery collection.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/new-gallery
SKILL.md
Create a new gallery item in the src/content/gallery/ directory.
Steps
- Take the title from the user's argument. If no title is provided, ask for one.
- Generate a kebab-case filename from the title.
- Ask the user for:
- Category (e.g., "Photography", "Design", "Illustration")
- Image URL — or note that they need to provide one
- Create
src/content/gallery/<slug>.mdwith this frontmatter:
---
title: "<title>"
description: "<ask user or generate a short description>"
image: "<image URL>"
category: "<category>"
publishedAt: <today's date YYYY-MM-DD>
tags: []
---
Write a description of this gallery item here. This text appears on the detail page.
- Tell the user:
- The file was created at
src/content/gallery/<slug>.md - The
imagefield is required — they must set a valid image URL - Image transforms (
/cdn-cgi/image/) only work on Cloudflare-served domains - Tags can be added for filtering:
tags: ["landscape", "nature"]
- The file was created at
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?