Skip to content

Page templates, lint-on-PR, and editing-language tidy#16

Merged
vevetron merged 3 commits into
mainfrom
add-page-templates
Jun 2, 2026
Merged

Page templates, lint-on-PR, and editing-language tidy#16
vevetron merged 3 commits into
mainfrom
add-page-templates

Conversation

@vevetron

@vevetron vevetron commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

What

Three changes:

  1. Page templates (wiki/templates/) — one ready-to-insert file per canvas
    (data-product, service, process, team-resource, person, concept, comparison)
    plus a raw-source skeleton. Each carries the required frontmatter and section
    headings with (TBD)/%% hints, so structure stops drifting between
    hand-written pages. Wired to Obsidian's built-in Templates plugin via
    .obsidian/templates.json. The folder is excluded by Quartz ignorePatterns
    and the linter only scans entities/concepts/comparisons, so templates are
    never published or linted. README + SCHEMA document the
    "create note → Insert template" workflow.

  2. Lint on pull requests — new lightweight lint.yml running
    node scripts/lint.mjs on pull_request and push to main, so bad
    frontmatter / broken wikilinks / orphans / stale index are caught on the PR
    instead of only post-merge as a failed deploy. After merge, mark lint a
    required status check on main.

  3. Editing language — reframe the README away from overt "LLM Wiki" branding
    toward a team-maintained knowledge base. Protocol unchanged.

Issues

Notes

  • npm run check passes locally (16 pages, 0 errors, 0 warnings).
  • Marking lint as a required check is a one-time GitHub branch-protection step.

V added 3 commits June 2, 2026 15:37
Replace the prose-only canvas descriptions in SCHEMA.md with ready-to-insert
template files in wiki/templates/ — one per page type (data-product, service,
process, team-resource, person, concept, comparison) plus a raw-source skeleton.
Each carries the required frontmatter and section headings with (TBD)/%% hints,
so section structure stops drifting between hand-written pages.

Templates fill {{title}}/{{date}} via Obsidian's built-in Templates plugin
(.obsidian/templates.json points it at wiki/templates). The folder is already
excluded by quartz ignorePatterns and the linter only scans entities/concepts/
comparisons, so templates are never published or linted.

README and SCHEMA now point contributors at the template files and document the
"create note -> Insert template" workflow.

Closes #10
Refs #14
Add a lightweight lint workflow (node scripts/lint.mjs) triggered on pull_request
and push to main, so bad frontmatter, broken wikilinks, orphans, or a stale index
are caught on the PR instead of only post-merge as a failed deploy. Separate from
deploy.yml to stay fast (no Quartz clone). Mark 'lint' a required check on main.

Closes #15
@vevetron vevetron merged commit be261f1 into main Jun 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lint wiki on pull requests, not just after merge Add page template files (replace prose canvas descriptions)

1 participant