add-backend
Skill34 starsChanged 4 months agoMITView on GitHub
Add an app backend with `ms app add backend --provider rayfin`. Currently covers database entities and client integration. Use only when the user explicitly requests a database, /add-backend, or Rayfin, and the CLI reports the rayfin feature as enabled.
- Installs packages
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
If rayfin/rayfin.yml exists, use the existing configuration.
- Very specific: line 27
Run from the app root before continuing so the declared dependencies and their version-matched docs are available in node_modules:
- Distinctive: line 34
Use the app's existing package manager and lockfile if it does not use npm.
- Distinctive: line 41
Read the installed package docs identified in these references, then follow them in order:
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Shared instructions: shared-instructions.md
Add an app backend
Required first: pass the Rayfin feature gate.
1. Set up the database
If rayfin/rayfin.yml exists, use the existing configuration. Otherwise, run:
ms app add backend --provider rayfin --jsonThis creates the backend configuration, TypeScript configuration and rayfin/data/,
and declares the runtime client dependency. Keep the existing app layout and
exclude rayfin/.temp/ from version control.
2. Install dependencies
Run from the app root before continuing so the declared dependencies and their
version-matched docs are available in node_modules:
npm installUse the app's existing package manager and lockfile if it does not use npm. Report installation or peer-dependency errors; do not force-install or downgrade the app to bypass them. Add missing direct dependencies only as required by the implementation described in the references.
3. Implement and check the app
Read the installed package docs identified in these references, then follow them in order:
- Data modeling: entities, permissions and runtime client.
- CRUD UI: lists, forms, mutations and persistence checks.
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- ahpxex/open-dashboard★ 136same name
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 repository23 other files it gives its agents.
- github-actions/AGENTS.mdAGENTS.md
- plugins/microsoft-managed-apps/AGENTS.mdAGENTS.md
- add-azuredevopsSkill
- add-data-sourceSkill
- add-dataverseSkill
- add-excelSkill
- add-mcscopilotSkill
- add-office365Skill
- add-office365-usersSkill
- add-onedriveSkill
- add-sharepointSkill
- add-teamsSkill
- add-workiqSkill
- create-appSkill
- delete-appSkill
- deploySkill
- devSkill
- list-appsSkill
- list-connectorsSkill
- playSkill
- share-linkSkill
- shareSkill
- stateSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

