research-before-implementation

ffMathy's avatarfrom ffMathy

Mandatory research protocol before implementing any feature or making architectural decisions. Use this at the start of any implementation task.

⭐2stars🔀0forks📁View on GitHub🕐Updated Jan 10, 2026

When & Why to Use This Skill

The Research Before Implementation skill establishes a mandatory protocol for AI agents to conduct thorough web research prior to any development task. By grounding implementation in real-time data, it ensures the use of current best practices, latest library versions, and robust security patterns, significantly reducing technical debt and architectural errors.

Use Cases

  • New Feature Planning: Automatically searching for the most efficient implementation patterns and up-to-date documentation before writing code.
  • Library Selection: Evaluating and comparing third-party dependencies based on the latest community feedback and version releases.
  • Security Auditing: Proactively identifying known vulnerabilities and security best practices for specific frameworks or APIs.
  • Architectural Design: Validating system design choices against modern industry standards and existing successful case studies.
nameresearch-before-implementation
descriptionMandatory research protocol before implementing any feature or making architectural decisions. Use this at the start of any implementation task.

Research Before Implementation

CRITICAL: ALWAYS perform web searches before starting any task.

Mandatory Protocol

Before implementing ANY feature, you MUST:

  1. Perform at minimum 1 web search (more is better)
  2. Search for:
    • Current best practices and patterns
    • Latest library versions and APIs
    • Security considerations and common pitfalls
    • Existing solutions and examples
    • Documentation and tutorials

✅ ALWAYS search before:

  • Implementing any new feature
  • Choosing a library or dependency
  • Making architectural decisions
  • Writing complex algorithms
  • Working with unfamiliar APIs or frameworks
  • Encountering errors or issues
  • Being uncertain about best practices

Example Research Flow

// STEP 1: Research (REQUIRED)
const bestPractices = await search_with_grounding({
  query: "TypeScript async error handling best practices 2024"
});

const libraryComparison = await search_with_grounding({
  query: "best SQLite libraries for Node.js TypeScript 2024"
});

const securityConsiderations = await search_with_grounding({
  query: "SQL injection prevention TypeScript parameterized queries"
});

// STEP 2: Implement based on research
// ... your implementation here

Search Tool

Use the search_with_grounding tool extensively for all research needs.

Remember: More research = Better implementation. Never skip this step!