code-production

code-production is a skill for Claude Code from byheaven/byheaven-skills. It costs 37 tokens per session (1,353 once invoked), scanned A, original, MIT.

A method for making one controlled code change under a fixed objective and acceptance conditions. It emphasizes small, reviewable edits, staying within the assigned scope, and checking behavior at the right interfaces.

In plain words
What is it for?
Use it to implement or edit code for a bounded task, remove superseded paths, handle scope expansions explicitly, and run relevant checks.
Why use it?
It reduces accidental feature growth and avoids hiding unrelated fixes inside the requested change. For behavior changes, it ties tests to specified scenarios and starts bug fixes with a failing reproduction.

Skill for Claude Code

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

Part of the byworkflow plugin — 10 skills, 2 agents shipped together

Good fit Use it to implement or edit code for a bounded task, remove superseded paths, handle scope expansions explicitly, and run relevant checks.

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

Made for: Claude Code.

Or install byworkflow, the plugin that ships this one along with the rest of its 10 skills, 2 agents.

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 code-production

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/byheaven/byheaven-skills/code-production"><img src="https://agentmods.dev/badge/skills/byheaven/byheaven-skills/code-production.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,353 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.00037 $0.01353
Opus 5.5 $0.00015 $0.00541
Sonnet 5.5 $0.00007 $0.00271
Haiku 4.5 $0.00004 $0.00135

Measured today against content hash 5fcaada30f4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

code-production 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 today.

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/byworkflow/skills/code-production/SKILL.md · 25 lines

How it starts

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

Code production

Before the first edit, decide whether the change adds or reshapes a type, a module, stored data, or a command or job that writes files or records. If it does, read references/structure.md before shaping it.

Before the first repository action in a Git repository — install, build, test, check, or edit — follow Shared checkout.

  • In a Bun repository, use the shared ~/.bun install cache (~/.bun/install/cache) with bun install --offline, setting BUN_INSTALL_CACHE_DIR to it when the environment points elsewhere. If it isn't writable, clone it copy-on-write (cp -cR on macOS, cp -R --reflink=always elsewhere) and point BUN_INSTALL_CACHE_DIR at the clone. Never do a fresh install into a private /tmp cache.
  • Make the simplest coherent change that meets the task's settled Highest-standard bar in-pass instead of deferring quality to QA or review. Modify or delete before adding; remove the superseded path in the same candidate. Bring substandard foundations the change builds on or ships up to standard—rewriting cleanly when needed, reporting expanded scope after (ask first only for irreversible actions or repository-reserved boundaries)—without absorbing unrelated or concurrent work. The proportion of lines changed does not decide the method.
  • Make code self-explanatory through naming, types, and structure, and place rationale, constraints, or API contracts in commit messages, PR descriptions, or documentation — never in source comments. Write zero explanatory, section, "why", or "do not remove" comments in source code. Keep only compiler/tooling-required machine directives (such as an intentional negative-type @ts-expect-error, /* @vite-ignore */, or /// <reference />) and legal/license headers; resolve lint issues in code rather than suppressing correctness or safety rules.
  • Before handing over, read your own diff once as its reviewer and strip anything added without need: any explanatory comments, defensive checks or try/catch on trusted internal paths, casts that bypass the type checker, and nesting an early return would flatten.
  • In a sweep, migration, or batch of similar edits, work so that a break shows at the unit that caused it. For such a batch, or a check you will repeat across many units, reuse an existing rerunnable command or script when one covers the work, otherwise write the smallest script that does or proves it, and keep the invocation as a receipt a reviewer can rerun; a couple of edits visible at a glance need none.
  • Scope follows P1: within the user's scope allowance, widen it where the work calls for it and report the change with its reason; surface any other required expansion instead of silently crossing it. A pre-existing bug, performance concern, or adjacent improvement the directive does not mention is fixed in the same candidate when that allowance covers it, otherwise reported as a follow-up. Presentation, motion, feedback, and conventional states reach the highest craft the work allows (for web or interactive UI code, apply web-craft.md). What the invariants of the Product decision gate return to the owner stays out and is reported as a gap.
  • A repository's written testing standard adds to the rules below, never weakens the ban on self-confirming or meaningless tests.
  • A new test needs an expected outcome from outside the code it checks; a test written from the same reading as the implementation repeats that reading. Three sources supply one. A bug: the fix starts with a case that fails on the unfixed code for the reported reason. A decided requirement that predates the change: each case asserts an outcome its statement names. A trust boundary (authentication, money, deletion, privacy, or a guard on production or secrets): independently derived adversarial cases stay required. Every other change adds no test and runs the existing checks that cover it.
  • Test behavior through the public interface, at the seams the directive or Intent names. A self-confirming or restating test is a defect, not coverage — never add one: a fake external-protocol mock asserting the author's own outgoing request payload or invented upstream response against a mocked fetch or upstream client, a copy of a value the code already holds (a count or roster from a registry, copy text, prompt wording, a constant, source or script text), a test asserting only that a mock was called, or one recomputing the expectation the way the implementation does. A check over every entry of a registry enumerates the registry. When an intended change breaks a restating test, delete or rewrite it rather than update its copy. When a module deepens behind a new interface, delete the superseded shallow tests in the same change. Size committed tests like the neighboring test files, roughly one focused test per stated behavior; scratch checks used during verification need not be kept. A committed test runs production code or checks a formal structure such as a schema, path, heading, link, or size; a one-time observation, such as a deleted file being absent, belongs in the result's evidence.
  • Run the smallest checks that directly judge the changed predicates. Broaden to regression or build coverage when the actual impact surface or dependency uncertainty requires it, and repeat or broaden passing checks only when new changes, failures, or unresolved concerns justify it. Record exact command, exit or result, and raw output location when available. Silence, timeout, malformed output, or a skipped check is not a pass.
  • For a performance change, where speed, latency, memory, size, frame rate, or cost is the target, read references/performance.md before the first edit and follow it through the report.
  • A domain skill you load does not widen scope or change Acceptance.
  • A wait you own — a probe still scanning, a check or deploy still running, a process you started — belongs to this change: stay with it until it reaches terminal state or its stated bound, then report.

Read the full file on GitHub · 25 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed 5fcaada30f4b
  2. 6d ago Changed 4eaffb69f563
  3. 7d ago Changed 5b3629309e00
  4. 19d ago Changed 3dac33dd08aa
  5. 22d ago Changed 5583e6d04123
  6. 23d ago Changed 3b503d1ebcd4
  7. 25d ago Changed · -1 tokens per session 824a88c73aff
  8. 28d ago Changed · +1 lines 672de15a2139
  9. 1mo ago Changed 7eeaf0c86e19
  10. 1mo ago First seen · 24 lines · 38 tokens per session scan A 79ccb0a6f700

Subscribe to this mod's changes

code-production is a skill published in the GitHub repository byheaven/byheaven-skills (2 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 1,353 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-02.

Related

code-production compared with skills from other repositories

code-production next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-productionbyheaven/byheaven-skillsSkill2todayMITA37Claude Code
judge-evaluationkunchenguid/compact-adviserSkill2352d agoMITA24Claude Code
buildingromiluz13/cc10xSkill1671mo agoMITA43Claude Code
tdd-with-phpunitdev-toolings/superpowers-symfonySkill23622d agoMITA42Claude Code
shipthoughtbot/rails-consultantSkill3912d agoMITA20Claude Code
auto-loopclaude-world/director-mode-liteSkill811mo agoMITA17Claude Code
workflowclaude-world/director-mode-liteSkill811mo agoMITA52Claude Code