search-first

Research and select existing libraries and tools before writing custom code.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill promotes the research and use of existing tools, libraries, and patterns before writing custom code, saving time and resources by avoiding redundant development.

Core Features & Use Cases

  • Need Analysis: Define functionality needs and identify language/framework constraints.
  • Parallel Search: Leverage researcher agent to search for existing tools and patterns.
  • Evaluate Candidates: Score potential solutions based on functionality, maintenance, community, documentation, and license.
  • Decision Making: Decide on adopting, extending, or building based on evaluation.
  • Implementation: Integrate selected solution, including any custom minimal code required.

Quick Start

Before coding a feature, check if an existing solution exists by using the 'search-first' command and specify your description and constraints.

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, define your functionality needs and framework constraints, then use parallel search to evaluate available tools based on maintenance and documentation.

What is the best way to evaluate tool selection for development optimization?

The best way to evaluate tool selection for development optimization is to score potential solutions against functionality, community support, documentation, and license criteria before deciding to adopt or extend them.

How do I decide whether to reuse a library or build a custom solution?

To decide whether to reuse a library or build a custom solution, evaluate candidate tools against your defined constraints and score them, choosing to adopt, extend, or build based on the evaluation results.

Can I integrate existing tools with my current framework constraints?

Yes, you can integrate existing tools with your current framework constraints by analyzing your needs, searching for compatible libraries, and implementing the selected solution with any minimal custom code required.

When should I not use library reuse for a new feature?

You should not use library reuse for a new feature when existing tools score poorly in maintenance or documentation, making it more efficient to build a custom solution rather than extending an unsupported tool.

Does search-first work with any programming language?

Yes, search-first works with any programming language because it begins by identifying your specific language and framework constraints before searching for existing community-sourced solutions to prevent redundant coding.