boundary-checker

boundary-checker is a skill for Claude Code from jhlee0409/claude-plugins. It costs 13 tokens per session (2,708 once invoked), scanned A, original, MIT.

An import-boundary checker for FSD, a frontend architecture method that restricts how code in different layers and slices may depend on one another. It reads imports and compares them with the project's layer hierarchy.

In plain words
What is it for?
Use it to collect and classify imports, resolve aliases and relative paths, and detect violations of FSD boundary rules.
Why use it?
It exposes dependencies that break the intended architecture, including invalid layer access, cross-slice imports, and unsafe regular-expression handling in import scanning.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fsdarch plugin — 4 skills, 6 commands shipped together

Good fit Use it to collect and classify imports, resolve aliases and relative paths, and detect violations of FSD boundary rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jhlee0409/claude-plugins/boundary-checker
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jhlee0409/claude-plugins --skill boundary-checker
Clone the repo
git clone --depth 1 https://github.com/jhlee0409/claude-plugins

Made for: Claude Code.

Or install fsdarch, the plugin that ships this one along with the rest of its 4 skills, 6 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for boundary-checker

README.md
[![agentmods](https://agentmods.dev/badge/skills/jhlee0409/claude-plugins/boundary-checker/github.svg)](https://agentmods.dev/skills/jhlee0409/claude-plugins/boundary-checker)
Your own site
<a href="https://agentmods.dev/skills/jhlee0409/claude-plugins/boundary-checker"><img src="https://agentmods.dev/badge/skills/jhlee0409/claude-plugins/boundary-checker/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for boundary-checker

Your own site · 80×15
<a href="https://agentmods.dev/skills/jhlee0409/claude-plugins/boundary-checker"><img src="https://agentmods.dev/badge/skills/jhlee0409/claude-plugins/boundary-checker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,708 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.02708
Opus 5 $0.00006 $0.01354
Sonnet 5 $0.00003 $0.00542
Haiku 4.5 $0.00001 $0.00271

Measured 9d ago against content hash 887a9c1cfbce, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

boundary-checker scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/fsd-architect/skills/boundary-checker/SKILL.md · 407 lines

How it starts

The opening of the file, as written. The whole thing — 407 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Boundary Checker Skill

FSD Import 경계 규칙을 검사하고 위반 사항을 감지합니다.

EXECUTION INSTRUCTIONS

Step 1: Load Layer Map

  1. Use layer-detector skill to get current layer map
  2. Build layer hierarchy for validation

Step 2: Collect Import Statements

For each file in the project:

  1. Read file content

  2. Extract import statements using regex:

    import\s+.*?\s+from\s+['"]([^'"]+)['"]
    

    SECURITY NOTE: Use non-greedy .*? instead of greedy .* to prevent ReDoS (Regular Expression Denial of Service) attacks from maliciously crafted import statements.

    Alternative safer patterns:

    # More specific pattern (recommended for production)
    import\s+(?:\{[^}]*\}|[^'"]+)\s+from\s+['"]([^'"]+)['"]
    
    # Or use multiple specific patterns:
    import\s+\{[^}]*\}\s+from\s+['"]([^'"]+)['"]   # Named imports
    import\s+\w+\s+from\s+['"]([^'"]+)['"]         # Default imports
    import\s+\*\s+as\s+\w+\s+from\s+['"]([^'"]+)['"]  # Namespace imports
    
  3. Categorize imports:

    • Absolute (alias): @entities/user
    • Relative: ../model/types
    • External: react, lodash

Step 3: Resolve Import Paths

For each import:

  1. If alias, resolve using config aliases
  2. If relative, resolve from current file path
  3. Determine target layer and slice

Step 4: Check Layer Hierarchy

Layer Hierarchy (top to bottom):
  app (6)
  pages (5)
  widgets (4)
  features (3)
  entities (2)
  shared (1)

Rule: Lower number cannot import from higher number

For each import:

  1. Get source layer rank
  2. Get target layer rank
  3. If source rank < target rank → VIOLATION

Step 5: Check Cross-Slice Imports

For sliced layers (pages, widgets, features, entities):

Rule: Slices in the same layer cannot import from each other

For each import within a sliced layer:

  1. Get source slice
  2. Get target slice
  3. If source ≠ target and same layer → VIOLATION

Exception: @x/ cross-reference pattern is allowed.

The @x/ pattern enables controlled cross-slice imports within the same layer. See "REFERENCE: @x/ Cross-Reference Pattern" section for details.

Read the full file on GitHub · 407 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 407 lines · 13 tokens per session scan A 887a9c1cfbce

Subscribe to this mod's changes

boundary-checker is a skill published in the GitHub repository jhlee0409/claude-plugins (4 stars, last pushed 7mo ago), licensed MIT. It adds 13 tokens to every session and 2,708 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

scalar-design-system

Scalar's design system — design tokens, theming (@scalar/themes), CSS variables, and the @scalar/components library. Use when designing or implementing Scalar UI, especially with Paper (code-to-design / design-to-code), so output matches real Scalar tokens, colors, typography, spacing, and components instead of…

scalar/scalar · 68 tokens

datamodel-code-generator

Use this skill when the user wants Python data models, Pydantic models, dataclasses, TypedDicts, msgspec structs, or type-safe Python classes generated from OpenAPI, AsyncAPI, JSON Schema, GraphQL, JSON/YAML/CSV sample data, MCP tool schemas, Protocol Buffers, XML Schema, Apache Avro, or existing Python model objects.…

koxudaxi/datamodel-code-generator · 147 tokens

shipwright-pipeline

Autonomous app builder that converts plain-English descriptions into fully built, tested applications. Use when the user wants to build a new app, scaffold a project, generate a full-stack application, or create an app from a description. Trigger with "build me an app", "create a new app", "shipwright build"…

jeremylongshore/tons-of-skills-marketplace · 80 tokens

comfyui-frontend-extensions

Authoring ComfyUI v2 frontend extensions with @comfyorg/extension-api, covering defineNode/defineExtension/defineWidget, shell UI (sidebar tabs, commands, hotkeys), typed events, and handles. Use when writing or editing ComfyUI web-UI extension code (custom node JS, sidebar panels, widgets).

artokun/comfyui-mcp · 76 tokens

image-seo-audit

Audit every image on a page for SEO, performance, and accessibility — alt text quality, tiered file-size thresholds, WebP/AVIF format adoption, srcset/sizes responsiveness, lazy loading, fetchpriority on the LCP image, and width/height for CLS — producing an optimization list sorted by file-size savings. Triggers on…

indranilbanerjee/digital-marketing-pro · 139 tokens

design-system

Builds and maintains the design system a product is assembled from — tokens for color, type, spacing and elevation, component contracts, and the rules that keep them coherent as the product grows. Use this when starting a new interface, when screens have drifted apart visually, when the same component exists three…

cbrock84/headcount · 82 tokens