gene-transfusion

Search and retrieve reusable code patterns from a local library.

Updated Dec 17, 2025
One-click install
npx skills add https://github.com/PoeAudits/.opencode --skill gene-transfusion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gene-transfusion
Source: https://github.com/PoeAudits/.opencode/tree/main/skills/gene-transfusion
Command: npx skills add https://github.com/PoeAudits/.opencode --skill gene-transfusion

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps developers quickly find, understand, and apply existing, well-tested code patterns (genes) from a local library, accelerating development and promoting code reuse.

Core Features & Use Cases

  • Gene Discovery: Search for genes using natural language descriptions or keywords via semantic (embedding) or lexical (BM25) search.
  • Gene Application: Read gene documentation and code snippets to adapt and integrate them into your codebase.
  • Feedback Loop: Record post-use feedback if a gene was confusing or problematic due to drift.
  • Use Case: You need to implement an "idempotent upsert with conflict retry" in your service. Use this skill to search for existing patterns, read the associated notes and code examples, and apply the best match to your project.

Quick Start

Search for a gene that matches the problem "idempotent upsert with conflict retry".

Frequently Asked Questions about gene-transfusion

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

FAQPage Schema
How do I find reusable code patterns for a specific programming problem?

To find reusable code patterns, you can search a local gene library using natural language descriptions or keywords. The system supports semantic search via embeddings and lexical search via BM25 to retrieve matching implementation patterns efficiently.

What is a code gene and how does it help with software development?

A code gene is an existing, well-tested implementation pattern stored in a local library. Genes help developers quickly find, understand, and apply reusable solutions to accelerate development and promote code reuse across projects.

Can I search for code snippets using both semantic and lexical matching?

Yes, you can search for code snippets using both semantic matching via embeddings and lexical matching via BM25. This dual approach allows you to find implementation patterns using either natural language descriptions or specific keywords.

How do I apply a reusable code pattern after finding it in the library?

To apply a reusable code pattern, read the gene documentation and code snippets provided in the search results. You then adapt and integrate the selected code pattern directly into your codebase to solve your specific problem.

What should I do if a reusable code pattern is confusing or causes issues?

If a reusable code pattern is confusing or problematic, you can record post-use feedback indicating gene drift. This feedback loop helps maintain the local library and improve the accuracy of existing implementation patterns over time.