Load first for authenticated learner BreatheCode API work (user-scoped /me and user/me routes, public join/catalog where applicable). Maps requests to domain skills. Do NOT use for academy admin tasks requiring /academy/ or the Academy header — use breathecode-staff-api-index instead.
설치
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
Load first for authenticated learner BreatheCode API work (user-scoped /me and user/me routes, public join/catalog where applicable). Maps requests to domain skills. Do NOT use for academy admin tasks requiring /academy/ or the Academy header — use breathecode-staff-api-index instead.
requires
[]
BreatheCode Student API Index
This skill is the entry point for learner-scoped BreatheCode API work. Its only job is to help you identify which domain skill(s) to load before taking any action. Do not attempt to call the API using only this skill — always load the relevant domain skill(s) first.
When to Use
Load this skill at the start of tasks for an authenticated student or end-user (paths such as …/me…, …/user/me…, or public discovery/join flows that do not require staff capabilities).
Use it when the request spans multiple learner domains (for example assignments plus events).
Do NOT use this as a substitute for the domain skill — always proceed to load the specific skill after consulting this index.
Related index
If the task requires /academy/ routes, the Academy header, or staff capabilities, load breathecode-staff-api-index instead of this file.
Staff-first domains
These areas are primarily documented for academy staff in the staff index. If the user’s goal clearly belongs here, switch to breathecode-staff-api-index: monitoring, marketing, talent development (/v1/talent/ academy paths).
Workflow
Read the user's request.
Identify the domain(s) from the table below.
Load the corresponding skill(s) before proceeding.
If the task spans multiple domains, load all relevant skills and check each one for cross-domain instructions before calling any endpoint.
Domain Map (learner scope)
Domain
Covers (learner-facing)
Skill to Load
admissions
My cohorts, enrollment visibility, syllabus consumption as a student
bc-admissions-*
activity
My engagement, daily summaries, login streaks
bc-activity-*
assessment
My quizzes and attempts
bc-assessment-*
assignment
My tasks, submissions, final project, LearnPack telemetry ingestion
When only one domain is involved: Load the single matching skill and proceed.
When multiple domains are involved: Load all relevant skills, read each one fully, then identify any conflict or ordering constraint between them before calling any endpoint.
When no skill exists yet for the task: Fall back to the BreatheCode API documentation directly. Do not guess endpoint behavior — ask the user to confirm the correct endpoint or create a new skill for the use case.
When unsure which domain applies: Re-read the domain map above. If still ambiguous, ask the user to clarify before proceeding — do not assume.
API Conventions
Assume these conventions for all BreatheCode API endpoints unless a domain skill or endpoint docs say otherwise.
Pagination
Default: List endpoints are paginated unless the domain skill or endpoint docs say otherwise.
Paginated response: When envelope is used, the body has count, first, next, previous, last, and results; headers include X-Total-Count and Link.
Learner-scoped routing
Prefer endpoints documented under Authorization for the current user, including paths containing /me/ or /user/me/, and public catalog endpoints where no staff scope is required.
Do not call /academy/ routes or send the Academy header for staff operations unless the authenticated user is staff and the task explicitly requires it; if it does, use breathecode-staff-api-index.
Error responses
Structure: Error responses are JSON with at least:
detail (string): Human-readable message.
status_code (integer): HTTP status (e.g. 400, 403, 404; 402 for payment-related errors).
The HTTP status of the response matches status_code.
Language and translated errors
Header:Accept-Language — send a language code (e.g. en, es) to request error messages (and other translated content) in that language when the API uses translation.
Behavior: The API uses the request's Accept-Language (or user/settings fallback) for translated messages; if omitted, the default is typically en.
Checklist
Confirmed the task is learner-scoped (not staff-only); otherwise switched to the staff index.
Identified the domain(s) from the domain map.
Loaded all relevant skill(s) before calling any endpoint.
If cross-domain, checked the learner workflow table and loaded all required skills.
If no skill exists for the task, flagged this to the user rather than guessing.