Implement comprehensive error handling for Python code paths to keep services resilient and user-friendly. Use when failures are currently silent or exceptions leak through.
中文简介正在准备中。当前显示原文说明。
Apply Google-style docstrings and inline comments to Python .py files. Use when documenting new functions/classes/modules, incrementally documenting touched code, or flagging rename opportunities as TODOs.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Apply consistent Python documentation conventions: docstrings, class-level docs, and inline comments so code stays clear and maintainable.
Docstring format (Python only)
Args:, Returns:, and Raises: with types in parentheses where relevant.def fetch_user(user_id: str) -> User:
"""Load a user by ID from the backing store.
Args:
user_id (str): Unique identifier for the user.
Returns:
User: The user instance, if found.
Raises:
NotFoundError: When no user exists for the given ID.
"""
For modules, add a top-of-file docstring describing the module's purpose:
"""Utilities for loading and caching user records."""
Class docstrings
Comments and single-line docstrings
Renames and TODOs
# TODO in the .py file and reference ticket UN-17829 (e.g. # TODO(UN-17829): rename to get_active_sessions).# TODO(UN-17829): rename to … where appropriate.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Implement comprehensive error handling for Python code paths to keep services resilient and user-friendly. Use when failures are currently silent or exceptions leak through.
中文简介正在准备中。当前显示原文说明。
Tabular and numerical data analysis with descriptive statistics and insights. Use when the user provides data, tables, CSVs, or numbers and wants analysis.
中文简介正在准备中。当前显示原文说明。
Financial factsheet analysis with key metrics extraction and investment rationale
中文简介正在准备中。当前显示原文说明。
Diagnose and fix CI failures without leaving your editor.
中文简介正在准备中。当前显示原文说明。
Reproduce ai-repo PR checks locally with Poe and CI scripts, including per-package typecheck and coverage behavior. Use when validating changes before push or when user asks which local commands match CI.
中文简介正在准备中。当前显示原文说明。
Ask clarifying questions before implementing to ensure Python requirements are understood. Use when a task lacks detail, dependencies are unclear, or multiple interpretations are possible.
中文简介正在准备中。当前显示原文说明。