Skip to content

Wikilink Strategies for Better Knowledge Graphs

Master the art of creating meaningful connections between your notes and concepts using Knowledge AI's intelligent linking system.

Wikilinks ([[concept]]) transform your documentation from isolated pages into a connected knowledge network:

  • Discoverability - Find related information even when you don't remember exact terms
  • Context - Understand how concepts relate to each other
  • Navigation - Move fluidly between related topics
  • Intelligence - Help AI assistants understand your knowledge structure

Poor: See [[Meeting Notes 2025-01-15]]Good: Discussed during our [[Sprint Planning]] meeting

Poor: Check [[doc-v2.pdf]]
Good: Following our [[API Design Guidelines]]

Use Consistent Terminology

Create a mental (or actual) [[Glossary]] and stick to it:

markdown
# Choose ONE term and use it consistently:

✅ [[User Authentication]] (not [[Login System]], [[Auth Flow]], [[User Login]])
✅ [[Database Migration]] (not [[DB Update]], [[Schema Change]], [[Migration Script]])
✅ [[Error Handling]] (not [[Exception Management]], [[Error Processing]])

Don't wait until the end to add links. Link as you write:

markdown
# API Design Process

When designing a new [[API Endpoint]], start with the [[User Story]] 
and identify the [[Business Requirements]]. Consider how this fits 
into our [[Overall Architecture]] and whether it follows our 
[[REST API Guidelines]].

The [[Data Model]] should align with existing [[Database Schemas]] 
while supporting future [[Scalability Requirements]].

Linking Patterns That Work

The Concept Hierarchy

Build taxonomies with parent-child relationships:

markdown
# System Architecture
├── [[Frontend Architecture]]
│   ├── [[Component Design]]
│   ├── [[State Management]]
│   └── [[Routing Strategy]]
├── [[Backend Architecture]]  
│   ├── [[API Layer]]
│   ├── [[Business Logic]]
│   └── [[Data Access Layer]]
└── [[Infrastructure]]
    ├── [[Cloud Services]]
    ├── [[Monitoring]]
    └── [[Security]]

Cross-Domain Connections

Link concepts across different domains:

markdown
# User Registration Flow

The [[User Registration]] process involves several systems:

**Frontend**: [[Registration Form]] validates input and calls [[API Endpoints]]
**Backend**: [[User Service]] creates records in [[User Database]]  
**Security**: [[Password Hashing]] and [[Email Verification]]
**Infrastructure**: [[Load Balancing]] and [[Database Scaling]]
**Compliance**: [[GDPR Requirements]] and [[Data Retention Policies]]

Temporal Connections

Connect events, decisions, and changes over time:

markdown
# Database Migration History

## 2025-Q1: [[PostgreSQL Upgrade]]
- Motivation: Performance issues identified in [[Q4 Review]]
- Implementation: Following [[Database Migration Process]]
- Outcome: 40% improvement in [[Query Performance]]

## 2024-Q4: [[Index Optimization]]  
- Context: [[User Complaints]] about slow search
- Solution: Added indexes per [[Performance Tuning Guidelines]]
- Result: Reduced [[Page Load Times]] significantly

Advanced Linking Techniques

Bi-directional Context

Create meaningful connections in both directions:

markdown
# User Authentication

Our authentication system uses [[JWT Tokens]] for session management.
See also: [[Security Best Practices]], [[Token Refresh Strategy]]

---

# JWT Tokens  

JSON Web Tokens are used throughout our system:
- [[User Authentication]] - Primary use for session management
- [[API Authorization]] - Service-to-service communication  
- [[Third Party Integration]] - External API access

Tag-Based Groupings

Use consistent tags with wikilinks for better organization:

markdown
# Sprint Planning #meeting #agile

Today's [[Sprint Planning]] covered:
- [[User Stories]] for the new [[Dashboard Feature]]  
- [[Technical Debt]] items related to [[Database Performance]]
- [[Team Capacity]] planning for upcoming [[Holiday Schedule]]

Tags: #sprint-planning #team-process #project-alpha

Question-Driven Linking

Structure knowledge around common questions:

markdown
# How do we handle [[User Authentication]]?

**New Users**: Follow the [[User Registration]] process
**Existing Users**: Use [[Login Flow]] with [[Password Recovery]] if needed
**API Access**: Implement [[JWT Token]] authentication per [[API Security Guidelines]]
**Admin Users**: Additional [[Two-Factor Authentication]] required

Related: [[Security Audit Checklist]], [[Compliance Requirements]]

Anti-Patterns to Avoid

Over-Linking

Don't: Link every possible word

markdown
[[Our]] [[team]] [[uses]] [[GitHub]] for [[version]] [[control]] and [[issue]] [[tracking]].

Do: Link meaningful concepts

markdown
Our team uses [[GitHub]] for [[Version Control]] and [[Issue Tracking]].

Inconsistent Terminology

Don't: Use multiple terms for the same concept

markdown
The [[login system]], [[authentication flow]], and [[user auth]] all need updates.

Do: Pick one term and stick to it

markdown
The [[User Authentication]] system needs updates across all flows.

Don't: Create links without follow-through

markdown
We need to improve our [[monitoring]] and [[alerting]] systems.

(But never create the actual monitoring and alerting pages)

Do: Create the linked content promptly

markdown
We need to improve our [[Monitoring Strategy]] and [[Alert Configuration]].

(Then actually create those pages with useful content)

Tools and Techniques

Use Knowledge AI's search to find existing concepts before creating new ones:

  1. Before creating [[New Concept]]
  2. Search for related terms: "concept", "new feature", "similar idea"
  3. Link to existing concepts if found
  4. Create new concept only if it's truly unique

Regularly audit your wikilinks:

markdown
# Weekly Link Review Checklist

- [ ] Find broken links (links to non-existent pages)
- [ ] Identify orphaned pages (pages with no incoming links)  
- [ ] Look for duplicate concepts with different names
- [ ] Check for missing connections between related topics

Bulk Linking

When adding lots of content, create link templates:

markdown
# Meeting Notes Template

**Date**: [Date]
**Attendees**: [[Team Member 1]], [[Team Member 2]]
**Project**: [[Project Name]]

## Agenda
1. [[Topic 1]] - Discussion of [[Related Concept]]
2. [[Topic 2]] - Updates on [[Ongoing Initiative]]  

## Action Items
- [ ] [[Person]] will [[Action]] by [[Date]]
- [ ] Follow up on [[Previous Decision]] implementation

## Related
See also: [[Previous Meeting]], [[Project Documentation]], [[Team Processes]]

Graph Metrics to Watch

Monitor your knowledge graph health:

  • Average connections per note - Aim for 3-7 meaningful links
  • Orphaned pages - Keep under 10% of total pages
  • Hub pages - Identify your most-connected concepts
  • Cluster density - Ensure topics are well-connected internally

Good wikilinks should:

  • Reduce search time - Help people find related information faster
  • Improve comprehension - Provide context and background
  • Enable discovery - Surface unexpected but relevant connections
  • Support AI interactions - Help Claude understand your knowledge structure

Remember: The goal isn't to link everything to everything. It's to create meaningful pathways that reflect how concepts actually relate in your domain. Quality connections beat quantity every time.

Built with VitePress