app-validation
Skill3 starsChanged 29 days agoMITView on GitHub
Run focused checks while implementing and one final static, browser, and persistence validation sequence before calling a Universal App complete.
13 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/ignite26-LAB690their own version, first seen Nov 22, 2026
- khadinakbarlabs/shopify-app-buildertheir own version, first seen Nov 21, 2026
- microsoft/awesome-rayfintheir own version, first seen Nov 15, 2026
- microsoft/DataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilotstheir own version, first seen Nov 8, 2026
- microsoft/ValueLens-for-Microsoft-Copilottheir own version, first seen Oct 25, 2026
- microsoft/ConsumptionCentral-for-Microsoft-Copilottheir own version, first seen Oct 25, 2026
Used with
Projects with it also use rayfin-functions.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillrayfin-functions
Use when writing Rayfin user-defined functions (UDFs), invoking functions from frontend code, or using functions CLI commands. Triggers: rayfin functions, udf.func, UserDataFunctions, RayfinContext, FabricContext, AppFunctionsSchema, functions init, dev functions apply, client.functions, invoke, func start, function_app.ts, types.ts, rayfin/functions/, FunctionClient, FunctionsSchema, fabric-user-data-functions, functionsBaseUrl, VITE_RAYFIN_FUNCTIONS_URL, bootstrap.ts, rayfinClient.ts
Also in 4 projects that use this
Other versions13 projects use a version of this.
Word for word · 1
- microsoft/rayfin★ 646100% same
Edited · 0
None found.
Wrote their own version · 12
- microsoft/awesome-rayfin★ 116same name
- microsoft/ConsumptionCentral-for-Microsoft-Copilot★ 36same name
- microsoft/ValueLens-for-Microsoft-Copilot★ 23same name
- microsoft/AnalyticsHub-Dashboard★ 16same name
- microsoft/DataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots★ 16same name
- khadinakbarlabs/shopify-app-builder★ 4same name
- microsoft/aitour27-LTG291-turn-your-data-into-production-apps-with-rayfin★ 3same name
- microsoft/frontiertour27-LTG291-turn-your-data-into-production-apps-with-rayfin★ 3same name
- microsoft/aitour27-BRK390-building-ai-applications-with-microsoft-databases-and-fabric★ 1same name
- microsoft/fabric-org-app-template★ 1same name
2 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- src/home-loan-desk/AGENTS.mdAGENTS.md
- export-self-guidedSkill
- lab-instructionsSkill
- lab-vm-updateSkill
- check-setupSkill
- lab-checkpointSkill
- analyticsSkill
- app-deploymentSkill
- app-designSkill
- capability-routerSkill
- connectorsSkill
- crud-uiSkill
- data-modelingSkill
- dax-authoringSkill
- external-api-workflowsSkill
- fabric-data-agentSkill
- fabric-sdkSkill
- functions-capabilitySkill
- query-designSkill
- schema-discoverySkill
- visualsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. 0 are common, 15 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 12 edited versions we read keep these.
15
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Do not restart the full validation campaign after every edit.
- Very specific: line 31
When validate:visual reports status: "incomplete" and ok: false, inspect its coverage field and counts.
- Very specific: line 33
If zero schemas were checked, run npm run validate:visual:preview only to permit deployment for browser validation.
- Distinctive: line 35
If some schemas were checked, the partial-coverage result already exits zero and needs no preview flag.
- Distinctive: line 43
Do not infer browser validation from a successful build, deployment, or validator exit code.
- Very specific: line 47
Use the preview escape hatch only when step 5 reports incomplete with zero schemas checked, never for partial coverage or failed.
- Very specific: line 57
Keep npm run typecheck as a separate required gate.
- Distinctive: line 58
Do not race typecheck and build because both use the TypeScript build outputs.
- Distinctive: line 60
If a gate fails, fix the cause and rerun that gate.
- Very specific: line 67
Keep assetAccess: protected for the default deployment.
- Distinctive: line 79
Use the documented local path only when the installed guide and environment support it.
- Very specific: line 80
Do not replace a required deployed check with an HTML fetch or a successful build.
- Distinctive: line 87
Check the app's own console errors.
- Distinctive: line 91
Check dates, currency, percentages, grids, and custom cards independently.
- Very specific: line 94
Keep AuthGate in place for public and protected hosting.
- Distinctive: line 99
Run the paths applicable to the configured host posture:
- Distinctive: line 121
Write specs for utility functions, query factories, hooks, and components with logic worth protecting.
- Distinctive: line 122
Use fixtures shaped like verified query or service results.
- Distinctive: line 123
Do not add tests only to increase coverage.
- Distinctive: line 131
Create a row that should pass the default filters.
- Distinctive: line 133
Update it and confirm the returned values render safely.
- Distinctive: line 134
Delete it and confirm it stays deleted after reload.
“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
App Validation
Static checks and browser checks prove different things. The build can succeed while a chart is empty, a number is scaled incorrectly, a date shifts by a day, or a saved row disappears after reload.
Efficient cadence
During implementation, run the smallest check that covers the behavior you changed. Examples include one utility spec, one query invocation, one pack validator, or one focused browser path. Do not restart the full validation campaign after every edit.
At completion, run each applicable gate once and in this order:
npm run typechecknpm run buildnpm run lintnpm test- Pack validators such as
npm run validate:functionsandnpm run validate:visual - Browser validation
- Persistence create, reload, update, and delete checks for app-owned records
Pack validators can distinguish a failure from an incomplete static check.
When validate:visual reports status: "incomplete" and ok: false, inspect
its coverage field and counts.
If zero schemas were checked, run npm run validate:visual:preview only to
permit deployment for browser validation.
If some schemas were checked, the partial-coverage result already exits zero and
needs no preview flag.
Neither result is a completed visual-validation gate.
Missing or broken Vega-Lite/AJV tooling and actual spec errors report failed
and exit nonzero even through the preview script.
Complete the alternate browser route only after the final report records the
Fabric route or URL checked, the runtime-built charts exercised, whether their
loading states settled, and whether relevant console or render errors remained.
Do not infer browser validation from a successful build, deployment, or
validator exit code.
For a first deployment, run steps 1 through 5 before the remote write.
Use the preview escape hatch only when step 5 reports incomplete with zero
schemas checked, never for partial coverage or failed.
Deploy after the user confirms the target, then run steps 6 and 7 against the
Fabric URL produced by that deployment.
Pre-deploy runtime checks are useful only when the installed guide and current
environment already support a local or deployed app.
They do not replace validation of the newly deployed result.
npm run build uses tsc -b --noCheck.
It produces the deployable frontend quickly, but it does not prove type safety.
Keep npm run typecheck as a separate required gate.
Do not race typecheck and build because both use the TypeScript build outputs.
If a gate fails, fix the cause and rerun that gate. Also rerun later gates only when the fix could invalidate their result.
Where to validate the app
Validate the deployed app through the direct static-hosting URL emitted by the Rayfin CLI, in a fresh standalone browser session.
Also check the actual Fabric or external host when the app uses embedded capabilities.
Keep assetAccess: protected for the default deployment.
Signed-out users must not reach app content, including the welcome page, and authentication or configuration failures must remain gated.
Choose additional checks for the configured posture:
- A public site must show its signed-out Microsoft sign-in screen in a clean browser session, then establish an authenticated app session after sign-in.
- A protected site must restore or establish the current Fabric user's session without rendering authenticated content for a stale persisted identity.
- An embedded site must complete the current host handoff before trusting a persisted session.
Use the documented local path only when the installed guide and environment support it.
Do not replace a required deployed check with an HTML fetch or a successful build.
Local autoLogin intentionally skips the public signed-out screen, so it
cannot substitute for that deployed check.
Browser checks
- Confirm every region renders and all loading states settle.
- Check the app's own console errors. Ignore unrelated portal noise.
- Trace one representative displayed value to its real source. For a semantic model, invoke the exact query file through the connector and explain any transformation between source and display.
- Check dates, currency, percentages, grids, and custom cards independently.
- Confirm keyboard access, visible focus, readable contrast, responsive layout, and reduced-motion behavior where animation exists.
- Exercise important interactions and verify permanent auth, permission, configuration, or query failures appear as errors rather than endless loading.
- Keep
AuthGatein place for public and protected hosting. Public asset access does not weaken API, data, connector, or Functions authorization.
Authentication checks
Run the paths applicable to the configured host posture:
- Public standalone: start signed out, verify the sign-in screen, sign in, and confirm authenticated data loads.
- Protected standalone: reload with a valid stored session and confirm it is restored; repeat with a stale session and confirm the current identity wins.
- Fabric or external embed: load through the real host and confirm the handoff completes before authenticated content renders.
- Local development: confirm
rayfin loginstate can establish a session, stop or misconfigure the backend to verify an actionable failure, then restore it and confirm recovery without weakening the gate.
Layout failures static checks miss
- A chart title renders while the chart body is empty.
- A chart container collapses because it has no definite height.
- Spacing tokens resolve to zero or an invalid class.
- Marks have insufficient contrast with their card background.
- Axis and data-label styling differs accidentally between neighboring charts.
Specs
Write specs for utility functions, query factories, hooks, and components with logic worth protecting. Use fixtures shaped like verified query or service results. Do not add tests only to increase coverage.
Persistence checks
Skip this section when the app reads existing data and owns no records.
For an app-owned entity:
- Create a row that should pass the default filters.
- Reload the page and confirm the row remains visible.
- Update it and confirm the returned values render safely.
- Delete it and confirm it stays deleted after reload.
The reload distinguishes a backend write from optimistic React state. Static access-policy validation remains separate from this browser exercise.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

