بنقرة واحدة
python-docs
Python documentation patterns and best practices. Use when writing docstrings, README, or technical docs.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Python documentation patterns and best practices. Use when writing docstrings, README, or technical docs.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
A skill whose only resource is a binary asset for e2e binary-handling tests
A valid test skill with all features
Design RESTful APIs following best practices for consistency, usability, and scalability
Systematic code review methodology for identifying issues, suggesting improvements, and ensuring code quality
Write secure, efficient Dockerfiles following container best practices
Write clear, conventional commit messages that communicate changes effectively
| name | python-docs |
| description | Python documentation patterns and best practices. Use when writing docstrings, README, or technical docs. |
def function(arg1: str, arg2: int) -> bool:
"""Short description of function.
Longer description if needed. Can span multiple lines
and include additional context.
Args:
arg1: Description of arg1.
arg2: Description of arg2.
Returns:
Description of return value.
Raises:
ValueError: When validation fails.
Example:
>>> function("test", 42)
True
"""
class SkillValidator:
"""Validates skill definitions against the specification.
This class provides methods to validate SKILL.md files,
checking both structure and content requirements.
Attributes:
strict: Whether to enforce strict validation rules.
Example:
>>> validator = SkillValidator(strict=True)
>>> result = validator.validate(Path("./my-skill"))
>>> print(result.is_valid)
"""
site_name: Skills MCP Server
site_description: MCP server for Agent Skills specification
repo_url: https://github.com/stacklok/skills-mcp
theme:
name: material
features:
- navigation.tabs
- navigation.sections
- content.code.copy
- content.code.annotate
plugins:
- search
- mkdocstrings:
handlers:
python:
options:
docstring_style: google
show_source: true
markdown_extensions:
- pymdownx.highlight
- pymdownx.superfences
- admonition
Use this template in docs/architecture/decisions/:
# ADR-NNN: Title
## Status
Proposed | Accepted | Deprecated | Superseded
## Context
What is the issue we're addressing?
## Decision
What did we decide to do?
## Consequences
What are the results of this decision?