# Barrelsby

> Use this skill when the user wants to automatic typescript barrels (index.ts files) for your entire codebase.

- Skill: `javimosch/barrelsby` (Agent Skill)
- Install (CLI): `npx skillmds@latest add javimosch/barrelsby`
- Raw SKILL.md: https://api.skillmd.com/api/skills/javimosch/barrelsby/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: javimosch (https://skillmd.com/u/javimosch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/javimosch/barrelsby

---


# Barrelsby Plugin

Automatic TypeScript barrels (index.ts files) for your entire codebase.

## Commands

### Operations
- `barrelsby barrel generate` — generate barrel via barrelsby
- `barrelsby directory scan` — scan directory via barrelsby
- `barrelsby config set` — set config via barrelsby
- `barrelsby exclude set` — set exclude via barrelsby
- `barrelsby include set` — set include via barrelsby
- `barrelsby flat set` — set flat via barrelsby
- `barrelsby structure set` — set structure via barrelsby
- `barrelsby verbose set` — set verbose via barrelsby
- `barrelsby config show` — show config via barrelsby
- `barrelsby watch run` — run watch via barrelsby

## Usage Examples
- "barrelsby --help"
- "barrelsby <args>"

## Installation

```bash
npm install -g barrelsby
```

## Examples

```bash
barrelsby --version
barrelsby --help
```

## Key Features
- typescript\n- barrels\n- code-generation

