documentation-linking

Establish bidirectional links between code and documentation with multiple link formats.

187|20|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/TheBushidoCollective/han --skill documentation-linking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documentation-linking
Source: https://github.com/TheBushidoCollective/han/tree/main/jutsu/jutsu-notetaker/skills/documentation-linking
Command: npx skills add https://github.com/TheBushidoCollective/han --skill documentation-linking

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables bidirectional linking between code and documentation for traceability.

Core Features & Use Cases

  • Code → Docs: Annotations linking code blocks to docs.
  • Docs → Code: Documentation pointers to implementation.
  • Link formats: Anchor, relative, and line-specific links.

Quick Start

Create a doc that references a code block and a code file to illustrate linking.

Frequently Asked Questions about documentation-linking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep code and documentation synchronized with bidirectional links?

Bidirectional linking establishes synchronized references between code and docs by annotating code blocks with documentation pointers and adding code references within documentation. This maintains traceability across architecture docs, API specs, decision records, tests, and runbooks using anchor, relative, and line-specific link formats.

What link formats can I use to reference code from documentation?

Documentation can reference code using absolute paths, relative paths, line-specific links that point to exact lines in source files, and anchor-based links tied to annotated blocks. These formats enable precise cross-references while adapting to different documentation structures and repository layouts.

Can I link from code comments to external documentation?

Yes. Code annotations and comments can link directly to documentation artifacts—including architecture docs, API specifications, decision records, and runbooks—creating Code → Documentation references that point readers from implementation details to relevant external resources.

How do bidirectional links maintain context between code and docs?

Bidirectional linking preserves context and traceability through annotated blocks, inline comments, and metadata that synchronize artifacts. This enforcement of cross-reference rules ensures that when code or documentation changes, the relationship between them remains intact and traceable.

What types of documentation can I link to from source code?

Code can link to architecture documentation, API specifications, decision records, tests, and runbooks. The Skill supports linking across these documentation types using defined link formats, enabling comprehensive traceability from implementation through design decisions and operational guidance.

Do I need to manually update links when code or docs change?

The Skill enforces cross-reference rules and metadata synchronization to help maintain link integrity. However, link maintenance depends on your documentation and version control workflow; the Skill establishes the linking structure and traceability mechanism, not automatic updates.