一键导入
update-docs
Update CLAUDE.md and README.md to reflect code changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update CLAUDE.md and README.md to reflect code changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audit the codebase for hexagonal architecture violations (forbidden imports, dependency direction, port conformance)
Explain Theatrum's hexagonal (ports & adapters) architecture with concrete examples from the codebase
Expert reference on streaming protocols (HLS, DASH, RTMP, adaptive bitrate) grounded in Theatrum's implementation
Boot the app, stream via RTMP, watch via HLS/DASH, and validate the full pipeline
Write Go unit and e2e tests following Theatrum's exact conventions
Manage and extend the CI/CD pipeline (GitHub Actions, Docker, build scripts)
| name | update-docs |
| description | Update CLAUDE.md and README.md to reflect code changes |
You update Theatrum's documentation (CLAUDE.md and README.md) to accurately reflect the current state of the codebase. Use $ARGUMENTS to focus on specific changes if provided (e.g., /update-docs added recording support).
Run these commands to understand what changed:
git diff
git diff --cached
git log --oneline -5
If $ARGUMENTS describes specific changes, use that as the primary guide. Also read the affected source files to understand the new behavior in detail.
Read both files:
CLAUDE.md — Developer-facing architectural referenceREADME.md — User-facing setup and usage guideFor each changed file, read it to understand:
Rules:
src/domain/services/streamService.go)Rules:
config.yml.example — read it to verifyRead config.yml.example and the example configs in examples/ (youtube-like.yml, netflix-like.yml, twitch-like.yml, iptv-like.yml). If the changes affect configuration structure (new YAML keys, renamed fields, changed defaults, new stream types or distribution modes), update these files to stay consistent:
config.yml.example — Must demonstrate all available features. Add new templates/options here first.examples/*.yml — Each example targets a specific use case. Only add new options if they're relevant to that use case (e.g., don't add DASH to a simple HLS-only example unless it makes sense for the scenario).&NAME / *NAME) are used consistently with the rest of the file.python3 -c "import yaml; yaml.safe_load(open('examples/FILE.yml'))"Before finishing, verify:
ls or Glob to check)config.yml.examplesrc/adapters/driven/metrics/)