·generate-barrels
</>

generate-barrels

Generate barrel index.ts files for TypeScript projects. Use when user mentions: (1) barrel files, (2) index.ts exports, (3) re-export files, (4) simplify import paths, (5) create index files for directory, or (6) generate export aggregators.

9Installs·1Trend·@haibaraaiaptx

Installation

$npx skills add https://github.com/haibaraaiaptx/frontend-openapi-skills --skill generate-barrels

How to Install generate-barrels

Quickly install generate-barrels AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/haibaraaiaptx/frontend-openapi-skills --skill generate-barrels
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: haibaraaiaptx/frontend-openapi-skills.

SKILL.md

View raw

Generate barrel index.ts files for TypeScript directories to simplify imports.

Note: Generation commands (model gen, aptx functions, react-query, vue-query) automatically update barrel files after generation. Use this command only for manual fixes or special cases.

| Normal generation | Barrel files are auto-updated - no action needed | | Fixing corrupted barrel files | Use this command | | Processing non-standard directory structures | Use this command | | One-time batch updates across multiple directories | Use this command |

Generate barrel index.ts files for TypeScript projects. Use when user mentions: (1) barrel files, (2) index.ts exports, (3) re-export files, (4) simplify import paths, (5) create index files for directory, or (6) generate export aggregators. Source: haibaraaiaptx/frontend-openapi-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/haibaraaiaptx/frontend-openapi-skills --skill generate-barrels
Category
</>Dev Tools
Verified
First Seen
2026-03-10
Updated
2026-03-10

Browse more skills from haibaraaiaptx/frontend-openapi-skills

Quick answers

What is generate-barrels?

Generate barrel index.ts files for TypeScript projects. Use when user mentions: (1) barrel files, (2) index.ts exports, (3) re-export files, (4) simplify import paths, (5) create index files for directory, or (6) generate export aggregators. Source: haibaraaiaptx/frontend-openapi-skills.

How do I install generate-barrels?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/haibaraaiaptx/frontend-openapi-skills --skill generate-barrels Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/haibaraaiaptx/frontend-openapi-skills