sams-architecture

Codify architectural patterns enforcing Service→Repository→Database with security standards for Python APIs and DevOps workflows.

39|5|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/sam-dumont/claude-skills --skill sams-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sams-architecture
Source: https://github.com/sam-dumont/claude-skills/tree/main/plugins/sams-architecture/skills/sams-architecture
Command: npx skills add https://github.com/sam-dumont/claude-skills --skill sams-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enforces robust, scalable, and secure software architecture patterns, preventing common anti-patterns and ensuring high-quality code across various domains like Python APIs, embedded systems, and DevOps.

Core Features & Use Cases

  • Architectural Pattern Enforcement: Codifies the Service→Repository→Database pattern for Python APIs.
  • Security Standards: Mandates zero-tolerance for security anti-patterns like secrets in code and lack of authentication.
  • CI/CD Automation: Ensures comprehensive CI/CD pipelines are in place for personal projects.
  • Embedded Systems Guidance: Provides specific memory management and BLE protocol design for Garmin Connect IQ.
  • Use Case: When planning a new Python web API, this Skill will guide you to implement a clean, testable architecture with mandatory security checks and automated deployments, preventing costly mistakes early on.

Quick Start

Use the sams-architecture skill to review the proposed architecture for a new Python FastAPI project, ensuring it adheres to the Service→Repository→Database pattern and includes mandatory security checks.

Frequently Asked Questions about sams-architecture

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

FAQPage Schema
How do I structure a Python API to enforce the Service Repository Database pattern?

The Service-Repository-Database pattern separates business logic into services, data access into repositories, and persistence into database layers. This architectural pattern enforces clean separation of concerns, making Python APIs highly testable, maintainable, and scalable.

What is the best way to architect CI/CD pipelines and security for personal Python projects?

The best way to architect CI/CD and security for personal Python projects is to mandate comprehensive pipeline automation alongside zero-tolerance security standards. This approach requires 80% test coverage, prevents hard-coded secrets, and enforces authentication to eliminate vulnerabilities early.

How does memory management and BLE protocol design work for Garmin Connect IQ embedded systems?

Memory management and BLE protocol design for Garmin Connect IQ embedded systems require specific architectural patterns to handle constrained resources. Codifying these mature patterns ensures efficient memory allocation and reliable Bluetooth Low Energy communication within your embedded application architecture.

When do I need to enforce 80% test coverage in my software architecture?

You need to enforce 80% test coverage in your software architecture when establishing robust CI/CD pipelines and preventing common anti-patterns. This threshold applies adaptively across Python APIs, DevOps infrastructure, and frontend projects to guarantee high-quality, secure code.

Does this architectural pattern guidance work for both client work and personal projects?

Yes, this architectural pattern guidance works for both client work and personal projects by applying adaptive standards. It distinguishes between the two contexts, enforcing robust security, comprehensive CI/CD pipelines, and strict architectural patterns appropriately based on the specific project requirements.