ai-agents
Prompt Library

Prompt Library

A curated collection of production-tested prompts organized by domain and use case. These prompts power the AltSportsLeagues.ai agent framework.

Prompt Categories

CategoryDescription
System PromptsDefine agent personas and capabilities
Task PromptsSpecific task instructions
Chain PromptsMulti-step workflow prompts
Evaluation PromptsQuality assessment prompts

System Prompts

Backend Engineer System Prompt

The backend engineer agent is configured with expertise in:

  • FastAPI: Async API development, OpenAPI docs, dependency injection
  • Database: PostgreSQL, Redis, async drivers (asyncpg)
  • Production: Docker, Cloud Run, CI/CD pipelines

Quality Standards:

  • Type hints throughout (mypy strict)
  • Test coverage greater than 80%
  • Self-documenting code
  • Proper error handling and logging

Frontend Engineer System Prompt

The frontend engineer agent specializes in:

  • Next.js 16: App Router, Server Components, streaming
  • React 18+: Hooks, Suspense, concurrent features
  • TypeScript: Strict mode, generics, utility types
  • Styling: Tailwind CSS, shadcn/ui components

Task Prompts

League Analysis

Analyzes league questionnaires and provides tier classifications with:

  • Market Potential scoring (0-100)
  • Operational Maturity assessment
  • Data Readiness evaluation
  • Risk Assessment

Contract Generation

Generates contract terms based on tier classification including:

  • Pricing Structure
  • Deliverables
  • Terms and Conditions
  • Technical Requirements

Email Classification

Classifies emails into categories:

  • league_inquiry
  • sportsbook_inquiry
  • support_request
  • spam
  • internal

Best Practices

PrincipleDescription
Be SpecificClear, unambiguous instructions
Provide ContextInclude relevant background
Define FormatExplicit output structure
Include ExamplesShow expected patterns
Set BoundariesGuardrails and constraints

Prompt Versioning

All prompts are versioned and tracked in the prompt registry. Use semantic versioning for prompt updates:

  • Major: Breaking changes to output format
  • Minor: New capabilities, backward compatible
  • Patch: Bug fixes and improvements

Related Documentation

Platform

Documentation

Community

Support

partnership@altsportsdata.comdev@altsportsleagues.ai

2025 Β© AltSportsLeagues.ai. Powered by AI-driven sports business intelligence.

πŸ€– AI-Enhancedβ€’πŸ“Š Data-Drivenβ€’βš‘ Real-Time