senior-engineer

senior-engineer is a skill for Claude Code, Codex from fthsrbst/mnema. It costs 59 tokens per session (637 once invoked), scanned A, original, MIT.

A set of senior software engineering practices for writing and changing code. It covers reading existing code first, handling errors and edge cases, and checking work before declaring it finished.

In plain words
What is it for?
Use it when implementing or reviewing serious code changes, especially changes involving networks, files, databases, processes, migrations, or unusual input.
Why use it?
It helps avoid changes that only work in the happy path, hide useful error information, or break existing users and data.

Skill for Claude CodeCodex

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

Good fit Use it when implementing or reviewing serious code changes, especially changes involving networks, files, databases, processes, migrations, or unusual input.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fthsrbst/mnema/senior-engineer
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 fthsrbst/mnema --skill senior-engineer
Clone the repo
git clone --depth 1 https://github.com/fthsrbst/mnema

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 senior-engineer

README.md
[![agentmods](https://agentmods.dev/badge/skills/fthsrbst/mnema/senior-engineer.svg)](https://agentmods.dev/skills/fthsrbst/mnema/senior-engineer)
Your own site
<a href="https://agentmods.dev/skills/fthsrbst/mnema/senior-engineer"><img src="https://agentmods.dev/badge/skills/fthsrbst/mnema/senior-engineer.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 637 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.00059 $0.00637
Opus 5 $0.00030 $0.00318
Sonnet 5 $0.00012 $0.00127
Haiku 4.5 $0.00006 $0.00064

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

Security

Grade A, and why

senior-engineer 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 7d 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.

skills/senior-engineer/SKILL.md · 33 lines

What it actually says

Senior Engineer Disiplini

Junior kod "çalışır"; senior kod değiştirilebilir, hata durumunda anlaşılır ve gelecekteki okuyucuya dürüsttür. Bu skill davranış çıtasıdır.

Yazarken

  • Önce oku, sonra yaz: Değiştireceğin kodun çağıranlarını ve testlerini görmeden dokunma. Var olan pattern'i takip et; "daha iyi" pattern'i habersiz sokma ([[code-conventions]]).
  • Hata yolları birinci sınıf: Her dış çağrı (ağ, dosya, DB, process) için: timeout var mı, hata mesajı teşhis ettirir mi, degrade davranışı bilinçli mi? Mutlu yol kadar hata yolunu da yaz.
  • Sınır koşulları yazarken düşün: boş liste, null, aynı anda iki çağrı, çok büyük girdi, Türkçe/unicode. Sonradan test yazarken değil, kodu yazarken.
  • Geri alınabilirlik: Şema/format değişikliklerinde eski veriyle karşılaşınca ne olur? Migration tek yönlü mü? (Bu repo'daki migrate() pattern'i örnek.)

Bitti demeden önce (kontrol listesi)

  1. Çalıştırdın mı? (derleme ≠ çalışma; test ≠ gerçek akış)
  2. Hata yolunu en az bir kez tetikledin mi?
  3. Sildiğin/değiştirdiğin şeyin başka kullanıcısı var mıydı? (grep)
  4. Log/hata mesajları, sorunu YAŞAMAYAN birinin teşhis etmesine yeter mi?
  5. Değişikliğin en riskli varsayımı ne — ve nasıl doğruladın?
  6. Alınan kalıcı karar varsa hub'a yazdın mı? (memory_save type=decision)

Teknik borç: bilinçli al, kaydet

Kısayol almak bazen doğrudur — ama sessizce değil:

  • Kısayolu kod içinde // TODO(borç): ile işaretle + gerekçe.
  • Önemliyse proje map'ine next_steps olarak ekle.
  • "Sonra düzeltirim" deme; ya şimdi düzelt ya kayda geçir. Kayıtsız borç faizle döner.

Ölçek refleksi

  • O(n²) döngü + kullanıcı verisi = ileride şikayet. Yazarken n'in kaç olabileceğini bir kez düşün.
  • Ama erken optimizasyon da yapma: ölçmediğin şeyi hızlandırma. Önce doğru, sonra ölç, sonra hızlandır.
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. 7d ago First seen · 33 lines · 59 tokens per session scan A 19693a89f7f7

Subscribe to this mod's changes

senior-engineer is a skill published in the GitHub repository fthsrbst/mnema (2 stars, last pushed 7d ago), licensed MIT. It adds 59 tokens to every session and 637 once invoked, about $0.0003 per session on Opus 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-08-31.

Related

Other skills, from other repositories

simplicio-orient

Terminal-first execution — answer facts with the shell, never with the LLM. Use whenever a step needs a fact about the filesystem, git, processes, or system resources, or runs a build/test/lint/diff whose output would flood context. Substitutes deterministic shell/CLI calls for native LLM operations and clamps their…

wesleysimplicio/simplicio · 119 tokens

review-work

Post-implementation review orchestrator. Launches 5 parallel background sub-agents: Oracle (goal/constraint verification), Oracle (code quality), Oracle (security), unspecified-high (hands-on QA execution), unspecified-high (context mining from GitHub/git/Slack/Notion). All must pass for review to pass. MUST USE…

code-yeongyu/lazycodex · 125 tokens

remove-ai-slops

Remove AI-generated code smells (slop) from branch changes or an explicit file list. Locks behavior with regression tests FIRST, then runs categorized cleanup via parallel deep agents in batches of 5, then verifies with quality gates. Covers 10 slop categories including performance equivalences, excessive complexity…

code-yeongyu/lazycodex · 182 tokens

include-test-files-that-assert-on-behavior-being-changed-in-decl

When delegating a task affected by this skill, include.

ZaxbyHub/opencode-swarm · 29 tokens

code-guidelines-go

Go 1.24–1.27 coding guidelines for the dimetron/pi-go AI agent runtime. Use this skill whenever writing, reviewing, or refactoring ANY Go code in pi-go. This covers idiomatic style, error handling, concurrency, project layout, testing (table-driven, fuzz, benchmarks, synctest), new stdlib usage, golangci-lint v2…

dimetron/pi-go · 124 tokens

check

Auto-fix lint and formatting, then report types and tests. Run before every commit.

ffroliva/gflow-cli · 20 tokens