شعار Uncomplect

Uncomplect

المجتمع
joelhooks
uncomplect

Pressure-test a stateful system or replacement design through Rich Hickey's simplicity and complection, Greg Young's deletability, Ousterhout's deep modules, DDD boundaries, typed effects, explicit lifecycle modeling, and Lauren Tan's agent-sized context. Use when the user asks "what would Rich Hickey do", "optimize for deletion", "make this simpler", "define this error out of existence", "review this state machine", "design it twice", or wants to replace a working prototype without preserving its accidental architecture.

نظرة عامة

الناشرjoelhooks
المستودعskills
اسم المهارةuncomplect
النجوم
37
التفريعات
0
الملفات المرفقة
5
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Uncomplect

Treat the current system as a functional prototype. It proves which behavior matters; it does not prove its structure was right. Keep the behavior and the evidence, and let the accidental structure go.

The goal is fewer braided concerns, not fewer lines. A replacement that adds a type and deletes three special cases is simpler. A replacement that adds a layer and deletes nothing is not.

Read first

Recommendations built on guesses about the code tend to fix a system that does not exist, so ground every one in what you read. Start with the nearest project instructions, decisions, source, tests, runtime receipts, and current incidents.

For state-machine code, read the machine, the persisted state, the restoration path, invoked actors, guards, and transition tests. For effect-system code, read the project's pinned version and its existing service, error, retry, and transaction boundaries, and check APIs against that version's source.

You are done when every recommendation names the fact it rests on, the behavior it preserves, and the complexity it deletes.

Hickey: separate what was braided

Complection is two independent concerns woven together so that neither can change alone. Build a table of them:

ConcernWhat is braided together?Independent valuesSeparation move

Common braids:

  • value mixed with time;
  • identity mixed with changing state;
  • behavior mixed with storage or transport;
  • behavior mixed with the interface that reaches it, so the same rule is rewritten for the CLI, the HTTP route, and the agent tool;
  • policy mixed with mechanism;
  • current truth mixed with historical facts;
  • lifecycle state mixed with domain data;
  • retry policy mixed with business failure;
  • one generic status hiding distinct facts.

Prefer immutable values and pure functions. Define a behavior once, with its input, output, and failures as types, and derive each interface from that definition. Historical facts stay true, but they report what happened; they do not decide what happens next.

Ousterhout: make the interface deep

A deep module hides a hard problem behind a small interface. Judge a design by change amplification, cognitive load, and unknown unknowns.

For every proposed type, state, service, interface, or configuration value, ask:

  1. What complexity does this element remove?
  2. Does it hide a hard problem behind a small interface?
  3. Can the API define an accidental error or special case out of existence?
  4. Does it pull complexity into one module, or spread policy across callers?
  5. What can we delete after adding it?

Infrastructure that adds names without removing dependencies or obscurity makes the system harder to read, so leave it out.

For consequential replacements, design it twice. Sketch two materially different interfaces, then compare caller burden, hidden knowledge, dependencies, failure semantics, and what each one deletes before choosing.

Young: optimize for deletion

Greg Young's The Art of Destroying Software argues for small programs you can replace when their model stops fitting reality. Replacement is cheap only when a unit carries everything it needs and nothing else reaches into it.

Ask:

  1. Could this module be rewritten from its contracts, tests, and receipts within about a week?
  2. If not, which dependency, hidden invariant, or shared state makes it dangerous to replace?
  3. Does the unit own its own configuration, storage, and infrastructure, so that removing it removes all of them?
  4. If you pull it out, does the rest still build, with the compiler naming every place that used it?
  5. Can a new implementation shadow the old one behind the same seam?
  6. What becomes deletable after cutover?

The one-week horizon is a pressure test. Small replaceable units can share one process and one repository; splitting services is a different decision.

DDD: put authority in the right boundary

Name the bounded contexts and their trust boundaries, in domain language rather than storage language.

Identify:

  • the aggregate that owns each invariant;
  • immutable facts versus current decisions;
  • commands, events, policies, and read models;
  • upstream and downstream contract ownership;
  • translation at context boundaries;
  • terms that hide several domain meanings.

