Skip to content
Back to skills

Cqa Main Workflow

ASecurity

Orchestrates all 19 CQA checks in optimal workflow order for a documentation title. Use when asked to run CQA compliance, audit a title, or check documentation quality.

  • 25 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 28, 2026
documentationgobashnodedocumentation

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add redhat-developer/red-hat-developers-documentation-rhdh --skill cqa-main-workflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cqa Main Workflow?

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

Security grade badge for Cqa Main Workflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/redhat-developer-cqa-main-workflow/badge)](https://www.skillsdirectory.com/skills/redhat-developer-cqa-main-workflow)

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-main-workflow
description: Orchestrates all 19 CQA checks in optimal workflow order for a documentation title. Use when asked to run CQA compliance, audit a title, or check documentation quality.
---

# CQA 2.1 Main Workflow

Execute all 19 CQA requirements in optimal order. The full specification is in `resources/cqa-spec.md`.

**CRITICAL EXECUTION RULES:**
1. Run checks in the exact order listed
2. Re-execute each check until it produces no new changes (idempotent state)
3. Re-execute the entire sequence until stable

## Prerequisites

Before starting, confirm with the user:
- JIRA ticket number (e.g., RHIDP-12345)
- Title name or path to master.adoc file

## Script Interface

```bash
# Run all checks for a title
node build/scripts/cqa/index.js titles/<your-title>/master.adoc

# Auto-fix all checks for a title
node build/scripts/cqa/index.js --fix titles/<your-title>/master.adoc

# Run a single check
node build/scripts/cqa/index.js --check NN titles/<your-title>/master.adoc

# Run across all titles
node build/scripts/cqa/index.js --all
```

**Output markers:**
- `[AUTOFIX]` — fixable with `--fix`
- `[FIXED]` — was auto-fixed
- `[MANUAL]` — requires human judgment
- `[-> CQA-NN AUTOFIX]` / `[-> CQA-NN MANUAL]` — delegated to another check

## Workflow Order

For each check: run `--fix`, then re-run report mode to verify. Repeat until clean.

1. **CQA-00a:** Orphaned modules — delete unreferenced files
2. **CQA-00b:** Directory structure — verify `<category>_<context>` naming
3. **CQA-03:** Modularization — content type metadata, filename prefixes
4. **CQA-13:** Content type match — content matches declared type
5. **CQA-10:** Titles — imperative form, ID/filename alignment
6. **CQA-08:** Short description content — no self-referential language
7. **CQA-09:** Short description format — `[role="_abstract"]`, 50-300 chars
8. **CQA-11:** Prerequisites — `.Prerequisites` label, bullet list, max 10
9. **CQA-02:** Assembly structure — template compliance
10. **CQA-05:** Required modular elements — all mandatory elements present
11. **CQA-04:** Module templates — CONCEPT/PROCEDURE/REFERENCE templates
12. **CQA-06:** Assembly scope — single user story per assembly
13. **CQA-07:** TOC depth — max 3 heading levels
14. **CQA-16:** Product names — use attribute references
15. **CQA-01:** Vale DITA — AsciiDoc DITA compliance
16. **CQA-12:** Grammar — Vale grammar/style, errors only
17. **CQA-17:** Disclaimers — Tech/Dev Preview legal snippets
18. **CQA-14:** Broken links — include/image targets exist
19. **CQA-15:** Redirects — redirects for deleted/renamed titles

## Completion Criteria

- ALL 19 checks pass (0 issues or only acceptable MANUAL items)
- Idempotency verified (re-running produces no changes)
- Build succeeds: `./build/scripts/build-ccutil.sh`

Do not claim completion unless all checks are verified clean.

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.