Skills wiki-maintain
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/1knownothing/llm-wiki-skills/skills/wiki-maintain" ~/.claude/skills/openclaw-skills-wiki-maintain && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/1knownothing/llm-wiki-skills/skills/wiki-maintain" ~/.openclaw/skills/openclaw-skills-wiki-maintain && rm -rf "$T"
manifest:
skills/1knownothing/llm-wiki-skills/skills/wiki-maintain/SKILL.mdsource content
Wiki Knowledge Base - Maintain Skill
This skill manages and evolves the schema and conventions of an LLM-powered wiki knowledge base following the LLM Wiki pattern.
Core Concept
The schema (CLAUDE.md) is the key configuration file that tells the LLM how the wiki is structured, what conventions to follow, and what workflows to use. This evolves over time as you figure out what works for your domain.
When to Use This Skill
- User wants to update CLAUDE.md schema
- User wants to modify page conventions
- User wants to adjust naming patterns
- User wants to refine workflows
- User wants to adapt wiki structure
- User mentions schema, conventions, maintain, update rules
What This Skill Does
- Reviews current schema: Reads existing CLAUDE.md
- Proposes improvements: Suggests updates based on usage patterns
- Updates conventions: Modifies page templates, naming rules
- Refines workflows: Adjusts ingest, query, lint procedures
- Adds new page types: Introduces new categories as needed
- Documents changes: Records schema updates in log.md
Maintain Workflow
Step 1: Review Current Schema
Read the current CLAUDE.md to understand:
- Current page types and templates
- Naming conventions
- Workflow definitions
- Cross-reference rules
Step 2: Identify Needed Changes
Based on wiki usage, identify:
- Conventions that are not working
- Missing page types needed
- Workflows that need refinement
- Naming patterns to improve
Step 3: Propose Changes
Document proposed changes:
- What will change
- Why the change is needed
- How it affects existing pages
- Migration plan if needed
Step 4: Update CLAUDE.md
Make the changes to the schema:
- Update page type definitions
- Modify templates
- Refine workflows
- Add new conventions
Step 5: Update Affected Pages
If needed, update existing pages to conform:
- Rename files to match new conventions
- Update templates in existing pages
- Add missing frontmatter fields
Step 6: Document Changes
Record the schema update: `markdown
[YYYY-MM-DD] maintain | Schema Update
- Changed: [description]
- Reason: [why]
- Affected pages: [list if any] `
Common Maintenance Tasks
Updating Page Templates
- Add new frontmatter fields
- Change section structure
- Add or remove elements
Refining Naming Conventions
- Change file naming pattern
- Update link format
- Adjust categorization
Workflow Refinements
- Add steps to ingest process
- Modify query procedure
- Enhance lint checks
Adding New Page Types
- Define new category
- Create template
- Update index.md structure
Quality Standards
- Must review current schema before making changes
- Must document reasons for changes
- Must consider impact on existing pages
- Must update log.md
- Should test changes on a few pages first
- Should maintain backward compatibility when possible
Schema Sections to Maintain
- Wiki Overview: Purpose and scope
- Architecture: Three-layer explanation
- Page Types: All category definitions
- Naming Conventions: File and link patterns
- Frontmatter Schema: All field definitions
- Ingest Workflow: Current procedure
- Query Workflow: Current procedure
- Lint Workflow: Current procedure
- Cross-Reference Rules: Current rules