Claude Marketplaces
SkillsMCP serversMarketplacesPluginsDigestToolsAdvertise
Submit

LLMond Highlights

This week in Claude is LLMond Highlights now. A weekly email, free.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Plugins
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index
  • Plugin index

Site

  • About
  • Tools
  • Submit
  • Advertise
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
by Mert Düzgün
Skills/Python
0xbigboss avatar

Python Best Practices

0xbigboss/claude-code

The python-best-practices skill guides developers in writing type-safe, maintainable Python code by applying immutable data structures, discriminated unions, and domain-specific types to prevent invalid states at type-check time. It's for Python developers who want to follow functional programming patterns and enforce correctness through the type system rather than runtime checks. The skill solves the problem of catching logic errors early and avoiding mutation-related bugs by making illegal application states unrepresentable in the code.

skills.sh installs
1.8K
GitHub stars
51
last updated
Jul 14, 2026
View on GitHubSave

Install

$ npx -y skills add 0xbigboss/claude-code --skill python-best-practices --agent claude-code

Installs into .claude/skills of the current project.

Files

Python Best Practices

Follows type-first, functional, and error handling patterns from CLAUDE.md. This skill covers language-specific idioms only.

Make Illegal States Unrepresentable

Use Python's type system to prevent invalid states at type-check time.

Frozen dataclasses for immutable domain models:

from dataclasses import dataclass
from datetime import datetime

@dataclass(frozen=True)
class User:
    id: str
    email: str
    name: str
    created_at: datetime

# Frozen dataclasses are immutable — no accidental mutation

Discriminated unions with Literal:

from dataclasses import dataclass
from typing import Literal

@dataclass
class Success:
    status: Literal["success"] = "success"
    data: str

@dataclass
class Failure:
    status: Literal["error"] = "error"
    error: Exception

RequestState = Success | Failure

def handle_state(state: RequestState) -> None:
    match state:
        case Success(data=data):
            render(data)
        case Failure(error=err):
            show_error(err)

NewType for domain primitives:

from typing import NewType
SKILL.md on GitHub

Sponsors

Promote your product hereAgent CaffeineSponsoredClose your lid, come back to finished workLLMond HighlightsSponsoredThe AI tools worth your time, every MondaySnugSponsoredThe clipboard manager you and your agent can use, safelyVinena StudioSponsoredWe build premium apps, websites and AI workflows for youknobsSponsoredSee your site on any phone, any day, in any languageAcheliaSponsoredNative herdr client for iOS and macOSWaxSponsoredBlock anything with supervision, without erasing your iPhone

Details

Repository
github.com/0xbigboss/claude-code
Category
Python

More from 0xbigboss/claude-code

All 22
  • Web Fetch929
  • Zig Best Practices388
  • Nix Best Practices359
  • Tamagui Best Practices290
  • Openai Image Gen288
  • Go Best Practices272
  • Playwright Best Practices266
  • Axe Ios Simulator239
  • Electrobun Best Practices209
  • Tilt196
  • Orbstack Best Practices180
  • Canton Network Repos157
  • Ios Device Screenshot155
  • Atlas Best Practices154
  • Git Best Practices149
  • Git Rebase Sync146
  • Testing Best Practices135
  • E2e126
  • Extract Transcripts122
  • React Best Practices3K
  • Typescript Best Practices2.9K

Recommended

More Python
1affaan-m avatarfastapi-patternsaffaan-m/everything-claude-codefastapi patterns1.8Kskills.sh installs
2nvidia avatarcuopt-numerical-optimization-api-pythonnvidia/skillsSolve LP, MILP, QP (beta) with cuOpt Python API — linear/quadratic objectives, integer variables, scheduling, portfolio, least squares.1.7Kskills.sh installs
3nvidia avatartilegym-cutile-pythonnvidia/skillsExpert cuTile programming assistant. Write high-performance GPU kernels using cuTile's tile-based programming model with proper validation and optimization. Sup1.7Kskills.sh installs
4github avataraws-cdk-python-setupgithub/awesome-copilotSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment prerequi1.7Kskills.sh installs
5github avatarruff-recursive-fixgithub/awesome-copilotRun Ruff checks with optional scope and rule overrides, apply safe and unsafe autofixes iteratively, review each change, and resolve remaining findings with tar1.5Kskills.sh installs
6aj-geddes avatarflask-api-developmentaj-geddes/useful-ai-promptsDevelop lightweight Flask APIs with routing, blueprints, database integration, authentication, and request/response handling. Use when building RESTful APIs, mi1.4Kskills.sh installs