production-engineering-practices

production-engineering-practices is a skill for Claude Code, Codex from makifbaysal/tasktrooper. It costs 34 tokens per session (961 once invoked), scanned A, original, Apache-2.0.

A checklist for writing production code that handles errors, logs useful information, protects secrets, and considers performance. Production code is software used by real people and systems, including under failure or attack.

In plain words
What is it for?
Use it when writing or changing code that will run in production, especially code handling user input, external services, logs, or sensitive data.
Why use it?
It reduces silent failures, unsafe error messages, missing diagnostic information, leaked secrets, and avoidable slowdowns.

Skill for Claude CodeCodex

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

Good fit Use it when writing or changing code that will run in production, especially code handling user input, external services, logs, or sensitive data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/makifbaysal/tasktrooper/production-engineering-practices
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 makifbaysal/tasktrooper --skill production-engineering-practices
Clone the repo
git clone --depth 1 https://github.com/makifbaysal/tasktrooper

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 production-engineering-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/production-engineering-practices/github.svg)](https://agentmods.dev/skills/makifbaysal/tasktrooper/production-engineering-practices)
Your own site
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/production-engineering-practices"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/production-engineering-practices/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 production-engineering-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/production-engineering-practices"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/production-engineering-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 961 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.00034 $0.00961
Opus 5.5 $0.00014 $0.00384
Sonnet 5.5 $0.00007 $0.00192
Haiku 4.5 $0.00003 $0.00096

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

Security

Grade A, and why

production-engineering-practices 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.

catalog/agents/backend-developer/skills/production-engineering-practices/SKILL.md · 77 lines

How it starts

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

Production Engineering Practices

Overview

Acceptance criteria describe the happy path. Production is the unhappy paths: bad input, failed dependencies, concurrent access, hostile users. This skill is the non-negotiable bar every change clears in addition to its AC — the things a reviewer at code_review will bounce you for even when the feature "works."

Core principle: Code isn't done when it works; it's done when it fails safely, leaves a trace, and can't be abused.

The bar

Error handling

  • No swallowed errors. Every error is either handled explicitly or propagated with context. An empty catch/if err != nil { } that continues is a review-blocking defect.
  • Wrap with context at each layer so the log names where it broke: fmt.Errorf("create task: %w", err).
  • User-facing errors are actionable and safe; internal detail (stack, ids) goes to logs, never to the client.

Logging & observability

  • Log at the failure site with structured fields (entity id, operation, not free-text).
  • Never log secrets, tokens, passwords, or full request bodies that may contain them.
  • Log the decision, not the novel — one structured line beats ten prose lines.

Security

  • Validate and bound every external input at the boundary: length, type, range, allowed set. Reject early.
  • Secrets come from config/env — never hardcoded, never committed, never logged.
  • A new endpoint/route gets the SAME auth/authorization guard as its neighbors. Copy the guard, don't omit it.

Performance

  • No N+1 queries or requests — batch, join, preload, or cache. A loop issuing one call per row is a defect.
  • Bound every result set: pagination or explicit limits on list endpoints and list views.
  • Don't load unbounded data into memory; stream or page.

Per stack

Stack Adds
Backend Parameterized queries only — no string-concatenated SQL, ever.
Web No dangerouslySetInnerHTML / innerHTML with unsanitised data. Nothing secret in VITE_* / NEXT_PUBLIC_* — those ship to the browser. Every fetch has error and timeout/abort handling, and every route has an error boundary. No token in localStorage unless the repository already does it that way.
Mobile Tokens in Keychain/Keystore (flutter_secure_storage), never in plain prefs. Explicit offline and timeout paths — a request with no network is a state, not a crash. No PII in logs. Permissions requested at the point of use, not on launch.

Read the full file on GitHub · 77 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. 8d ago First seen · 77 lines · 34 tokens per session scan A b9e09b50727b

Subscribe to this mod's changes

production-engineering-practices is a skill published in the GitHub repository makifbaysal/tasktrooper (113 stars, last pushed yesterday), licensed Apache-2.0. It adds 34 tokens to every session and 961 once invoked, about $0.0001 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-05.

Related

Other skills, from other repositories

code-review

Use this skill to systematically review code changes for correctness, security, performance, maintainability, and test coverage. Activates after implementation, before merging, or when asked to review a pull request or code change. Produces a structured review report with findings categorized by severity.

karthikrshet/aiskills · 56 tokens

tdd

Use this skill to practice test-driven development — writing tests before implementation, using tests to drive design, and validating implementation against pre-written tests. Activates when implementing new functionality, refactoring code, or fixing bugs where regression coverage is needed.

karthikrshet/aiskills · 53 tokens

ramp

Fetch and follow Ramp's published agent playbooks inside Paperclip, with mandatory approval gates for spend, incorporation, cards, account setup, and other financial actions.

paperclipai/paperclip · 35 tokens

paperclip-create-agent

Create new agents in Paperclip with governance-aware hiring. Use when you need to inspect adapter configuration options, compare existing agent configs, draft a new agent prompt/config, and submit a hire request.

paperclipai/paperclip · 44 tokens

github-pr-workflow

Prepare a GitHub pull request from a feature branch — branch hygiene, commit shape, title/body, verification notes, screenshots for UI work, and replies to review comments.

paperclipai/paperclip · 39 tokens

paperclip-task-bridge

Create, comment on, update, and list Paperclip tasks from Hermes using scoped Paperclip API credentials.

paperclipai/paperclip · 27 tokens