agentleFS
Pearl1531Pearl1531/Archetype-talk/.claude/skills/affinity/SKILL.md

affinity

Skill2 starsChanged 48 days agoMITView on GitHub

Cluster Signals into product-specific themes (affinity diagram) via their `affinity:` frontmatter; never moves locked signals, only suggests. Use on /affinity or when grouping signals by theme.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not reuse a fixed taxonomy.

    line 19
  2. Distinctive:

    Leave it exactly where it is.

    line 29
  3. Distinctive:

    If the data suggests it belongs elsewhere, say so in your report as a *suggestion* ("Signal *X* reads more like *Group Y* — want me to move …

    line 30
  4. Very specific:

    Read Product Context.md + every Signals/*.md (use the transcript scan headers / signal quotes.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

affinity — Signal affinity diagram

Cluster the project's Signals/ into a handful of product-specific thematic groups — the affinity-diagram step of research synthesis. The grouping is written into each signal's frontmatter (affinity: '<group>'), so the browser app renders it as an editable board and every claim stays traceable.

Trigger

/affinity            ← group all signals (first run) or re-group the unlocked ones
/affinity --suggest  ← propose changes only; write nothing

The groups are dynamic — derive them from THIS product

Do not reuse a fixed taxonomy. Read Product Context.md and the signals, then invent groups that fit the product:

  • a music streaming service → Recommendations & algorithm, Library & finding music, Playback experience, Pricing & value, Competition & switching, Accounts & sharing, Input & accessibility, Social & identity …
  • a car maker → by vehicle segment, customer type (fleet / sole-trader / private), ownership stage …
  • a B2B SaaS → by job-to-be-done, team role, lifecycle stage …

Aim for 5–9 groups: enough to separate real themes, few enough to stay legible. A theme with one lonely signal is usually a sub-point of a bigger one — fold it in unless it's genuinely distinct.

The hard rule — never overwrite human curation

Each signal may carry affinity_lock: true. That means a human placed it (via the app's Edit mode or by hand). You must not change affinity: on a locked signal. Instead:

  • Leave it exactly where it is.
  • If the data suggests it belongs elsewhere, say so in your report as a suggestion ("Signal X reads more like Group Y — want me to move it?"), and act only if the user agrees.
  • Locked signals still inform what the groups ARE — read them, just don't move them.

Unlocked signals (no affinity_lock, or false) are yours to (re)assign freely.

Workflow

  1. Read Product Context.md + every Signals/*.md (use the transcript scan headers / signal quotes; don't re-read transcripts).
  2. Decide the group set (respecting the themes locked signals already anchor).
  3. For each unlocked signal, set affinity: '<group>' in its frontmatter (one group per signal). Leave affinity_lock absent — the app adds it only when a human curates.
  4. Report: the group list with counts, which signals moved, and any suggestions for locked signals you'd have placed differently (never applied).
  5. First run (no signal has affinity: yet) is fully automatic — assign them all. The app also shows a provisional by-tag grouping until this runs.

Rules

  • One signal, one group — affinity is a single value, not a list.
  • Group names are short human phrases, product-specific, not tag slugs.
  • This never creates or deletes Signals, and never touches anything but the affinity: line of unlocked ones.
  • Contradiction-safe: two signals that disagree can share a group (the group is a theme, not a conclusion) — grouping is not synthesis; Correlations remain where you reconcile them.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.