fundamental-ngx: Skill for Claude Code

.claude/skills/preflight/SKILL.md

preflight is a skill for Claude Code from SAP/fundamental-ngx. It costs 11 tokens per session (499 once invoked), scanned A, original, Apache-2.0.

A local pre-release checklist for the library affected by recent code changes. It formats, builds, lints, tests, checks public exports, and looks for breaking API changes.

In plain words
What is it for?
Checking a changed library before opening a pull request, including its build, code style, tests, public API, and possible breaking changes.
Why use it?
It catches common problems before a pull request, such as failed tests, missing exports, lint errors, or renamed inputs and outputs.

Skill for Claude Code ✓ vendor

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: agent in frontmatter.

This is SAP/fundamental-ngx's own configuration. It tells Claude Code how to work on fundamental-ngx itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fundamental-ngx configures →

About the project

Fundamental Library for Angular is an SAP-maintained Angular component library implementing SAP's design system and wrapping UI5 Web Components. Angular developers use its typed UI components and higher-level composites to build SAP-style web interfaces. Catalogue entries provide skills, agents, instructions, and a rule for working with the library.

SAP/fundamental-ngx · 296 stars · on GitHub · sap.github.io

Reuse

Borrowing it

Nothing to install: this file belongs to SAP/fundamental-ngx. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/SAP/fundamental-ngx/main/.claude/skills/preflight/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/SAP/fundamental-ngx

Made for: Claude Code.

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 preflight

README.md
[![agentmods](https://agentmods.dev/badge/skills/sap/fundamental-ngx/preflight/github.svg)](https://agentmods.dev/skills/sap/fundamental-ngx/preflight)
Your own site
<a href="https://agentmods.dev/skills/sap/fundamental-ngx/preflight"><img src="https://agentmods.dev/badge/skills/sap/fundamental-ngx/preflight/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 preflight

Your own site · 80×15
<a href="https://agentmods.dev/skills/sap/fundamental-ngx/preflight"><img src="https://agentmods.dev/badge/skills/sap/fundamental-ngx/preflight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 499 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00011 $0.00499
Opus 5.5 $0.00004 $0.00200
Sonnet 5.5 $0.00002 $0.00100
Haiku 4.5 $0.00001 $0.00050

Measured 2mo ago against content hash e48452df8100, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

preflight 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 2mo 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.

.claude/skills/preflight/SKILL.md · 92 lines

What it actually says

Preflight Check

Run all local quality gates for the affected library. If no argument provided, detect the library from changed files via git diff --name-only.

Steps

1. Identify scope

# If $ARGUMENTS provided, use it. Otherwise detect from changed files:
git diff --name-only HEAD~1

Map changed file paths to library names (libs/core/ → core, libs/platform/ → platform, etc.).

2. Format

yarn format

Ensure all code is formatted before running quality gates.

3. Build

nx run <library>:build

Report: PASS or FAIL with error summary.

4. Lint

nx run <library>:lint

Report: PASS or FAIL with violation count and top issues.

5. Unit tests

nx run <library>:test --skip-nx-cache

Report: PASS or FAIL with failing test names and error messages.

6. Export check

For each changed component file, verify it is exported from the library's public_api.ts or index.ts. Flag any new public classes missing from exports.

7. Breaking change check

Run git diff on changed files. Flag:

  • Removed input(), output(), or model() declarations
  • Renamed exported classes, functions, or types
  • Changed input/output names
  • Changed default values

If breaking changes found, verify the commit message contains BREAKING CHANGE: footer.

Output

## Preflight Report

| Gate              | Status | Details          |
|-------------------|--------|------------------|
| Format            | PASS   |                  |
| Build             | PASS   |                  |
| Lint              | FAIL   | 3 violations     |
| Unit Tests        | PASS   | 42 tests passed  |
| Exports           | PASS   |                  |
| Breaking Changes  | WARN   | 1 input removed  |

### Failures
[details for each failed gate]

### Action Required
[what needs fixing before PR]
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. 2mo ago First seen · 92 lines · 11 tokens per session scan A e48452df8100

Subscribe to this mod's changes

preflight is a skill published in the GitHub repository SAP/fundamental-ngx (296 stars, last pushed yesterday), licensed Apache-2.0. It adds 11 tokens to every session and 499 once invoked, about $0.0000 per session on Opus 5.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-30.

Related

Other skills, from other repositories

angular-best-practices

Official Angular v22 coding best practices — signals, standalone, native control flow, zoneless, host bindings, Signal Forms, inject(), and accessibility (WCAG AA / AXE). Use whenever writing, generating, or reviewing Angular/TypeScript code in this repo.

anousss007/ng-blatui · 60 tokens

neuralng-angular

Build or update Angular 22+ interfaces with NeuralNg when exact component selection, imports, forms, accessibility, SSR, icons, or theming guidance is needed.

hasanaydin7/NeuralTech · 38 tokens

igniteui-angular-figma-to-app

Builds Angular views from Figma designs with Ignite UI for Angular, supporting Indigo.Design kits, third-party kits, and plain frames. Uses Figma, Ignite UI CLI, theming, and Playwright MCP servers. WHEN TO USE: implementing a Figma design or artboard in an Ignite UI Angular project. WHEN NOT TO USE: screenshots or…

IgniteUI/igniteui-angular · 126 tokens

igniteui-angular-generate-from-image-design

Implements Angular application views from design images using Ignite UI Angular components. Uses MCP servers (igniteui-cli, igniteui-theming, angular-cli) to discover components, generate themes, and follow best practices. WHEN TO USE: the user provides a design image (screenshot, mockup, wireframe) and wants it built…

IgniteUI/igniteui-angular · 215 tokens

igniteui-angular-theming

Generates and customizes Ignite UI for Angular themes including color palettes, typography, elevations, and component-level styles using the Sass theming system and the igniteui-theming MCP server. WHEN TO USE: users ask to theme, restyle, or style Ignite UI components, change colors or the color palette, switch…

IgniteUI/igniteui-angular · 163 tokens

igniteui-angular-grids

Provides guidance on all Ignite UI for Angular data grid types (Flat Grid, Tree Grid, Hierarchical Grid, Grid Lite, Pivot Grid) including setup, column configuration, sorting, filtering, selection, editing, grouping, summaries, toolbar, export, paging, remote data, and state persistence. WHEN TO USE: users ask about…

IgniteUI/igniteui-angular · 162 tokens