Skip to content
Spraxium

Primary navigation

Skills for coding agents

Give your agent the Spraxium docs and examples for the feature it’s working on. Start with the general skill, then add the instructions for a specific task.

Save skills in .agents/skills/<skill>/SKILL.md

Index for agents

Project basics

  • Work with Spraxium

    Start, understand, or change a Spraxium Discord bot. Use this skill to select the right example, find specialized skills, and verify work against the installed version.

    Download
  • Organize a bot by feature

    Structure Spraxium modules, providers, and lifecycle hooks. Use when adding a feature, moving a service, or fixing dependency injection.

    Download
  • Spraxium CLI

    Scaffold a Spraxium project, generate feature files, and use dev, build and version-switch commands for the right release.

    Download

Discord and interactions

  • Slash commands

    Define slash commands, options, subcommands, autocomplete and guarded handlers. Use for Discord chat-input commands and interaction replies.

    Download
  • Prefix commands

    Configure message prefixes, arguments, aliases and subcommands, and verify Discord intents. Use for commands such as !help or !roll.

    Download
  • Discord modals

    Open and handle Discord modals with typed fields, validation, cached values and dynamic context. Use for forms and modal submit handling.

    Download
  • Discord embeds

    Build readable Discord embeds from typed schemas and service data. Use for conditional fields, dynamic formatting and pagination.

    Download
  • Components V2

    Build Discord Components V2 containers, text and actions with Spraxium. Use when changing a V2 layout or a reply carrying the V2 flag.

    Download
  • Buttons, selects, and component context

    Register button and select handlers, build rows, and carry component context between Discord interactions.

    Download
  • Guards and access checks

    Apply built-in or custom guards to Spraxium handlers. Use for roles, permissions, guild-only checks, and guard options.

    Download
  • Exceptions and error replies

    Define domain errors and user-visible Discord replies through Spraxium's exception pipeline, layouts, and logging.

    Download
  • Discord event listeners

    Subscribe to Discord events with Spraxium listeners. Use for ready, guild/member events, or delegating event work to a provider.

    Download

Setup and operations

  • First-party plugins

    Install and configure first-party Spraxium plugins. Use when wiring package factories and modules for components, translations, scheduling, signals, webhooks, or RPC.

    Download
  • Scheduled jobs

    Run startup, delayed and recurring jobs with the Spraxium schedule package. Use for cron, intervals, persistence, or shard-safe scheduling.

    Download
  • Logging and transports

    Use @spraxium/logger to record bot events and configure levels, masking, console output, and extra transports.

    Download
  • Presence and activities

    Configure startup presence and rotate activities on a running Discord bot. Use for status, placeholders, and shard overrides.

    Download
  • Translations and locale preferences

    Translate commands and messages with @spraxium/i18n. Use for locale files, interpolation, plural rules, component labels, and preference storage.

    Download
  • Connect a backend to the bot

    Add a typed Spraxium RPC operation and call it from a backend. Use for new bot-to-backend integrations, gateway settings and handler troubleshooting.

    Download
  • Migrate from HTTP to RPC

    Move a legacy @spraxium/http route to your web framework and call the bot through Spraxium RPC. The migration skill is maintained in the RPC repository.

    Download