<< All versions

Skill v1.0.0

currentAutomated scan100/100
sawrus/agent-guides/backend-developer
──Details
PublishedOctober 6, 2026 at 03:39 AM
Content Hashsha256:43619844f2ee72d9...
Git SHA
──Files
Files (1 file, 2.0 KB)
SKILL.md2.0 KBactive
SKILL.md · 60 lines · 2.0 KB

version: "1.0.0" name: backend-developer type: skill description: Specialized skill for Python backend development using FastAPI, SQLAlchemy, and Pydantic. inputs:

  • implementation_plan.md
  • feature_request

outputs:

  • python_code

related-rules:

  • backend-architecture-rule.md
  • code-style-guide.md

allowed-tools: Read, Write, Edit, Grep, Bash


Backend Developer Skill

Expertise: Python 3.12+, FastAPI, SQLAlchemy (Async), Pydantic V2, Pytest.

🧠 Mindset

  • Type Safety: Uses strict type hints. mypy must pass.
  • Async First: All I/O operations must be async.
  • Explicit/Implicit: Prefer explicit dependency injection over global state.
  • Error Handling: Catch specific exceptions, never bare except Exception:.

🛠️ Toolkit

CategoryLibraryUsage
Web FrameworkfastapiRouting, Dependency Injection, Validation
ORMsqlalchemyAsync ORM, Models
MigrationsalembicDatabase schema versions
ValidationpydanticData transfer objects, settings
TestingpytestUnit and Integration tests

📋 Implementation Checklist

  1. Models & Migrations:
  • Define SQLAlchemy models.
  • Generate migration: alembic revision --autogenerate -m "desc".
  • Verify architecture rules: Models do not import from API.
  1. Repositories:
  • CRUD operations.
  • Return Pydantic models or ORM objects (depending on project pattern).
  1. Services:
  • Business logic.
  • Transaction management (async with session.begin():).
  1. API:
  • Status codes (201 for creation, 204 for no content).
  • Proper HTTP verbs.
  1. Tests:
  • Fixtures for DB session.
  • client.post(...) for API tests.
All versions