Skip to content
Back to skills

Cqa 00a Orphaned

ASecurity

Finds orphaned .adoc and image files not referenced by any include or image directive. Use when cleaning up unused files or after restructuring content.

  • 25 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 28, 2026
documentationbashnodegit

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add redhat-developer/red-hat-developers-documentation-rhdh --skill cqa-00a-orphaned --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cqa 00a Orphaned?

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

Security grade badge for Cqa 00a Orphaned
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/redhat-developer-cqa-00a-orphaned/badge)](https://www.skillsdirectory.com/skills/redhat-developer-cqa-00a-orphaned)

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: cqa-00a-orphaned
description: Finds orphaned .adoc and image files not referenced by any include or image directive. Use when cleaning up unused files or after restructuring content.
---

# CQA-00a: Orphaned Modules

**Spec:** See `resources/cqa-spec.md` section "CQA-00a: ..." for full detection/fix logic and edge cases.

## Run

```bash
# Report
node build/scripts/cqa/index.js --check 00a titles/<your-title>/master.adoc

# Fix
node build/scripts/cqa/index.js --check 00a --fix titles/<your-title>/master.adoc
```

## What It Checks
- Finds `.adoc` files not referenced by any `include::` directive in the repo
- Finds image files not referenced by any `image::` or `image:` directive
- Scope covers the entire repository, not just a single title
- Ensures every content file is reachable from some master.adoc

## Manual Items
None. Fix action is `git rm` of orphaned files.

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.

Comments

Loading comments…

Newsletter

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