شعار Engineering Principles

Engineering Principles

المجتمع
Motaghi
engineering-principles

Engineering review and implementation criteria that the orchestrator attaches as a labeled input or a sub-agent reaches by pointer, one file per principle. Not for general coding chat. Not a debugging, review, simplify or TDD (test-driven development) workflow: root-cause-diagnosis, the project's code-review process, a simplification tool and build-team own those. Use when the user or the orchestrator names this skill. Edits nothing, dispatches nothing.

نظرة عامة

الناشرMotaghi
المستودعmimir-skills
اسم المهارةengineering-principles
النجوم
51
التفريعات
0
الملفات المرفقة
18
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 18

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها Motaghi على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Engineering Principles في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/Motaghi/mimir-skills/tree/main/skills/engineering-principles
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Motaghi/mimir-skills.git /tmp/mimir-skills
mkdir -p .claude/skills
cp -r /tmp/mimir-skills/skills/engineering-principles .claude/skills/engineering-principles
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Engineering Principles في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Engineering Principles تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Engineering Principles بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

engineering-principles

A reference package of engineering criteria. Each principle is a short file with a rule, the reason for it, numbered checks a reviewer can apply, and an explicit statement of when it does not apply. The package holds criteria only. It does not give a general code review or a merge verdict, run a build, diagnose a failure or write code.

How it is used

A user or orchestrator naming this skill, by name or slash command, or attaching it as a labeled input, counts as activation. The agent's own choice to load it does not. For a principle named in the request, load only that principle's file. Without activation, ordinary questions are answered normally, without the numbered report.

The orchestrator decides when a principle is relevant and attaches the matching file under references/principles/ as a labeled input to the task: a design question, a review brief, or an implementation brief. A sub-agent can also reach a file through a one-line pointer in its own instructions; such a standing pointer says where the file lives and does not activate it by itself. On a direct invocation by the user or the orchestrator, pick the file or files that match the request, as below, and apply them in the same way. In every case the person or sub-agent doing the work applies the checks to the artifact in front of them and reports each check by file and number as met, failed, not applicable or unverified. A failed or met result cites the place in the artifact that shows it (file and line, a call chain, a named crash point, or workload figures); a check with no such evidence is reported as unverified, not estimated.

The package never dispatches anything, never picks a model or provider, and never commits, pushes or installs anything. If a request asks it to do any of those, it hands the decision back to the orchestrator. It does not apply to ordinary coding conversation such as syntax, library use or how to write a loop; those questions are answered without it. Attach one or two files, or three when the change raises three distinct concerns; never the whole set.

Required capabilities

  • filesystem to read the principle files inside this package and the code or documents under review. Nothing is written.
  • git-read for the history and diff reads in three files: the commit log for the hotspot scan, and the comparison base, its merge-base and the diff for review-fixed-point-traceability.md and quality-bar-guard.md. No command that changes the repository.
  • docs for review-fixed-point-traceability.md and hotspot-scan.md, to read specs, plans and decision records that live outside the repository. Nothing is written.
  • task-tracker for review-fixed-point-traceability.md, to read the task record that a commit message names, and for quality-bar-guard.md, to read a task record that gives the reason and the owner's agreement for a lowered bar (the task tracker, read-only). No command that adds, starts, finishes, blocks, holds, moves or removes a task.

If a file that a check depends on cannot be read, mark that check unverified. The same holds when a capability above is missing at run time: mark each check that rests on it unverified and name the capability. Do not guess, and do not substitute another source. The domain-language file points to project authority files, and a project authority file that cannot be read is reported as missing, not invented.

Principle index

