novo-comando

Generate Django management command scaffolds with batch processing and transactional handling.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/rafaelcostaf4-afk/SurveyHub --skill novo-comando
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: novo-comando
Source: https://github.com/rafaelcostaf4-afk/SurveyHub/tree/main/.claude/skills/new-celery-task
Command: npx skills add https://github.com/rafaelcostaf4-afk/SurveyHub --skill novo-comando

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Skill provides a structured approach to building Django management commands for background processing, batch operations, and scheduled tasks, addressing the need for reliable offline processing and maintenance scripts.

Core Features & Use Cases

  • Generates a Django management command scaffold at apps/{app}/management/commands/{command}.py with a properly implemented BaseCommand and argument parsing.
  • Supports --dry-run, --batch-size, and per-record transactional handling for safe, batched execution and testing.
  • Enforces per-record atomic processing, structured logging, and a testing scaffold to verify behavior.

Use cases include exporting results, performing data maintenance, processing large datasets, and running scheduled maintenance tasks.

Quick Start

Create the Django management command scaffold at apps/{app}/management/commands/{command} and run python manage.py {command} to execute.

Frequently Asked Questions about novo-comando

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

FAQPage Schema
How do I create Django management commands for background batch processing?

Django management commands for background processing are generated as a scaffold at apps/{app}/management/commands/{command}.py. This structure enforces per-record transactional handling, argument parsing, and batched execution for reliable offline workflows.

Can I use Django management commands for scheduled tasks and data maintenance?

Yes, Django management commands support scheduled maintenance tasks and data maintenance scripts. The generated scaffold provides structured logging and predictable execution patterns ideal for running large-scale dataset operations via cron.

What is the best way to handle large dataset processing safely in Django?

Large dataset processing in Django is handled safely using per-record atomic transactions and batched execution. The scaffold enforces per-record atomicity, ensuring that if one record fails, the batch processing remains reliable and predictable.

Does this Django command scaffold support dry-run and batch-size options for testing?

Yes, the Django command scaffold supports --dry-run and --batch-size options. These features allow safe, batched execution and testing of management commands without modifying data, alongside a testing scaffold to verify behavior.

Why do my Django background processing scripts fail during per-record transactional handling?

Background processing scripts fail when per-record transactional handling is not properly implemented. This scaffold enforces per-record atomicity and structured error handling to prevent batch failures and ensure predictable data maintenance.