.claude/skills/book/SKILL.md
Create Book note with knowledge compounding through spawned Concept/Pattern/Theme nodes
npx skillsauth add DavidROliverBA/ArchitectKB .claude/skills/bookInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create a Book note with reading tracking and knowledge compounding through spawned Concept/Pattern/Theme nodes. Works for both quick capture and comprehensive PDF processing.
/book <title>
/book <title> by <author>
/book <title> --status reading
/book <title> --spawn # Identify concepts/patterns/themes to spawn
/book <title> --spawn "Data Contracts" # Spawn single specific node
/book <title> --spawn --concepts-only # Only spawn Concepts
/book <title> --spawn --patterns-only # Only spawn Patterns
/book <title> --spawn --themes-only # Only spawn Themes
/book <title> --spawn --preview # Preview content before creating
/book <title> --spawn --force # Re-analyse, ignore existing spawned nodes
/book <title> --spawn --enrich # Use web search to enrich definitions
/book <title> --pdf <path> # Process PDF with knowledge extraction
| Mode | Trigger | Model | Description |
| --------------- | ------------------- | ------ | ---------------------------------------------- |
| Quick | /book <title> | Haiku | Fast capture for reading tracking |
| Spawn | --spawn | Sonnet | Identify and create spawned knowledge nodes |
| Incremental | --spawn "Name" | Sonnet | Spawn a single specific node |
| Preview | --spawn --preview | Sonnet | Preview nodes before creation |
| PDF Process | --pdf <path> | Sonnet | Full PDF extraction with knowledge compounding |
| Update | On existing book | Sonnet | Add spawned nodes to existing Book note |
For simple reading tracking without knowledge extraction.
Parse the input:
--status, --rating, --formatCreate the note at root: Book - <Title>.md
Populate basic frontmatter (see template below)
Report creation:
Created: Book - <Title>.md
Status: <status>
Tip: Use `/book <title> --spawn` to identify concepts and patterns to extract
For identifying and creating standalone knowledge nodes from a book.
If the book note already exists, read it to understand the content.
Read: Book - <Title>.md
If the book note doesn't exist, use web search to gather information about the book's content and key contributions.
IMPORTANT: Before analysing for candidates, check if this book already has spawned nodes.
Read the book note frontmatter for `spawnedNodes` field
| Situation | Action |
| -------------------------------------- | ---------------------------------------------- |
| No existing spawnedNodes | Proceed with full analysis |
| Has spawnedNodes + no --force flag | Skip existing, analyse for NEW candidates only |
| Has spawnedNodes + --force flag | Re-analyse all, may update existing nodes |
When running incrementally:
spawnedNodes (don't replace)CRITICAL: Before proposing spawn candidates, search the vault to avoid duplicates.
For each potential candidate:
Exact match search:
Glob "Concept - {{candidate name}}*"
Glob "Pattern - {{candidate name}}*"
Glob "Theme - {{candidate name}}*"
Partial/related match search:
Grep "{{candidate term}}" --glob "*.md" --output_mode files_with_matches
SQLite FTS search (if available):
/q {{candidate term}}
Decision Matrix:
| Search Result | Action |
| --------------------------------------------------- | ------------------------------------------------------- |
| Exact match exists | Link to existing node, don't spawn |
| Partial coverage (mentioned but not dedicated node) | Offer to enrich existing or spawn new |
| Related concept exists | Add to nodeRelationships, may still spawn if distinct |
| No coverage | Add to spawn candidates |
Report search results:
Vault Coverage Check:
- "Data Mesh" → No existing node ✓ (will spawn)
- "Data Product" → Found Concept - Data Product Anatomy.md (will link, not spawn)
- "Self-Serve Platform" → Mentioned in 3 notes but no dedicated node ✓ (will spawn)
Identify knowledge candidates with metadata:
Core Concepts (What is X?)
Patterns (How to do X)
Themes (Cross-cutting concerns)
For each candidate, determine:
| Field | Description |
| ------------------- | --------------------------------------------- |
| name | Node title |
| type | Concept, Pattern, or Theme |
| definition | 1-2 sentence definition |
| sourceChapters | Which chapters cover this (array of numbers) |
| sourcePages | Page range if known (string) |
| sourcePrimary | Is this book THE authoritative source? |
| confidence | Derived from source quality (see rules below) |
| relatedCandidates | Other candidates this relates to |
Confidence Inheritance Rules:
| Source Quality | Criteria | Spawned Confidence |
| ------------------ | ----------------------------------------------------------- | ------------------ |
| Authoritative | Author coined/invented the term, book is THE primary source | high |
| Deep treatment | Dedicated chapter(s), comprehensive coverage | high |
| Substantial | Multiple sections, detailed explanation | medium |
| Referenced | Mentioned, explained briefly | medium |
| Brief mention | Passing reference, assumes prior knowledge | low |
Examples:
high (she coined it)medium (secondary source)medium (referenced, not primary topic)Before presenting candidates, map how they relate to EACH OTHER:
| From | To | Relationship Type | | -------------------- | ------------ | ----------------------- | | Data Product | Data Mesh | "component of" | | Data Quantum | Data Product | "implements" | | Self-Serve Platform | Data Mesh | "enables" | | Federated Governance | Data Mesh | "governs" | | Data Contracts | Data Product | "defines interface for" |
This ensures spawned nodes link to siblings, not just back to the source book.
Use AskUserQuestion with full context:
Question: "Which knowledge nodes should I create from '{{Book Title}}'?"
Header: "Spawn Nodes"
Options:
1. "All recommended ({{N}} nodes)" (Recommended)
Description: "{{X}} Concepts, {{Y}} Patterns, {{Z}} Themes"
2. "Concepts only ({{X}} nodes)"
Description: "{{list concept names}}"
3. "Patterns only ({{Y}} nodes)"
Description: "{{list pattern names}}"
4. "Themes only ({{Z}} nodes)"
Description: "{{list theme names}}"
5. "Let me choose"
Description: "I'll select specific nodes"
If user selects "Let me choose", use multiSelect question listing each candidate with its type and confidence.
If --preview is requested, before creating each node show:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Preview: Concept - Data Product
> **Definition:** The smallest unit of analytical data that can be
> independently deployed, consumed, and governed as a product.
**Source:** Chapters 3, 11-14 | **Confidence:** high
**Key Characteristics:**
- Discoverable, addressable, understandable
- Owned by a domain team with product thinking
- Has defined interfaces (input/output ports)
**Related Nodes:**
- [[Concept - Data Mesh]] (component of)
- [[Concept - Data Quantum]] (implemented by)
- [[Pattern - Data Contracts]] (interfaces defined by)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Options: [Create] [Skip] [Edit Definition]
Use AskUserQuestion for each preview with Create/Skip/Edit options.
If --enrich is requested, for each approved candidate:
WebSearch: "{{concept name}} definition {{author name if relevant}}"
Use results to:
Add enrichment to the spawned node:
# In spawned node frontmatter
enrichedFrom:
- url: "{{source URL}}"
retrieved: { { DATE } }
For each approved candidate, create the appropriate node type using templates below.
Creation Order:
This ensures nodes can reference each other correctly.
For each node:
sourceBook, sourceChapters, sourcePages, sourcePrimaryconfidence based on inheritance rulesnodeRelationships including sibling nodes AND source bookAdd/update the book's frontmatter and body:
Frontmatter:
spawnedNodes:
- "[[Concept - {{Name}}]]"
- "[[Pattern - {{Name}}]]"
- "[[Theme - {{Name}}]]"
Body - Add "Spawned Knowledge" section:
## Spawned Knowledge
This book is a primary source for the following knowledge nodes:
### Themes
| Node | Description |
| ------------- | --------------- |
| [[Theme - X]] | {{description}} |
### Core Concepts
| Node | Description | Chapters |
| --------------- | --------------- | -------- |
| [[Concept - X]] | {{description}} | Ch. 2-3 |
### Implementation Patterns
| Node | Description | Chapters |
| --------------- | --------------- | -------- |
| [[Pattern - X]] | {{description}} | Ch. 10 |
Report:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 Book Spawn Complete: {{Book Title}}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
**Book Note:** Book - {{Title}}.md
**Spawned Knowledge Nodes:**
Themes ({{N}}):
- Theme - X — {{description}}
Concepts ({{N}}):
- Concept - X — {{description}} (Ch. 2-3, high confidence)
- Concept - Y — {{description}} (Ch. 5, medium confidence)
Patterns ({{N}}):
- Pattern - X — {{description}} (Ch. 10)
**Linked to Existing:**
- [[Concept - Existing]] — Added as related concept
**Skipped (Already Exist):**
- "Data Product Anatomy" → Linked to existing Concept - Data Product Anatomy.md
**Key Takeaways:**
- {{takeaway 1}}
- {{takeaway 2}}
- {{takeaway 3}}
**Suggested Next Books:**
- [[Book - Related Book 1]] — {{why relevant}}
- [[Book - Related Book 2]] — {{why relevant}}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
When user specifies a single node: /book "Data Mesh" --spawn "Data Contracts"
spawnedNodes field (append)For full book PDF extraction with knowledge compounding.
/pdf-to-page skill)Filename: Book - {{Title}}.md
Location: Vault root
---
type: Book
pillar: node
title: "{{title}}"
aliases:
- "{{short title}}"
created: {{DATE}}
modified: {{DATE}}
tags:
- {{relevant hierarchical tags}}
# Book Metadata
author: {{author}}
coAuthors: []
editor: null
isbn: null
publisher: null
publishedYear: null
pages: null
genre: [{{non-fiction, technology, etc.}}]
series: null
seriesNumber: null
# Reading Tracking
readingStatus: {{to-read|reading|completed|abandoned|reference}}
startDate: null
finishDate: null
rating: null
rereadCount: 0
format: {{physical|kindle|pdf|audiobook}}
# Content
coreThesis: "{{1-2 sentence main contribution}}"
keyTakeaways:
- "{{takeaway 1}}"
- "{{takeaway 2}}"
- "{{takeaway 3}}"
favouriteQuotes: []
# Source & Links
source: owned
goodreadsUrl: null
amazonUrl: null
attachedPdf: null
# Knowledge Compounding
spawnedNodes:
- "[[Concept - {{Concept 1}}]]"
- "[[Pattern - {{Pattern 1}}]]"
- "[[Theme - {{Theme 1}}]]"
# Relationships
nodeRelationships:
- "[[Concept - {{Related existing concept}}]]"
entityRelationships:
- "[[Person - {{Author if notable}}]]"
- "[[Organisation - {{Publisher or company}}]]"
relatedBooks:
- "[[Book - {{Related book}}]]"
recommendedBy: null
# Quality
summary: "{{one-line summary}}"
confidence: high
freshness: current
source: primary
verified: true
reviewed: {{DATE}}
keywords:
- {{keyword1}}
- {{keyword2}}
---
# {{title}}
> **Author**: {{author}}
> **Status**: {{status}}
> **Rating**: {{star rating if provided}}
> **Source**: [[Attachments/{{pdf if attached}}|PDF]]
## Core Thesis
{{1-2 paragraphs explaining the main argument or contribution}}
## Why Read This Book?
{{2-3 sentences on relevance and value}}
## Key Takeaways
{{For each major insight, provide context}}
### 1. {{Takeaway Title}}
{{Explanation with context from the book}}
### 2. {{Takeaway Title}}
{{Explanation with context}}
## Book Structure
{{Part/Chapter outline with brief descriptions}}
### Part I: {{Title}}
- **Chapter 1**: {{Title}} - {{brief description}}
- **Chapter 2**: {{Title}} - {{brief description}}
## Key Concepts
| Concept | Description |
| ------------- | -------------------- |
| {{concept 1}} | {{brief definition}} |
| {{concept 2}} | {{brief definition}} |
## Favourite Quotes
> "{{quote 1}}"
> — p. {{page}}
> "{{quote 2}}"
> — p. {{page}}
## Spawned Knowledge
This book is a primary source for the following knowledge nodes:
### Themes
| Node | Description |
| -------------------- | --------------- |
| [[Theme - {{Name}}]] | {{description}} |
### Core Concepts
| Node | Description | Chapters |
| ---------------------- | --------------- | --------- |
| [[Concept - {{Name}}]] | {{description}} | Ch. {{N}} |
### Implementation Patterns
| Node | Description | Chapters |
| ---------------------- | --------------- | --------- |
| [[Pattern - {{Name}}]] | {{description}} | Ch. {{N}} |
## Relevance to Your Work
{{How this relates to Solutions Architecture, your projects, or current work. Include links to related vault content.}}
## Related
- [[Book - {{Related book}}]] — {{relationship}}
- {{wiki-links to related vault notes}}
## Chapter Notes
### Chapter 1: {{Title}}
{{User's notes - leave blank for user}}
Filename: Concept - {{Name}}.md
Location: Vault root
Create for "What is X?" knowledge - definitions, frameworks, models.
---
type: Concept
pillar: node
title: "{{Name}}"
aliases:
- "{{alternative names}}"
created: { { DATE } }
modified: { { DATE } }
tags:
- { { relevant hierarchical tags } }
# Source Provenance
sourceBook: "[[Book - {{Source Book}}]]"
sourceChapters: [{ { chapter numbers } }]
sourcePages: "{{page range}}"
sourcePrimary: { { true if this book is THE authoritative source } }
# Relationships
nodeRelationships:
- "[[Book - {{Source Book}}]]"
- "[[Concept - {{Sibling concept from same book}}]]"
- "[[Pattern - {{Related pattern}}]]"
entityRelationships: []
# Quality
description: "{{1-2 sentence definition}}"
summary: "{{one-line summary}}"
confidence: { { high|medium|low based on inheritance rules } }
freshness: current
source: { { primary if sourcePrimary else secondary } }
verified: false
reviewed: { { DATE } }
keywords:
- { { keyword1 } }
- { { keyword2 } }
---
# {{Name}}
> **Definition:** {{Clear, concise definition}}
## Overview
{{2-3 paragraphs explaining the concept, derived from the book but written to be standalone}}
## Key Characteristics
- {{characteristic 1}}
- {{characteristic 2}}
- {{characteristic 3}}
## Examples
{{Real-world examples from the book or added for clarity}}
## Why It Matters
{{Business/technical impact, relevance to architecture work}}
## Related Concepts
- [[Concept - {{Sibling 1}}]] — {{relationship}}
- [[Concept - {{Sibling 2}}]] — {{relationship}}
- [[Pattern - {{Related pattern}}]] — {{relationship}}
## Sources
- [[Book - {{Source Book}}]] — Ch. {{chapters}} ({{primary source | secondary source}})
- {{Additional references if known}}
Filename: Pattern - {{Name}}.md
Location: Vault root
Create for "How to do X" knowledge - approaches, architectures, solutions.
---
type: Pattern
pillar: node
title: "{{Name}}"
aliases: []
created: { { DATE } }
modified: { { DATE } }
tags:
- { { relevant hierarchical tags } }
patternType: architecture | integration | data | security | process
# Source Provenance
sourceBook: "[[Book - {{Source Book}}]]"
sourceChapters: [{ { chapter numbers } }]
sourcePages: "{{page range}}"
sourcePrimary: { { true|false } }
# Relationships
nodeRelationships:
- "[[Book - {{Source Book}}]]"
- "[[Concept - {{Related concept}}]]"
- "[[Pattern - {{Sibling pattern}}]]"
entityRelationships: []
# Quality
description: "{{1-2 sentence description}}"
summary: "{{one-line summary}}"
confidence: { { high|medium|low } }
freshness: current
verified: false
reviewed: { { DATE } }
---
# {{Name}}
> **Intent:** {{What problem does this pattern solve?}}
## Context
{{When to use this pattern}}
## Problem
{{The specific challenge this addresses}}
## Solution
{{How the pattern works}}
## Implementation
{{Key steps or components}}
## Consequences
**Benefits:**
- {{benefit 1}}
- {{benefit 2}}
**Trade-offs:**
- {{trade-off 1}}
- {{trade-off 2}}
## Examples
{{Real-world examples from the book}}
## Related Patterns
- [[Pattern - {{Sibling}}]] — {{relationship}}
- [[Concept - {{Related concept}}]] — {{relationship}}
## Sources
- [[Book - {{Source Book}}]] — Ch. {{chapters}}
Filename: Theme - {{Name}}.md
Location: Vault root
Create for cross-cutting concerns, paradigm shifts, strategic directions.
---
type: Theme
pillar: node
title: "{{Name}}"
aliases: []
created: { { DATE } }
modified: { { DATE } }
tags:
- { { relevant hierarchical tags } }
scope: { { enterprise|department|project|domain } }
# Source Provenance
sourceBook: "[[Book - {{Source Book}}]]"
sourceChapters: [{ { chapter numbers } }]
sourcePrimary: { { true|false } }
# Relationships
nodeRelationships:
- "[[Book - {{Source Book}}]]"
- "[[Concept - {{Manifestation of this theme}}]]"
- "[[Pattern - {{Implements this theme}}]]"
entityRelationships: []
# Quality
description: "{{1-2 sentence description}}"
summary: "{{one-line summary}}"
confidence: { { high|medium|low } }
freshness: current
verified: false
reviewed: { { DATE } }
keywords:
- { { keyword1 } }
- { { keyword2 } }
---
# {{Name}}
> **Essence:** {{One sentence capturing the core of this theme}}
## Overview
{{2-3 paragraphs explaining the theme and its significance}}
## Why This Theme Matters
{{Business/strategic impact, why this is a cross-cutting concern}}
## Manifestations
This theme appears in several forms:
### As Concepts
- [[Concept - {{X}}]] — {{how this concept embodies the theme}}
- [[Concept - {{Y}}]] — {{how this concept embodies the theme}}
### As Patterns
- [[Pattern - {{X}}]] — {{how this pattern implements the theme}}
- [[Pattern - {{Y}}]] — {{how this pattern implements the theme}}
## Tensions & Trade-offs
{{What this theme trades off against, competing concerns}}
## Evolution
{{How this theme has evolved or is evolving in the industry}}
## Related Themes
- [[Theme - {{Related}}]] — {{relationship}}
## Sources
- [[Book - {{Source Book}}]] — Primary exposition
- {{Additional sources}}
✅ DO spawn when:
❌ DON'T spawn when:
✅ DO spawn when:
❌ DON'T spawn when:
✅ DO spawn when:
❌ DON'T spawn when:
| Book Type | Themes | Concepts | Patterns | | ---------------------------------------- | ------ | -------- | -------- | | Technical deep-dive (e.g., "Data Mesh") | 1-3 | 5-10 | 3-7 | | Survey book (e.g., "Fundamentals of...") | 2-4 | 10-20 | 5-10 | | Practical guide (e.g., "Building...") | 1-2 | 3-7 | 5-15 | | Business/strategy book | 2-4 | 3-5 | 1-3 |
| Source Indicator | Confidence |
| ---------------------------------------- | ---------- |
| Author coined/created the term | high |
| Book is THE definitive source | high |
| Dedicated chapter(s) on the topic | high |
| Substantial coverage (multiple sections) | medium |
| Referenced and explained | medium |
| Brief mention, assumes prior knowledge | low |
| Status | When to Use |
| ----------- | -------------------------------- |
| to-read | On reading list, haven't started |
| reading | Currently reading |
| completed | Finished reading |
| abandoned | Started but won't finish |
| reference | Reference book, dip in as needed |
| Rating | Meaning | | ------ | --------------------------- | | 5 | Life-changing, will re-read | | 4 | Excellent, highly recommend | | 3 | Good, worth reading | | 2 | Okay, some useful bits | | 1 | Not recommended |
technology/aws not just aws)For "Data Mesh" by Zhamak Dehghani (author coined the paradigm):
Themes:
Theme - Decentralisation.md - Shift from centralised to federated ownershipTheme - Product Thinking for Data.md - Treating data as a productConcepts:
Concept - Data Mesh.md - The paradigm itself (high confidence, Ch. 1-5)Concept - Data Product.md - Core building block (high confidence, Ch. 3, 11-14)Concept - Data Quantum.md - Smallest deployable unit (high confidence, Ch. 9)Concept - Federated Computational Governance.md - Governance approach (high confidence, Ch. 5)Concept - Domain Data Archetypes.md - Source-aligned, aggregate, consumer-aligned (high confidence, Ch. 2)Patterns:
Pattern - Self-Serve Data Platform.md - Platform design pattern (high confidence, Ch. 4, 10)Pattern - Data Contracts.md - Producer-consumer agreements (high confidence, Ch. 14)Pattern - Multiplane Data Platform.md - Platform architecture (high confidence, Ch. 10)All nodes:
Book - Data Mesh.mdsourcePrimary: true (Dehghani is the authority)confidence: high (definitive source)When using /pdf-to-page with --book flag, this skill's knowledge compounding is automatically applied:
| Issue | Solution |
| -------------------------------- | -------------------------------------------------- |
| "Already spawned" false positive | Use --force to re-analyse |
| Vault search too slow | Use /q (SQLite) instead of Grep |
| Too many candidates | Filter with --concepts-only or --patterns-only |
| Want to add one more concept | Use /book "Title" --spawn "Concept Name" |
| Preview taking too long | Skip preview, approve all, edit after |
tools
--- context: fork --- # /youtube Save a YouTube video as both a Weblink (quick reference) and a detailed Page (full analysis). ## Usage ``` /youtube <url> /youtube <url> <optional title override> ``` ## Examples ``` /youtube https://www.youtube.com/watch?v=0TpON5T-Sw4 /youtube https://youtu.be/abc123 AWS re:Invent Keynote ``` ## Prerequisites This skill uses the MCP Docker YouTube tools: - `mcp__MCP_DOCKER__get_video_info` - Video metadata - `mcp__MCP_DOCKER__get_transcript` - Full trans
data-ai
Create and manage git worktrees for parallel agent sessions
testing
--- context: fork --- # /wipe Generate a context handoff summary, clear the session, and resume in a fresh conversation. Detects environment and provides automated (tmux) or manual workflow. ## Usage ``` /wipe /wipe quick # Minimal handoff, just essentials /wipe detailed # Comprehensive handoff with full context ``` ## Instructions When the user invokes `/wipe`: ### Phase 1: Detect Environment First, check the terminal environment: ```bash echo "Environment Detection:"
data-ai
--- context: fork --- # /weekly-summary Generate comprehensive weekly summary from daily notes, meetings, tasks, and project updates using parallel sub-agents. ## Usage ``` /weekly-summary /weekly-summary --last-week /weekly-summary --from 2026-01-01 --to 2026-01-07 /weekly-summary --output page # Create Page note instead of just outputting ``` ## Instructions This skill uses **5 parallel sub-agents** to gather data concurrently from different vault areas, then synthesizes a comprehensi