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.
npx skills add Ozzeron/prompt-pack --skill engineering-principlesgit clone --depth 1 https://github.com/Ozzeron/prompt-packWrote 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.
[](https://agentmods.dev/skills/ozzeron/prompt-pack/engineering-principles)<a href="https://agentmods.dev/skills/ozzeron/prompt-pack/engineering-principles"><img src="https://agentmods.dev/badge/skills/ozzeron/prompt-pack/engineering-principles/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.
<a href="https://agentmods.dev/skills/ozzeron/prompt-pack/engineering-principles"><img src="https://agentmods.dev/badge/skills/ozzeron/prompt-pack/engineering-principles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.02266 |
| Opus 5.5 | $0.00031 | $0.00906 |
| Sonnet 5.5 | $0.00015 | $0.00453 |
| Haiku 4.5 | $0.00008 | $0.00227 |
Grade A, and why
engineering-principles 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 194 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Engineering Principles
The non-negotiable rules every coding skill in this pack must follow. AI agents tend to emit code as if there is no tomorrow: duplicate components, monolithic files, fresh abstractions instead of reuse, no types, no structure. This document exists to stop that.
Every architecture, review, and interface skill inherits these rules. Specific roles add detail on top, but never relax them.
When to use
Always, whenever you write or modify production code. This is a cross-cutting concern.
1. DRY — reuse before creating
Delegated to the dedicated meta skill: meta/reuse-before-create.
That skill is the single source of truth for the reuse-vs-create decision: the strict ordering (reuse → extend → compose → extract → create new), the mandatory one-line justification when creating, the per-artifact-type search strategies, and the "don't trust names alone" rule.
Do not duplicate that logic in this skill or any other. Inherit it, follow it.
2. File and function size
Code is read more than written. Optimise for the next reader.
| Unit | Soft limit | Hard limit |
|---|---|---|
| Function | 40 lines | 80 lines |
| React component | 150 lines | 250 lines |
| File | 250 lines | 400 lines |
| Class | 200 lines | 350 lines |
When you approach the soft limit, split. Hitting the hard limit without splitting is a code smell to flag in review.
Splitting strategies:
- Extract sub-components for distinct UI regions
- Pull pure helpers into the same folder, import locally
- Move types to a
types.tsnext to the file - Group related functions into a class or module if they share state
3. Single responsibility
A function, component, hook, or module does one thing. If you can't describe what it does in a single sentence without "and", split it.
Common violations:
- A component that fetches data, renders UI, and handles navigation — split into hook + UI
- A util that validates AND transforms — make two functions
- A "manager" class with 12 methods — likely 3 modules pretending to be one
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.
- 1mo ago Changed · +2 lines · +49 tokens per session fc80f1784a4f
- 1mo ago First seen · 192 lines · 28 tokens per session scan A d018adc95a7c
engineering-principles is a skill published in the GitHub repository Ozzeron/prompt-pack (8 stars, last pushed 1mo ago), licensed MIT. It adds 77 tokens to every session and 2,266 once invoked, about $0.0003 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.
Other skills, from other repositories
chinese-git-workflow
A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.
go-testing
Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.
ijfw-workflow
Use when the user says: 'build', 'create', 'plan', 'new project', 'brainstorm', 'design', 'UI', 'website', 'dashboard', 'app', 'help me build', 'launch', 'book', 'campaign', or anything project-level. Skill body decides Quick vs Deep path.
ijfw-plan
Use when the user says 'plan this', 'plan it', 'make a plan', 'let's plan', 'draft a plan', 'how should we tackle this', 'break this down', or invokes '/ijfw-plan'. Produces a falsifiable PLAN.md (software, book, campaign, design, research) with task breakdown, dependency wave-table, and success criteria — gated by…
ijfw-writing-skills
Authoring discipline for new IJFW skills. Use when creating a new skill, writing a skill, making a skill that does X, or asked to add a skill. Trigger: create a new skill, write a skill, new skill, make me a skill, skill that does, /ijfw-writing-skills.