language-standards

language-standards is a skill for Claude Code, Codex from pjosols/pyfastmail-mcp. It costs 0 tokens per session (310 once invoked), scanned A, original, MIT.

A set of Python coding rules covering file structure, functions, errors, formatting, dependencies, and avoiding repeated code. It also recommends tools such as Black, isort, Ruff, and uv.

In plain words
What is it for?
Organizing Python modules, setting function and file-size limits, adding type hints and documentation, handling exceptions, formatting code, linting it, and managing dependencies with uv.
Why use it?
It gives an agent consistent standards for keeping Python code small, readable, checked, and easier to maintain.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Organizing Python modules, setting function and file-size limits, adding type hints and documentation, handling exceptions, formatting code, linting it, and managing dependencies with uv.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pjosols/pyfastmail-mcp/language-standards
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pjosols/pyfastmail-mcp --skill language-standards
Clone the repo
git clone --depth 1 https://github.com/pjosols/pyfastmail-mcp

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for language-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/pjosols/pyfastmail-mcp/language-standards/github.svg)](https://agentmods.dev/skills/pjosols/pyfastmail-mcp/language-standards)
Your own site
<a href="https://agentmods.dev/skills/pjosols/pyfastmail-mcp/language-standards"><img src="https://agentmods.dev/badge/skills/pjosols/pyfastmail-mcp/language-standards/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for language-standards

Your own site · 80×15
<a href="https://agentmods.dev/skills/pjosols/pyfastmail-mcp/language-standards"><img src="https://agentmods.dev/badge/skills/pjosols/pyfastmail-mcp/language-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 310 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00310
Opus 5 $0.00000 $0.00155
Sonnet 5 $0.00000 $0.00062
Haiku 4.5 $0.00000 $0.00031

Measured 8d ago against content hash b90365de98a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

language-standards scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.kiro_bak/skills/language-standards/SKILL.md · 33 lines

What it actually says

Language Standards (Python)

Code Organization

  • No file over 200 lines. Split early, not later.
  • One class or closely related group of functions per module.
  • Use __init__.py to define public API for each package.

Functions & Methods

  • Max ~40 lines per function. Extract helpers if longer.
  • Single responsibility — one function does one thing.
  • Type hints on all signatures. Use Optional, Union sparingly.
  • Google-style docstrings on public functions only.

Error Handling

  • Custom exceptions in a dedicated exceptions.py.
  • Raise specific, catch specific. No bare except:.
  • Let unexpected errors propagate — don't swallow them.

DRY

  • Same pattern twice → extract it.
  • Shared logic belongs in utils or the client, not in endpoint handlers.

Style

  • Format with black (line length 88), sort imports with isort, lint with ruff.
  • No dead code. No TODO comments — either do it or don't.
  • f-strings over .format(). pathlib over os.path.
  • Comprehensions over manual loops when readable.
  • dataclasses or NamedTuple over raw dicts for structured data.

Dependencies

  • Use uv for package management: uv sync, uv run pytest.
  • Dev tools (black, isort, ruff, pytest) go in pyproject.toml [project.optional-dependencies] dev group.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 33 lines · 0 tokens per session scan A b90365de98a9

Subscribe to this mod's changes

language-standards is a skill published in the GitHub repository pjosols/pyfastmail-mcp (0 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 310 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.