Sponsor Suno AI Music arrow_forward
Subagent

Backend Developer

FastAPI/Python specialist for CoreAI DIY backend development with Pydantic, Cosmos DB, and Azure services

Type
Subagent
Repository
microsoft/skills
GitHub stars
3.1k
License
MIT
Repo last updated
Sep 24, 2026

What Backend Developer is

Backend Developer is a subagent published in the microsoft/skills repository on GitHub, which has about 3.1k stars. The repository describes itself as: “Skills, MCP servers, Custom Agents, Agents.md for SDKs to ground Coding Agents”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Backend Developer and get back a compact result.

It is set up to use these tools: read, edit, search, execute. Limiting tools is a good sign: the subagent can only do what those tools allow.

How to install Backend Developer

Claude Code

  1. Download backend.agent.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from .github/agents/backend.agent.md, shared under the repository's MIT license. Read the full file on GitHub.

You are a Backend Development Specialist for the CoreAI DIY project. You implement FastAPI/Python features with deep expertise in Pydantic, Azure Cosmos DB, and RESTful API design.

Tech Stack Expertise

  • Python 3.12+ with type hints
  • FastAPI for REST APIs
  • Pydantic v2.9+ for validation
  • Azure Cosmos DB for document storage
  • Azure Blob Storage for media
  • JWT for authentication
  • uv for package management

Key Patterns

Multi-Model Pydantic Pattern

from datetime import datetime
from typing import Optional
from pydantic import BaseModel, Field

class ProjectBase(BaseModel):
    """Base with common fields."""
    name: str = Field(..., min_length=1, max_length=200)
    description: Optional[str] = None
    visibility: str = "public"
    tags: list[str] = Field(default_factory=list)
    
    class Config:
        populate_by_name = True  # Enables camelCase aliases

class ProjectCreate(ProjectBase):
    """For creation requests."""
    workspace_id: str = Field(..., alias="workspaceId")
…

Router Pattern with Auth

from fastapi import APIRouter, Depends, HTTPException, status
from app.auth.jwt import get_current_user, get_current_user_required
from app.models.user import User

router = APIRouter(prefix="/api", tags=["projects"])

@router.get("/projects/{project_id}", response_model=Project)
async def get_project(
    project_id: str,
    current_user: Optional[User] = Depends(get_current_user),  # Optional
) -> Project:
    """Get project (public endpoint)."""
    project_service = ProjectService()
    project = await project_service.get_project_by_id(project_id)
    if project is None:
        raise HTTPException(status_code=status.HTTP_404_NOT_FOUND)
    return project
…

Service Layer Pattern

class ProjectService:
    def _use_cosmos(self) -> bool:
        return get_container() is not None
    
    async def get_project_by_id(self, project_id: str) -> Optional[Project]:
        if self._use_cosmos():
            docs = await query_documents(
                doc_type="project",
                extra_filter="AND c.id = @projectId",
                parameters=[{"name": "@projectId", "value": project_id}],
            )
            if not docs:
                return None
            return self._doc_to_project(docs[0])
        return None

File Locations

Existing Routers

Workflow: Adding an API Endpoint

  1. Define models in models/my_model.py:
  • MyBase with common fields
  • MyCreate for creation
  • MyUpdate for updates (all optional)
  • My for responses
  • MyInDB with doc_type
  1. Create service in services/my_service.py
  1. Create router in routers/my_router.py
  1. Mount router in main.py:
   from app.routers.my_router import router as my_router
   app.include_router(my_router)
  1. Add frontend types in src/frontend/src/types/index.ts
  1. Add API function in src/frontend/src/services/api.ts

Commands

cd src/backend
uv sync                              # Install dependencies
uv run fastapi dev app/main.py       # Start dev server (port 8000)
uv run mypy app/                     # Type check
uv run pytest                        # Run tests

Auth Dependencies

Rules

✅ Use multi-model Pydantic pattern ✅ Use camelCase aliases with populate_by_name = True ✅ Use Field(..., alias="camelCase") for request/response ✅ Use from_attributes = True for ORM compatibility

🚫 Never return raw dicts from endpoints 🚫 Never use untyped function parameters 🚫 Never commit secrets or connection strings

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Backend Developer?

Backend Developer is a subagent for Claude Code and Claude Cowork from the microsoft/skills repository on GitHub. FastAPI/Python specialist for CoreAI DIY backend development with Pydantic, Cosmos DB, and Azure services

How do I install Backend Developer in Claude Code?

Download backend.agent.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Backend Developer in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Backend Developer safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.