Skip to content

loremaster-ai/loremaster / skills/refine-wiki

refine-wiki

Verified

Restructures curated raw/ sources into LLM-searchable wiki/ concept pages — concept-level atomization with source traceability and graph-derived wikilinks, not summarization — handling each doc_type differently. Triggers after conflict-detection passes (no open conflicts on the topic) or on an explicit "refine" request.

FileKindSize
SKILL.mdskill md14.2 KB
references/auth-rls-refine-example.mdmarkdown1.9 KB

references/auth-rls-refine-example.md

View on GitHub
# Example: refining after an auth/RLS conflict resolution

Use this as a compact pattern when a resolved raw conflict changes both PRD and decision docs.

## Scenario
- The PRD login section is updated to state: Firebase Authentication (Google provider) is used, and Supabase RLS keeps `auth.uid()` matching.
- A downstream decision file (`raw/decisions/PROJ-5.md`) is aligned to clarify the same `auth.uid()` matching rule.
- Another decision (`PROJ-6`) depends on that auth/RLS assumption for Supabase Postgres memo CRUD.

## Wiki routing pattern
Create/update concept pages by concept, not by source file:

- `wiki/concepts/Login.md`
  - sources: `raw/PRD.md`, `raw/decisions/PROJ-5.md`
  - current spec: Google login, Firebase Authentication, Supabase RLS `auth.uid()` matching
  - decision history: the PROJ-5 implementation decision and alternatives
- `wiki/concepts/Memo CRUD.md`
  - sources: `raw/PRD.md`, `raw/decisions/PROJ-6.md`
  - include the dependency on Firebase Auth → Supabase custom-claim/RLS integration only as stated in raw
- `wiki/concepts/Free Plan Policy.md`
  - sources: `raw/PRD.md`, `raw/decisions/PROJ-6.md`
  - include the memo-count enforcement detail from PROJ-6

Then update `wiki/index.md` so all generated concept links point to actual files.

## Graph extraction pattern
For this class of change, useful edges are:

- `Memo CRUD` depends_on `Login` when CRUD/RLS relies on the auth subject mapping.
- `Memo CRUD` references `Free Plan Policy` when create limits enforce the free-plan memo count.
- `Free Plan Policy` depends_on or references `Billing Model` when the free tier belongs to the Freemium model.
- Feature pages such as `Search`, `Folder Organization`, `Real-time Collaborative Editing` depend_on `Memo CRUD` only when raw explicitly says they build on the `memos` schema.

Do not create an edge solely because two pages share a raw source; require an actual semantic dependency/reference.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall