一键导入
documentation-standards
Universal documentation standards and best practices for software projects
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Universal documentation standards and best practices for software projects
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Comprehensive Python development skill covering coding standards, CLI development, linting, testing, debugging, refactoring, code review, auditing, documentation, project planning, and bulk operations. Use when writing, reviewing, refactoring, debugging, or documenting Python code; configuring linters; setting up CLI tools; planning features; performing code audits; checking Python antipatterns, forbidden methods, or bad style; or handling bulk operations (10+ files) that benefit from batch workflows instead of per-file iteration.
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
ITU-T-specific contribution document drafting: template structure, header table fields, style-name mapping, equation conventions, and batch workflows. Use when preparing or editing ITU-T contribution .docx files (C-series or TD-series). Delegates formatting rules to sdo-docx-formatting and officecli operations to sdo-docx-operations.
Cross-platform operational guardrails and deterministic helper scripts for officecli OOXML edits on .docx files. Use when editing .docx with officecli raw-set, fixing tab run issues, inserting bookmarks or field codes (SEQ/REF), validating XPath targeting, or preventing destructive raw-set mistakes. Applies across all SDOs -- concrete style names provided by the per-SDO drafting skill.
General 3GPP organization overview, partnerships, scope, and fundamental concepts. Use when working with 3GPP data structures, understanding 3GPP hierarchy, or needing context about 3GPP as an organization.
Change Request procedure, workflow, status tracking, CR database, and step-by-step instructions. Use when working with 3GPP Change Requests to modify specifications, understanding CR lifecycle, or querying CR status.
| name | documentation-standards |
| description | Universal documentation standards and best practices for software projects |
Provide universal documentation standards and best practices that apply across different projects and domains.
# Universal documentation structure
docs/
├── README.md # Project overview
├── architecture/ # System architecture
│ ├── overview.md # High-level architecture
│ └── components/ # Component details
├── development/ # Development guidelines
│ ├── setup.md # Development environment
│ ├── workflow.md # Development workflow
│ └── standards.md # Coding standards
├── api/ # API documentation
│ ├── reference.md # API reference
│ └── examples.md # Usage examples
└── user/ # User documentation
├── getting-started.md # Quick start guide
├── tutorials/ # Step-by-step tutorials
└── reference/ # Detailed reference
Universal Documentation Standards:
.md files)# Universal Markdown Standards
## Headings
- Use ATX-style headings (#, ##, ###)
- Maintain consistent heading hierarchy
- Limit to 3-4 heading levels
## Code Blocks
```python
# Always specify language for syntax highlighting
def example_function():
"""Example with proper formatting"""
return "formatted code"
```
## Lists
- Use consistent list formatting
- Prefer hyphens for bullet points
- Use numbered lists for sequential steps
## Links
- Use relative links for internal references
- Use absolute links for external references
- Include link descriptions
Use this skill when:
# Universal API Documentation Template
## Endpoint: `/api/v1/resource`
**Method:** `GET`
**Description:** Retrieve resource information
**Parameters:**
- `id` (string, required): Resource identifier
- `format` (string, optional): Response format (json, xml)
**Response:**
```json
{
"id": "string",
"name": "string",
"created_at": "datetime",
"status": "string"
}
```
**Examples:**
```bash
# Request example
curl -X GET "https://api.example.com/v1/resource?id=123&format=json"
# Response example
{
"id": "123",
"name": "Sample Resource",
"created_at": "2023-01-01T00:00:00Z",
"status": "active"
}
### Code Documentation
```python
# Universal Python docstring template
class DataProcessor:
"""Process and transform data for analysis.
This class provides methods for cleaning, normalizing, and
transforming raw data into analysis-ready formats.
Attributes:
config (dict): Configuration parameters for processing
logger (Logger): Logger instance for tracking operations
"""
def __init__(self, config=None):
"""Initialize DataProcessor with configuration.
Args:
config (dict, optional): Processing configuration.
Defaults to default configuration.
Raises:
ValueError: If configuration is invalid
"""
self.config = config or self._get_default_config()
self.logger = self._setup_logger()
self._validate_config()
# Universal Tutorial Template
## Tutorial: Getting Started with [Feature]
### Prerequisites
- Basic understanding of [related concept]
- [Software] version [version] installed
- Access to [required resources]
### Step 1: Setup
1. Install required dependencies
```bash
pip install required-package
```
2. Configure your environment
```bash
export ENV_VAR=value
```
### Step 2: Basic Usage
1. Import the module
```python
from package import Module
```
2. Create an instance
```python
processor = Module(config)
```
### Step 3: Advanced Features
1. Configure advanced options
```python
processor.configure_advanced(option=value)
```
2. Process data
```python
result = processor.process(data)
```
### Troubleshooting
- **Issue**: Common problem description
**Solution**: Step-by-step resolution
- **Issue**: Another common problem
**Solution**: Alternative approach
Applies to: