applying-code-standards

applying-code-standards is a skill for Claude Code from MannLabs/proteomics-agent-skills. It costs 41 tokens per session (1,143 once invoked), scanned A, original, Apache-2.0.

A checklist for writing and reviewing code used in scientific data analysis. It covers clear project structure, readable code, explicit settings, input checks, reproducibility, and documentation.

In plain words
What is it for?
Use it when creating or reviewing analysis pipelines, separating exploratory work from production code, preserving raw data, and documenting setup and dependencies.
Why use it?
Analysis code that is hard to understand or repeat makes results difficult to verify and maintain. The checklist sets concrete project and documentation requirements.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the proteomics plugin — 11 skills shipped together

Good fit Use it when creating or reviewing analysis pipelines, separating exploratory work from production code, preserving raw data, and documenting setup and dependencies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mannlabs/proteomics-agent-skills/applying-code-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 MannLabs/proteomics-agent-skills --skill applying-code-standards
Clone the repo
git clone --depth 1 https://github.com/MannLabs/proteomics-agent-skills

Made for: Claude Code.

Or install proteomics, the plugin that ships this one along with the rest of its 11 skills.

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 applying-code-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/mannlabs/proteomics-agent-skills/applying-code-standards/github.svg)](https://agentmods.dev/skills/mannlabs/proteomics-agent-skills/applying-code-standards)
Your own site
<a href="https://agentmods.dev/skills/mannlabs/proteomics-agent-skills/applying-code-standards"><img src="https://agentmods.dev/badge/skills/mannlabs/proteomics-agent-skills/applying-code-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 applying-code-standards

Your own site · 80×15
<a href="https://agentmods.dev/skills/mannlabs/proteomics-agent-skills/applying-code-standards"><img src="https://agentmods.dev/badge/skills/mannlabs/proteomics-agent-skills/applying-code-standards.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,143 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.00041 $0.01143
Opus 5.5 $0.00016 $0.00457
Sonnet 5.5 $0.00008 $0.00229
Haiku 4.5 $0.00004 $0.00114

Measured 3d ago against content hash 133e574397e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

applying-code-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 3d 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.

plugins/proteomics/skills/applying-code-standards/SKILL.md · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Applying Code Standards

Review checklist for ensuring analysis code meets quality standards for maintainability and reproducibility. Covers project structure, readability, reproducibility, and documentation.


Required Output Files (MANDATORY)

Your analysis MUST include these files. Do not consider the analysis complete without them:

  1. config.py - All parameters with rationale comments explaining each threshold
  2. requirements.txt - Pinned dependency versions (e.g., pandas==2.0.3)
  3. README.md - Setup and usage instructions

Checklist

Copy this checklist and track progress:

Code Quality Review:
- [ ] Project structure
- [ ] Readability
- [ ] No unnecessary duplication
- [ ] Configuration is explicit
- [ ] Inputs are validated
- [ ] Reproducibility
- [ ] Documentation
- [ ] Housekeeping

Guidelines

1. Project Structure

  • ALWAYS maintain a clean, consistent directory layout
  • Separate exploratory work (notebooks, helper scripts) from production code (modules)
  • Treat raw data as immutable — never overwrite originals
  • ALWAYS create requirements.txt with the python version (echo "# "$(python --version) >> requirements.txt) and pinned versions (pip freeze >> requirements.txt) to capture the software environment for reproducibility.

Required: requirements.txt example:

# Python 3.13.2
pandas==2.0.3
numpy==1.24.0

2. Readability

  • A program should not require readers to hold more than a handful of facts in memory at once
  • Make names consistent, distinctive, and meaningful (functions, variables, files)
  • Make code style and formatting consistent
  • Keep functions small and focused — each should do one thing well
  • Do not comment and uncomment sections of code to control behavior; use configuration instead
  • Avoid hardcoded paths: use pathlib and relative paths or environment variables
  • Keep data loading, processing, analysis, and visualization in distinct stages

3. No Unnecessary Duplication

Read the full file on GitHub · 165 lines

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. 3d ago First seen · 165 lines · 41 tokens per session scan A 133e574397e8

Subscribe to this mod's changes

applying-code-standards is a skill published in the GitHub repository MannLabs/proteomics-agent-skills (16 stars, last pushed 4d ago), licensed Apache-2.0. It adds 41 tokens to every session and 1,143 once invoked, about $0.0002 per session on Opus 5.5. 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-10-15.

Related

Other skills, from other repositories

proteomics-data-import

Load when ingesting a MaxQuant proteinGroups.txt, FragPipe combinedprotein.tsv, DIA-NN report, or generic CSV / TSV protein-quantification table — normalises columns to a standard schema, emits tables/proteins.csv. Skip when raw spectra are the input (run the search engine first); the file is already OmicsClaw schema.

TianGzlab/OmicsClaw · 81 tokens

proteomics-de

Load when computing two-group differential protein abundance (group2 vs group1, log2FC + p-value + BH-adjusted FDR) via Welch t-test, equal-variance t-test, or Mann-Whitney on a wide protein × sample CSV. Skip when you need multi-condition DE (run pairwise contrasts manually); label-based TMT linear-mixed models.

TianGzlab/OmicsClaw · 79 tokens

proteomics-enrichment

Load for Fisher over-representation analysis of protein identifiers against caller-supplied pathways. Skip rank-based GSEA (use bulkrna-enrichment) or protein differential testing (use proteomics-de).

TianGzlab/OmicsClaw · 45 tokens

proteomics-identification

Load when summarising peptide identifications (PSM count, unique peptide count, distinct protein count, score / charge distributions) from a peptide-level CSV produced by MaxQuant / FragPipe / DIA-NN. Skip when raw spectra are the input (run a search engine first); working with protein-quantification tables (use…

TianGzlab/OmicsClaw · 76 tokens

proteomics-ms-qc

Load when computing protein-table QC — proteins × samples count, missing-value rate, intensity CV (median + mean) — from a MaxQuant / FragPipe / DIA-NN protein-quantification CSV. Skip when raw mzML / RAW spectra are the input (run a search engine first); peptide-level QC is needed (use proteomics-identification).

TianGzlab/OmicsClaw · 77 tokens

proteomics-ptm

Load when summarising PTM sites (phosphorylation, acetylation, ubiquitination, etc.) from a per-site CSV — site-class assignment (Olsen et al. Class I/II/III by localizationprobability), per-PTM-type counts, amino-acid distribution, sites-per-protein. Skip when raw spectra are the input; you only need protein-level…

TianGzlab/OmicsClaw · 95 tokens