codebase-pattern-finder

Extract complete code patterns with file locations and usage context from a codebase.

20|6|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/adrielp/ai-engineering-harness --skill codebase-pattern-finder-adrielp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codebase-pattern-finder
Source: https://github.com/adrielp/ai-engineering-harness/tree/main/pi/skills/codebase-pattern-finder
Command: npx skills add https://github.com/adrielp/ai-engineering-harness --skill codebase-pattern-finder-adrielp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineering teams discover and reuse proven code patterns by locating complete, working implementations and practical templates across a codebase.

Core Features & Use Cases

  • Pattern discovery: locate similar features and architectural patterns with full, runnable examples.
  • Pattern extraction: pull complete code snippets, project structure, and usage context for reuse.
  • Documentation & templates: provide references and ready-to-adopt templates for faster implementation.

Quick Start

Instruct the agent to search the repository for a given feature and return end-to-end pattern templates with file locations.

Frequently Asked Questions about codebase-pattern-finder

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

FAQPage Schema
How do I find existing code patterns in my codebase for a new feature?

To find code patterns, search the repository for a given feature to locate complete, working implementations and practical templates. The tool extracts full code snippets, project structure, and usage context to help you reuse proven architectural patterns.

Can I extract complete, working code examples across multiple languages and frameworks?

Yes, you can extract complete code examples across multiple languages and frameworks. The tool identifies runnable implementations, provides multiple usage scenarios, and includes test references when available to ensure comprehensive pattern documentation.

What is the best way to document code reuse patterns for my engineering team?

The best way to document code reuse patterns is to extract complete code snippets with precise file locations and show patterns in context. This approach provides ready-to-adopt templates and documents trade-offs and usage guidelines for faster implementation.

How to get reference implementations with file locations for similar features?

Get reference implementations by instructing the agent to search the repository for a given feature. It delivers end-to-end pattern templates with precise file locations, shows patterns in context, and pulls complete code snippets for reuse.

Does code pattern discovery include test references and usage guidelines?

Yes, code pattern discovery includes test references when available. It also documents trade-offs and usage guidelines, providing multiple usage scenarios with full implementations to ensure proper adoption of the extracted patterns.