brunovskyoliver 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/README.md +50 -0
  2. package/bin/install-skills.mjs +191 -0
  3. package/package.json +18 -0
  4. package/skills/deprecated/README.md +8 -0
  5. package/skills/deprecated/design-an-interface/SKILL.md +94 -0
  6. package/skills/deprecated/qa/SKILL.md +130 -0
  7. package/skills/deprecated/request-refactor-plan/SKILL.md +68 -0
  8. package/skills/deprecated/ubiquitous-language/SKILL.md +93 -0
  9. package/skills/design/frontend-design/LICENSE.txt +177 -0
  10. package/skills/design/frontend-design/SKILL.md +42 -0
  11. package/skills/design/ui-ux-pro-max/SKILL.md +674 -0
  12. package/skills/design/ui-ux-pro-max/data/_sync_all.py +414 -0
  13. package/skills/design/ui-ux-pro-max/data/app-interface.csv +31 -0
  14. package/skills/design/ui-ux-pro-max/data/charts.csv +26 -0
  15. package/skills/design/ui-ux-pro-max/data/colors.csv +162 -0
  16. package/skills/design/ui-ux-pro-max/data/design.csv +1776 -0
  17. package/skills/design/ui-ux-pro-max/data/draft.csv +1779 -0
  18. package/skills/design/ui-ux-pro-max/data/google-fonts.csv +1924 -0
  19. package/skills/design/ui-ux-pro-max/data/icons.csv +106 -0
  20. package/skills/design/ui-ux-pro-max/data/landing.csv +35 -0
  21. package/skills/design/ui-ux-pro-max/data/products.csv +162 -0
  22. package/skills/design/ui-ux-pro-max/data/react-performance.csv +45 -0
  23. package/skills/design/ui-ux-pro-max/data/stacks/angular.csv +51 -0
  24. package/skills/design/ui-ux-pro-max/data/stacks/astro.csv +54 -0
  25. package/skills/design/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  26. package/skills/design/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  27. package/skills/design/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  28. package/skills/design/ui-ux-pro-max/data/stacks/laravel.csv +51 -0
  29. package/skills/design/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  30. package/skills/design/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  31. package/skills/design/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  32. package/skills/design/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  33. package/skills/design/ui-ux-pro-max/data/stacks/react.csv +54 -0
  34. package/skills/design/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  35. package/skills/design/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  36. package/skills/design/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  37. package/skills/design/ui-ux-pro-max/data/stacks/threejs.csv +54 -0
  38. package/skills/design/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  39. package/skills/design/ui-ux-pro-max/data/styles.csv +85 -0
  40. package/skills/design/ui-ux-pro-max/data/typography.csv +74 -0
  41. package/skills/design/ui-ux-pro-max/data/ui-reasoning.csv +162 -0
  42. package/skills/design/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  43. package/skills/design/ui-ux-pro-max/scripts/core.py +262 -0
  44. package/skills/design/ui-ux-pro-max/scripts/design_system.py +1148 -0
  45. package/skills/design/ui-ux-pro-max/scripts/search.py +114 -0
  46. package/skills/engineering/README.md +25 -0
  47. package/skills/engineering/ask-matt/SKILL.md +61 -0
  48. package/skills/engineering/codebase-design/DEEPENING.md +37 -0
  49. package/skills/engineering/codebase-design/DESIGN-IT-TWICE.md +44 -0
  50. package/skills/engineering/codebase-design/SKILL.md +114 -0
  51. package/skills/engineering/diagnosing-bugs/SKILL.md +134 -0
  52. package/skills/engineering/diagnosing-bugs/scripts/hitl-loop.template.sh +41 -0
  53. package/skills/engineering/domain-modeling/ADR-FORMAT.md +47 -0
  54. package/skills/engineering/domain-modeling/CONTEXT-FORMAT.md +60 -0
  55. package/skills/engineering/domain-modeling/SKILL.md +74 -0
  56. package/skills/engineering/grill-with-docs/SKILL.md +7 -0
  57. package/skills/engineering/implement/SKILL.md +15 -0
  58. package/skills/engineering/improve-codebase-architecture/HTML-REPORT.md +123 -0
  59. package/skills/engineering/improve-codebase-architecture/SKILL.md +66 -0
  60. package/skills/engineering/prototype/LOGIC.md +79 -0
  61. package/skills/engineering/prototype/SKILL.md +31 -0
  62. package/skills/engineering/prototype/UI.md +112 -0
  63. package/skills/engineering/resolving-merge-conflicts/SKILL.md +14 -0
  64. package/skills/engineering/setup-matt-pocock-skills/SKILL.md +127 -0
  65. package/skills/engineering/setup-matt-pocock-skills/domain.md +51 -0
  66. package/skills/engineering/setup-matt-pocock-skills/issue-tracker-github.md +34 -0
  67. package/skills/engineering/setup-matt-pocock-skills/issue-tracker-gitlab.md +35 -0
  68. package/skills/engineering/setup-matt-pocock-skills/issue-tracker-local.md +21 -0
  69. package/skills/engineering/setup-matt-pocock-skills/triage-labels.md +15 -0
  70. package/skills/engineering/tdd/SKILL.md +108 -0
  71. package/skills/engineering/tdd/mocking.md +59 -0
  72. package/skills/engineering/tdd/refactoring.md +10 -0
  73. package/skills/engineering/tdd/tests.md +61 -0
  74. package/skills/engineering/to-issues/SKILL.md +98 -0
  75. package/skills/engineering/to-prd/SKILL.md +75 -0
  76. package/skills/engineering/triage/AGENT-BRIEF.md +207 -0
  77. package/skills/engineering/triage/OUT-OF-SCOPE.md +105 -0
  78. package/skills/engineering/triage/SKILL.md +112 -0
  79. package/skills/in-progress/README.md +10 -0
  80. package/skills/in-progress/decision-mapping/SKILL.md +84 -0
  81. package/skills/in-progress/loop-me/SKILL.md +32 -0
  82. package/skills/in-progress/review/SKILL.md +69 -0
  83. package/skills/in-progress/writing-beats/SKILL.md +67 -0
  84. package/skills/in-progress/writing-fragments/SKILL.md +79 -0
  85. package/skills/in-progress/writing-shape/SKILL.md +79 -0
  86. package/skills/misc/README.md +8 -0
  87. package/skills/misc/git-guardrails-claude-code/SKILL.md +95 -0
  88. package/skills/misc/git-guardrails-claude-code/scripts/block-dangerous-git.sh +25 -0
  89. package/skills/misc/migrate-to-shoehorn/SKILL.md +118 -0
  90. package/skills/misc/ralph/SKILL.md +83 -0
  91. package/skills/misc/ralph/references/default-prompt.md +22 -0
  92. package/skills/misc/ralph/scripts/afk.sh +41 -0
  93. package/skills/misc/scaffold-exercises/SKILL.md +106 -0
  94. package/skills/misc/setup-pre-commit/SKILL.md +91 -0
  95. package/skills/personal/README.md +6 -0
  96. package/skills/personal/edit-article/SKILL.md +15 -0
  97. package/skills/personal/obsidian-vault/SKILL.md +59 -0
  98. package/skills/productivity/README.md +18 -0
  99. package/skills/productivity/grill-me/SKILL.md +7 -0
  100. package/skills/productivity/grilling/SKILL.md +10 -0
  101. package/skills/productivity/handoff/SKILL.md +16 -0
  102. package/skills/productivity/teach/GLOSSARY-FORMAT.md +35 -0
  103. package/skills/productivity/teach/LEARNING-RECORD-FORMAT.md +46 -0
  104. package/skills/productivity/teach/MISSION-FORMAT.md +31 -0
  105. package/skills/productivity/teach/RESOURCES-FORMAT.md +32 -0
  106. package/skills/productivity/teach/SKILL.md +140 -0
  107. package/skills/productivity/writing-great-skills/GLOSSARY.md +195 -0
  108. package/skills/productivity/writing-great-skills/SKILL.md +82 -0