A read model (DDD's projection) can report a decision, but only the aggregate that owns the invariant makes it. When a dashboard or cache starts deciding, two places now own the truth.

Model a workflow as a command plus current facts that produce explicit events. The pure workflow returns events; publishing and persisting them are separate effects.

Typed effects: keep the pure core pure

An effect system earns its place at effectful boundaries. Pure rules written in effect syntax look sophisticated and hide their simplicity.

  • Keep domain decisions as pure functions over tagged values.
  • Decode untrusted input at the boundary, so everything inside works with parsed domain types.
  • Put database, network, filesystem, clock, configuration, and provider work behind named services.
  • Model expected failures as typed errors, and keep defects separate.
  • Retry only typed transient failures, and only when the operation is proven idempotent.
  • Keep provider calls outside authoritative database transactions.
  • Use one effect-system version per workflow.

If the project has no compatible effect system at this boundary, plain language-native code is the simpler choice. A framework migration presented as a simplification is a different project.

Lifecycle: make essential time visible

Use an explicit state machine when modes change which events are legal, or when the work needs cancellation, retries, resumability, or child work. Parsing, validation, and one-shot migrations are plain functions.

  • States represent modes with different allowed events.
  • Context holds minimal actor data, not copies of the state label.
  • Guards are pure and synchronous.
  • Effects live in invoked actors or boundary services.
  • Normalize persisted state before it gets current authority.
  • A transient computation does not need a durable state.
  • Restoration tests cross version and deployment boundaries.

For crash recovery, repeated delivery, overload, or replay, use the resilience and durability terms. Keep execution, persisted state, safe repetition, and recovery ownership separate.

A small machine fed validated domain values beats a large one that interprets raw rows.

Agent-sized context: make the separation stick

Agents copy the patterns they find. A separation that exists only in one reviewer's head will be braided again by the next change. Lauren Tan's Dune is built so that "the shortcut, the easy path, is the right path for agents." Her ladder for where a correction lives, hardest first, is the codebase, static analysis, rules, skills, and the style guide.

For each separation you propose:

  1. Give each concern one named place, such as a folder, a package, or a type, so the tree shows where code runs and which imports are legal.
  2. Choose the highest rung that can hold it: a type or API that makes the braid impossible to write, then a lint rule or import boundary, and only then a written rule.
  3. Keep one paved path. When two ways to do the same thing exist, delete one.

A narrow edit in one file should keep the whole system correct. If it cannot, the context an agent needs is too large, and that is a design problem.

Replacement pass

Work through this sequence:

  1. Essential behavior: what the prototype proves and must preserve.
  2. Complection map: what is braided today.
  3. Domain map: contexts, aggregate, invariants, commands, events, read models.
  4. Deep seam: the smallest public operation that can hide the unavoidable complexity.
  5. Effect boundary: pure core, typed failures, effectful adapters, transaction edge, retry owner.
  6. Lifecycle: the smallest state machine that still makes time explicit.
  7. Rewrite horizon: what keeps this unit from being replaced within about a week.
  8. Deletion list: states, flags, exceptions, operator steps, and modules the replacement removes.
  9. Fence: the type, lint rule, or boundary that keeps each separation from coming back.
  10. Adoption path: tracer, shadow comparison, cutover, and rollback without two sources of authority.
  11. Unknowns ledger: known facts, known unknowns, unknown knowns, suspected unknown unknowns.

This is a reasoning checklist. Combine items when one table or type definition carries the evidence, and scale the review to the risk of the decision.

Output

Lead with one verdict, either More complicated locally, simpler overall or More machinery, no net simplification.

Then include the source-grounded complection table, the proposed domain language, one deep interface, the pure decision types, the split between effects and lifecycle, old versus proposed state count, the rewrite horizon, the deletion list, the fence for each separation, and the risks with one material question.

Report what becomes impossible, what becomes obvious, and what disappears. Leave praise out; the deletion list makes the case.

Compact invocation

text
Treat the current system as a functional prototype, not an architecture to preserve. Keep its proven behavior. Find what is complected. Separate values from time, policy from mechanism, behavior from the interfaces that reach it, and facts from read models. Define accidental errors out of existence. Draw the domain boundaries and aggregate invariants. Keep effects at effectful boundaries and state machines on essential lifecycle. Make each unit carry its own infrastructure so it can be deleted whole. Enforce each separation with a type or lint rule so the next change cannot braid it again. Propose the smallest deep replacement, show what it deletes, and name the remaining unknowns.

For the source map and the job each lens performs, read references/source-map.md. For a stack built on these principles, see rat-stack.

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

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

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

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

Pressure-test a stateful system or replacement design through Rich Hickey's simplicity and complection, Greg Young's deletability, Ousterhout's deep modules, DDD boundaries, typed effects, explicit lifecycle modeling, and Lauren Tan's agent-sized context. Use when the user asks "what would Rich Hickey do", "optimize for deletion", "make this simpler", "define this error out of existence", "review this state machine", "design it twice", or wants to replace a working prototype without preserving its accidental architecture.

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

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

كيف أثبّت Uncomplect في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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