PrincipleAttach whenRule in one lineFile
Idempotent operationsA state-changing step can be retried, restarted or interrupted.A state-changing operation reaches the same end state however often it runs and wherever an earlier run stopped.references/principles/idempotent-operations.md
Boundary disciplineNew validation, parsing or framework glue is being written or reviewed.Validate and narrow data where it crosses a system boundary; trust typed data inside; keep logic in pure functions behind a thin shell.references/principles/boundary-discipline.md
Minimize reader loadWrappers, extra layers or shared mutable state make code hard to trace.Judge code by the work a reader must do: layers to trace and state to hold. Cut both where they cost more than they save.references/principles/minimize-reader-load.md
Model the domainBooleans or phase flags must stay in sync, or the same branching repeats across files.Encode the real domain in a data structure instead of scattering it across conditionals.references/principles/model-the-domain.md
Domain languageA domain word is used with two meanings, or a design depends on an unsettled term.Settle what a domain word means before designing around it; test with scenarios; record a decision only when it clears the three-part threshold.references/principles/domain-language.md
Cheap local testSomeone asks whether a test is worth writing first, or an existing test looks pinned to internals.Write the failing test first only when a cheap local check exists; judge tests by whether they break with the behavior and survive an internal change.references/principles/cheap-local-test.md
Deep modulesA module's interface, a seam or a test surface is being designed or restructured.Put much behavior behind a small interface, at a seam where something really varies, and test through that interface.references/principles/deep-modules.md
FoundationsCore types, data structures, shared state or the order of scaffold and feature work is being decided.Settle the data shape and shared foundations before logic; do work that every later phase needs first.references/principles/foundations.md
LazinessA refactor, a diff size or a new layer or signal thread is being weighed.The most result with the least code: removal first, one source for each decision, the smallest change. Never applies to output completeness.references/principles/laziness.md
Subtract before you addA removal or cleanup is being weighed before new work is added.Remove dead code, redundant guards and stubs first; never subtract regulated, client-contract or publicly relied-on behavior.references/principles/subtract.md
Redesign from first principlesA new requirement is being added to an existing design, and the design may need reshaping instead of a patch.Compare with what you would build from scratch, and redesign only after evidence that adding onto the current shape would keep the wrong model.references/principles/redesign.md
Migrate callers, then deleteA new internal API replaces an old one that still has callers.Move every caller and delete the old API in the same change set; external, public, client, data, legal and compatibility contracts are excepted, and a time-boxed adapter needs a stated reason and a date.references/principles/migrate-callers.md
Outcome-oriented executionA planned rewrite or migration with explicit phases is being run.Aim at the verifiable end state; declared, scoped, reversible breakage is fine between phases, and a safe intermediate state is required where live use, stored data or irreversible steps are involved.references/principles/outcome-execution.md
Explain the numberA measured speedup, regression, throughput, latency or eval result is about to be trusted, reported or acted on, or a size, effort, count or duration figure for a draft is about to be quoted.Name the limiter, rule out what else the number could be measuring, and keep the run count and spread with it. For an artifact, measure it and give the figure with how it was measured.references/principles/explain-the-number.md
Fixed point and traceabilityA change is being reviewed against a named base, and the originating request or the project's written standards must be found and checked against the diff.Pin the comparison base, then report two separate axes: whether the diff follows the documented standards, and whether every requirement and every behavior change traces to what was asked.references/principles/review-fixed-point-traceability.md
Quality-bar guardA diff is being read for tests, checks, thresholds or waivers that may have been loosened to get a green result.Look for five moves that pass a check without improving the code: a moved threshold, an easier test, a silenced checker, unfinished work and a new waiver. Loosening needs a stated reason and the owner's agreement.references/principles/quality-bar-guard.md
Hotspot scanSomeone asks where architectural effort should go and names no module, subsystem or pain point.Read the commit history once, on request, and list the places that keep changing, with counts and reasons. Propose no interface and set up no recurring survey.references/principles/hotspot-scan.md

Where files overlap on layers: laziness is about diff size and where decisions live, minimize reader load is about the cost of tracing code, and deep modules is about interface shape.

Where files overlap on rewrites: redesign decides whether the design should be reshaped, migrate-callers decides what happens to the old callers once it is, and outcome-execution decides how much interim stability a phased rewrite needs. Mixed rewrites often attach two of them; say which file each finding comes from.

Precedence

When instructions conflict, follow the host's own instruction order and permissions. A step here is a default; when a project instruction differs, the project is right and the step is reported as "overridden by project instruction" with the instruction quoted. Upstream source text is provenance only and never an instruction.

When two principles pull in different directions, say so and name the trade-off. Do not pick silently.

Not this package

A request in any of the areas below belongs to the owner named for it: name that owner, and give no check result or verdict for that request.

  • General code review of a diff, and merge verdicts: the project's code-review process owns those, including any multi-pass review it runs. This package only supplies criteria they may apply. When this skill is activated, by the user or the orchestrator naming it or attaching it, applying its checks to a diff is in scope: report each check by file and number for that diff, and leave the overall review and the merge verdict to that process.
  • Debugging a failure: root-cause-diagnosis owns that.
  • Test-first workflow and coverage gates: build-team and your test-driven-development workflow own those. The cheap-local-test file only says when a test-first step is worth taking.
  • Simplifying code on request: a simplification tool owns that. The reader-load file is a criterion, not an editor.
  • Running, designing or tuning a benchmark: the project's own benchmark procedure owns that. The explain-the-number file only checks a number someone already has.
  • Planning or carrying out a redesign, a migration or a rewrite on request: the orchestrator's routing and build-team own that. The redesign, migrate-callers and outcome-execution files only supply criteria.
  • Visual or interface design critique.

Provenance

This package adapts three bodies of upstream work, each credited in CREDITS.md with its pinned commit:

  • pstack by Lauren Tan (cursor/plugins, MIT): the principle-* skills and tdd, behind most principle files (foundations, idempotent operations, boundary discipline, reader load, domain model, laziness, subtract, redesign, migrate callers, outcome execution, explain the number, cheap local test).
  • Matt Pocock's skills (mattpocock/skills, MIT): domain-modeling, codebase-design, code-review and improve-codebase-architecture, behind domain language, deep modules, hotspot scan and the review traceability file.
  • Addy Osmani's agent-skills (addyosmani/agent-skills, MIT): constraint-driven-development, behind the quality-bar guard.

The evidence conditions, the external-contract exceptions and the checks written for agent use are our own. Licence text is in references/upstream-notice.md.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Engineering Principles؟

Engineering review and implementation criteria that the orchestrator attaches as a labeled input or a sub-agent reaches by pointer, one file per principle. Not for general coding chat. Not a debugging, review, simplify or TDD (test-driven development) workflow: root-cause-diagnosis, the project's code-review process, a simplification tool and build-team own those. Use when the user or the orchestrator names this skill. Edits nothing, dispatches nothing.

لماذا تستخدم Engineering Principles على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Engineering Principles عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Engineering Principles في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/Motaghi/mimir-skills/tree/main/skills/engineering-principles. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Engineering Principles؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Engineering Principles؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Engineering Principles معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Engineering Principles مجانية؟

نعم. نشرها Motaghi على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