nazim-file-storage

Manage centralized file storage with public and private paths for Nazim backend resources.

Updated Nov 15, 2025
One-click install
npx skills add https://github.com/AHMADJAN-New/nazim-web --skill nazim-file-storage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nazim-file-storage
Source: https://github.com/AHMADJAN-New/nazim-web/tree/main/.cursor/skills/nazim-file-storage
Command: npx skills add https://github.com/AHMADJAN-New/nazim-web --skill nazim-file-storage

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a standardized and secure way to handle all file uploads, downloads, and path management within the Nazim backend, preventing direct access to storage and ensuring data integrity.

Core Features & Use Cases

  • Centralized File Handling: Enforces the use of FileStorageService for all file operations.
  • Structured Path Management: Organizes files using organization_id and school_id for multi-tenancy.
  • Public vs. Private Storage: Differentiates between sensitive (private) and display (public) files.
  • Use Case: When a user uploads a student's document, this Skill ensures it's stored securely in the private disk, associated with the correct organization and school, and its path is updated in the database.

Quick Start

Use the nazim-file-storage skill to upload a student's document, providing the student's ID and the file.

Frequently Asked Questions about nazim-file-storage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I securely manage backend file storage for multi-tenant applications?

Secure backend file storage is managed by enforcing a centralized service for all uploads and downloads. This service organizes files using organization and school IDs, preventing direct access and ensuring data integrity across tenants.

What is the best way to structure file paths for multi-tenant organizations?

Structured path management organizes files by embedding organization_id and school_id into the directory structure. This ensures all resources like students, staff, and reports are correctly partitioned and easily located within the storage system.

How do I handle public and private file uploads in a backend service?

Public and private file uploads are handled by routing files to distinct storage disks. The dedicated service differentiates between sensitive private documents and displayable public files, applying the appropriate path structure for each.

Can I use a dedicated service to prevent direct access to uploaded files?

Yes, a dedicated FileStorageService prevents direct access to uploaded files. It enforces secure uploads, downloads, and path management, ensuring all file operations adhere to strict organizational and school-level directory structures.

How do I upload a student document to a private storage disk?

To upload a student document, you use the dedicated file storage service to route the file to the private disk. The service associates the file with the correct organization and school IDs, then updates the file path in the database.