rayfin-storage
Skill646 starsChanged 25 days agoMITView on GitHub
Use only when the user explicitly requests experimental Rayfin Storage or the project already enables it. Triggers: Rayfin Storage, @microsoft/rayfin-storage, @blob, StorageObject, StorageClient, StorageFolderClient, createStorageClient, rayfin/storage, rayfin dev storage apply, rayfin up storage apply
- Installs packages
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 3 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Do not select or suggest it for a generic file-upload request unless the user explicitly names Rayfin Storage or the project already …
- Very specific: line 16
If @microsoft/rayfin-storage is missing, install the version compatible with the project's Rayfin packages before writing Storage code.
- Very specific: line 28
Read node_modules/@microsoft/rayfin-storage/package.json, resolve rayfinDocs.dir, and read its index.md before changing Storage …
- Very specific: line 29
If direct file access is unavailable, use rayfin docs get --module rayfin-storage --path index.md or the equivalent Rayfin MCP get_doc call.
- Very specific: line 32
Read node_modules/@microsoft/rayfin-core/assets/docs/permissions.md for that API.
- Distinctive: line 33
Do not infer operation signatures, decorator options, result shapes, or error codes from this skill.
- Very specific: line 37
Import blob, StorageObject, ContentTypes, and byte-size helpers from @microsoft/rayfin-core/experimental while Storage remains experimental.
- Distinctive: line 39
Treat authorization policies as the security boundary.
- Very specific: line 41
Keep an explicit @blob({ name }) value aligned with its Storage schema key.
- Distinctive: line 44
Use the typed Storage client rather than constructing Storage HTTP or SAS requests directly.
- Very specific: line 55
Use --force only after reviewing and accepting destructive configuration changes.
≈ “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
Rayfin Storage
Rayfin Storage is experimental.
Do not select or suggest it for a generic file-upload request unless the user explicitly names Rayfin Storage or the project already enables services.storage.enabled.
Bootstrap
If @microsoft/rayfin-storage is missing, install the version compatible with the project's Rayfin packages before writing Storage code.
Enable Storage in rayfin/rayfin.yml:
services:
storage:
enabled: trueVersion-matched documentation
Read node_modules/@microsoft/rayfin-storage/package.json, resolve rayfinDocs.dir, and read its index.md before changing Storage declarations or client code.
If direct file access is unavailable, use rayfin docs get --module rayfin-storage --path index.md or the equivalent Rayfin MCP get_doc call.
Storage folders use Core's shared @role() decorator and policy DSL.
Read node_modules/@microsoft/rayfin-core/assets/docs/permissions.md for that API.
Do not infer operation signatures, decorator options, result shapes, or error codes from this skill.
Guardrails
- Import
blob,StorageObject,ContentTypes, and byte-size helpers from@microsoft/rayfin-core/experimentalwhile Storage remains experimental. - Give every folder at least one authenticated permission decorator; configuration apply rejects folders with no rules, and anonymous Storage permissions are unsupported.
- Treat authorization policies as the security boundary; prefixes organize paths but do not grant access.
- Omit
prefixby default. Add it only when the user explicitly requires path partitioning or the existing application design establishes one; never derive a user-ID prefix merely because authentication is available. If the requirement is unclear, keep the object at the folder root and tell the user that no prefix was added. - Keep an explicit
@blob({ name })value aligned with its Storage schema key. - Send decorated application metadata through
upload({ fields }); intrinsic object fields are server-managed. - Access listed custom fields at the top level because the SDK flattens the service's
fieldsenvelope. - Use the typed Storage client rather than constructing Storage HTTP or SAS requests directly.
Commands
npm install @microsoft/rayfin-storage # Install the SDK separately
npx rayfin dev storage apply # Apply folder configuration locally
npx rayfin up # Deploy and apply enabled services
npx rayfin up storage apply # Re-apply cloud Storage configuration onlyUse --force only after reviewing and accepting destructive configuration changes.
In this repository76 other files it gives its agents.
- common/config/typedoc/AGENTS.mdAGENTS.md
- docs/site/AGENTS.mdAGENTS.md
- .github/skills/react-best-practices/AGENTS.mdAGENTS.md
- packages/docgen/AGENTS.mdAGENTS.md
- packages/guide/AGENTS.mdAGENTS.md
- packages/host-docs/AGENTS.mdAGENTS.md
- packages/tools/AGENTS.mdAGENTS.md
- packages/tools/cli/AGENTS.mdAGENTS.md
- packages/tools/cli/assets/agent-files/AGENTS.mdAGENTS.md
- packages/tools/common/AGENTS.mdAGENTS.md
- packages/tools/docs-lib/AGENTS.mdAGENTS.md
- packages/tools/mcp/AGENTS.mdAGENTS.md
- packages/tools/vscode/AGENTS.mdAGENTS.md
- packages/typescript-sdk/AGENTS.mdAGENTS.md
- packages/typescript-sdk/auth/AGENTS.mdAGENTS.md
- packages/typescript-sdk/core/AGENTS.mdAGENTS.md
- packages/typescript-sdk/data/AGENTS.mdAGENTS.md
- packages/typescript-sdk/storage/AGENTS.mdAGENTS.md
- packages/udf/udf-worker-extension/AGENTS.mdAGENTS.md
- samples/data-app/AGENTS.mdAGENTS.md
- samples/getting-started-auth/AGENTS.mdAGENTS.md
- samples/notes-app/AGENTS.mdAGENTS.md
- samples/todo-app/AGENTS.mdAGENTS.md
- samples/universal-app/template/AGENTS.mdAGENTS.md
- samples/welcome-app-react-auth/AGENTS.mdAGENTS.md
- samples/welcome-app-react-no-auth/AGENTS.mdAGENTS.md
- samples/welcome-app-typescript/AGENTS.mdAGENTS.md
- hotfix-releaseSkill
- launch-vscode-extensionSkill
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-bulk-archive-changeSkill
- openspec-continue-changeSkill
- openspec-exploreSkill
- openspec-ff-changeSkill
- openspec-new-changeSkill
- openspec-onboardSkill
- openspec-sync-specsSkill
- openspec-verify-changeSkill
- privacy-dfdSkill
- rayfin-cli-uxSkill
- vercel-react-best-practicesSkill
- react-clean-architectureSkill
- run-cli-e2e-locallySkill
- vscode-react-webview-architectureSkill
- vscode-webview-trpc-messagingSkill
- rayfin-connectorsSkill
- rayfin-functionsSkill
- rayfinSkill
- rayfin-getting-startedSkill
- app-designSkill
- app-validationSkill
- dax-authoringSkill
- fabric-cliSkill
- fabric-sdkSkill
- playwright-cliSkill
- query-designSkill
- schema-discoverySkill
- visualsSkill
- analyticsSkill
- The first 60 shown.
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.

