/best-copilot:td-python-coding-guidelinesfrom best-copilot
Applies Google Python style guide rules for lint, imports, naming, docstrings, exceptions, and type annotations. Use when writing, reviewing, or migrating Python code toward Google style.
Ships in best-copilot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Aligned with the official document: https://google.github.io/styleguide/pyguide.html.
Coverage: section 2 language rules (2.1-2.21) and section 3 style rules (3.1-3.19).
| File | Scope | When To Load |
|---|---|---|
references/language-rules.md | Section 2.1-2.21 language-level rules: lint, imports, exceptions, default values, truthiness, decorators, threading, __future__, general type-annotation rules, and related topics. | Before writing or refactoring code. |
references/style-rules.md | Section 3.1-3.18 style-level rules: semicolons, line length, whitespace, comments, docstrings, strings, logging, TODOs, import formatting, naming table, main, and function length. | When writing, formatting, or standardizing style. |
references/exceptions.md | Deep dive for section 2.4: assert boundaries, custom exceptions, the two catch-all exceptions, exception chaining, Raises: constraints, and anti-patterns. | When handling exceptions or reviewing error paths. |
references/type-annotations.md | Section 2.21 and 3.19.1-3.19.16 type annotation details: NoneType, TypeAlias, TypeVar, generics, TYPE_CHECKING, and related topics. | When annotating public APIs, refactoring types, or migrating typing usage. |
references/review-checklist.md | A-N review checklist with an output template. | During code review. |
Identify the task type
style-rules.md and language-rules.md.exceptions.md.type-annotations.md.review-checklist.md.Load references on demand
Implement changes or provide review comments
Keep output traceable
Critical, Major, or Minor by using the output template at the end of review-checklist.md.# pylint: disable=xxx.X | None. Prefer collections.abc.* abstract containers.Raises: should list only exceptions that are part of the API contract. Do not list exceptions caused by API misuse.references/style-rules.md, then references/language-rules.md.references/exceptions.md.references/type-annotations.md.references/review-checklist.md and follow its output template.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub funky-eyes/best-copilot --plugin best-copilot39 skills in this plugin
/brainstormingCompatibility entrypoint for unresolved MEDIUM/LARGE design choices. PM and Technical Architect workflows own the SDD rules; do not load this skill for clear or approved work./change-verificationUse after code or configuration changes to prove the changed behavior with minimal sufficient commands, HTTP/browser checks, or static evidence. DO NOT USE FOR: purely speculative review without a concrete change./context-packet-fastpathUse to prepare a minimal context packet for a delegated subtask or to consume a frozen packet without re-reading unrelated files./core-workflow-contractUse when an agent needs the shared best-copilot contract for source priority, runtime adapters, init gates, work modes, dispatch packets, review, verification, memory, spec, state persistence, or closeout./developer-workflowUse when implementing a frozen subtask, staying inside assigned files, or reviewing Technical Architect-owned code as the Developer./development-branch-closeoutUse after implementation and required verification when PM/coordinator must choose merge, pull request, preserve, discard, or workspace cleanup handling for the current branch.Other plugins' skills for the same job