/contrib-synthesize
Internal phase — synthesize learnable playbooks, cross-engineer common capabilities, and you-vs-role-model comparisons from built personas. Invoked by contrib-profile / `/contrib playbook|compare`.
$ npx -y skills add baodq97/tencentdb-agent-memory --skill contrib-synthesize --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/contrib-synthesize
Context preview
The summary Claude sees to decide when to auto-load this skill.
Internal phase — synthesize learnable playbooks, cross-engineer common capabilities, and you-vs-role-model comparisons from built personas. Invoked by contrib-profile / `/contrib playbook|compare`.
SKILL.md
contrib-synthesize.SKILL.mdname: contrib-synthesize
description: Internal phase — synthesize learnable playbooks, cross-engineer common capabilities, and you-vs-role-model comparisons from built personas. Invoked by contrib-profile / `/contrib playbook|compare`.
user-invocable: false
Contributor Synthesize
Turn multiple contributor personas into (a) the L4 capability model, (b) a learnable playbook per subject, and (c) exemplar quotes. The deterministic prevalence math is done by the CLI; you write the interpretation for learners.
**Read `references/synthesis-guide.md` first** — the altitude test for playbook heuristics, how to mine exemplar quotes, the you-vs-role-model gap table, and the "preliminary until ≥3 subjects" caveat for L4.
Workflow
1. Compute the deterministic L4 backbone
tmem contrib capabilities
Prints each common capability with prevalence % and exemplar. If it says "need >=2 subjects", tell the user to ingest + build at least one more subject and stop.
2. Capability model (narrative)
Pull every persona in one call to reason across them:
tmem contrib personas # all subject personas as JSON
For each common capability (from step 1), write 1–2 sentences: what the shared behaviour is, the prevalence ("N/M subjects"), and who exemplifies it best (the exemplar subject), citing one piece of their evidence.
3. Learnable playbook (per subject)
Read the subject persona:
tmem contrib persona <id>
Distil it into ≥8 emulable heuristics — concrete enough to copy. Examples of the right altitude:
- "Split features into ≤150-LOC stacked PRs, one concern each."
- "Every bug-fix PR ships its regression test in the same diff."
- "Review comments always state the why and label severity (Nit/Optional)."
Each heuristic must trace to evidence in the persona/atoms.
4. Exemplar quotes
From the subject's review comments (in their atoms' evidence), surface 3–5 of the best teaching comments verbatim, each with the principle it illustrates. These are lessons, not metrics.
5. (Wow) You vs role model
The user already has a self-persona — the plugin built it from their own Claude Code history. Don't make them ingest their own GitHub. Pull both sides directly:
tmem persona # the user's existing self-persona (conversation-derived)
tmem contrib persona <id> # the role model's 11-dimension persona
These use different schemas (the self-persona is `user/feedback/project` style, not the 11 GitHub dimensions), so this is a **qualitative gap analysis**, not a 1:1 table. For each role-model dimension, state what their habit is, what the user's persona suggests about that area (or "not evidenced" if the self-persona is silent), and one concrete thing to adopt. Lead with the gaps worth closing.
If the user instead wants to compare two *profiled contributors* (peer/team), use the deterministic table command: `tmem contrib compare <id-a> <id-b>`.
6. (Wow) Trajectory narration
tmem contrib trajectory <id>
This prints per-year cadence + style (commits, PRs, reviews given, avg commit subject length, conventional-prefix %). Narrate the *arc*: when output scaled, when commit style matured, when they shifted from authoring toward review. Be honest that this measures cadence/style, not PR size (LOC is not available).
7. Guardrails
- Lead with interpretation for learning, not measurement.
- Tone/sentiment never ranks a person. No vanity counts.
- The L4 model is "preliminary" until ≥3 subjects — say so.
Read more
name: contrib-synthesize description: Internal phase — synthesize learnable playbooks, cross-engineer common capabilities, and you-vs-role-model comparisons from built personas. Invoked by contrib-profile / `/contrib playbook|compare`. user-invocable: false
Contributor Synthesize
Turn multiple contributor personas into (a) the L4 capability model, (b) a learnable playbook per subject, and (c) exemplar quotes. The deterministic prevalence math is done by the CLI; you write the interpretation for learners.
**Read `references/synthesis-guide.md` first** — the altitude test for playbook heuristics, how to mine exemplar quotes, the you-vs-role-model gap table, and the "preliminary until ≥3 subjects" caveat for L4.
Workflow
1. Compute the deterministic L4 backbone
tmem contrib capabilities
Prints each common capability with prevalence % and exemplar. If it says "need >=2 subjects", tell the user to ingest + build at least one more subject and stop.
2. Capability model (narrative)
Pull every persona in one call to reason across them:
tmem contrib personas # all subject personas as JSON
For each common capability (from step 1), write 1–2 sentences: what the shared behaviour is, the prevalence ("N/M subjects"), and who exemplifies it best (the exemplar subject), citing one piece of their evidence.
3. Learnable playbook (per subject)
Read the subject persona:
tmem contrib persona <id>
Distil it into ≥8 emulable heuristics — concrete enough to copy. Examples of the right altitude:
- "Split features into ≤150-LOC stacked PRs, one concern each."
- "Every bug-fix PR ships its regression test in the same diff."
- "Review comments always state the why and label severity (Nit/Optional)."
Each heuristic must trace to evidence in the persona/atoms.
4. Exemplar quotes
From the subject's review comments (in their atoms' evidence), surface 3–5 of the best teaching comments verbatim, each with the principle it illustrates. These are lessons, not metrics.
5. (Wow) You vs role model
The user already has a self-persona — the plugin built it from their own Claude Code history. Don't make them ingest their own GitHub. Pull both sides directly:
tmem persona # the user's existing self-persona (conversation-derived) tmem contrib persona <id> # the role model's 11-dimension persona
These use different schemas (the self-persona is `user/feedback/project` style, not the 11 GitHub dimensions), so this is a **qualitative gap analysis**, not a 1:1 table. For each role-model dimension, state what their habit is, what the user's persona suggests about that area (or "not evidenced" if the self-persona is silent), and one concrete thing to adopt. Lead with the gaps worth closing.
If the user instead wants to compare two *profiled contributors* (peer/team), use the deterministic table command: `tmem contrib compare <id-a> <id-b>`.
6. (Wow) Trajectory narration
tmem contrib trajectory <id>
This prints per-year cadence + style (commits, PRs, reviews given, avg commit subject length, conventional-prefix %). Narrate the *arc*: when output scaled, when commit style matured, when they shifted from authoring toward review. Be honest that this measures cadence/style, not PR size (LOC is not available).
7. Guardrails
- Lead with interpretation for learning, not measurement.
- Tone/sentiment never ranks a person. No vanity counts.
- The L4 model is "preliminary" until ≥3 subjects — say so.
Four-layer long-term memory (L0 Conversation → L1 Atom → L2 Scene → L3 Persona) for Claude Code, inspired by Tencent/TencentDB-Agent-Memory. Fully local — no external Gateway, no paid API, no Python.
Repo: baodq97/tencentdb-agent-memory
Other skills on tencentdb-agent-memory.
- /contrib-consolidate
Internal phase — consolidate a contributor's L1 atoms into an L3 persona (11 dimensions). Invoked by contrib-profile / `/contrib build`.
Open skill - /contrib-ingest
Internal phase — extract L1 contributor atoms from a GitHub subject's raw activity. Invoked by contrib-profile / `/contrib ingest`.
Open skill - /contrib-profile
Orchestrator for Contributor Intelligence. Trigger when the user pastes a GitHub profile/repo URL or handle and asks to profile, analyze, learn from, or study an engineer (EN/VI — "phân tích người này", "học từ người này"). Runs add→ingest→build→playbook end-to-end via the
Open skill - /memory-consolidate
Consolidate L1 memory atoms into L2 scene blocks and L3 persona. Invoked by the memory-consolidator agent, or manually via /memory-consolidate.
Open skill - /memory-seed
Extract L1 memory atoms from Claude Code conversation history. Run manually via /memory-seed.
Open skill - /memory-view
Open the memory visualiser in the browser — a health check on the memory store: is it working, what is wrong, and what to run to fix it. Run manually via /memory-view.
Open skill

