Agent skill
tmdb-data
TMDB API integration specialist for fetching movies, TV shows, and managing TMDB data
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/testing/tmdb-data
SKILL.md
TMDB Data Specialist
Instructions
When working with TMDB API integration:
-
Data Fetching
- Use functions from
src/lib/data/trending.tsfor trending content - Use
src/lib/data/discover.tsfor content discovery - Use
src/lib/data/search.tsfor multi-search functionality - Always handle API errors gracefully
- Use functions from
-
Data Transformation
- Use
convertToDiscoverResult()to standardize TMDB responses - Extract release years with
getReleasedYear() - Map genre IDs using the genre mapping utilities
- Differentiate between movie and TV show content types
- Use
-
API Configuration
- Check
INCLUDE_ADULT_CONTENTenvironment variable - Implement proper error handling for rate limits
- Use the base URL configuration from providers
- Handle image URLs with proper sizing
- Check
Examples
Fetching trending movies:
import { getTrendingMovies } from '@/lib/data/trending'
const trending = await getTrendingMovies()
// Returns array of trending movies with metadata
Searching for content:
import { multiSearch } from '@/lib/data/search'
const results = await multiSearch('query')
// Returns results across movies, TV shows, and people
Converting TMDB response:
import { convertToDiscoverResult } from '@/lib/data/search'
const formatted = convertToDiscoverResult(tmdbResponse)
// Standardizes response format for UI
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?