用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill hydra-dev命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | hydra-dev |
| description | >- Use when this capability is needed. |
Actionable dev and test commands for HydraSRT. Stable reference: AGENTS.md, test/AGENTS.md.
mix q)make dev)make test_ci_local)mix test (excludes :e2e, :native_e2e via test/test_helper.exs).E2E=true; needs ffmpeg and native binary built.NATIVE_E2E=true.make test_ci_local unless the user asks (slow, full stack).defp, do not delete commented code.feat:, fix:, docs:, etc.) per AGENTS.md.mix q
# or: mix quality
# format --check-formatted, compile --warnings-as-errors, credo, sobelow, dialyzer
First-time Dialyzer: mix dialyzer (builds PLT).
| Intent | Command |
|---|---|
| Unit (default) | mix test |
| One file | mix test test/hydra_srt/route_handler_test.exs |
| One line | mix test test/hydra_srt/route_handler_test.exs:42 |
| E2E | E2E=true mix test --only e2e or make test_e2e |
| E2E encrypted | E2E=true mix test --only encrypted |
| Native E2E | NATIVE_E2E=true mix test test/native_e2e |
Debug env: TRACE=true, SLOWEST=true, TEST_TIMEOUT=ms, E2E_DEBUG_LOGS=true (with E2E).
cd native && cargo test # unit
make test_rs_native_unit
make test_rs_native_e2e # Elixir wrapper + NATIVE_E2E=true
cd web_app && npm run test:unit
cd web_app && npm run test:unit:watch
cd web_app && npm run test:e2e # Playwright; backend + native build required
make test_all # sequential: backend unit, e2e, native unit, web unit, web e2e
make test_ci_local # CI-equivalent (slow)
make dev # IEx + Phoenix; see docs/envs.md for env vars
| User says | Run |
|---|---|
| run unit tests / backend tests | mix test |
| run e2e / srt e2e | E2E=true mix test --only e2e |
| run native tests | cd native && cargo test |
| run web tests | cd web_app && npm run test:unit |
| run playwright | cd web_app && npm run test:e2e |
| MCP token tests | mix test test/hydra_srt/db_tokens_test.exs test/hydra_srt_web/controllers/token_controller_test.exs |
| check quality / before commit | mix q |
| start dev server | make dev |
| like CI | make test_ci_local |
mix q — fast quality gatemix test — Elixir unitmake test_e2e and/or cd native && cargo testcd web_app && npm run typecheck && npm run lint && npm run test:unitmix test test/hydra_srt/db_tokens_test.exs test/hydra_srt_web/controllers/token_controller_test.exsAGENTS.md Standards): e.g. feat: ..., fix: ..., docs: ..., chore: ...max_cases: 1 (shared DB + HTTP).:encrypted tests skipped if ffmpeg lacks SRT passphrase support.HydraSrt.TestSupport.E2EHelpers — see test/AGENTS.md.AGENTS.md — architecture, docs indextest/AGENTS.md — full test matrix, support modules, tagsMakefile — all test_* targetsdocs/envs.md — environment variablesdocs/mcp.md — MCP server, tokens, client setupSource: abc3/hydra-srt — distributed by TomeVault.