Prospero Types Knowledge Base
Overview
This skill provides detailed information and definitions for types and concepts used across the Prospero project. It leverages the local src directory as its primary source of truth, offering clear explanations of data structures and their relationships.
How to Use This Skill
When asked about a Prospero-specific term, type, or data structure, you should:
- Identify the relevant type name or concept.
- Search the
src/directory for files containing the definition of this type. You can use thesearch_file_contenttool with a pattern likeexport (type|interface) <TypeName>. - Read the content of the identified file(s) using the
read_filetool. - Extract the type definition: Analyze the TypeScript syntax to understand the properties, their types, and any associated comments.
- Provide a clear, concise explanation of the type, including its purpose, key properties, and any relationships to other types. If the type is complex, break down its components.
- For complex types or inter-dependencies: If a type references other types (e.g.,
AssignmentreferencingMediaImage), recursively investigate those types as well to provide a complete understanding. - For a high-level understanding of Prospero components and their relationships, refer to
prospero-overview.mdif available, or ask the user for more context.
References
This skill is powered by the following type definitions:
prospero-types (local src directory)
The type definitions from the local project's src directory. These files contain the authoritative definitions for various entities and data structures within the Prospero ecosystem.
You can browse the raw type definitions in these files for detailed information:
src/assignments.tssrc/basket.tssrc/bundles.tssrc/common.tssrc/dashboard.tssrc/discord.tssrc/email.tssrc/groups.tssrc/index.tssrc/library.tssrc/media.tssrc/permissions.tssrc/producers.tssrc/sessions.tssrc/smartscripts.tssrc/stripe.tssrc/subscriptions.tssrc/users.tssrc/functions/api.tssrc/functions/assignments.tssrc/functions/discord.tssrc/functions/groups.tssrc/functions/index.tssrc/functions/media.tssrc/functions/producers.tssrc/functions/sessions.tssrc/functions/smartscripts.tssrc/functions/stripe.tssrc/functions/subscriptions.tssrc/functions/tokens.tssrc/functions/transfers.tssrc/functions/users.tssrc/genres/index.tssrc/genres/lighting.tssrc/genres/mPaper.tssrc/genres/pose.tssrc/genres/questionnaire.tssrc/genres/scriptWriter.tssrc/genres/wordPairs.tssrc/render/actions.tssrc/render/actors.tssrc/render/characters.tssrc/render/index.tssrc/render/nodes.tssrc/render/scenes.tssrc/render/triggers.tssrc/render/variables.tssrc/research/evidence.tssrc/research/index.tssrc/research/reports.tssrc/research/zod.ts