teach

Extract reusable coding patterns from example files for AI teammate training.

792|138|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/AltimateAI/altimate-code --skill teach-altimateai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: teach
Source: https://github.com/AltimateAI/altimate-code/tree/main/.opencode/skills/teach
Command: npx skills add https://github.com/AltimateAI/altimate-code --skill teach-altimateai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Learn a reusable pattern from an example file to teach an AI teammate how your codebase structures and patterns work.

Core Features & Use Cases

  • Pattern extraction: Identify structural patterns like file organization, naming conventions, boilerplate, and common blocks.
  • Pattern-driven training: Save extracted patterns for future AI missions using a standardized format.
  • Real-world applicability: Apply to models, queries, configs, and other artifacts across codebases.

Quick Start

Provide a reference artifact path (e.g., @models/staging/stg_orders.sql) and I will extract reusable patterns for your team.

Frequently Asked Questions about teach

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

FAQPage Schema
How do I extract reusable coding patterns from an example file to teach an AI?

To extract reusable coding patterns, provide a reference artifact path like @models/staging/stg_orders.sql. The system analyzes structure, naming conventions, boilerplate, and data flow, then saves the results as a pattern with proper source references for AI training.

What types of codebase artifacts can I use for pattern extraction?

Pattern extraction works across multiple file types including models, queries, and configuration artifacts. It identifies structural patterns like file organization, naming conventions, boilerplate, and common blocks to standardize pattern-based learning for your projects.

How does pattern-based learning work for an AI teammate?

Pattern-based learning works by analyzing a concrete example file to identify your codebase's structural and naming conventions. It then saves these extracted patterns using a standardized format via training_save, enabling the AI to apply them to future missions.

Do I need to manually specify the coding patterns I want the AI to learn?

You do not need to manually specify coding patterns. Simply provide the path to a reference artifact, and the system automatically identifies and extracts reusable structural patterns, boilerplate, and data flow logic from the file itself.

Can I save extracted code patterns for future AI missions?

You can save extracted code patterns for future AI missions. The system uses a standardized format via training_save to store the identified structural patterns, ensuring they are properly referenced and available for subsequent automated tasks.

What is the best way to teach an AI my project's specific naming conventions and boilerplate?

The best way to teach naming conventions and boilerplate is to provide a concrete example file. The system automatically extracts these structural patterns and saves them as a standardized pattern, allowing the AI to learn your codebase's specific structure.