@@ -0,0 +1,41 @@
1
+ #!/bin/bash
2
+ set -eo pipefail
3
+
4
+ # Usage: afk.sh [max_iterations]
5
+ # Run from the project root. Omit max_iterations to run until no tasks remain.
6
+
7
+ MAX=${1:-999}
8
+
9
+ for ((i=1; i<=MAX; i++)); do
10
+ echo "=== Ralph iteration $i ==="
11
+
12
+ tmpfile=$(mktemp)
13
+ trap "rm -f $tmpfile" EXIT
14
+
15
+ issues=$(cat issues/*.md 2>/dev/null || echo "No issues found")
16
+ commits=$(git log -n 5 --format="%H%n%ad%n%B---" --date=short 2>/dev/null || echo "No commits found")
17
+
18
+ if [ -f ralph/prompt.md ]; then
19
+ prompt=$(cat ralph/prompt.md)
20
+ else
21
+ prompt=$(cat ~/.codex/skills/ralph/references/default-prompt.md)
22
+ fi
23
+
24
+ codex exec \
25
+ --sandbox workspace-write \
26
+ -o "$tmpfile" \
27
+ "Previous commits: $commits
28
+
29
+ Issues: $issues
30
+
31
+ $prompt"
32
+
33
+ last_message=$(cat "$tmpfile" 2>/dev/null || echo "")
34
+
35
+ if [[ "$last_message" == *"<promise>NO MORE TASKS</promise>"* ]]; then
36
+ echo "Ralph complete after $i iteration(s)."
37
+ exit 0
38
+ fi
39
+ done
40
+
41
+ echo "Ralph finished $MAX iteration(s)."
@@ -0,0 +1,106 @@
1
+ ---
2
+ name: scaffold-exercises
3
+ description: Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
4
+ ---
5
+
6
+ # Scaffold Exercises
7
+
8
+ Create exercise directory structures that pass `pnpm ai-hero-cli internal lint`, then commit with `git commit`.
9
+
10
+ ## Directory naming
11
+
12
+ - **Sections**: `XX-section-name/` inside `exercises/` (e.g., `01-retrieval-skill-building`)
13
+ - **Exercises**: `XX.YY-exercise-name/` inside a section (e.g., `01.03-retrieval-with-bm25`)
14
+ - Section number = `XX`, exercise number = `XX.YY`
15
+ - Names are dash-case (lowercase, hyphens)
16
+
17
+ ## Exercise variants
18
+
19
+ Each exercise needs at least one of these subfolders:
20
+
21
+ - `problem/` - student workspace with TODOs
22
+ - `solution/` - reference implementation
23
+ - `explainer/` - conceptual material, no TODOs
24
+
25
+ When stubbing, default to `explainer/` unless the plan specifies otherwise.
26
+
27
+ ## Required files
28
+
29
+ Each subfolder (`problem/`, `solution/`, `explainer/`) needs a `readme.md` that:
30
+
31
+ - Is **not empty** (must have real content, even a single title line works)
32
+ - Has no broken links
33
+
34
+ When stubbing, create a minimal readme with a title and a description:
35
+
36
+ ```md
37
+ # Exercise Title
38
+
39
+ Description here
40
+ ```
41
+
42
+ If the subfolder has code, it also needs a `main.ts` (>1 line). But for stubs, a readme-only exercise is fine.
43
+
44
+ ## Workflow
45
+
46
+ 1. **Parse the plan** - extract section names, exercise names, and variant types
47
+ 2. **Create directories** - `mkdir -p` for each path
48
+ 3. **Create stub readmes** - one `readme.md` per variant folder with a title
49
+ 4. **Run lint** - `pnpm ai-hero-cli internal lint` to validate
50
+ 5. **Fix any errors** - iterate until lint passes
51
+
52
+ ## Lint rules summary
53
+
54
+ The linter (`pnpm ai-hero-cli internal lint`) checks:
55
+
56
+ - Each exercise has subfolders (`problem/`, `solution/`, `explainer/`)
57
+ - At least one of `problem/`, `explainer/`, or `explainer.1/` exists
58
+ - `readme.md` exists and is non-empty in the primary subfolder
59
+ - No `.gitkeep` files
60
+ - No `speaker-notes.md` files
61
+ - No broken links in readmes
62
+ - No `pnpm run exercise` commands in readmes
63
+ - `main.ts` required per subfolder unless it's readme-only
64
+
65
+ ## Moving/renaming exercises
66
+
67
+ When renumbering or moving exercises:
68
+
69
+ 1. Use `git mv` (not `mv`) to rename directories - preserves git history
70
+ 2. Update the numeric prefix to maintain order
71
+ 3. Re-run lint after moves
72
+
73
+ Example:
74
+
75
+ ```bash
76
+ git mv exercises/01-retrieval/01.03-embeddings exercises/01-retrieval/01.04-embeddings
77
+ ```
78
+
79
+ ## Example: stubbing from a plan
80
+
81
+ Given a plan like:
82
+
83
+ ```
84
+ Section 05: Memory Skill Building
85
+ - 05.01 Introduction to Memory
86
+ - 05.02 Short-term Memory (explainer + problem + solution)
87
+ - 05.03 Long-term Memory
88
+ ```
89
+
90
+ Create:
91
+
92
+ ```bash
93
+ mkdir -p exercises/05-memory-skill-building/05.01-introduction-to-memory/explainer
94
+ mkdir -p exercises/05-memory-skill-building/05.02-short-term-memory/{explainer,problem,solution}
95
+ mkdir -p exercises/05-memory-skill-building/05.03-long-term-memory/explainer
96
+ ```
97
+
98
+ Then create readme stubs:
99
+
100
+ ```
101
+ exercises/05-memory-skill-building/05.01-introduction-to-memory/explainer/readme.md -> "# Introduction to Memory"
102
+ exercises/05-memory-skill-building/05.02-short-term-memory/explainer/readme.md -> "# Short-term Memory"
103
+ exercises/05-memory-skill-building/05.02-short-term-memory/problem/readme.md -> "# Short-term Memory"
104
+ exercises/05-memory-skill-building/05.02-short-term-memory/solution/readme.md -> "# Short-term Memory"
105
+ exercises/05-memory-skill-building/05.03-long-term-memory/explainer/readme.md -> "# Long-term Memory"
106
+ ```
@@ -0,0 +1,91 @@
1
+ ---
2
+ name: setup-pre-commit
3
+ description: Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
4
+ ---
5
+
6
+ # Setup Pre-Commit Hooks
7
+
8
+ ## What This Sets Up
9
+
10
+ - **Husky** pre-commit hook
11
+ - **lint-staged** running Prettier on all staged files
12
+ - **Prettier** config (if missing)
13
+ - **typecheck** and **test** scripts in the pre-commit hook
14
+
15
+ ## Steps
16
+
17
+ ### 1. Detect package manager
18
+
19
+ Check for `package-lock.json` (npm), `pnpm-lock.yaml` (pnpm), `yarn.lock` (yarn), `bun.lockb` (bun). Use whichever is present. Default to npm if unclear.
20
+
21
+ ### 2. Install dependencies
22
+
23
+ Install as devDependencies:
24
+
25
+ ```
26
+ husky lint-staged prettier
27
+ ```
28
+
29
+ ### 3. Initialize Husky
30
+
31
+ ```bash
32
+ npx husky init
33
+ ```
34
+
35
+ This creates `.husky/` dir and adds `prepare: "husky"` to package.json.
36
+
37
+ ### 4. Create `.husky/pre-commit`
38
+
39
+ Write this file (no shebang needed for Husky v9+):
40
+
41
+ ```
42
+ npx lint-staged
43
+ npm run typecheck
44
+ npm run test
45
+ ```
46
+
47
+ **Adapt**: Replace `npm` with detected package manager. If repo has no `typecheck` or `test` script in package.json, omit those lines and tell the user.
48
+
49
+ ### 5. Create `.lintstagedrc`
50
+
51
+ ```json
52
+ {
53
+ "*": "prettier --ignore-unknown --write"
54
+ }
55
+ ```
56
+
57
+ ### 6. Create `.prettierrc` (if missing)
58
+
59
+ Only create if no Prettier config exists. Use these defaults:
60
+
61
+ ```json
62
+ {
63
+ "useTabs": false,
64
+ "tabWidth": 2,
65
+ "printWidth": 80,
66
+ "singleQuote": false,
67
+ "trailingComma": "es5",
68
+ "semi": true,
69
+ "arrowParens": "always"
70
+ }
71
+ ```
72
+
73
+ ### 7. Verify
74
+
75
+ - [ ] `.husky/pre-commit` exists and is executable
76
+ - [ ] `.lintstagedrc` exists
77
+ - [ ] `prepare` script in package.json is `"husky"`
78
+ - [ ] `prettier` config exists
79
+ - [ ] Run `npx lint-staged` to verify it works
80
+
81
+ ### 8. Commit
82
+
83
+ Stage all changed/created files and commit with message: `Add pre-commit hooks (husky + lint-staged + prettier)`
84
+
85
+ This will run through the new pre-commit hooks — a good smoke test that everything works.
86
+
87
+ ## Notes
88
+
89
+ - Husky v9+ doesn't need shebangs in hook files
90
+ - `prettier --ignore-unknown` skips files Prettier can't parse (images, etc.)
91
+ - The pre-commit runs lint-staged first (fast, staged-only), then full typecheck and tests
@@ -0,0 +1,6 @@
1
+ # Personal
2
+
3
+ Skills tied to my own setup, not promoted in the plugin.
4
+
5
+ - **[edit-article](./edit-article/SKILL.md)** — Edit and improve articles by restructuring sections, improving clarity, and tightening prose.
6
+ - **[obsidian-vault](./obsidian-vault/SKILL.md)** — Search, create, and manage notes in an Obsidian vault with wikilinks and index notes.
@@ -0,0 +1,15 @@
1
+ ---
2
+ name: edit-article
3
+ description: Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
4
+ disable-model-invocation: true
5
+ ---
6
+
7
+ 1. First, divide the article into sections based on its headings. Think about the main points you want to make during those sections.
8
+
9
+ Consider that information is a directed acyclic graph, and that pieces of information can depend on other pieces of information. Make sure that the order of the sections and their contents respects these dependencies.
10
+
11
+ Confirm the sections with the user.
12
+
13
+ 2. For each section:
14
+
15
+ 2a. Rewrite the section to improve clarity, coherence, and flow. Use maximum 240 characters per paragraph.
@@ -0,0 +1,59 @@
1
+ ---
2
+ name: obsidian-vault
3
+ description: Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.
4
+ ---
5
+
6
+ # Obsidian Vault
7
+
8
+ ## Vault location
9
+
10
+ `/mnt/d/Obsidian Vault/AI Research/`
11
+
12
+ Mostly flat at root level.
13
+
14
+ ## Naming conventions
15
+
16
+ - **Index notes**: aggregate related topics (e.g., `Ralph Wiggum Index.md`, `Skills Index.md`, `RAG Index.md`)
17
+ - **Title case** for all note names
18
+ - No folders for organization - use links and index notes instead
19
+
20
+ ## Linking
21
+
22
+ - Use Obsidian `[[wikilinks]]` syntax: `[[Note Title]]`
23
+ - Notes link to dependencies/related notes at the bottom
24
+ - Index notes are just lists of `[[wikilinks]]`
25
+
26
+ ## Workflows
27
+
28
+ ### Search for notes
29
+
30
+ ```bash
31
+ # Search by filename
32
+ find "/mnt/d/Obsidian Vault/AI Research/" -name "*.md" | grep -i "keyword"
33
+
34
+ # Search by content
35
+ grep -rl "keyword" "/mnt/d/Obsidian Vault/AI Research/" --include="*.md"
36
+ ```
37
+
38
+ Or use Grep/Glob tools directly on the vault path.
39
+
40
+ ### Create a new note
41
+
42
+ 1. Use **Title Case** for filename
43
+ 2. Write content as a unit of learning (per vault rules)
44
+ 3. Add `[[wikilinks]]` to related notes at the bottom
45
+ 4. If part of a numbered sequence, use the hierarchical numbering scheme
46
+
47
+ ### Find related notes
48
+
49
+ Search for `[[Note Title]]` across the vault to find backlinks:
50
+
51
+ ```bash
52
+ grep -rl "\\[\\[Note Title\\]\\]" "/mnt/d/Obsidian Vault/AI Research/"
53
+ ```
54
+
55
+ ### Find index notes
56
+
57
+ ```bash
58
+ find "/mnt/d/Obsidian Vault/AI Research/" -name "*Index*"
59
+ ```
@@ -0,0 +1,18 @@
1
+ # Productivity
2
+
3
+ General workflow tools, not code-specific.
4
+
5
+ ## User-invoked
6
+
7
+ Reachable only when you type them (`disable-model-invocation: true`).
8
+
9
+ - **[grill-me](./grill-me/SKILL.md)** — Get relentlessly interviewed about a plan or design until every branch of the decision tree is resolved.
10
+ - **[handoff](./handoff/SKILL.md)** — Compact the current conversation into a handoff document so another agent can continue the work.
11
+ - **[teach](./teach/SKILL.md)** — Teach the user a new skill or concept over multiple sessions, using the current directory as a stateful teaching workspace.
12
+ - **[writing-great-skills](./writing-great-skills/SKILL.md)** — Reference for writing and editing skills well: the vocabulary and principles that make a skill predictable.
13
+
14
+ ## Model-invoked
15
+
16
+ Model- or user-reachable (rich trigger phrasing so the model can reach for them).
17
+
18
+ - **[grilling](./grilling/SKILL.md)** — Interview the user relentlessly about a plan or design until every branch of the decision tree is resolved.
@@ -0,0 +1,7 @@
1
+ ---
2
+ name: grill-me
3
+ description: A relentless interview to sharpen a plan or design.
4
+ disable-model-invocation: true
5
+ ---
6
+
7
+ Run a `/grilling` session.
@@ -0,0 +1,10 @@
1
+ ---
2
+ name: grilling
3
+ description: Interview the user relentlessly about a plan or design. Use when the user wants to stress-test a plan before building, or uses any 'grill' trigger phrases.
4
+ ---
5
+
6
+ Interview me relentlessly about every aspect of this plan until we reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one. For each question, provide your recommended answer.
7
+
8
+ Ask the questions one at a time, waiting for feedback on each question before continuing. Asking multiple questions at once is bewildering.
9
+
10
+ If a question can be answered by exploring the codebase, explore the codebase instead.
@@ -0,0 +1,16 @@
1
+ ---
2
+ name: handoff
3
+ description: Compact the current conversation into a handoff document for another agent to pick up.
4
+ argument-hint: "What will the next session be used for?"
5
+ disable-model-invocation: true
6
+ ---
7
+
8
+ Write a handoff document summarising the current conversation so a fresh agent can continue the work. Save to the temporary directory of the user's OS - not the current workspace.
9
+
10
+ Include a "suggested skills" section in the document, which suggests skills that the agent should invoke.
11
+
12
+ Do not duplicate content already captured in other artifacts (PRDs, plans, ADRs, issues, commits, diffs). Reference them by path or URL instead.
13
+
14
+ Redact any sensitive information, such as API keys, passwords, or personally identifiable information.
15
+
16
+ If the user passed arguments, treat them as a description of what the next session will focus on and tailor the doc accordingly.
@@ -0,0 +1,35 @@
1
+ # GLOSSARY.md Format
2
+
3
+ `GLOSSARY.md` is the canonical language for this teaching workspace. All explainers, exercises, and learning records should adhere to its terminology. Building it is itself part of learning: compressing a concept into a tight definition is evidence the user understands it.
4
+
5
+ ## Structure
6
+
7
+ ```md
8
+ # {Topic} Glossary
9
+
10
+ {One or two sentence description of the topic this glossary covers.}
11
+
12
+ ## Terms
13
+
14
+ **Hypertrophy**:
15
+ Muscle growth driven by mechanical tension and metabolic stress over repeated training sessions.
16
+ _Avoid_: Bulking, getting big
17
+
18
+ **Progressive overload**:
19
+ Systematically increasing the demand on a muscle over time — via load, volume, or intensity.
20
+ _Avoid_: Pushing harder, levelling up
21
+
22
+ **RPE (Rate of Perceived Exertion)**:
23
+ A 1–10 self-rating of how hard a set felt, where 10 is failure and 8 means two reps left in the tank.
24
+ _Avoid_: Effort score, intensity rating
25
+ ```
26
+
27
+ ## Rules
28
+
29
+ - **Add a term only when the user understands it.** The glossary is a record of compressed knowledge, not a dictionary the user reads to learn. If the user has just been introduced to a concept, wait until they can use it correctly before promoting it here.
30
+ - **Be opinionated.** When several words exist for the same concept, pick the best one and list the rest as aliases to avoid. This is how language compresses.
31
+ - **Keep definitions tight.** One or two sentences. Define what the term IS, not what it does or how to do it.
32
+ - **Use the glossary's own terms inside definitions.** Once a term is in the glossary, prefer it everywhere — including inside other definitions. This is what makes complex terms easier to grasp later.
33
+ - **Group under subheadings** when natural clusters emerge (e.g. `## Anatomy`, `## Programming`). A flat list is fine when terms cohere.
34
+ - **Flag ambiguities explicitly.** If a term is used loosely in the wider field, note the resolution: "In this workspace, 'set' always means a working set — warm-ups are tracked separately."
35
+ - **Revise as understanding deepens.** A definition the user wrote in week one may be wrong by week six. Update in place; do not leave stale entries.
@@ -0,0 +1,46 @@
1
+ # Learning Record Format
2
+
3
+ Learning records live in `./learning-records/` and use sequential numbering: `0001-slug.md`, `0002-slug.md`, etc. Create the directory lazily — only when the first record is written.
4
+
5
+ They are the teaching equivalent of ADRs: they capture non-obvious lessons, key insights, and stated prior knowledge that will steer future sessions. They are used to calculate the zone of proximal development.
6
+
7
+ ## Template
8
+
9
+ ```md
10
+ # {Short title of what was learned or established}
11
+
12
+ {1-3 sentences: what was learned (or what prior knowledge was established), and why it matters for future sessions.}
13
+ ```
14
+
15
+ That is the whole format. A learning record can be a single paragraph. The value is recording _that_ this is now known and _why_ it changes what to teach next — not in filling out sections.
16
+
17
+ ## Optional sections
18
+
19
+ Only include these when they add genuine value. Most records won't need them.
20
+
21
+ - **Status** frontmatter (`active | superseded by LR-NNNN`) — useful when an earlier understanding turns out to be wrong and is replaced.
22
+ - **Evidence** — how the user demonstrated the understanding (a question answered, an exercise completed, prior experience cited). Useful when the claim might be revisited.
23
+ - **Implications** — what this unlocks or rules out for future sessions. Worth recording when non-obvious.
24
+
25
+ ## Numbering
26
+
27
+ Scan `./learning-records/` for the highest existing number and increment by one.
28
+
29
+ ## When to write a learning record
30
+
31
+ Write one when any of these is true:
32
+
33
+ 1. **The user demonstrated genuine understanding of something non-trivial** — not just exposure, but evidence they can use the concept correctly. This sets a new floor for what to teach next.
34
+ 2. **The user disclosed prior knowledge** — "I already know X." Record it so future sessions don't re-teach it. Also record the _depth_ claimed.
35
+ 3. **A misconception was corrected** — the user previously believed something wrong and now sees why. These are high-value: they predict future stumbling blocks for related topics.
36
+ 4. **The mission shifted in response to learning** — the user discovered they cared about something different than they thought. Cross-link to [[MISSION.md]] and update it.
37
+
38
+ ### What does _not_ qualify
39
+
40
+ - Material that was merely covered. Coverage is not learning. Wait for evidence.
41
+ - Anything already captured tersely in [[GLOSSARY.md]] as a term definition. Don't duplicate.
42
+ - Session-by-session activity logs. Learning records are not a journal — they are decision-grade insights.
43
+
44
+ ## Supersession
45
+
46
+ When a later record contradicts an earlier one (the user's understanding deepened or corrected), mark the old record `Status: superseded by LR-NNNN` rather than deleting it. The history of how understanding evolved is itself useful signal.
@@ -0,0 +1,31 @@
1
+ # MISSION.md Format
2
+
3
+ `MISSION.md` lives at the workspace root. It captures the _reason_ the user is learning this topic. Every teaching decision — what to teach next, which resources to surface, which exercises to design — should trace back to this document.
4
+
5
+ ## Template
6
+
7
+ ```md
8
+ # Mission: {Topic}
9
+
10
+ ## Why
11
+ {1-3 sentences. The concrete real-world goal the user is chasing. What changes in their life or work when they have this skill? Avoid abstract framings like "to understand X" — push for the underlying outcome.}
12
+
13
+ ## Success looks like
14
+ - {A specific, observable thing the user will be able to do}
15
+ - {Another specific thing}
16
+ - {…}
17
+
18
+ ## Constraints
19
+ - {Time, budget, prior commitments, learning preferences, anything that bounds the approach}
20
+
21
+ ## Out of scope
22
+ - {Adjacent topics the user explicitly does not want to chase right now — protects the zone of proximal development}
23
+ ```
24
+
25
+ ## Rules
26
+
27
+ - **One mission per workspace.** If the user wants to learn two unrelated things, that is two workspaces.
28
+ - **Concrete over abstract.** "Run a half marathon by October" beats "get fitter." "Ship a Rust CLI to my team" beats "learn Rust."
29
+ - **Push back on vagueness.** If the user cannot articulate why, interview them before writing anything. A bad mission is worse than no mission.
30
+ - **Revise when reality shifts.** Missions change. When the user's goal moves, update this file — don't leave a stale mission steering future sessions.
31
+ - **Keep it short.** If `MISSION.md` runs past a screen, it has stopped being a compass and started being a plan.
@@ -0,0 +1,32 @@
1
+ # RESOURCES.md Format
2
+
3
+ `RESOURCES.md` is the curated set of trusted sources for this topic. Knowledge for explainers should be drawn from here, not from parametric guesses. Wisdom comes from the communities listed here.
4
+
5
+ ## Structure
6
+
7
+ ```md
8
+ # {Topic} Resources
9
+
10
+ ## Knowledge
11
+
12
+ - [Book: _The Science and Practice of Strength Training_ — Zatsiorsky & Kraemer](https://example.com)
13
+ Foundational text on programming and adaptation. Use for: anything to do with periodisation, recovery, intensity zones.
14
+ - [Article: "How Much Should I Train?" — Greg Nuckols (Stronger By Science)](https://example.com)
15
+ Evidence-based review of volume landmarks. Use for: weekly set targets per muscle group.
16
+
17
+ ## Wisdom (Communities)
18
+
19
+ - [r/weightroom](https://reddit.com/r/weightroom)
20
+ High-signal subreddit, moderated against bro-science. Use for: programme critique, plateau troubleshooting.
21
+ - Local: Tuesday strength class at {gym name}
22
+ Use for: real-time coaching feedback on lifts.
23
+ ```
24
+
25
+ ## Rules
26
+
27
+ - **High-trust only.** Prefer primary sources, recognised experts, peer-reviewed work, and communities with strong moderation. If a resource is marketing dressed as education, leave it out.
28
+ - **Annotate every entry.** A bare link is useless in three months. Add one line: what it covers and when to reach for it.
29
+ - **Group by Knowledge / Wisdom.** Mirrors the philosophy in [SKILL.md](./SKILL.md). It is fine for a resource to appear in only one group.
30
+ - **Surface gaps explicitly.** If no good resource exists for an area the mission needs, write a `## Gaps` section listing what is missing. This drives future search.
31
+ - **Prune ruthlessly.** A resource that turned out to be wrong, shallow, or off-mission should be removed, not buried. Better five sharp sources than thirty mediocre ones.
32
+ - **Record community preferences.** If the user has opted out of joining communities, note it here so future sessions don't keep proposing them.