project-conventions

Audit Python FastAPI backends to enforce Router, Service, and Repository layer conventions.

2|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/rett-europe/opentreasury --skill project-conventions-rett-europe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: project-conventions
Source: https://github.com/rett-europe/opentreasury/tree/main/.squad/skills/project-conventions
Command: npx skills add https://github.com/rett-europe/opentreasury --skill project-conventions-rett-europe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Backend projects for NGOs often lack standardized engineering conventions, causing inconsistency, maintenance burden, and onboarding friction.

Core Features & Use Cases

  • Enforces architecture layering (Router → Service → Repository) and consistent DI usage.
  • Establishes centralized constants, uniform error handling, code style, and testing standards.
  • Use Case: A new NGO backend can adopt these conventions to accelerate development, improve code quality, and streamline CI/CD.

Quick Start

Audit your backend project and align routing, service, and repository layers with DI and centralized constants to start enforcing these conventions.

Frequently Asked Questions about project-conventions

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

FAQPage Schema
How do I structure a FastAPI backend with Cosmos DB using Router, Service, and Repository layers?

Separate FastAPI routing logic, business logic in the Service layer, and data access in the Repository layer, wiring them together with dependency injection and centralized constants to enforce project conventions and streamline onboarding.

What are standard backend conventions for Python FastAPI projects using Cosmos DB?

Standard conventions include enforcing architecture layering, applying consistent dependency injection, centralizing constants, and establishing uniform error handling, code style, linting, and testing standards to accelerate development and improve code quality.

How do I enforce consistent naming and error handling conventions across my Python backend codebase?

Enforce naming and error handling conventions by auditing your backend project to standardize architecture layering, centralize constants across modules, and apply uniform error handling and linting rules ready for CI/CD integration.

Can I use these backend conventions for a new Python FastAPI project onboarding?

Yes, a new NGO backend can adopt these conventions to accelerate development, improve code quality, streamline CI/CD, and reduce onboarding friction by enforcing consistent architecture, testing, and documentation standards.

What is the best way to set up dependency injection and centralized constants in a FastAPI backend?

The best way to set up dependency injection and centralized constants is to audit your backend project and align Router, Service, and Repository layers with consistent DI wiring and centralized constants across all modules.