Stage 5 Valid Draft Fixtures

Generate canonical Stage 5 draft fixtures for TypeScript Vitest tests.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/JDL440/nfl-eval --skill stage-5-valid-draft-fixtures
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Stage 5 Valid Draft Fixtures
Source: https://github.com/JDL440/nfl-eval/tree/main/.squad/skills/stage5-valid-draft-fixtures
Command: npx skills add https://github.com/JDL440/nfl-eval --skill stage-5-valid-draft-fixtures

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stage 5 Valid Draft Fixtures addresses the need for a canonical, reusable draft scaffold used by tests to validate the Stage 5→Stage 6 transition, ensure scheduler readiness, and guard against regressions in publishing workflows.

Core Features & Use Cases

  • A local helper that emits a canonical draft scaffold: headline, optional subtitle, near-top TLDR, four bullets, then body text payload.
  • Subtract the scaffold word count from the target total so the final draft length matches the intended word-count scenario.
  • Reuse the helper across tests to keep fixtures consistent while isolating malformed drafts to explicit negative tests.

Quick Start

Use the stage5-valid-draft-fixtures skill to generate a canonical draft scaffold for test fixtures.

Frequently Asked Questions about Stage 5 Valid Draft Fixtures

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

FAQPage Schema
How do I generate valid test fixtures for draft validation in Vitest?

To generate valid test fixtures for draft validation in Vitest, use a local helper that emits a canonical draft scaffold including a headline, TLDR block, four bullets, and body text payload for consistent test structures.

What is a canonical draft scaffold for testing auto-advance logic?

A canonical draft scaffold for testing auto-advance logic is a standardized test fixture containing a headline, optional subtitle, near-top TLDR block, four bullets, and body text used to validate stage transition guards.

How do I ensure my test draft fixtures match target word-count scenarios?

To ensure test draft fixtures match target word-count scenarios, subtract the canonical scaffold word count from the total target so the final draft length aligns with the intended testing configuration.

Can I reuse draft scaffolds across unit and integration tests in TypeScript?

Yes, you can reuse draft scaffolds across unit and integration tests in TypeScript. The helper keeps fixtures consistent while isolating malformed drafts to explicit negative tests to prevent regressions.

Why do my TypeScript tests fail when draft fixtures deviate from the expected structure?

TypeScript tests fail when draft fixtures deviate from the expected structure because the validation logic enforces a canonical TLDR block and scaffold format to guard against regressions in publishing workflows.