본문으로 건너뛰기
cccskills
무료GitHub에 공개

python-patterns

Team conventions for Python development — credentials, API clients, LLM response parsing, testing patterns, and data pipeline structure. Covers dotenv loading, retry logic, secret validation, and pipeline anti-patterns.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(5)

  • SKILL.md1.5 KB
  • references/api-clients.md1.5 KB
  • references/credentials.md829 B
  • references/pipelines.md2.5 KB
  • references/testing.md1.3 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Python Patterns — Team Conventions

Unified conventions for team Python projects: credential management, API clients, testing discipline, and data pipeline structure. Supplements standard patterns with team-specific rules.

When to Activate

  • Writing credential/secret handling code or .env files
  • Creating or modifying API clients (GitHub, Stripe, LLM APIs)
  • Parsing LLM responses or structured API outputs
  • Writing or reviewing tests (TDD workflow, mocking external APIs)
  • Building or debugging data pipeline stages
  • Reviewing code that handles HTTP responses or LLM output

Quick Rules

Credentials:

  • Never hardcode or use real defaults. Fail fast if missing. Always create .env.example.

APIs:

  • Always timeout (30s). Only retry transient errors (429, 5xx). Always validate response structure.

Tests:

  • Mock external APIs. Set random_state=42. Target 80%+ coverage. Test behavior, not internals.

Pipelines:

  • Each stage is independently runnable. Validate input before processing. Include metadata in every output. Fail fast on invalid data.

Details

Read references/credentials.md, references/api-clients.md, references/testing.md, and references/pipelines.md for full examples and anti-patterns.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

User asks for design, planning, or approach exploration before implementation. Covers new features, components, refactors, or architecture decisions. Creates design docs and proposes approaches with trade-offs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Benkapner/claude-code-basecamp182026년 10월 1일 업데이트

ci-guard

무료

Use when starting work in a repository under repositories/ that may lack CI configuration. Detects missing CI workflows (GitHub Actions, GitLab CI, CircleCI) and alerts the user to add one. Skips repos marked as research-only.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Benkapner/claude-code-basecamp182026년 10월 1일 업데이트

Use when the user asks to measure command execution time or optimize a feedback loop. Records explicit measurements and recommends faster alternatives such as unit tests versus integration tests. It is opt-in; it does not run on every command.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Benkapner/claude-code-basecamp182026년 10월 1일 업데이트

Measurement-driven code refactoring — profile before changing, measure after, keep only if metrics improve. Covers complexity reduction, extraction patterns, and bulk refactoring for mechanical changes across many files.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Benkapner/claude-code-basecamp182026년 10월 1일 업데이트

Scan projects for credential leaks, secrets in code, insecure patterns, LLM API key exposure, PII leakage to external AI services, and .env/.gitignore misconfigurations. Especially useful for data and API integrations, regardless of implementation language.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Benkapner/claude-code-basecamp182026년 10월 1일 업데이트

Use when committing or pushing changes and the repository needs a version bump. Analyzes commits using conventional commit prefixes to determine whether the next release is a major, minor, or patch increment. Also use when the user asks about versioning, release planning, or changelog generation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Benkapner/claude-code-basecamp182026년 10월 1일 업데이트

Benkapner의 스킬 모두 보기

이 스킬의 문제 신고