Langsung ke konten
Skillpedia
Pemrograman umum280k Β· #404

search-first

Fungsinya

Alat ini membantu menemukan solusi siap pakai sebelum Anda menulis kode baru. Alat ini mencari tool yang sudah ada di tempat seperti npm, PyPI, dan GitHub agar Anda tidak 'menciptakan ulang roda'.

Kapan dipakai

  • βœ“Saat memulai fitur baru yang mungkin sudah ada.
  • βœ“Saat menambahkan library atau integrasi baru ke proyek Anda.
  • βœ“Sebelum membuat fungsi atau tool yang mungkin sudah dibuat orang lain.

Link skill

https://github.com/affaan-m/ECC/blob/main/skills/search-first/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/affaan-m/ECC/blob/main/skills/search-first/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œCarikan library untuk memeriksa link yang rusak di file markdown.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Alat ini memeriksa berbagai sumber (seperti toko paket dan repositori kode) untuk melihat apakah sudah ada sesuatu yang bisa melakukan apa yang Anda butuhkan. Jika ditemukan, alat ini menyarankan Anda memakai solusi siap pakai tersebut. Jika tidak, alat ini membantu Anda memahami apa yang perlu dibangun.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

/search-first β€” Research Before You Code

Systematizes the "search for existing solutions before implementing" workflow.

Trigger

Use this skill when:

  • Starting a new feature that likely has existing solutions
  • Adding a dependency or integration
  • The user asks "add X functionality" and you're about to write code
  • Before creating a new utility, helper, or abstraction

Workflow

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  0. TOOL AVAILABILITY PREFLIGHT             β”‚
β”‚     Check search channels before relying on β”‚
β”‚     them; report skipped channels honestly   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  1. NEED ANALYSIS                           β”‚
β”‚     Define what functionality is needed      β”‚
β”‚     Identify language/framework constraints  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  2. PARALLEL SEARCH (researcher agent)      β”‚
β”‚     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚     β”‚  npm /   β”‚ β”‚  MCP /   β”‚ β”‚  GitHub / β”‚  β”‚
β”‚     β”‚  PyPI    β”‚ β”‚  Skills  β”‚ β”‚  Web      β”‚  β”‚
β”‚     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  3. EVALUATE                                β”‚
β”‚     Score candidates (functionality, maint, β”‚
β”‚     community, docs, license, deps)         β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  4. DECIDE                                  β”‚
β”‚     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚     β”‚  Adopt  β”‚  β”‚  Extend  β”‚  β”‚  Build   β”‚  β”‚
β”‚     β”‚ as-is   β”‚  β”‚  /Wrap   β”‚  β”‚  Custom  β”‚  β”‚
β”‚     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  5. IMPLEMENT                               β”‚
β”‚     Install package / Configure MCP /       β”‚
β”‚     Write minimal custom code               β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Decision Matrix

Signal Action
Exact match, well-maintained, MIT/Apache Adopt β€” install and use directly
Partial match, good foundation Extend β€” install + write thin wrapper
Multiple weak matches Compose β€” combine 2-3 small packages
Nothing suitable found Build β€” write custom, but informed by research

How to Use

Step 0: Tool Availability Preflight

This is agent guidance, not an executable setup script. Check only the channels that are relevant to the task and project in front of you.

Channel Check If missing
Repository search rg --files and targeted rg queries State that only visible files were inspected
Package registry npm --version, python -m pip --version, or project package manager Use web/docs search and avoid claiming registry coverage
GitHub CLI gh auth status Use public web or local git history only
MCP/docs tools Available tool list or local MCP config Fall back to official docs/web search
Skills directory ls ~/.claude/skills ~/.codex/skills where applicable Say no local skill catalog was available

Quick Mode (inline)

Before writing a utility or adding functionality, mentally run through:

  1. Does this already exist in the repo? β†’ rg through relevant modules/tests first
  2. Is this a common problem? β†’ Search npm/PyPI
  3. Is there an MCP for this? β†’ Check ~/.claude/settings.json and search
  4. Is there a skill for this? β†’ Check ~/.claude/skills/
  5. Is there a GitHub implementation/template? β†’ Run GitHub code search for maintained OSS before writing net-new code

Full Mode (agent)

For non-trivial functionality, launch the researcher agent:

Agent(subagent_type="general-purpose", prompt="
  Research existing tools for: [DESCRIPTION]
  Language/framework: [LANG]
  Constraints: [ANY]

  Search: npm/PyPI, MCP servers, Claude Code skills, GitHub
  Return: Structured comparison with recommendation
")

Older Claude Code docs may call this Task(...); use the current agent/subagent tool name exposed by the active harness.

Search Shortcuts by Category

Development Tooling

  • Linting β†’ eslint, ruff, textlint, markdownlint
  • Formatting β†’ prettier, black, gofmt
  • Testing β†’ jest, pytest, go test
  • Pre-commit β†’ husky, lint-staged, pre-commit

AI/LLM Integration

  • Claude SDK β†’ Context7 for latest docs
  • Prompt management β†’ Check MCP servers
  • Document processing β†’ unstructured, pdfplumber, mammoth

Data & APIs

  • HTTP clients β†’ httpx (Python), ky/undici (Node)
  • Validation β†’ zod (TS), pydantic (Python)

…

Pertanyaan umum

Apa itu npm dan PyPI?

Keduanya seperti 'toko' tempat para developer membagikan kode siap pakai (paket atau library) yang bisa digunakan orang lain dalam proyek mereka.

Apa arti 'menciptakan ulang roda'?

Artinya membuat sesuatu dari nol padahal sudah ada solusi siap pakai yang sudah teruji dan melakukan hal yang sama.

Kapan sebaiknya saya menggunakan alat ini?

Setiap kali Anda akan menulis kode untuk fitur baru atau untuk menyelesaikan masalah umum, ada baiknya memeriksa dulu apakah solusi siap pakainya sudah tersedia.

Detail

Deskripsi asli dari pembuat

Research-before-coding workflow: search npm/PyPI, MCP servers, skills, and GitHub for existing tools before writing custom code, then adopt, extend, or build. Launches the researcher agent for non-trivial needs. Use when starting a feature, adding a dependency or integration, or about to write a utility that may already exist.

repo: affaan-m/ECC

Popularitas

Bintang GitHub
280k
Peringkat
#404
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa