agentleFS
po4ykapo4yka/llm-wiki-skills/skills/llm-wiki-domain-pack/SKILL.md

llm-wiki-domain-pack

Skill3 starsChanged 5 months agoMITView on GitHub

Generate domain-specific LLM-Wiki templates, taxonomies, domain_type mappings, stale policies, capture rules, and review gates. Use for research papers, codebase docs, startup research, trading research, personal second brain, team onboarding, competitive intelligence, or other specialized domains.

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 9 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a domain-specific starter pack that adapts the generic LLM-Wiki pattern to a concrete knowledge domain while preserving the stable …

    line 16
  2. Very specific:

    Not for ingesting a single document or answering a query — use wiki-ingest or wiki-query for that instead.

    line 23
  3. Distinctive:

    Ask what the wiki should help produce:

    line 37
  4. Distinctive:

    Start from the shared core types:

    line 51
  5. Very specific:

    Do not add domain-specific values such as paper, decision, competitor or runbook directly to type.

    line 57
  6. Distinctive:

    Add domain-specific types only when necessary and map each one to a stable core type:

    line 61
  7. Very specific:

    Every domain pack must include pack.md.

    line 75
  8. Very specific:

    Do not ship only machine-readable JSON.

    line 89
  9. Distinctive:

    Every domain pack should include:

    line 93
  10. Very specific:

    Use profile.json when the pack should provide application instructions for downstream vault setup.

    line 114
  11. Distinctive:

    Do not create excessive page types before real use.

    line 196
  12. Very specific:

    Do not extend the core type enum for one domain.

    line 197
  13. Distinctive:

    Do not encode current volatile facts as taxonomy.

    line 198
  14. Distinctive:

    Do not remove generic lifecycle states.

    line 199
  15. Distinctive:

    Do not make domain templates look verified by default.

    line 200

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

LLM-Wiki Domain Pack

Goal

Create a domain-specific starter pack that adapts the generic LLM-Wiki pattern to a concrete knowledge domain while preserving the stable core page schema.

When to use

  • Bootstrapping a new LLM-Wiki install for a specialized corpus (research papers, codebase docs, trading research, competitive intelligence, onboarding) that has no existing domain pack.
  • Adding domain-specific domain_type mappings, taxonomy, or stale/review policy to a wiki that currently only has the generic core types.
  • A user asks for capture rules, review gates, or templates tailored to one domain rather than the generic core schema.
  • Not for ingesting a single document or answering a query — use wiki-ingest or wiki-query for that instead.

Inputs

  • Domain name and purpose.
  • User type: personal, team, product, research, company.
  • Corpus types and capture channels.
  • Required core page types and domain-specific specializations.
  • Risk level and review needs.

Procedure

1. Define domain jobs

Ask what the wiki should help produce:

  • decisions;
  • reports;
  • strategies;
  • onboarding;
  • code changes;
  • literature reviews;
  • market maps;
  • trading theses;
  • public documentation.

2. Keep core type stable

Start from the shared core types:

source, entity, concept, comparison, synthesis, query, report

Do not add domain-specific values such as paper, decision, competitor or runbook directly to type. Use domain_type instead.

3. Map domain types to core types

Add domain-specific types only when necessary and map each one to a stable core type:

domain_typecore typeExample use
papersourceA paper or preprint preserved as a source page.
experimentsynthesisA reviewed experiment note or result summary.
strategysynthesisA strategy memo or durable conclusion.
decisionsynthesisADR-like decision provenance.
competitorentityCompany/product/project tracking.
incidentreportIncident review or postmortem.
customer-questionqueryReusable customer/problem question.

4. Create pack.md

Every domain pack must include pack.md. It is the human-readable contract that explains jobs, stable core page types, domain types, tags, recommended skills and stale policy.

Required sections:

# <Domain> domain pack

## Jobs

## Core page types

## Domain types

Do not ship only machine-readable JSON; pack.md is what humans and agents review first.

5. Create schema.overlay.json

Every domain pack should include:

{
  "$schema": "../../templates/schemas/domain-pack.schema.json",
  "name": "example-domain",
  "version": "0.1.0",
  "core_types": ["source", "entity", "concept", "synthesis", "query"],
  "domain_type_mappings": {
    "decision": "synthesis"
  },
  "recommended_tags": [],
  "stale_policy": {},
  "recommended_skills": []
}

Validate the JSON against the schema if the target repository provides one. In a single-skill install, treat this as a structural review: name matches the pack directory, core types stay within the stable enum, and every domain_type maps to one core type.

6. Create optional profile.json

Use profile.json when the pack should provide application instructions for downstream vault setup. Validate it against references/templates/schemas/domain-pack-profile.schema.json when available, or mirror the same fields in a single-skill install:

{
  "name": "example-domain",
  "version": "0.1.0",
  "copy_to": "_meta/domain-packs/example-domain/",
  "recommended_workflow": ["wiki-ingest", "wiki-lint"],
  "templates": [
    {
      "source": "templates/wiki/concept-page.md",
      "target": "wiki/concepts/concept-template.md"
    }
  ],
  "initial_prompts": [
    "Use llm-wiki-doctor to inspect this vault in report-only mode."
  ]
}

Profiles are reviewable instructions, not automatic migrations.

7. Create taxonomy

Define:

  • allowed tags;
  • entity classes;
  • source classes;
  • domain_type values;
  • status/stale rules;
  • claim types;
  • review gates;
  • capture channels.

8. Create templates

Produce templates for important domain types with frontmatter that preserves both layers:

type: synthesis
domain_type: decision
domain_pack: codebase-docs
status: draft
review_required: true

9. Add skills guidance

Recommend which skills to use first:

  • llm-wiki-capture-pipeline;
  • wiki-triage;
  • wiki-ingest;
  • wiki-query;
  • wiki-lint;
  • llm-wiki-eval.

Output

## Domain pack summary

## Domain jobs

## Core page types

## Domain type mappings

## Taxonomy

## Templates

## Capture and review policy

## Validation

## Initial workflow

Safety gates

  • Do not create excessive page types before real use.
  • Do not extend the core type enum for one domain; use domain_type.
  • Do not encode current volatile facts as taxonomy.
  • Do not remove generic lifecycle states.
  • Do not make domain templates look verified by default.
  • Re-verify any pricing, release, version, or other time-sensitive fact against fresh sources before writing it into a template or taxonomy entry.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.