search-first

Solid

Search npm / PyPI / MCP / GitHub / existing skills before writing code for any new feature, integration, library selection, or utility. Use whenever the user says 'add X functionality', 'implement Y', 'set up Z', 'integrate W', asks 'what library should I use for...', 'is there a package/client/MCP for...', proposes a specific tool while open to alternatives, or invokes planning.md Phase 0 External Research. Especially when the task adds a dependency, picks between tools, or builds a utility that likely already exists (parser, checker, converter, linter, CI step, E2E framework, payment / auth / API client). DO NOT use for bug fixes, refactoring, config value edits, file summarization, or throwaway scripts whose approach the user already fully specified.

Data & Documents 2 stars 0 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
16
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /search-first — Research Before You Code Before writing a new feature, utility, integration, or picking a library, search for an existing solution first. The best code is code you don't have to write. This skill is **discipline, not mechanism.** The *how* of searching — parallel subagents, live documentation lookup, registry queries — belongs to your agent harness and keeps changing. What this skill pins down is the part that survives those changes: **articulate before you search, search by source priority, and end with a recorded verdict.** Lead with the discipline; delegate the mechanism. ## Step 0 — Articulate the requirement (mandatory, user-visible text) Before any tool call or subagent, write 2–3 sentences of **plain assistant text** (not buried inside tool arguments) stating: - **What** functionality is needed — concretely, not "X support" - **Language / framework** the implementation will use - **Constraints** — existing deps, performance limits, license requirements Why: this externalizes the search query so the user can redirect *before* you spend effort, and it leaves an auditable record. A subagent call whose `args` carry the requirement does **not** satisfy this step — the user reads chat text, not tool arguments. Emit the articulation as text first, then call tools whose arguments may mirror it. ## Step 1 — Search by source priority Check these in order; stop early when you find a strong match: 0. **This repo** — `rg` / grep through the relevant modul...

Details

Author
shimo4228
Repository
shimo4228/search-first
Created
5 months ago
Last Updated
yesterday
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category