search-first

Scan codebases, docs, and dependencies to identify existing solutions before implementation.

4|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/aaaa47080/stock_agent --skill search-first-aaaa47080
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: search-first
Source: https://github.com/aaaa47080/stock_agent/tree/main/.opencode/skills/search-first
Command: npx skills add https://github.com/aaaa47080/stock_agent --skill search-first-aaaa47080

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Research before coding: check existing code, docs, and libraries first.

Core Features & Use Cases

  • Pre-implementation checks: scan codebase, docs, and dependencies to determine reuse vs. new work.
  • Pattern discovery: identify established design patterns and conventions to follow.
  • Use Case: when starting a new feature, consult the repository to locate existing components that can be extended or composed.

Quick Start

Search the repository for existing solutions, docs, and libraries before starting any implementation.

Frequently Asked Questions about search-first

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

FAQPage Schema
How do I check existing code and dependencies before starting a new feature?

To check existing code, scan the repository structure including core, api, and tests directories alongside dependency lists and documentation. This pre-implementation check identifies established design patterns and existing components to extend or compose rather than writing new code.

What is the best way to discover reusable libraries in a codebase?

The best way to discover reusable libraries is scanning dependency lists and documentation to locate established conventions. This pattern discovery process guides decisions on adoption, extension, or new implementation by ensuring accurate reuse across project contexts.

When do I need to scan documentation before coding a new feature?

You need to scan documentation before coding whenever starting a new feature to determine reuse versus new work. Consulting the repository locates existing components that can be extended or composed, ensuring accurate reuse and adherence to established design patterns.

How does codebase pattern discovery work for extending existing components?

Codebase pattern discovery works by scanning the repository structure and dependency lists to identify established design patterns and conventions. It locates existing components that can be extended or composed, guiding decisions on adoption versus new implementation.

Does repository structure scanning support determining adoption vs new implementation?

Yes, repository structure scanning supports determining adoption versus new implementation by examining core, api, and tests directories alongside dependency lists. It identifies whether existing code, docs, or libraries solve the target task across codebases and project contexts.