sap/fundamental-ngx

preflight

Run local quality gates before creating a PR

First seen Apr 5, 2026

Installation

$ npx skills add sap/fundamental-ngx --skill preflight

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from sap/fundamental-ngx · top by installs.

npx skills add sap/fundamental-ngx

Browse all from sap/fundamental-ngx

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 294
License LICENSES
Default branch main
Open issues 113
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,063 B
  • docs SUMMARY.md 61 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 23 installs

SKILL.md

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]