repomix-patterns

Community

Optimize codebase context for AI, generate skills.

Authoraitchwhy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides advanced usage patterns for Repomix, enabling efficient codebase packaging, targeted analysis, and the creation of persistent AI skills. It helps developers manage large codebases within AI context windows, improving the accuracy and relevance of AI assistance.

Core Features & Use Cases

  • Output Format Selection: Guides on choosing xml, markdown, json, or plain formats based on use case and token efficiency, with xml and parsableStyle: true recommended for LLM parsing.
  • Compression Strategy: Advises when to enable Tree-sitter compression for optimal token savings (30-60%) in large codebases, preserving semantics while reducing size.
  • Include Pattern Strategies: Provides tailored include patterns for different project types (API, Frontend, Nix, Monorepo) to focus context on relevant files and ignore noise.
  • Use Case: A developer needs to create a reference skill for their project's core API patterns. They can use this skill to define focused include patterns, pack the relevant files with compression, and then generate_skill with a descriptive name for future AI interactions.

Quick Start

Generate a Repomix skill named 'api-patterns' from the 'src/api' directory, ensuring compression is enabled and only TypeScript files are included.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: repomix-patterns
Download link: https://github.com/aitchwhy/dotfiles/archive/main.zip#repomix-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.