search-first

Search npm, PyPI, MCP servers, and GitHub for existing solutions before coding.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/flatrick/mdt --skill search-first-flatrick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-first
Source: https://github.com/flatrick/mdt/tree/main/skills/search-first
Command: npx skills add https://github.com/flatrick/mdt --skill search-first-flatrick

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you avoid reinventing the wheel by systematically searching for existing solutions, libraries, and patterns before writing new code.

Core Features & Use Cases

  • Systematic Research: Ensures you explore existing tools, libraries, and internal skills before implementation.
  • Informed Decision Making: Provides a framework for evaluating and choosing the best approach (adopt, extend, build).
  • Use Case: When starting a new feature, use this skill to search npm, MCP servers, and GitHub for existing solutions, ensuring you leverage battle-tested code rather than writing custom logic unnecessarily.

Quick Start

Use the search-first skill to research existing tools for adding user authentication functionality.

Frequently Asked Questions about search-first

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find existing libraries before writing custom code?

To find existing libraries before writing custom code, use a research-before-coding workflow that searches npm, PyPI, GitHub, and MCP servers for existing solutions. This ensures you leverage battle-tested code rather than writing custom logic unnecessarily.

What is the best way to evaluate whether to adopt, extend, or build a software solution?

Evaluating whether to adopt, extend, or build a software solution requires comparing existing tools against your requirements. Assess functionality, maintenance, community support, documentation, licensing, and dependencies to make an informed decision and avoid reinventing the wheel.

Can I search for existing patterns on npm and PyPI before implementing a new feature?

Yes, you can search for existing patterns on npm and PyPI before implementing a new feature. Invoking a researcher agent to query these repositories ensures you explore existing tools, libraries, and internal skills before starting custom implementation.

When do I need to research existing tools before starting development?

You need to research existing tools before starting development whenever you are building a new feature or solving a complex problem. Systematic research prevents reinventing the wheel by verifying if maintained, community-supported solutions already exist on platforms like GitHub.

How do I check MCP servers and GitHub for code reuse opportunities?

To check MCP servers and GitHub for code reuse opportunities, systematize your research workflow to query these platforms directly. This process identifies existing libraries and patterns, providing a framework to evaluate if you should adopt an existing solution or build custom logic.