Agent skill
new-promoted
Creates a new promoted card in src/content/promoted/ with valid frontmatter and ordering. Use when adding a featured item, call-to-action, or highlighted content to the homepage.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/new-promoted
SKILL.md
Create a new promoted/featured card in the src/content/promoted/ directory.
Steps
- Take the title from the user's argument. If not provided, ask for one.
- Generate a kebab-case filename from the title.
- Read existing promoted items in
src/content/promoted/to determine the nextordernumber (highest existing order + 1, or 1 if none exist). - Ask the user for:
- Description — keep under 120 characters
- Link URL — destination when the card is clicked
- Link text — CTA button text (e.g., "Learn more", "View project")
- Image URL — card image
- Create
src/content/promoted/<slug>.md:
---
title: "<title>"
description: "<description>"
image: "<image URL>"
link: "<link URL>"
linkText: "<link text>"
order: <next order number>
publishedAt: <today's date YYYY-MM-DD>
---
- Tell the user:
- The file was created at
src/content/promoted/<slug>.md - The
orderfield controls display order on the homepage (lower = first) - Keep title under 60 characters and description under 120 characters
- All fields are required for promoted cards
- 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?