From hal-skills
Researches and synthesizes current best practices, gotchas, and recommended patterns for tools, libraries, and project setup using web search and documentation lookups.
How this skill is triggered — by the user, by Claude, or both
Slash command
/hal-skills:best-practicessonnetThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Answer two questions from current sources: **what's the recommended way**, and **what bites people** (the gotchas and pitfalls around it). A how-to without its pitfalls is half an answer.
Answer two questions from current sources: what's the recommended way, and what bites people (the gotchas and pitfalls around it). A how-to without its pitfalls is half an answer.
The user's argument may be a question or an imperative. Imperatives ("refine X", "set up Y") determine what Phase 2 does, not whether Phase 1 happens. Phase 1 always runs.
Rationalizations that precede skipped research:
| Thought | Reality |
|---|---|
| "I already know this" | Training data goes stale. Config keys get renamed, APIs get deprecated. |
| "The user said to act" | The imperative scopes Phase 2, it does not eliminate Phase 1. |
| "This is a simple lookup" | A 30-second search costs nothing. A wrong recommendation costs a debugging round-trip. |
Break the topic into 2-4 specific queries. Dedicate at least one query to pitfalls ("common mistakes with X", "X gotchas in production"): pitfalls live in issue threads, migration guides, and post-mortems, not in getting-started docs, so a how-to query won't surface them. For single-library lookups, call find-docs or WebSearch directly without subagents.
Dispatch one subagent per query in a single message so they run in parallel. Each uses find-docs (Context7) and WebSearch. Be concrete in each subagent prompt: pass library names, version constraints, and the user's specific context. Vague prompts produce vague results.
<subagent_prompt_template> The user wants to [user's task]. We need the latest, authoritative guidance on [specific aspect].
Research best practices for: [specific query]Use the find-docs skill to look up [library/tool] documentation, then use WebSearch to find recent guides and recommendations for "[specific search query]".
<output_format> Report:
Keep it under 400 words. If space runs short, compress the explanations rather than dropping pitfalls. If you cannot find authoritative guidance on a point, say so explicitly rather than guessing. </output_format> </subagent_prompt_template>
After all subagents return, merge using these criteria:
If a subagent failed or returned empty, note the gap and proceed with the results you have. Do not block synthesis waiting for a straggler.
Deliver to the user in this structure:
find-docs fails with quota errors, fall back to WebSearch only and note the limitation.find-docs and WebSearch fail, say so explicitly rather than falling back to training data.npx claudepluginhub vinta/hal-9000 --plugin hal-skillsResearches external documentation, best practices, and industry standards via web search and codebase analysis. Useful for library docs, implementation comparisons, and recommended structures.
Fetches source-grounded, current docs for library/framework/API implementation details, with fallback strategies for multiple sources.
Gathers well-sourced current internet info for API docs, library comparisons, best practices, hypothesis testing, and verifying technical claims to inform planning and design.