본문으로 건너뛰기
cccskills
무료GitHub에 공개

document-ai-hero-api

Generate or update documentation for the AI Hero API by reading the source code at ~/repos/ai/course-builder. Use when user wants to document, update docs for, or understand the AI Hero API endpoints.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md2.1 KB
  • TEMPLATE.md1.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Document AI Hero API

Generate/update API documentation by reading the AI Hero source code.

Prerequisites: Ensure Read Permissions

Before reading the AI Hero source, update .claude/settings.local.json to include read permission for the course-builder repo. Add this entry to the permissions.allow array if not already present:

"Read(/home/mattpocock/repos/ai/course-builder/**)"

Workflow

1. Scan API Source

Read the AI Hero API source at ~/repos/ai/course-builder/apps/ai-hero/src/. Focus on:

  • REST endpoints: src/app/api/ — each folder is a route segment. Read every route.ts file.
  • tRPC routers: src/trpc/api/routers/ — each file is a typed RPC router.
  • Database schema: src/db/schema.ts — table definitions and relationships.
  • Auth: src/app/api/auth/ and any middleware files for auth patterns.

2. For Each Endpoint, Capture

  • HTTP method + path (REST) or procedure name + type (tRPC query/mutation)
  • Request body / query params with TypeScript types
  • Response shape with TypeScript types
  • Auth requirements (public, Bearer token, session, HMAC)
  • Side effects (Inngest events, webhooks, S3 uploads)

3. Cross-Reference with This Project

Check how endpoints are consumed in this codebase:

  • app/services/ai-hero-auth-service.ts — OAuth device flow
  • app/services/ai-hero-upload-service.ts — Upload & post creation
  • app/features/upload-manager/ — SSE client for progress

Flag any endpoints used here that have changed in the source.

4. Write Documentation

Output to docs/ai-hero-api.md in this repo. Follow the structure in TEMPLATE.md.

5. Summary

After updating, print a short summary of:

  • Number of endpoints documented
  • Any breaking changes detected vs. current usage
  • Any new endpoints not yet consumed by this project

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Ship a Drizzle schema change end to end — generate the migration, merge, hand Matt the migrate command, redeploy apps/remote, confirm it is green. Use whenever a change adds or edits a file under packages/core/db/migrations/ or changes packages/core/db/schema.ts, or when an apps/remote deploy failed with "production has not applied".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mattpocock/course-video-manager8272026년 10월 19일 업데이트

do-work

무료

End-to-end implementation workflow. Use when user wants to implement a feature, fix a bug, or make changes and have everything validated and committed.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mattpocock/course-video-manager8272026년 10월 19일 업데이트

Survey the codebase, pick ONE high-leverage deepening opportunity (filtering out anything already proposed), and publish it as a PRD-shaped GitHub issue via /to-prd-project. Designed to run unattended in the daily architecture-review workflow.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mattpocock/course-video-manager8272026년 10월 19일 업데이트

Install @effect/* packages safely. Use whenever adding a new Effect ecosystem dependency.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mattpocock/course-video-manager8272026년 10월 19일 업데이트

Optimize slow React Router loaders by eliminating redundant DB queries, creating slim query variants, and parallelizing independent fetches. Use proactively when writing or reviewing loader code that calls domain operations services (e.g. CourseOperationsService, VideoOperationsService), or when triaging a slow page load.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mattpocock/course-video-manager8272026년 10월 19일 업데이트

Break a PRD into native GitHub sub-issues attached to the parent PRD. Project-local variant of /to-issues, adapted for this repo's PRD-as-parent + native sub-issues + agent:implement multi-session workflow. Argument is the parent PRD issue number.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

mattpocock/course-video-manager8272026년 10월 19일 업데이트

mattpocock의 스킬 모두 보기

이 스킬의 문제 신고