Skip to content
Back to skills

Cqa 13 Content Type

ASecurity

Validates that file content matches its declared content type and filename prefix. Use when content type mismatches are suspected.

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

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add redhat-developer/red-hat-developers-documentation-rhdh --skill cqa-13-content-type --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cqa 13 Content Type?

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

Security grade badge for Cqa 13 Content Type
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/redhat-developer-cqa-13-content-type/badge)](https://www.skillsdirectory.com/skills/redhat-developer-cqa-13-content-type)

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-13-content-type
description: Validates that file content matches its declared content type and filename prefix. Use when content type mismatches are suspected.
---

# CQA-13: Content Type Match

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

## Run

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

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

## What It Checks
- Content must match its declared type (e.g., PROCEDURE files need `.Procedure` section)
- Filename prefix must match the declared content type
- Skips SNIPPET type files, `attributes.adoc`, and `master.adoc`

## Manual Items
None. Fix action renames files with the correct prefix and updates references.

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…