شعار Affinity Mapping

Affinity Mapping

مؤسسة
superhero-tech
affinity-mapping

استخلص من نصوص المقابلات موضوعات مدعومة بالأدلة واحتياجات المستخدمين، ثم أنشئ خريطة أدلة تفاعلية بصيغة HTML. استخدمها لتحليل المقابلات واستخلاص الأنماط، أو لتجميع الأفكار حسب أوجه التشابه، أو لتجهيز فرص مرحلة الاستكشاف.

Add to TypingMind

نظرة عامة

الناشرsuperhero-tech
المستودعsuperhero-skills
اسم المهارةaffinity-mapping
النجوم
223
التفريعات
13
الملفات المرفقة
7
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Affinity Mapping: from transcripts to themes and opportunities

Turn raw user interviews into structured themes and opportunities (needs/pains/desires), ready to drop into an Opportunity Solution Tree. Every conclusion stays evidenced - it traces back to a verbatim quote and its source. Finish with a self-contained, interactive affinity/map.html that makes the evidence trail inspectable.

Respond and produce all artifacts in the user's conversation language.

Before extraction, read references/writing-quality.md. Apply it to all agent-authored observations, labels, opportunities, and summaries; preserve source quotes verbatim. Titles and previews must describe the actual person, situation, and need on their own. Check clarity again after shortening, before saving JSON, HTML, or a handoff; this skill owns that quality without depending on a separate editor.

Core rule: TWO-STEP synthesis (and why it matters)

The most common mistake (human and AI alike) is to dump all transcripts in at once and write themes immediately. That loses nuance, smooths over outliers, and - with AI - burns context and produces hallucinated quotes.

Work in two steps, and step 1 is sacred:

  1. Per-transcript extraction - read ONE interview, extract atomic observations (nuggets), write them to a file, move to the next. Never hold all transcripts in your head at once.
  2. Cross-interview clustering - work ONLY from the nuggets file (small); do not return to the transcripts.

This is a quality rule and a token-economy rule at the same time: after extraction the raw transcripts leave the context, and clustering happens on a handful of one-line nuggets.

Phase 0 - Setup

  1. Establish a focus question - one question that disciplines the sort (e.g. "What stops new customers from finishing setup?"). The same data can be sorted 10 different ways; the question picks the right one. Write it at the top of the artifact.
  2. Identify the transcripts (folder/files). Count them. Do not read their contents yet.

Phase 1 - Per-transcript extraction (one at a time!)

For each transcript separately: read it, extract atomic nuggets, append them to affinity/nuggets.md. Then the next one. Do not read the next transcript before you have saved the nuggets from the previous one.

Nugget = one observation + verbatim quote + source. Format (one per line, ID for traceability):

- [A01] Could not tell whether the import had finished | "I sat there refreshing the page, I had no idea if it had worked" | Ana
- [A02] States price as the reason for stopping | "it was too expensive, that was the end of it" | Ana

Nugget rules (this is data quality - "garbage in, garbage out"):

  • Atomic - one thought. A note with two thoughts = split it into two.
  • Evidence, not conclusion - capture WHAT the user said/did, not your interpretation. "I didn't know what was selling" - NOT "has a control problem".
  • Quote is VERBATIM - copied from the source, not paraphrased, not invented. If there is no verbatim quote, it is not a nugget. A hallucinated quote sounds smooth and is the most dangerous kind.
  • Source always - persona/interviewee ID. Without a source a nugget is useless (it cannot be audited).
  • IDs per interviewee (A=Ana, B=Ben...) make tracing easier.

Capture observations across the full spectrum: statements, behaviors, emotions, moments of pain, contradictions within a single interview. Do not filter for a thesis yet.

Phase 2 - Cross-interview clustering (from the nuggets file only)

Now work exclusively from affinity/nuggets.md. The raw transcripts are no longer needed.

  1. Bottom-up, ZERO predefined buckets. Do not start from a list of categories. Take nuggets and group those that share meaning (not keywords - "cost" in two nuggets can mean two different things). Themes must emerge from the data.
  2. Label a cluster ONLY once it has formed - use a short, natural statement of the shared user behavior or problem, rather than a keyword topic or a fixed grammatical formula. Good: "Cannot tell whether an action succeeded". Bad: "Trust" / "Cost".
  3. Minimum two passes. The first structure is a draft - go through it again, merge/split/move. A cluster of 1 nugget is a signal (set it aside), not a theme.

Write to affinity/themes.md:

## Theme: Cannot tell whether an action succeeded
Nuggets: A01, A05, B07, C03

Phase 3 - Divergence pass (mandatory)

LLMs (and humans) drift toward the dominant narrative and smooth over exceptions. Deliberately make the opposite move:

  • Which nuggets fit NO major theme? (the long tail - the best insight often lives there)
  • Where do interviewees differ or contradict each other? (segment dependence)
  • Where does one user's statement clash with behavior - their own or someone else's?
  • What would you expect to see that is missing from the data?

