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/github.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/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 senior-engineer

Your own site · 80×15
<a href="https://agentmods.dev/skills/fthsrbst/mnema/senior-engineer"><img src="https://agentmods.dev/badge/skills/fthsrbst/mnema/senior-engineer.svg" alt="Reviewed on agentmods" width="80" 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.5 $0.00024 $0.00255
Sonnet 5.5 $0.00012 $0.00127
Haiku 4.5 $0.00006 $0.00064

Measured 3mo ago against content hash 19693a89f7f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 3mo 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. 3mo 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 (3 stars, last pushed 3mo ago), licensed MIT. It adds 59 tokens to every session and 637 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-08-31.

Related

senior-engineer compared with skills from other repositories

senior-engineer next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
senior-engineerfthsrbst/mnemaSkill33mo agoMITA59Claude Code, Codex
otito-reviewBASHBOP/otitoSkill22mo agoMITA35Claude Code, Codex
otitoBASHBOP/otitoSkill22mo agoMITB77Codex
simplicio-orientwesleysimplicio/simplicioSkill282mo agononeA119Claude Code
simplicio-reviewwesleysimplicio/simplicioSkill282mo agononeA144Claude Code
phase-final-reviewerhraness/atetSkill52mo agoMITA98Codex
phase-reviewerhraness/atetSkill52mo agoMITA94Codex