A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Claude.md + Prototype Spec template for building real SAPUI5 / Fiori prototypes
This project uses Claude Code (Anthropic's command-line AI coding tool) to generate fully working SAP Fiori / SAPUI5 prototype applications from a simple specification file. You describe what you want in a markdown file, and Claude Code builds the entire UI project for you.
The project contains two key files:
CLAUDE.md — Instructions that tell Claude Code how to build Fiori apps (coding standards, patterns, project structure). Think of it as the "brain" that knows SAP Fiori development.PROTOTYPE_SPEC.md — A specification describing what app to build (fields, filters, mock data, actions, navigation). This is the file you customize for each new prototype.npm install -g @anthropic-ai/claude-code
Open your terminal or VS Code and create a new empty folder for your project:
mkdir my-fiori-prototype
cd my-fiori-prototype
Open this folder in VS Code (code . from the terminal, or File → Open Folder).
Copy CLAUDE.md and PROTOTYPE_SPEC.md into the root of your new project folder. Your folder should now look like this:
my-fiori-prototype/
├── CLAUDE.md
└── PROTOTYPE_SPEC.md
CLAUDE.md is a special file — Claude Code automatically reads any file named CLAUDE.md at the root of your project as persistent instructions. You don't need to reference it manually; it's picked up automatically every time Claude Code runs in that folder.
The included PROTOTYPE_SPEC.md is an example that generates a "Purchase Order Items — Goods Receipt" app. If you want a different app, edit PROTOTYPE_SPEC.md to describe your own application. Follow the same structure:
If you're happy with the example, skip this step and just generate it as-is to see how it works.
Open the integrated terminal in VS Code (Terminal → New Terminal) and start Claude Code:
claude
This starts an interactive Claude Code session in your project directory. Claude Code will automatically detect and read the CLAUDE.md file.
Type a prompt like:
Generate the Fiori prototype based on the PROTOTYPE_SPEC.md file.
or simply:
Build the prototype.
Because CLAUDE.md contains the instruction "If a PROTOTYPE_SPEC.md file exists in the project root and it's not empty, use it as the specification," Claude Code will read your spec and generate the full project without asking additional questions.
Claude Code will create a webapp/ folder with all the necessary files:
webapp/
├── Component.js
├── manifest.json
├── index.html
├── i18n/
│ └── i18n.properties
├── model/
│ └── models.js
├── controller/
│ ├── App.controller.js
│ ├── List.controller.js
│ └── Detail.controller.js
├── view/
│ ├── App.view.xml
│ ├── List.view.xml
│ └── Detail.view.xml
└── fragment/
└── CreateGRDialog.fragment.xml
Once generation is complete, serve the app with a simple static file server:
npx serve webapp/
This starts a local server (usually at http://localhost:3000). Open that URL in your browser and you should see your working Fiori prototype with the Horizon theme, filters, table, navigation, and dialogs — all fully functional with mock data.
Alternatively, you can open webapp/index.html directly in your browser, though some browsers may block local file loading.
If you want to make changes (add a column, change a filter, tweak a dialog), just tell Claude Code what to modify:
Add a "Quantity" column to the table and include quantity values in the mock data.
Change the date format to MM/DD/YYYY instead of DD.MM.YYYY.
Add a "Delete" button that shows a confirmation dialog before removing selected rows.
Claude Code will update only the affected files and keep everything else consistent.
Since the project uses the SAPUI5 CDN (no build step required), you can deploy the webapp/ folder directly to any static hosting service:
npx vercel webapp/ or connect your repo and set the root directory to webapp.webapp/ folder into the Netlify dashboard.webapp/ folder into StackBlitz for an instant online editor.webapp/ folder and enable Pages in your repo settings.PROTOTYPE_SPEC.md (exact field names, mock data values, dialog flows), the better the generated result.CLAUDE.md instructions prefer SelectDialog (F4-style) over simple Select dropdowns for a more authentic Fiori experience.CLAUDE.md file contains all the Fiori patterns and best practices. You just describe what you want in business terms.| Problem | Solution |
|---|---|
| App shows a blank page | Open the browser console (F12) and check for errors. Usually a namespace mismatch between index.html, manifest.json, and Component.js. Ask Claude Code to fix it. |
| "Resource could not be loaded" error | The resourceroots JSON in index.html is likely malformed or multi-line. It must be a single line. Ask Claude Code to check index.html. |
| Table shows no data | This is expected — the table starts empty by design. Click the Go button to load data. |
| Filters don't work | Make sure you clicked Go after setting filter values. Filters are applied on the Go action, not live. |
npx serve command not found | Install Node.js from nodejs.org, then try again. |
Visual, example-driven guide with copy-paste CLAUDE.md templates for quick setup
Portable skills, agents, and templates that add Spec-Driven Development and TDD workflows to any Claude Code project. De
ATLAS: a senior-engineer layer for Claude Code. Explore with wireframes & prototypes, clarify the essentials, capture it
Production-tested CLAUDE.md and rules that make Claude Code write better code and more human text. Anti-AI-slop writing