ワンクリックで
s1-api-conventions
Python API coding conventions for this BookStore project. Use when writing or reviewing Python code.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Python API coding conventions for this BookStore project. Use when writing or reviewing Python code.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Audit codebase for consistency issues, anti-patterns, and missing test coverage
Book publishing domain knowledge including ISBN, BISAC codes, and industry pricing standards.
Generate pytest test suite for a given module
Read-only mode for exploring code safely. Restricts Claude to read, search, and glob operations only.
Run a security-focused code review identifying vulnerabilities
Explain code using visual ASCII diagrams and analogies
| name | s1-api-conventions |
| description | Python API coding conventions for this BookStore project. Use when writing or reviewing Python code. |
Follow these conventions when writing or reviewing Python code in this project.
@dataclass(slots=True) for all modelsint in cents (e.g., price_cents: int)field(default_factory=list) for mutable defaultsstr | None, not Optional[str])dict (not dataclass instances)"status" key in mutation responses ("created", "updated", "deleted")snake_case with a verb prefix: create_book, get_author, list_books_to_dict, _validate_inputEvery public function must have a docstring with:
"""One-line summary.
Args:
param_name: Description.
Returns:
Description of return value.
Raises:
ValueError: When and why.
"""
ValueError for invalid inputs (bad data from the caller)KeyError for missing resources (not found)from models.book import Book