code-docs — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited code-docs (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Apply Google Style documentation standards to Python (docstrings), Go (comments), and Terraform (descriptions). Ensures consistent, professional, and comprehensive code documentation across multiple languages.
Use this skill when:
Identify the programming language:
.py files, def, class keywords, type hints.go files, func, type, package keywords.tf files, resource, variable, module keywordsRead the corresponding reference file:
references/python_google_style.md for complete docstring standardsreferences/go_google_style.md for complete comment standardsreferences/terraform_style.md for complete description standardsApply documentation to all appropriate code elements:
Python:
Go:
Terraform:
Before finalizing, verify:
When reviewing code:
Always Document:
__init__ methods (explain parameters)Consider Documenting:
Don't Document:
Always Document:
Consider Documenting:
Don't Document:
Always Document:
Consider Documenting:
Don't Document:
When using type hints, docstrings can be more concise:
def add(a: int, b: int) -> int:
"""Add two integers.
Args:
a: First integer.
b: Second integer.
Returns:
The sum of a and b.
"""
return a + bType information is already in the signature, so Args and Returns can be brief.
Always document what errors a function can return:
// ReadConfig reads and parses the configuration file.
//
// Returns an error if the file cannot be read or contains invalid YAML.
func ReadConfig(path string) (*Config, error) {
// implementation
}For complex logic, add inline comments AND comprehensive function documentation:
def dijkstra(graph: Graph, start: Node) -> dict[Node, float]:
"""Find shortest paths using Dijkstra's algorithm.
Implements Dijkstra's single-source shortest path algorithm
using a priority queue for O((V + E) log V) complexity.
Args:
graph: Weighted graph with non-negative edge weights.
start: Starting node for path calculations.
Returns:
Dictionary mapping each node to its shortest distance from start.
Unreachable nodes are not included in the result.
Raises:
ValueError: If graph contains negative edge weights.
Example:
>>> graph = Graph()
>>> graph.add_edge("A", "B", 4)
>>> graph.add_edge("A", "C", 2)
>>> distances = dijkstra(graph, "A")
>>> distances["B"]
4
"""
# Implementation with inline comments for complex partsWhen adding documentation to code:
Complete Terraform documentation standard with:
Complete Python docstring standard with:
Complete Go comment standard with:
All code documentation must:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.