用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill documentation命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | documentation |
| description | >- Use when this capability is needed. |
Create clear, comprehensive documentation that serves as a reliable reference for both humans and AI agents.
See references/ for detailed patterns:
references/python-patterns.md - Google-style docstrings, module docsreferences/typescript-patterns.md - TSDoc comments, README sectionsreferences/go-patterns.md - Package and function documentationreferences/rust-patterns.md - Doc comments with examplesUse the documentation checklist:
def process_file(
input_path: Path,
output_path: Path,
*,
encoding: str = "utf-8",
validate: bool = True,
) -> dict[str, int]:
"""Process input file and write results to output file.
Args:
input_path: Path to input file. Must exist and be readable.
output_path: Path to output file. Parent directory must exist.
encoding: Character encoding for file I/O. Defaults to UTF-8.
validate: Whether to validate input before processing.
Returns:
Dictionary with 'lines_processed', 'tokens_found', 'errors_encountered'.
Raises:
FileNotFoundError: If input_path does not exist.
ValueError: If validate=True and input content is invalid.
Examples:
>>> result = process_file(Path("input.txt"), Path("output.txt"))
>>> print(f"Processed {result['lines_processed']} lines")
"""
Bad - documents implementation:
def fetch_user(user_id: str) -> User:
"""First we check the cache using a dict lookup.
If not found, we make an HTTP GET request to /api/users/{id}.
Then we parse the JSON response using json.loads()."""
Good - documents interface:
def fetch_user(user_id: str) -> User:
"""Retrieve user by ID from API.
Fetches user data from the API, using cache when available.
Args:
user_id: Unique user identifier
Returns:
User object with profile data
Raises:
UserNotFoundError: If user doesn't exist
Note:
Results are cached for 5 minutes.
"""
Source: Geoffe-Ga/start_green_stay_green — distributed by TomeVault.