[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7APTT9YPXP1G1E1EYNSRWWA":3,"skill-same:01M7APTT9YPXP1G1E1EYNSRWWA":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7APTT9YPXP1G1E1EYNSRWWA","uarch-caches-coherence-consistency-and-virtual-memory",null,"Use when memory behaviour is the performance story: cache organization with associativity, line size and replacement, cache coherence and the MESI-family protocols, memory consistency models and what the hardware may reorder underneath your code, virtual memory, TLBs and page-table walks, and prefetching including what hardware prefetchers can and cannot detect.","the-vibey-project\u002Fvibey","the-vibey-project","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F329298758?v=4","01M7AJHGZ9722CTJ4JNQZVRH0Q","the vibey project","01M7AJHGZVMG2K7TGXQ6XFHVG3",5,"MIT","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fmicroarchitecture-and-memory-systems\u002Fskills\u002Fuarch-caches-coherence-consistency-and-virtual-memory\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: uarch-caches-coherence-consistency-and-virtual-memory\ndescription: \"Use when memory behaviour is the performance story: cache organization with associativity, line size and replacement, cache coherence and the MESI-family protocols, memory consistency models and what the hardware may reorder underneath your code, virtual memory, TLBs and page-table walks, and prefetching including what hardware prefetchers can and cannot detect.\"\n---\n\n# Microarchitecture and Memory: Cache Organization, Cache Coherence, Memory Consistency Models, Virtual Memory and Translation, and Prefetching\n\n> **Part 2 of 6** of the *CPU, GPU, NPU and Memory Microarchitecture* reference (plugin `microarchitecture-and-memory-systems`), covering §6–§10. Sibling skills: `uarch-pipelining-out-of-order-branch-prediction-and-simd` (§0–§5), `uarch-gpu-npu-dataflow-and-numeric-formats` (§11–§14), `uarch-dram-memory-controllers-power-and-security` (§15–§19), `uarch-isa-simulation-measurement-roofline-and-specialization` (§20–§24), `uarch-reference` (§25–§30). Section numbers are shared across the set; a reference written as §N → `skill` points into that sibling skill.\n>\n> **Currency:** The principles are stable. Two areas moved. See §25 → `uarch-reference` for low-precision numeric formats, and next-generation memory standards.\n\n> **⚠️ SCOPE, because this sits between two neighbours.** ⚠️ **A semiconductor reference\n> covers device physics and fabrication — how a transistor works and how it's made. A\n> computer-hardware reference covers system integration — components, builds, facilities.**\n> **⚠️ THIS file is the layer in between: how billions of transistors are ORGANIZED into\n> something that executes instructions fast, and why memory systems are the hard part.**\n> ⚠️ **It assumes the other two rather than repeating them.**\n>\n> **⚠️ GOTCHA** boxes mark where architectural intuition is wrong and where the\n> abstraction leaks.\n>\n> **The three ideas that organize this document:**\n> 1. **⚠️ THE PROCESSOR LIES TO YOU, DELIBERATELY** (§2–§4 → `uarch-pipelining-out-of-order-branch-prediction-and-simd`). **Instructions do not execute\n>    in program order, memory operations do not become visible in program order, and the\n>    architecture works hard to maintain the illusion that they do. Every performance\n>    surprise and several security disasters live in the gap.**\n> 2. **⚠️ MOVING DATA COSTS FAR MORE THAN COMPUTING ON IT** (§6, §13 → `uarch-gpu-npu-dataflow-and-numeric-formats`, §23 → `uarch-isa-simulation-measurement-roofline-and-specialization`). **Energy per\n>    arithmetic operation has fallen enormously; energy per byte moved has not. Modern\n>    architecture is organized around minimizing data movement, and that single fact\n>    explains caches, dataflow accelerators, quantization and HBM alike.**\n> 3. **⚠️ PARALLELISM IS EXTRACTED AT EVERY LEVEL, AND EACH HAS A DIFFERENT LIMIT** (§3 → `uarch-pipelining-out-of-order-branch-prediction-and-simd`,\n>    §11 → `uarch-gpu-npu-dataflow-and-numeric-formats`, §14 → `uarch-gpu-npu-dataflow-and-numeric-formats`). **ILP is limited by dependencies and branches, DLP by divergence and\n>    memory, TLP by synchronization and coherence traffic. Knowing which one you're\n>    hitting is the entire diagnostic skill.**\n\n---\n\n## §6. Cache Organization\n\n**⚠️ See a computer-hardware reference for the latency ladder. Here, the mechanism.**\n```\n⚠️ THE STRUCTURE  address splits into TAG \u002F INDEX \u002F OFFSET\n   ⚠️ Direct-mapped (fast, conflict-prone) · fully associative\n   (no conflicts, impractical) · ⚠️ N-WAY SET ASSOCIATIVE (the\n   real answer, typically 8–16 way at L2\u002FL3)\n⚠️ THE THREE Cs of misses  ⚠️ COMPULSORY (first touch) ·\n   CAPACITY (working set too big) · ⚠️ CONFLICT (set collisions —\n   fixable by associativity or by changing the access stride)\n   ⚠️ Plus COHERENCE misses in multiprocessors (§7)\n⚠️ REPLACEMENT  LRU is the reference; ⚠️ real caches use\n   approximations (pseudo-LRU, RRIP) because true LRU is\n   expensive at high associativity\n⚠️ WRITE POLICY  write-through vs ⚠️ WRITE-BACK (dominant) ·\n   write-allocate vs no-write-allocate · ⚠️ WRITE COMBINING buffers\n⚠️ INCLUSIVE vs EXCLUSIVE vs NINE hierarchies — ⚠️ affects\n   effective capacity and coherence probe cost\n⚠️ ⚠️ THE PATHOLOGIES WORTH KNOWING BY NAME\n   ⚠️ FALSE SHARING  two threads writing different variables in\n      the SAME LINE — coherence traffic destroys performance\n      with no logical sharing at all\n   ⚠️ CACHE THRASHING from a stride that maps everything to one set\n      (⚠️ powers-of-two array dimensions are the classic cause —\n      which is why padding arrays can produce large speedups)\n   ⚠️ 4K ALIASING between loads and stores\n```\n\n---\n\n## §7. ⚠️ Cache Coherence\n\n> **⚠️ How multiple caches maintain a consistent view of memory — and the source of\n> multicore scaling limits.**\n```\n⚠️ MESI and relatives  each line is Modified \u002F Exclusive \u002F Shared \u002F\n   Invalid. ⚠️ MOESI adds Owned; MESIF adds Forward\n   ⚠️ THE INVARIANT: one writer OR many readers, never both\n⚠️ PROTOCOL FAMILIES  ⚠️ SNOOPING (every cache watches a shared\n   bus — simple, doesn't scale) vs ⚠️ DIRECTORY-BASED (a directory\n   tracks who holds each line — scales, adds latency and storage)\n⚠️ ⚠️ THE COST  a write to a SHARED line requires INVALIDATING every\n   other copy and waiting. ⚠️ A contended line ping-ponging between\n   cores can be orders of magnitude slower than uncontended access\n⚠️ THEREFORE  ⚠️ atomics and locks are expensive not because of the\n   instruction but because of the COHERENCE TRAFFIC. ⚠️ An\n   uncontended atomic is cheap; a contended one is not, and the\n   difference is enormous\n⚠️ SCALABLE SYNCHRONIZATION  ⚠️ MCS and ticket locks queue waiters\n   to avoid all-cores-spinning-on-one-line; ⚠️ RCU and per-CPU\n   data avoid sharing altogether — which is the real answer\n⚠️ NUMA  ⚠️ coherence across sockets is far more expensive again\n```\n\n---\n\n## §8. ⚠️ Memory Consistency Models\n\n> **⚠️ The most conceptually difficult topic here, and the one most often misunderstood.\n> COHERENCE (§7) is about a single location; CONSISTENCY is about the ORDER of operations\n> across different locations.**\n```\n⚠️ SEQUENTIAL CONSISTENCY  ⚠️ the intuitive model — as if all\n   operations from all threads interleaved in some global order\n   consistent with each program's order. ⚠️ NO REAL HARDWARE\n   PROVIDES THIS, because it forbids too many optimizations\n⚠️ ⚠️ WHAT REAL HARDWARE DOES\n   ⚠️ x86-TSO  ⚠️ relatively strong: stores are buffered, so a\n      LOAD MAY BE REORDERED BEFORE AN EARLIER STORE to a\n      different address. ⚠️ That one relaxation is enough to break\n      naive Dekker-style algorithms\n   ⚠️ ARM and RISC-V  ⚠️ WEAKLY ORDERED — loads and stores can be\n      reordered much more freely. ⚠️ Code that is correct on x86\n      can be BROKEN on ARM with no source change, and this\n      surprises people porting between them\n⚠️ FENCES \u002F BARRIERS  ⚠️ explicitly constrain reordering; acquire,\n   release, and full barriers\n⚠️ LANGUAGE MEMORY MODELS  ⚠️ C++11 and Java define their own\n   models so portable concurrent code is possible at all.\n   ⚠️ memory_order_relaxed \u002F acquire \u002F release \u002F seq_cst map onto\n   whatever the hardware needs\n⚠️ ⚠️ THE COMPILER REORDERS TOO. ⚠️ A hardware fence without a\n   compiler barrier is not enough, and \"volatile\" is NOT a\n   synchronization primitive in C\u002FC++\n```\n**⚠️ The practical guidance**: ⚠️ **use the language's atomics and locks rather than\nhand-rolled fences; ⚠️ if you write lock-free code, TEST ON WEAK HARDWARE, because x86\nhides bugs that ARM exposes.**\n\n---\n\n## §9. Virtual Memory and Translation\n\n**⚠️ Multi-level page tables** (⚠️ four or five levels on x86-64), ⚠️ **so a TLB miss can\ncost several memory accesses — a \"page walk.\"**\n**⚠️ The TLB** caches translations, ⚠️ **and TLB reach — entries × page size — is frequently\nthe hidden limit on large working sets.**\n**⚠️ HUGE PAGES** (2 MB, 1 GB) ⚠️ **multiply TLB reach and are one of the highest-value and\nleast-used tunings for memory-intensive server workloads;** ⚠️ **the costs are internal\nfragmentation and allocation difficulty.**\n**⚠️ Cache indexing interaction**: ⚠️ **VIPT (virtually indexed, physically tagged) caches\nlet translation and lookup proceed in parallel, which constrains L1 size to page size ×\nassociativity — a genuine architectural reason L1 caches are small.**\n**⚠️ ASIDs\u002FPCIDs** avoid flushing the whole TLB on context switch, ⚠️ **which became much\nmore important after §19 → `uarch-dram-memory-controllers-power-and-security`'s mitigations increased switching costs.**\n\n---\n\n## §10. Prefetching\n\n**⚠️ Fetch data before it's requested, to hide latency.**\n⚠️ **Hardware prefetchers detect sequential streams and constant strides, and increasingly\nmore complex patterns; ⚠️ they cannot follow pointer chasing, which is why linked lists\nand trees perform so badly relative to arrays.**\n**⚠️ Software prefetch instructions** exist and ⚠️ **are difficult to use well — too early\nand the line is evicted, too late and you gained nothing.**\n**⚠️ The costs**: ⚠️ **useless prefetches consume bandwidth and can EVICT useful data, so an\naggressive prefetcher can make a bandwidth-bound workload slower.**\n**⚠️ The design implication**: ⚠️ **data structures with predictable access patterns are\nfast almost for free; ⚠️ this is a large part of why structure-of-arrays beats array-of-\nstructures in performance-critical code.**\n\n---\n\n# PART II — THROUGHPUT ARCHITECTURES\n","# Microarchitecture and Memory: Cache Organization, Cache Coherence, Memory Consistency Models, Virtual Memory and Translation, and Prefetching\n\n> **Part 2 of 6** of the *CPU, GPU, NPU and Memory Microarchitecture* reference (plugin `microarchitecture-and-memory-systems`), covering §6–§10. Sibling skills: `uarch-pipelining-out-of-order-branch-prediction-and-simd` (§0–§5), `uarch-gpu-npu-dataflow-and-numeric-formats` (§11–§14), `uarch-dram-memory-controllers-power-and-security` (§15–§19), `uarch-isa-simulation-measurement-roofline-and-specialization` (§20–§24), `uarch-reference` (§25–§30). Section numbers are shared across the set; a reference written as §N → `skill` points into that sibling skill.\n>\n> **Currency:** The principles are stable. Two areas moved. See §25 → `uarch-reference` for low-precision numeric formats, and next-generation memory standards.\n\n> **⚠️ SCOPE, because this sits between two neighbours.** ⚠️ **A semiconductor reference\n> covers device physics and fabrication — how a transistor works and how it's made. A\n> computer-hardware reference covers system integration — components, builds, facilities.**\n> **⚠️ THIS file is the layer in between: how billions of transistors are ORGANIZED into\n> something that executes instructions fast, and why memory systems are the hard part.**\n> ⚠️ **It assumes the other two rather than repeating them.**\n>\n> **⚠️ GOTCHA** boxes mark where architectural intuition is wrong and where the\n> abstraction leaks.\n>\n> **The three ideas that organize this document:**\n> 1. **⚠️ THE PROCESSOR LIES TO YOU, DELIBERATELY** (§2–§4 → `uarch-pipelining-out-of-order-branch-prediction-and-simd`). **Instructions do not execute\n>    in program order, memory operations do not become visible in program order, and the\n>    architecture works hard to maintain the illusion that they do. Every performance\n>    surprise and several security disasters live in the gap.**\n> 2. **⚠️ MOVING DATA COSTS FAR MORE THAN COMPUTING ON IT** (§6, §13 → `uarch-gpu-npu-dataflow-and-numeric-formats`, §23 → `uarch-isa-simulation-measurement-roofline-and-specialization`). **Energy per\n>    arithmetic operation has fallen enormously; energy per byte moved has not. Modern\n>    architecture is organized around minimizing data movement, and that single fact\n>    explains caches, dataflow accelerators, quantization and HBM alike.**\n> 3. **⚠️ PARALLELISM IS EXTRACTED AT EVERY LEVEL, AND EACH HAS A DIFFERENT LIMIT** (§3 → `uarch-pipelining-out-of-order-branch-prediction-and-simd`,\n>    §11 → `uarch-gpu-npu-dataflow-and-numeric-formats`, §14 → `uarch-gpu-npu-dataflow-and-numeric-formats`). **ILP is limited by dependencies and branches, DLP by divergence and\n>    memory, TLP by synchronization and coherence traffic. Knowing which one you're\n>    hitting is the entire diagnostic skill.**\n\n---\n\n## §6. Cache Organization\n\n**⚠️ See a computer-hardware reference for the latency ladder. Here, the mechanism.**\n```\n⚠️ THE STRUCTURE  address splits into TAG \u002F INDEX \u002F OFFSET\n   ⚠️ Direct-mapped (fast, conflict-prone) · fully associative\n   (no conflicts, impractical) · ⚠️ N-WAY SET ASSOCIATIVE (the\n   real answer, typically 8–16 way at L2\u002FL3)\n⚠️ THE THREE Cs of misses  ⚠️ COMPULSORY (first touch) ·\n   CAPACITY (working set too big) · ⚠️ CONFLICT (set collisions —\n   fixable by associativity or by changing the access stride)\n   ⚠️ Plus COHERENCE misses in multiprocessors (§7)\n⚠️ REPLACEMENT  LRU is the reference; ⚠️ real caches use\n   approximations (pseudo-LRU, RRIP) because true LRU is\n   expensive at high associativity\n⚠️ WRITE POLICY  write-through vs ⚠️ WRITE-BACK (dominant) ·\n   write-allocate vs no-write-allocate · ⚠️ WRITE COMBINING buffers\n⚠️ INCLUSIVE vs EXCLUSIVE vs NINE hierarchies — ⚠️ affects\n   effective capacity and coherence probe cost\n⚠️ ⚠️ THE PATHOLOGIES WORTH KNOWING BY NAME\n   ⚠️ FALSE SHARING  two threads writing different variables in\n      the SAME LINE — coherence traffic destroys performance\n      with no logical sharing at all\n   ⚠️ CACHE THRASHING from a stride that maps everything to one set\n      (⚠️ powers-of-two array dimensions are the classic cause —\n      which is why padding arrays can produce large speedups)\n   ⚠️ 4K ALIASING between loads and stores\n```\n\n---\n\n## §7. ⚠️ Cache Coherence\n\n> **⚠️ How multiple caches maintain a consistent view of memory — and the source of\n> multicore scaling limits.**\n```\n⚠️ MESI and relatives  each line is Modified \u002F Exclusive \u002F Shared \u002F\n   Invalid. ⚠️ MOESI adds Owned; MESIF adds Forward\n   ⚠️ THE INVARIANT: one writer OR many readers, never both\n⚠️ PROTOCOL FAMILIES  ⚠️ SNOOPING (every cache watches a shared\n   bus — simple, doesn't scale) vs ⚠️ DIRECTORY-BASED (a directory\n   tracks who holds each line — scales, adds latency and storage)\n⚠️ ⚠️ THE COST  a write to a SHARED line requires INVALIDATING every\n   other copy and waiting. ⚠️ A contended line ping-ponging between\n   cores can be orders of magnitude slower than uncontended access\n⚠️ THEREFORE  ⚠️ atomics and locks are expensive not because of the\n   instruction but because of the COHERENCE TRAFFIC. ⚠️ An\n   uncontended atomic is cheap; a contended one is not, and the\n   difference is enormous\n⚠️ SCALABLE SYNCHRONIZATION  ⚠️ MCS and ticket locks queue waiters\n   to avoid all-cores-spinning-on-one-line; ⚠️ RCU and per-CPU\n   data avoid sharing altogether — which is the real answer\n⚠️ NUMA  ⚠️ coherence across sockets is far more expensive again\n```\n\n---\n\n## §8. ⚠️ Memory Consistency Models\n\n> **⚠️ The most conceptually difficult topic here, and the one most often misunderstood.\n> COHERENCE (§7) is about a single location; CONSISTENCY is about the ORDER of operations\n> across different locations.**\n```\n⚠️ SEQUENTIAL CONSISTENCY  ⚠️ the intuitive model — as if all\n   operations from all threads interleaved in some global order\n   consistent with each program's order. ⚠️ NO REAL HARDWARE\n   PROVIDES THIS, because it forbids too many optimizations\n⚠️ ⚠️ WHAT REAL HARDWARE DOES\n   ⚠️ x86-TSO  ⚠️ relatively strong: stores are buffered, so a\n      LOAD MAY BE REORDERED BEFORE AN EARLIER STORE to a\n      different address. ⚠️ That one relaxation is enough to break\n      naive Dekker-style algorithms\n   ⚠️ ARM and RISC-V  ⚠️ WEAKLY ORDERED — loads and stores can be\n      reordered much more freely. ⚠️ Code that is correct on x86\n      can be BROKEN on ARM with no source change, and this\n      surprises people porting between them\n⚠️ FENCES \u002F BARRIERS  ⚠️ explicitly constrain reordering; acquire,\n   release, and full barriers\n⚠️ LANGUAGE MEMORY MODELS  ⚠️ C++11 and Java define their own\n   models so portable concurrent code is possible at all.\n   ⚠️ memory_order_relaxed \u002F acquire \u002F release \u002F seq_cst map onto\n   whatever the hardware needs\n⚠️ ⚠️ THE COMPILER REORDERS TOO. ⚠️ A hardware fence without a\n   compiler barrier is not enough, and \"volatile\" is NOT a\n   synchronization primitive in C\u002FC++\n```\n**⚠️ The practical guidance**: ⚠️ **use the language's atomics and locks rather than\nhand-rolled fences; ⚠️ if you write lock-free code, TEST ON WEAK HARDWARE, because x86\nhides bugs that ARM exposes.**\n\n---\n\n## §9. Virtual Memory and Translation\n\n**⚠️ Multi-level page tables** (⚠️ four or five levels on x86-64), ⚠️ **so a TLB miss can\ncost several memory accesses — a \"page walk.\"**\n**⚠️ The TLB** caches translations, ⚠️ **and TLB reach — entries × page size — is frequently\nthe hidden limit on large working sets.**\n**⚠️ HUGE PAGES** (2 MB, 1 GB) ⚠️ **multiply TLB reach and are one of the highest-value and\nleast-used tunings for memory-intensive server workloads;** ⚠️ **the costs are internal\nfragmentation and allocation difficulty.**\n**⚠️ Cache indexing interaction**: ⚠️ **VIPT (virtually indexed, physically tagged) caches\nlet translation and lookup proceed in parallel, which constrains L1 size to page size ×\nassociativity — a genuine architectural reason L1 caches are small.**\n**⚠️ ASIDs\u002FPCIDs** avoid flushing the whole TLB on context switch, ⚠️ **which became much\nmore important after §19 → `uarch-dram-memory-controllers-power-and-security`'s mitigations increased switching costs.**\n\n---\n\n## §10. Prefetching\n\n**⚠️ Fetch data before it's requested, to hide latency.**\n⚠️ **Hardware prefetchers detect sequential streams and constant strides, and increasingly\nmore complex patterns; ⚠️ they cannot follow pointer chasing, which is why linked lists\nand trees perform so badly relative to arrays.**\n**⚠️ Software prefetch instructions** exist and ⚠️ **are difficult to use well — too early\nand the line is evicted, too late and you gained nothing.**\n**⚠️ The costs**: ⚠️ **useless prefetches consume bandwidth and can EVICT useful data, so an\naggressive prefetcher can make a bandwidth-bound workload slower.**\n**⚠️ The design implication**: ⚠️ **data structures with predictable access patterns are\nfast almost for free; ⚠️ this is a large part of why structure-of-arrays beats array-of-\nstructures in performance-critical code.**\n\n---\n\n# PART II — THROUGHPUT ARCHITECTURES\n",{"name":5,"description":7},"develop","ae32736a1aabddabca5d2c96d665aa0ebc7d8700","src\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fmicroarchitecture-and-memory-systems\u002Fskills\u002Fuarch-caches-coherence-consistency-and-virtual-memory",3,"https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey","https:\u002F\u002Fthe-vibey-project.github.io\u002Fvibey\u002F","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project","https:\u002F\u002Fvibewithadam.matthewsteinberger.com","freedom for software engineers","2026-11-15 05:47:42",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add the-vibey-project\u002Fvibey --skill uarch-caches-coherence-consistency-and-virtual-memory",{"tool":40,"command":41},"bunx","bunx skills add the-vibey-project\u002Fvibey --skill uarch-caches-coherence-consistency-and-virtual-memory",{"tool":43,"command":44},"pnpm","pnpm dlx skills add the-vibey-project\u002Fvibey --skill uarch-caches-coherence-consistency-and-virtual-memory","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fmicroarchitecture-and-memory-systems\u002Fskills\u002Fuarch-caches-coherence-consistency-and-virtual-memory\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M7AT1FQJAE1FQYAMDTF490Y4","white-paper-writing","Use when writing white papers, technical reports, policy documents, thought leadership pieces, or any long-form authoritative document. Triggers on requests to write, structure, outline, or review white papers, technical reports, position papers, policy briefs, or evidence-driven arguments. Also use for B2B content marketing strategy, technical documentation requiring authority, academic-style reports, or any document that must educate while persuading. Use when someone asks \"how should I structure this\" for a long-form document.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fwhite-paper-writing\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7AT16BJRJJKK2MASXRZS76G","prose-technical-mechanics","Use when editing or writing prose at a technical\u002Fmechanical level: choosing between Anglo-Saxon and Latinate diction, placing information in topic vs stress positions, writing periodic vs cumulative sentences, handling sentence rhythm, punctuation as logic, transitions, paragraph structure, or phonesthetics. Use when someone wants to understand WHY prose works or doesn't, not just surface-level style advice. Triggers on word choice, sentence structure, emphasis, rhythm, diction, or any deep writing mechanics question.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-technical-mechanics\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7AT0W9HT0ZZ9Y287NW99MR3","prose-mechanics","Use when writing, editing, or analyzing prose style; when trying to avoid generic AI-sounding writing; when applying specific prose styles such as journalistic, academic, narrative, KJV biblical, Hemingway plain, Latinate\u002FJamesian, Orwellian, Augustan, Victorian, Early Modern (Bacon, Browne, Milton), or free indirect discourse; or when coaching someone on writing voice and mechanics. Triggers on any request to improve, analyze, or write in a specific prose style, to fix \"AI-sounding\" writing, to make prose more vivid or concrete, to vary sentence rhythm, or to understand how a particular writer achieves their effects.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fprose-mechanics\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7AT0KR635JX66X2X6F3E2CP","narrative-structure","Use when structuring stories, pitches, presentations, white papers, or any persuasive narrative; analyzing the hero's journey in fiction or non-fiction; applying StoryBrand for business communication; designing narrative arcs for thought leadership; or understanding Vogler, Snyder, Propp, or Campbell frameworks. Triggers on any narrative structure, storytelling, pitch structure, StoryBrand, hero's journey, three-act structure, Freytag, Save the Cat, narrative arc, or \"how should I structure this story\u002Fpitch\u002Fpresentation\" request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fnarrative-structure\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7AT0AKGW09NKKZDYBT8VRDE","legal-brief-writing","Use when writing legal briefs, motions, or any court filing; when analyzing judicial cognition and persuasion; when applying elite brief-writing techniques from Roberts, Clement, Kagan, Garner; or when structuring legal arguments for maximum persuasion. Also use for autistic\u002Fneurodivergent advocates who need to understand how their natural communication style maps to elite legal advocacy. Triggers on any legal writing, brief drafting, motion preparation, or legal argument structuring request.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Flegal-brief-writing\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7AT00VWPS4Q8B5VEMXX9NQT","journal-publishability-criteria","Use whenever a research paper, article or preprint is being written, revised, reviewed or published, and specifically before every publication of docs\u002Fpaper.md. Covers what legitimate journals actually gate on, in order of gating — the editor's desk screen (scope, novelty, package problems), what reviewers judge (methodological soundness, claims the evidence can carry, statistical and qualitative reporting), EQUATOR reporting guidelines, the ICMJE authorship criteria, COPE's view of text recycling, the near-universal generative-AI policy (no AI author, disclosure, author responsibility), TOP 2025 transparency standards, how to verify a journal is legitimate, submitting without an institution, and a pre-submission checklist. Triggers on requests to evaluate, review, prepare or submit a paper, to judge publishability, to write a declarations or data-availability section, to disclose AI use, or to check a journal.","https:\u002F\u002Fgithub.com\u002Fthe-vibey-project\u002Fvibey\u002Fblob\u002Fdevelop\u002Fsrc\u002Fvibey_tools\u002Fskills\u002Fplugins\u002Fwriting-craft\u002Fskills\u002Fjournal-publishability-criteria\u002FSKILL.md",[],[]]