Stage 4 Article Contract Fixtures

Generate stage 4 article contract fixtures for end-to-end tests.

Updated Mar 13, 2026
One-click install
npx skills add https://github.com/JDL440/nfl-eval --skill stage-4-article-contract-fixtures
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Stage 4 Article Contract Fixtures
Source: https://github.com/JDL440/nfl-eval/tree/main/.squad/skills/stage4-article-contract-fixtures
Command: npx skills add https://github.com/JDL440/nfl-eval --skill stage-4-article-contract-fixtures

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stage 4 Article Contract Fixtures streamline end-to-end testing by guaranteeing that tests produce both discussion-summary.md and article-contract.md before advancing to stage 5, preventing guard errors and flaky runs.

Core Features & Use Cases

  • Enforces dual-artifact presence when advancing from stage 4 to stage 5
  • Provides a standard article-contract.md template for consistency
  • Includes helper patterns that auto-write required artifacts during stage transitions in test suites
  • Use Case: End-to-end tests covering lifecycle flows from stage 1 through stage 7+ where missing fixtures would trigger guard errors

Quick Start

When writing tests, ensure both discussion-summary.md and article-contract.md exist before advancing from stage 4 to stage 5.

Frequently Asked Questions about Stage 4 Article Contract Fixtures

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

FAQPage Schema
Why do my end-to-end tests fail with guard errors when advancing articles past stage 4?

End-to-end tests fail at stage 4 transitions when required artifacts are missing. You need both discussion-summary.md and article-contract.md present before advancing to stage 5 to prevent guard errors and flaky test runs.

How do I generate stage 4 article contract fixtures for end-to-end testing?

To generate stage 4 article contract fixtures, use helper patterns that auto-write discussion-summary.md and article-contract.md during test suite stage transitions, providing deterministic fixture generation and guard logic integration.

What is a stage 4 article contract fixture in an article lifecycle workflow?

A stage 4 article contract fixture is a deterministic test artifact ensuring discussion-summary.md and article-contract.md exist before an article advances from stage 4 to stage 5 in lifecycle tests spanning stages 1 through 7.

Can I use standard templates for article-contract.md files in end-to-end test suites?

Yes, you can use a standard article-contract.md template to enforce consistency. The fixtures provide a standard template that guarantees both required artifacts are generated before stage advancement occurs.

Do I need discussion-summary.md and article-contract.md to both exist before stage 5?

Yes, dual-artifact presence is enforced when advancing from stage 4 to stage 5. Both discussion-summary.md and article-contract.md must be created and verified by the fixture guard logic to avoid errors.