Skip to content
Back to skills

Package Boundary Guardian

ASecurity

Use when changing JS/TS package exports, startup/import cost, package size, public subpaths, dependency direction, optional peers, tree-shaking, or package-boundary tests.

  • 6 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 12, 2026
business

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 12, 2026

npx -y skills add siliconjungle/-shapeshift-labs-evidence-kit --skill package-boundary-guardian --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Package Boundary Guardian?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Package Boundary Guardian
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/siliconjungle-package-boundary-guardian/badge)](https://www.skillsdirectory.com/skills/siliconjungle-package-boundary-guardian)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: package-boundary-guardian
description: Use when changing JS/TS package exports, startup/import cost, package size, public subpaths, dependency direction, optional peers, tree-shaking, or package-boundary tests.
---

# Package Boundary Guardian

Treat package shape as a tested contract from the beginning of a project.

## Workflow

1. Identify public entry points from `package.json` exports.
2. Identify forbidden dependency directions for each entry point.
3. Keep checks for:
   - export presence,
   - forbidden imports,
   - startup/import time,
   - reachable files/bytes,
   - `npm pack --dry-run` files and unpacked bytes,
   - optional peer isolation.

4. If ShapeShift Labs Evidence Kit is installed, run:

```sh
npx evidence-kit scope
npm run bench:startup:check
npm run bench:package:gates
npm run docs:perf:search -- package-boundary startup
```

Use the scope result to decide whether startup or package benchmarks need refresh.

## Rules

- Prefer subpath exports over root export growth.
- Keep optional integrations out of root imports.
- Do not hide package-size regressions behind functional tests.
- Record package-boundary source passes when external package shapes informed budgets or export layout.
- Record budget changes in an iteration note with the reason.

Files in this skill

  • SKILL.md1.3 KB
  • agents/openai.yaml231 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.