hugagent-backend-dev

Standardize backend feature development across FastAPI, SQLAlchemy, and AgentScope architectures.

195|12|Updated Jul 19, 2026
One-click install
npx skills add https://github.com/ZJU-REAL/HugAgentOS --skill hugagent-backend-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hugagent-backend-dev
Source: https://github.com/ZJU-REAL/HugAgentOS/tree/main/.claude/skills/hugagent-backend-dev
Command: npx skills add https://github.com/ZJU-REAL/HugAgentOS --skill hugagent-backend-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill prevents inconsistent backend implementations by guiding HugAgentOS developers through its established architecture, API conventions, data-access patterns, error handling, and testing requirements.

Core Features & Use Cases

  • Layered Backend Development: Structure changes across FastAPI routes, services, repositories, SQLAlchemy models, and database migrations.
  • API and Data Consistency: Apply standard authentication, dependency injection, response envelopes, pagination, soft deletion, error codes, and configuration practices.
  • Scaffolding and Reference Support: Use templates, architecture documentation, response specifications, error-code guidance, and a feature-generation script when adding new functionality.
  • Use Case: When adding a new backend resource, use this Skill to generate its route, service, and test skeleton, then complete the model, repository, registration, migration, and validation steps according to project standards.

Quick Start

Use the HugAgentOS backend development skill to scaffold and implement a new backend feature named bookmark with the appropriate route, service, tests, model, repository, registration, and migration steps.

Frequently Asked Questions about hugagent-backend-dev

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

FAQPage Schema
How do I scaffold a new FastAPI backend feature with SQLAlchemy models and database migrations?

To scaffold a new FastAPI backend feature, use a feature-generation script to create route, service, and test skeletons automatically. You then complete SQLAlchemy models, repositories, registration, database migrations, and validation steps according to project standards.

What is the best way to structure FastAPI routes, services, and repositories for production?

Structuring FastAPI backend changes requires applying layered separation across routes, services, and repositories. This approach enforces standard database dependency injection, response envelopes, and structured errors to ensure production-ready API design consistency.

How do I implement soft deletion and standard error codes in a FastAPI application?

Implementing soft deletion and standard error codes in a FastAPI application requires following standardized API conventions. By applying configured response specifications and error-code guidance, your backend changes will enforce structured errors and consistent data-access patterns.

Does this backend development skill work with MCP tools and AgentScope architecture?

Yes, this backend development skill standardizes modifications for MCP tools within an AgentScope-based architecture. It guides developers through established registration conventions and configuration practices specific to the HugAgentOS environment.

What do I need to set up before adding new API routes and database models to HugAgentOS?

Before adding new API routes and database models, you need a HugAgentOS environment utilizing FastAPI, SQLAlchemy, and AgentScope. The skill provides architecture documentation, templates, and reference materials to guide your implementation workflow.