forge-town/skills

forge_check-barrel-export

Use when 需要生成、优化、修复或检查项目中所有 index 文件(桶导出),确保 index.ts/index.js 均遵循标准桶导出规范。触发词:生成barrel导出、优化index文件、检查桶导出规范。

Installation

$ npx skills add forge-town/skills --skill forge_check-barrel-export

Also in this package

Other skills from forge-town/skills · top by installs.

npx skills add forge-town/skills

Browse all from forge-town/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 7
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 917 B
  • docs SUMMARY.md 262 B

History

  1. First recorded snapshot · 1 installs

SKILL.md

桶导出操作工具

使用说明

  1. 读取 forgebarrel-export-best-practice 技能中的 [规范标准](../forgebarrel-export-best-practice/references/standard.md) 和 [检查清单](../forge_barrel-export-best-practice/references/checklist.md)
  2. 扫描目标目录(递归),找出所有 index.ts / index.js 文件
  3. 根据场景执行操作:

- 检查:对照清单报告不合规项及修复建议 - 生成/修复:按规范自动生成或修正 index.ts 内容

依赖规范: 所有操作以 forge_barrel-export-best-practice 定义的 8 条规则为准