@codewizard-dt/bootstrap 2.19.0 → 2.21.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.
- package/lib/scripts/README.md +27 -18
- package/lib/scripts/bootstrap-prefs.js +18 -0
- package/lib/scripts/install-global.sh +19 -4
- package/lib/scripts/install-obsidian.sh +294 -0
- package/lib/scripts/lib.sh +17 -0
- package/lib/scripts/merge-gitignore.sh +152 -95
- package/lib/scripts/setup-deployment.sh +1 -1
- package/lib/scripts/sync-wiki-scaffold.sh +13 -6
- package/lib/scripts/templates/bootstrap-prefs-schema.json +32 -5
- package/lib/scripts/templates/file-suggestion.sh +13 -5
- package/lib/skills/bootstrap-config/SKILL.md +11 -5
- package/lib/skills/research/SKILL.md +24 -3
- package/lib/skills/task-add/SKILL.md +4 -0
- package/lib/skills/task-audit/SKILL.md +2 -0
- package/package.json +1 -1
- package/raw/guides/dataview-queries.md +66 -0
|
@@ -119,6 +119,8 @@ Populate `depends_on`, `blocks`, and `parallel_safe_with` from Step 5 as lists o
|
|
|
119
119
|
# TASK-NNN — Task Title
|
|
120
120
|
|
|
121
121
|
implements::[[DEC-NNNN#DM]] ← only when a decision reference was provided
|
|
122
|
+
depends_on::[[TASK-NNN]] ← one line per dependency from Step 5; omit entirely if none
|
|
123
|
+
blocks::[[TASK-NNN]] ← one line per blocked task from Step 5; omit entirely if none
|
|
122
124
|
|
|
123
125
|
## Objective
|
|
124
126
|
|
|
@@ -146,6 +148,8 @@ Agent type annotations: valid types are `general-purpose`, `Explore`, `Plan`.
|
|
|
146
148
|
|
|
147
149
|
**Decision link** (only when Step 2 found an accepted decision reference): Insert `implements::[[DEC-NNNN#DM]]` as a typed link on the line immediately after the H1, before `## Objective`.
|
|
148
150
|
|
|
151
|
+
**Dependency links** (from the Step 5 data, no re-derivation needed): insert one `depends_on::[[TASK-NNN]]` line per dependency and one `blocks::[[TASK-NNN]]` line per blocked task, in the same position — immediately after `implements::` when it's present, or immediately after the H1 when it isn't. *Aside: these typed-link lines are additive to the existing `> **Depends on**:`/`> **Blocks**:` blockquote format, not a replacement, and creating them here does not backfill any pre-existing task file.*
|
|
152
|
+
|
|
149
153
|
### Step 9: Update the family index
|
|
150
154
|
|
|
151
155
|
Append to `wiki/work/tasks/index.md`:
|
|
@@ -84,6 +84,8 @@ In the same file read, locate the dependency blockquote appearing **immediately
|
|
|
84
84
|
- Links follow the pattern `[NNN-slug](NNN-slug.md)` — extract the NNN-slug identifier from each link.
|
|
85
85
|
- A task with no dependency block at all is treated as having `Depends on: none`, `Blocks: none`, `Parallel-safe with: none`.
|
|
86
86
|
|
|
87
|
+
Going forward, task files should also carry one `depends_on::[[TASK-NNN]]` line per dependency and one `blocks::[[TASK-NNN]]` line per blocked task, directly below the blockquote — these are additive typed links for Obsidian/Breadcrumbs graph visualization. `/task-audit`'s own parser continues to read only the blockquote above, unchanged.
|
|
88
|
+
|
|
87
89
|
### 2f. Build the Node Record
|
|
88
90
|
|
|
89
91
|
For each task (skipping any moved to completed in 2d), produce a record:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codewizard-dt/bootstrap",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.21.0",
|
|
4
4
|
"description": "Bootstrap Claude Code projects with an LLM Wiki, reusable skills, hooks, and MCP setup",
|
|
5
5
|
"homepage": "https://github.com/codewizard-dt/bootstrap-wiki#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Dataview Queries for the Wiki
|
|
2
|
+
|
|
3
|
+
> An optional, local-only guide for readers who open this wiki in Obsidian and want live, exploratory views over `wiki/` — on top of, not instead of, the hand/LLM-maintained index files.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 1. What this is (and isn't)
|
|
8
|
+
|
|
9
|
+
[Dataview](https://github.com/blacksmithgu/obsidian-dataview) is a community plugin for Obsidian that lets you write query blocks — `TABLE`, `LIST`, `TASK`, `CALENDAR` — over your vault's markdown files and their frontmatter, and see live, auto-updating results rendered inline in any note.
|
|
10
|
+
|
|
11
|
+
It is **optional**. Nothing in this wiki's schema, tooling, or `/wiki-*` commands depends on Dataview being installed. It is a personal, local convenience for readers who happen to use Obsidian as their markdown viewer — not a wiki dependency, not something CI checks, and not something every contributor needs.
|
|
12
|
+
|
|
13
|
+
**Install it** one of two ways:
|
|
14
|
+
|
|
15
|
+
- Once [`TASK-053`](../../wiki/work/tasks/) lands, run `lib/scripts/install-obsidian.sh` to set up Obsidian with the recommended plugin set (including Dataview) in one step.
|
|
16
|
+
- Or install it manually: open Obsidian → Settings → Community plugins → Browse → search "Dataview" → Install → Enable.
|
|
17
|
+
|
|
18
|
+
Once enabled, paste any of the query blocks below into a scratch note inside your vault (they do not need to live in a committed file) and Dataview will render a live table or list beneath the block, kept in sync as the underlying `wiki/` files change.
|
|
19
|
+
|
|
20
|
+
**Important caveat, repeated at every example below:** these queries are illustrative, exploratory views for your own personal use in Obsidian. They are **not** a replacement for this repo's committed `index.md` files. Per [`wiki/conventions.md`](../../wiki/conventions.md)'s Maps-of-Content convention, those indexes stay flat, hand/LLM-maintained bullet lists — the canonical, git-versioned source of truth that every contributor can read without Obsidian or any plugin installed. Dataview queries are a local lens on top of that canonical data, not a substitute for it.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## 2. Example queries
|
|
25
|
+
|
|
26
|
+
### 2.1 Tasks by status
|
|
27
|
+
|
|
28
|
+
A live table of every task file under `wiki/work/tasks/`, grouped by its `status` frontmatter field — useful for eyeballing what's `todo`, `in-progress`, or `done` without opening `wiki/work/tasks/index.md`.
|
|
29
|
+
|
|
30
|
+
```dataview
|
|
31
|
+
TABLE status
|
|
32
|
+
FROM "wiki/work/tasks"
|
|
33
|
+
SORT status
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
*Illustrative only — this is a personal, exploratory view. The committed source of truth for active tasks remains [`wiki/work/tasks/index.md`](../../wiki/work/tasks/index.md), maintained by hand/LLM per the wiki's Maps-of-Content convention.*
|
|
37
|
+
|
|
38
|
+
### 2.2 Pages with a `contradicts::` link
|
|
39
|
+
|
|
40
|
+
A quick scan for any page that has flagged a contradiction with another page — a useful companion to `/wiki-lint`, which formally audits for these. This matches on the literal `contradicts::` typed-link text appearing anywhere in a page's body (see [`wiki/conventions.md`](../../wiki/conventions.md) for the typed-link convention, `rel::[[target]]`).
|
|
41
|
+
|
|
42
|
+
```dataview
|
|
43
|
+
LIST
|
|
44
|
+
FROM "wiki"
|
|
45
|
+
WHERE contains(file.text, "contradicts::")
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
*Illustrative only — a simple text-containment scan, not a substitute for `/wiki-lint`'s structured contradiction audit or the `> **Contradiction:**` callouts it produces. Treat this as a "where should I look" pointer, not a verdict.*
|
|
49
|
+
|
|
50
|
+
### 2.3 Tools by tag
|
|
51
|
+
|
|
52
|
+
A table of every tool entity page under `wiki/knowledge/entities/tools/`, alongside its `tags` frontmatter field, sorted by filename — handy for spotting which tools share a tag (e.g. "search", "mcp", "deferred") at a glance.
|
|
53
|
+
|
|
54
|
+
```dataview
|
|
55
|
+
TABLE tags
|
|
56
|
+
FROM "wiki/knowledge/entities/tools"
|
|
57
|
+
SORT file.name
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
*Illustrative only — a personal cross-cut by tag. The canonical listing of tool entities is whatever links into them from [`wiki/index.md`](../../wiki/index.md) and the concept/source pages that reference them; this query does not replace that link network.*
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## 3. Why these stay out of the committed wiki
|
|
65
|
+
|
|
66
|
+
Dataview query blocks only render inside Obsidian with the plugin enabled — a plain markdown viewer, GitHub's file preview, or a teammate without the plugin would see the raw ` ```dataview ` fence and nothing else. Committing them into `index.md` files would silently break the wiki for every non-Obsidian reader. Keep queries like these in your own local scratch notes, and let the committed `index.md` files do the job of being readable by everyone, everywhere, with no plugin required.
|