drively

Implement private cloud storage workflows with folder hierarchy, search, previews, and token-based sharing.

12|2|Updated Oct 2, 2025
One-click install
npx skills add https://github.com/hasanraiyan/resume --skill drively
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drively
Source: https://github.com/hasanraiyan/resume/tree/main/.agent/skills/drively
Command: npx skills add https://github.com/hasanraiyan/resume --skill drively

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drively provides a production-ready pattern for implementing private file storage—covering uploads, folders, trash, sharing, search, bulk actions, and audit activity—so you don’t have to design and wire the whole workflow from scratch.

Core Features & Use Cases

  • Private cloud storage UI + admin flow: Tabbed drive shell with search, sorting, infinite scroll, selection, preview, and keyboard shortcuts.
  • Robust file/folder lifecycle: Create/move/rename/star/restore; soft delete with recursive cascade; permanent delete that destroys Cloudinary assets.
  • Cross-app reuse + auditability: Reusable service exports and models for consistent file metadata, activity logging, and storage analytics across multiple apps (e.g., Coursify consumes Drively functions).
  • Sharing and download: Time-limited share tokens (public access route) plus 302 download redirects to Cloudinary.

Quick Start

Use the drively skill to implement file management for your app by following Drively’s folder/file models, API route contracts, and UI patterns (uploads with progress, selection with floating bulk toolbar, and trash/share/search behavior).

Frequently Asked Questions about drively

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

FAQPage Schema
How do I build a private cloud storage UI with Next.js API routes?

You can build a private cloud storage UI using Next.js API routes by implementing Mongoose models for files and folders, Zod-validated endpoints, and optimistic UI updates with rollback for a Google-Drive-like user experience.

How does recursive cascade delete work for cloud storage folder hierarchies?

Recursive cascade delete for cloud storage folder hierarchies works by using path regex to identify and soft-delete all nested child files, while permanent deletion destroys the actual assets stored in Cloudinary.

Can I use Mongoose and Zod to validate file management API routes?

Yes, you can use Mongoose and Zod to validate file management API routes by defining Mongoose models for files, folders, and activity logs, and applying Zod schemas to ensure strict payload validation across your storage endpoints.

How do token-based sharing links work for private file storage?

Token-based sharing links for private file storage work by generating time-limited share tokens that grant public access to specific files via dedicated routes, while downloads use 302 redirects to the underlying Cloudinary assets.

What is the best way to share file storage metadata across multiple Next.js apps?

The best way to share file storage metadata across multiple Next.js apps is to use deterministic service-layer exports, allowing downstream applications to consume consistent file functions and Mongoose models without duplicating logic.

How do you handle optimistic UI updates with rollback in a file management app?

Optimistic UI updates with rollback in a file management app are handled by immediately reflecting user actions like moving or renaming files in the interface, then reverting to the previous state if the underlying Mongoose API call fails.