chore(repo): establish project baseline
Track the source-of-truth code, skills, bootstrap rules, docs, and packaging files before adding new features. Exclude local vault config, generated skill mirrors, temporary exports, virtual environments, and business data files from version control. Validation: inspected staged file list and git ignored status before commit.
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
---
|
||||
alwaysApply: true
|
||||
description: Obsidian Wiki skill-based framework — routing, conventions, and core rules.
|
||||
---
|
||||
|
||||
# Obsidian Wiki — Agent Context
|
||||
|
||||
This project is a **skill-based framework** for building and maintaining an Obsidian knowledge base.
|
||||
|
||||
## Quick Orientation
|
||||
|
||||
1. Read `~/.obsidian-wiki/config` (or `.env` in this repo) for `OBSIDIAN_VAULT_PATH` — this is where the wiki lives.
|
||||
2. Read `.manifest.json` at the vault root to see what's already been ingested.
|
||||
3. Skills are in `.skills/` (also at `.agents/skills/`). Each subfolder has a `SKILL.md`.
|
||||
|
||||
## When to Use Skills
|
||||
|
||||
| User says something like… | Read this skill |
|
||||
|---|---|
|
||||
| "set up my wiki" / "initialize" | `wiki-setup` |
|
||||
| "ingest" / "add this to the wiki" | `wiki-ingest` |
|
||||
| "import my Claude history" | `claude-history-ingest` |
|
||||
| "import my Codex history" | `codex-history-ingest` |
|
||||
| "import my Hermes history" | `hermes-history-ingest` |
|
||||
| "import my OpenClaw history" | `openclaw-history-ingest` |
|
||||
| "import my Pi history" | `pi-history-ingest` |
|
||||
| "process this export" / "ingest this data" | `data-ingest` |
|
||||
| "what's the status" / "show the delta" | `wiki-status` |
|
||||
| "what do I know about X" | `wiki-query` |
|
||||
| "audit" / "lint" / "find broken links" | `wiki-lint` |
|
||||
| "rebuild" / "archive" / "restore" | `wiki-rebuild` |
|
||||
| "link my pages" / "cross-reference" | `cross-linker` |
|
||||
| "fix my tags" | `tag-taxonomy` |
|
||||
| "update wiki" / "sync to wiki" | `wiki-update` |
|
||||
| "export wiki" / "export graph" | `wiki-export` |
|
||||
|
||||
## Core Rules
|
||||
|
||||
- **Compile, don't retrieve** — update existing pages, don't append or duplicate.
|
||||
- **Track everything** — update `.manifest.json`, `index.md`, and `log.md` after every operation.
|
||||
- **Connect with `[[wikilinks]]`** — every page should link to related pages.
|
||||
- **Frontmatter required** — every page needs `title`, `category`, `tags`, `sources`, `created`, `updated`.
|
||||
|
||||
For full context, read `AGENTS.md` at the repo root.
|
||||
@@ -0,0 +1,29 @@
|
||||
---
|
||||
name: obsidian-wiki
|
||||
description: Obsidian wiki workflows — query, update, ingest, lint, status.
|
||||
commands:
|
||||
- name: wiki-query
|
||||
description: Answer questions from the compiled Obsidian wiki with [[wikilink]] citations.
|
||||
skill: .skills/wiki-query/SKILL.md
|
||||
- name: wiki-update
|
||||
description: Sync the current project's knowledge into the Obsidian wiki.
|
||||
skill: .skills/wiki-update/SKILL.md
|
||||
- name: wiki-ingest
|
||||
description: Ingest documents into the Obsidian wiki.
|
||||
skill: .skills/wiki-ingest/SKILL.md
|
||||
- name: wiki-status
|
||||
description: Show what's been ingested, what's pending, and the delta.
|
||||
skill: .skills/wiki-status/SKILL.md
|
||||
- name: wiki-lint
|
||||
description: Audit the wiki for orphans, broken links, stale content.
|
||||
skill: .skills/wiki-lint/SKILL.md
|
||||
---
|
||||
|
||||
# Obsidian Wiki — Workflow Registry
|
||||
|
||||
Each command above maps to a `SKILL.md` in `.skills/`. When a user invokes one
|
||||
of these commands, read the mapped skill file and follow its instructions
|
||||
exactly. The skills handle vault path resolution, manifest tracking, and
|
||||
`[[wikilink]]` connectivity on their own.
|
||||
|
||||
For the full routing table (all 15+ skills), see `AGENTS.md` at the repo root.
|
||||
Reference in New Issue
Block a user