Programming Discipline (Python · Rust · TypeScript · Go)
A four-language engineering constitution that forces reference reading before coding, then enforces strict types, TDD, and file-size discipline.
Dev & CodingAdvanced★ 67,531⑂ 5,507AI score 9/10Last updated: Aug 9, 2026
What it does
- Fires whenever you touch
.py,.rs,.ts/.tsx, or.gofiles and runs a mandatory "language gate": load the matchingreferences/{python,rust,typescript,go}set before writing any code. - Encodes seven shared axioms: the best code is never written, the type system is your proof system, parse-don't-validate, branded primitives, exhaustive variant matching, validate only at boundaries, and test-first development.
- Ships per-language canonical stacks (Pydantic v2/FastAPI, serde+thiserror/axum, Zod+Hono, gin+sqlc+pgx+slog) and mandated toolchains (uv, cargo-nextest+miri, Bun+Biome+tsc, gofumpt+golangci-lint v2+nilaway).
- Enforces TDD discipline: red→green→refactor, Given/When/Then naming, a test pyramid with time budgets, minimal mocking, and a hard ban on asserting natural-language prompt text.
- Runs a post-write review loop: measure pure LOC (250 = defect), then answer nine architectural self-review questions about responsibility, boundaries, escape hatches, and test coverage.
Who it's for
- Developers working in any of Python, Rust, TypeScript, or Go who want consistent, type-strict AI-written code.
- Tech leads who want team review standards delegated to the agent.
- Teams committed to strict type safety, structured logging, and real TDD.
Example uses
- "Add payment validation to this FastAPI handler" → loads the Python reference, parses input with Pydantic v2 at the boundary, writes a failing test first, then measures the file's LOC.
- "Clean up logging in this Go service" → reads
references/logging.md, useslog/slogat decision points only, and respects the project's existing logger. - "Refactor this Rust module with unsafe blocks" → additionally loads
references/rust-ub/and proposes a miri-backed soundness gate.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/code-yeongyu/oh-my-openagent/HEAD/packages/shared-skills/skills/programming/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on Claude Skill Mart. Copy the packages/shared-skills/skills/programming folder from the GitHub repo code-yeongyu/oh-my-openagent into my ~/.claude/skills/programming/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/code-yeongyu/oh-my-openagent.git && mkdir -p ~/.claude/skills && cp -r oh-my-openagent/packages/shared-skills/skills/programming ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal.
- Clone the repository:
git clone https://github.com/code-yeongyu/oh-my-openagent.git - Create the skills directory:
mkdir -p ~/.claude/skills - Copy the skill:
cp -r oh-my-openagent/packages/shared-skills/skills/programming ~/.claude/skills/ - Verify that the
references/andscripts/subfolders came along — the skill depends on them. - Restart Claude Code and ask it to edit a Python/Rust/TS/Go file to confirm the skill triggers.
- (Recommended) Pre-install the mandated tools:
uv,bun,cargo-nextest,golangci-lint,gofumpt.
View source on GitHub ↗License: NOASSERTION