Append a ## Divergence / exceptions section to themes.md. Keep discrepancies visible - they are material.

Phase 4 - Opportunities + traceability

Convert themes into Torres-style opportunities (the bridge to the OST). Detailed criteria and examples: references/torres-opportunities.md - read it before formulating.

In short:

  • Opportunity = need/pain/desire, NOT a solution. In the customer's voice ("I want / I don't know / I'm afraid / I'm trying..."). Test: would the customer actually say this?
  • The "more than one way?" test - if it can only be addressed one way, it is a solution in disguise. Ask "why?" and step up to the underlying need.

Final artifact affinity/opportunities.md - each opportunity with the full trail theme -> nuggets -> quotes -> source:

## Opportunity: "I don't know whether the thing I just did actually worked"
- Theme: Cannot tell whether an action succeeded
- More than one way? YES (confirmation screen, status log, email receipt, progress indicator...)
- Evidence:
  - A01 "I sat there refreshing the page..." (Ana)
  - B07 "..." (Ben)
- For whom / divergence: strong among first-time users; Chris is the opposite (checks a separate report, so he never notices)

Before presenting the synthesis, run the language and fidelity review in references/writing-quality.md on the Markdown artifacts. Resolve wording there before projecting it into JSON and HTML.

At the end, show the user the themes and opportunities and ask before treating them as final - naming themes and interpreting them belongs to the human; AI accelerates extraction and clustering, it does not take over judgment. Render the first map with status: "draft"; approval changes the status, not the underlying evidence.

The synthesized opportunities can feed the included supersprint skill for a full discovery cycle and growing tree. If an ost-builder skill is separately available and the user specifically wants a Teresa Torres Opportunity Solution Tree, it can also use these opportunities; do not require that optional skill.

Phase 5 - Interactive evidence map (required)

Read references/map-data.md and references/html-style.md; use the packaged default HTML style. Build affinity/map.json strictly from nuggets.md, themes.md, and opportunities.md; this phase reformats the synthesis and must not reinterpret it.

The map must make four relationships visible:

  1. Focus question -> themes.
  2. Theme -> clustered nuggets.
  3. Selected nugget -> verbatim quote + participant + source.
  4. Theme + evidence -> opportunities, with divergences kept in a separate visible section.

Write the normalized data contract exactly as described in the reference, then render it with the bundled script:

bash
python3 <this-skill-directory>/scripts/render_affinity_map.py affinity/map.json affinity/map.html

Treat these as the complete output set:

  • affinity/nuggets.md - atomic evidence ledger.
  • affinity/themes.md - clusters plus divergences.
  • affinity/opportunities.md - interpreted needs with traceability.
  • affinity/map.json - canonical machine-readable relationships.
  • affinity/map.html - self-contained review view with no network dependencies.

After rendering:

  1. Open affinity/map.html in the host app's built-in/in-app browser first, following the preview order in references/map-data.md; Chrome or another external browser is a fallback, not the default.
  2. Verify that selecting at least one nugget updates its quote, source, theme, and linked opportunity.
  3. Check the layout at desktop and narrow/mobile width; fix clipping or horizontal page overflow.
  4. Report links to all five artifacts. Label the map as a draft until the user approves the synthesis.
  5. If the host supports publishing HTML as an artifact, offer it as an optional next step. Keep the local HTML as the portable source of truth and do not publish without the user's approval.

Guardrails

  • Process transcripts one at a time - Phase 1 reads one and writes to disk before touching the next.
  • Treat quotes as copies from the source - never invented, never a paraphrase presented as verbatim.
  • Let labels emerge after clustering - start with zero predefined categories.
  • Name clusters as natural statements of shared user behavior or problems, not features or keywords.
  • Keep opportunities separate from solutions - if there is only one way to address it, dig deeper.
  • Keep divergence visible - resist trading it away for a neat, coherent story.
  • Never introduce or rewrite evidence while producing JSON or HTML - visualization is a projection, not a new synthesis pass.
  • Keep the HTML self-contained - inline its data, CSS, and JavaScript; do not add CDNs, fetch calls, analytics, or external fonts.
  • Keep the Markdown artifacts even when the HTML preview works - they remain the auditable, diffable record.

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

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

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

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

استخلص من نصوص المقابلات موضوعات مدعومة بالأدلة واحتياجات المستخدمين، ثم أنشئ خريطة أدلة تفاعلية بصيغة HTML. استخدمها لتحليل المقابلات واستخلاص الأنماط، أو لتجميع الأفكار حسب أوجه التشابه، أو لتجهيز فرص مرحلة الاستكشاف.

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

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

كيف أثبّت Affinity Mapping في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/superhero-tech/superhero-skills/tree/main/plugins/product-discovery/skills/product-discovery/affinity-mapping. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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