Reference docMembers

Library Core Patterns, OOP/SOLID, and Type Hints

Library Core Patterns, OOP/SOLID, and Type Hints is a reference document for GitHub Copilot, from the GitHub awesome-copilot collection by github. The full text is about 2,226 words in 25 sections, with 21 code blocks and 7 tables. It is a supporting file that a skill or agent reads while it works, so the main instructions can stay short.

It is most useful for people working in Backend and Design who use GitHub Copilot.

What it covers

  • Table of Contents
  • 1. OOP & SOLID Principles
  • S - Single Responsibility Principle
  • O - Open/Closed Principle
  • L - Liskov Substitution Principle
  • I - Interface Segregation Principle
  • D - Dependency Inversion Principle
  • Composition Over Inheritance
  • Exception Hierarchy
  • 2. Type Hints Best Practices

The full text is in the members library

Book a call and we will give you access to the full GitHub Copilot library: every entry in full, search by meaning, copy and download.

Source: https://github.com/github/awesome-copilot/blob/main/skills/python-pypi-package-builder/references/library-patterns.md

Author: github, GitHub awesome-copilot. License: MIT.

Related entries