Skip to content
Back to skills

Dual Surface Docs Drift

ASecurity

Two READMEs covering overlapping scope will diverge:

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
ai-agentsbashgitapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add fabioc-aloha/Alex_Skill_Mall --skill dual-surface-docs-drift --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dual Surface Docs Drift?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dual Surface Docs Drift
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fabioc-aloha-dual-surface-docs-drift/badge)](https://www.skillsdirectory.com/skills/fabioc-aloha-dual-surface-docs-drift)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dual-surface-docs-drift
description: "Two READMEs covering overlapping scope will diverge:"
lastReviewed: 2026-04-30
---

# Dual-Surface Docs Drift

## The Problem

Two READMEs covering overlapping scope will diverge:

- Root README describes feature X
- Wiki page also describes feature X
- One gets updated, the other doesn't

## The Solution

### Option 1: Cross-Reference (Preferred)

The less-detailed doc points to the more-detailed:

```markdown
<!-- README.md (brief) -->
## Configuration

For basic setup, set `API_KEY` in your environment.

For advanced configuration options, see the 
[Configuration Guide](https://github.com/org/repo/wiki/Configuration).
```

```markdown
<!-- wiki/Configuration.md (detailed) -->
## Configuration

Complete reference for all configuration options...
```

### Option 2: Consolidate

If both documents serve the same audience, merge them:

```markdown
<!-- Keep ONE source, delete or redirect the other -->
## Configuration

[Full content here, single location]
```

### Option 3: Audience Separation

If audiences differ, make the separation explicit:

```markdown
<!-- README.md header -->
> **Developer docs**: This README is for contributors.
> **User docs**: See the [Wiki](./wiki) for end-user documentation.
```

## Decision Table

| README Audience | Wiki Audience | Action |
|-----------------|---------------|--------|
| Developers | Developers | Consolidate |
| Developers | End users | Separate + cross-ref |
| End users | End users | Consolidate |

## Verification

Search for duplicated headers:

```bash
# Find potential overlaps
grep -h "^##" README.md wiki/*.md | sort | uniq -d
```

If the same H2 appears in both, you have drift risk.

## When to Apply

- Adding documentation to an existing repo
- Noticing outdated info in one of two places
- Documentation audit

## Tags

`documentation` `drift` `maintenance` `wiki`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.