@fundamental-ngx/mcp 0.62.4-rc.1 → 0.62.4-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -15,6 +15,7 @@ AI coding assistants (Claude Code, Cursor, VS Code Copilot, Windsurf, etc.) can
|
|
|
15
15
|
- **Component comparison** — side-by-side comparison of alternative components
|
|
16
16
|
- **Usage guides** — decision trees and composition patterns for complex components (dialog, table, card, etc.)
|
|
17
17
|
- **Selector classification** — whether a component is an element, attribute directive, or both, with correct template usage
|
|
18
|
+
- **Companion skills** — installable Claude Code skills for project setup, form generation, table scaffolding, and page layout (`/setup-project`, `/build-form`, `/build-table`, `/build-page-layout`, and more)
|
|
18
19
|
|
|
19
20
|
This eliminates hallucinated APIs and outdated documentation — the assistant works from the actual component metadata.
|
|
20
21
|
|
|
@@ -142,3 +143,27 @@ Each component now includes `selectorType` and `templateUsage` fields to prevent
|
|
|
142
143
|
| `element` | Use as an HTML element | `<fd-card>...</fd-card>` |
|
|
143
144
|
| `attribute` | Use as an attribute on a host element | `<h2 fd-title>...</h2>` |
|
|
144
145
|
| `both` | Element + attribute combined | `<button fd-button>...</button>` |
|
|
146
|
+
|
|
147
|
+
## Complementary Skills
|
|
148
|
+
|
|
149
|
+
The MCP server answers _what_ Fundamental NGX components exist and _how_ their APIs work. For the procedural _how do I compose these together_ knowledge, a set of installable Claude Code skills is available in the repository.
|
|
150
|
+
|
|
151
|
+
Install them with:
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
npx skills add sap/fundamental-ngx
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
Or copy the skills directory into your project's `.claude/skills/` folder.
|
|
158
|
+
|
|
159
|
+
| Skill | Invocation | What It Does |
|
|
160
|
+
| ------------------- | ---------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
161
|
+
| `setup-project` | `/setup-project my-app horizon` | Creates a new Angular app, installs `@fundamental-ngx/core`, applies a SAP Fiori theme, and verifies the setup with a smoke-test component |
|
|
162
|
+
| `build-form` | `/build-form UserProfile firstName:text role:select` | Generates a reactive form with `FormGroup` wiring, `fdp-form-field` composition, typed interface, and automatic error message setup |
|
|
163
|
+
| `build-table` | `/build-table Orders sort filter paginate select=multiple` | Generates a platform data table with `FdpTableDataSource`, column definitions, sort/filter directives, pagination, and row selection |
|
|
164
|
+
| `build-page-layout` | `/build-page-layout ProductDetail subheader footer` | Generates an `fd-dynamic-page` with collapsing header, subheader, scrollable content, floating footer, and optional tabs or FCL integration |
|
|
165
|
+
| `scaffold` | `/scaffold dialog component-ref` | Generates a working component for any supported pattern (dialog, table, card, form, shell, layout-grid) using live MCP data |
|
|
166
|
+
| `migrate` | `/migrate src/app/my-component` | Migrates a component to Angular 21+ signal-based patterns (`@Input→input()`, `@HostBinding→host`, `*ngIf→@if`, `BehaviorSubject→signal()`) |
|
|
167
|
+
| `a11y-audit` | `/a11y-audit fd-menu` | Audits a component for WCAG AA compliance — semantic HTML, ARIA, keyboard navigation, focus management |
|
|
168
|
+
|
|
169
|
+
The skills call back into the MCP server (`get_usage_guide`, `get_component_api`, `get_component_examples`) so the procedural guidance is always backed by up-to-date component metadata.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fundamental-ngx/mcp",
|
|
3
|
-
"version": "0.62.4-rc.
|
|
4
|
-
"description": "MCP server exposing Fundamental NGX component metadata for AI coding assistants",
|
|
3
|
+
"version": "0.62.4-rc.2",
|
|
4
|
+
"description": "MCP server exposing Fundamental NGX component metadata for AI coding assistants. Includes companion Claude Code skills for project setup, forms, tables, page layouts, and more",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|