542
159
In review
Synced today
What it does
Use `index.ts` barrels only as public API boundaries. A feature-level barrel can explicitly re-export the components, services, or types that consumers are allowed to use: ```ts // features/heroes/index.ts export { HeroListComponent } from './hero-list/hero-list.component'; export type { Hero } from './hero.model'; ``` Consumers can then import from the feature's public entry point. Within that same feature, import directly from the defining file instead of importing through its own barrel, for
Skill profile
Keep exploring
More options in Dev Tools.
Claude Code · Codex · OpenClaw
TypeScript
Updated 7/14/2026
Agent compatibility
Compatibility has not been reviewed for this listing yet. Check the publisher documentation before installing.
Installation
npx skills add https://github.com/HoangNguyen0403/agent-skills-standard --skill eval-5.with-skill.mdReview source code and installation permissions before adding third-party tools to an agent.
angular-style-guide is organized in the Dev Tools category. Compare its source, install method, and compatibility before adding it to your workflow.
Third-party agent tools may access source code, credentials, or browser sessions. Read the source documentation and use the minimum permissions needed.
npx skills add https://github.com/HoangNguyen0403/agent-skills-standard --skill eval-5.with-skill.mdSKILL.md
Use `index.ts` barrels only as public API boundaries. A feature-level barrel can explicitly re-export the components, services, or types that consumers are allowed to use:
```ts
// features/heroes/index.ts
export { HeroListComponent } from './hero-list/hero-list.component';
export type { Hero } from './hero.model';
```
Consumers can then import from the feature's public entry point. Within that same feature, import directly from the defining file instead of importing through its own barrel, for example `./hero.service` rather than `../index`. Avoid broad or deeply nested barrels and accidental re-exports: incorrect barrel placement can interfere with tree-shaking. Keep the public exports intentional and limited to the feature's supported API.
skill
mattpocock
A tool that automates setting up Husky pre-commit hooks with lint-staged, Prettier formatting, type checking, and tests in a code repository.