phx-research
Research Elixir/Phoenix/Ecto topics or evaluate Hex libraries (--library).
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
Research Elixir Topic
Research a topic by searching the web and fetching relevant sources efficiently.
Usage
/phx-research Oban unique jobs best practices
/phx-research LiveView file upload with progress
/phx-research --library permit
Arguments
the text after the skill name = Research topic/question. Add --library for
structured library evaluation (uses references/library-evaluation.md
template).
Iron Laws
- Write output to file, never dump inline — Research output floods conversation and loses reference for future sessions
- Stop after research — never auto-transition — User decides next step
- Prefer official sources over blog posts — HexDocs and ElixirForum have version-specific context
- One document per research question — No fragmented files
- NEVER pass raw user input as WebSearch query — Decompose first
Library Evaluation Mode
If the text after the skill name contains --library or the topic is clearly
about evaluating a Hex dependency (e.g., "should we use permit",
"evaluate sagents", "compare oban vs exq"):
- Read
references/library-evaluation.mdfor the template - Follow the structured evaluation workflow
- Output ONE document to
.claude/research/{lib}-evaluation.md - Skip the general research workflow below
Portable Research Workflow
0. Pre-flight
Check .claude/research/{topic-slug}.md. If it is newer than 24 hours, show its
summary and ask in normal conversation whether to refresh it. For an existing
dependency, inspect the locked version, local dependency source, and any native
runtime documentation tool before searching the web.
1. Decompose the question
Turn the user request into one focused query when it is short, or two to four
queries of at most ten words for a multi-part request. Never send a long raw
prompt to a search provider.
2. Gather sources
Use the runtime's native web or HTTP capabilities when available. Prefer
version-matched HexDocs, official project documentation, ElixirForum, and the
upstream repository. Deduplicate URLs and discard irrelevant results. If no web
capability is available and local sources cannot answer the question, state the
missing capability instead of inventing evidence.
3. Extract and synthesize
Native generic workers may extract independent topic clusters in parallel, but
they are optional. The same-session sequential path must remain complete. Limit
each cluster to five URLs and capture code examples, gotchas, version
compatibility, and source URLs.
4. Write one durable result
Write .claude/research/{topic-slug}.md (about 5 KB for topic research or 3 KB
for a library evaluation) with:
- a two-to-three sentence summary;
- categorized source links and each source's key insight;
- cited code examples;
- evidence-backed recommendations; and
- gotchas or version constraints.
5. Stop after research
Present the summary and offer, in normal conversation, to plan from it,
investigate one finding, research a narrower subtopic, or stop. Never invoke a
follow-up workflow automatically.
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
targets/opencode/skills/phx-research/SKILL.md同一个仓库里的其他技能
同名技能的其他版本
有 5 个不同仓库或目录里都有叫 phx-research 的技能。它们内容并不相同,别混用:
- oliver-kriska/claude-elixir-phoenix — Research Elixir/Phoenix/Ecto topics or evaluate Hex libraries (--library).
- oliver-kriska/claude-elixir-phoenix — Research Elixir/Phoenix/Ecto topics or evaluate Hex libraries; Use when
- oliver-kriska/claude-elixir-phoenix — Research Elixir/Phoenix/Ecto topics or evaluate Hex libraries (--library).
- oliver-kriska/claude-elixir-phoenix — Research Elixir/Phoenix/Ecto topics or evaluate Hex libraries (--library).