secure-task-crud

Community

Secure, async REST tasks with tenant isolation

AuthorSobansaud
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill provides a blueprint for building secure, high-performance REST API endpoints for task management in multi-tenant environments with asynchronous I/O.

Core Features & Use Cases

  • Strict Isolation: Automatically filters queries by current_user.id to enforce per-user data boundaries.
  • Ownership Validation: Ensures only the owner can modify or delete tasks.
  • RESTful Design: Provides standardized routes for list, create, get, update, delete, and status toggling.
  • Payload Validation: Supports request/response serialization with Pydantic/SQLModel models.
  • Async Execution: Leverages async database sessions for non-blocking I/O in high-load apps.

Use Case: In a SaaS task-tracking app, each tenant sees only their tasks and can perform full CRUD on their own items.

Quick Start

Integrate the provided router into your FastAPI app, ensure authentication and Task models are available, and wire up get_async_session.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: secure-task-crud
Download link: https://github.com/Sobansaud/Hackhathon---2/archive/main.zip#secure-task-crud

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.