Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Rails File Server - Skill - OpenSmartRoute
Skillv1.0.0
Rails File Server
Use quando criar ou editar o servidor Ruby on Rails isolado para upload, armazenamento, recuperação de documentos, anexos, metadados e fluxo seguro de arquivos.
Instruction file imported from fernandobnog/controle_financeiro (.github/instructions/rails-file-server.instructions.md). Copyright stays with the author.
Servidor de Arquivos em Rails
Mantenha o servidor Rails isolado da lógica de decisão financeira; ele deve cuidar de upload, armazenamento e acesso controlado a documentos.
Siga convenções idiomáticas de Rails e mantenha o código compatível com RuboCop.
Valide tipo MIME, extensão, tamanho e origem dos arquivos antes de persistir.
Nunca exponha caminhos internos de armazenamento ou credenciais em respostas públicas.
Prefira URLs assinadas, tokens temporários ou mecanismos equivalentes para acesso a arquivos.
Registre eventos relevantes de upload, falha, exclusão e leitura para trilha de auditoria.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/fernandobnog-controle-financeiro-rails-file-server-instructions/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "fernandobnog-controle-financeiro-rails-file-server-instructions",
"kind": "skill",
"name": "Rails File Server",
"description": "Use quando criar ou editar o servidor Ruby on Rails isolado para upload, armazenamento, recuperação de documentos, anexos, metadados e fluxo seguro de arquivos.",
"publisher": "fernandobnog",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Use quando criar ou editar o servidor Ruby on Rails isolado para upload, armazenamento, recuperação de documentos, anexos, metadados e fluxo seguro de arquivos."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/fernandobnog/controle_financeiro",
"path": ".github/instructions/rails-file-server.instructions.md",
"ref": "45791eee41725de111faa93e46df9bfac7c5fa16",
"url": "https://github.com/fernandobnog/controle_financeiro/blob/45791eee41725de111faa93e46df9bfac7c5fa16/.github/instructions/rails-file-server.instructions.md",
"key": "fernandobnog/controle_financeiro/.github/instructions/rails-file-server.instructions.md"
}
},
"instructions": "# Servidor de Arquivos em Rails\n\n- Mantenha o servidor Rails isolado da lógica de decisão financeira; ele deve cuidar de upload, armazenamento e acesso controlado a documentos.\n- Siga convenções idiomáticas de Rails e mantenha o código compatível com RuboCop.\n- Valide tipo MIME, extensão, tamanho e origem dos arquivos antes de persistir.\n- Nunca exponha caminhos internos de armazenamento ou credenciais em respostas públicas.\n- Prefira URLs assinadas, tokens temporários ou mecanismos equivalentes para acesso a arquivos.\n- Registre eventos relevantes de upload, falha, exclusão e leitura para tri",
"cost": {
"context_tokens": 154
}
}
Fetch it by URL: GET /api/v1/registry/fernandobnog-controle-financeiro-rails-file-server-instructions/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.