write-pscad

Authors a Pattern-Space Coverage Audit Document auditing TQVCD test coverage against production patterns.

Updated Apr 11, 2026
One-click install
npx skills add https://github.com/gozonerd/shadow-ai-assessment --skill write-pscad-gozonerd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-pscad
Source: https://github.com/gozonerd/shadow-ai-assessment/tree/main/.claude/skills/write-pscad
Command: npx skills add https://github.com/gozonerd/shadow-ai-assessment --skill write-pscad-gozonerd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Test suites can pass while never exercising production-shaped concurrency, load, or sequence patterns, leaving pattern-space coverage invisible. This Skill authors a Pattern-Space Coverage Audit Document (PSCAD) that audits which production input/load/sequence patterns are covered by existing TQVCD verification entries and which are gaps. ## Core Features & Use Cases - Pattern-Space Audit: Walks the canonical Production Pattern Catalog plus project-specific candidate patterns, classifying each as in-scope or out-of-scope with empirical narrowing reasons. - Coverage Matrix and Gap Remediation: Links each pattern to TQVCD-VC entries with non-tautological rationale, authors PSCAD-GAP entries for uncovered patterns, and defines PSCAD-REM remediation plans with severity and acceptance criteria. - ASAE-Gated Validation: Runs an /asae gate on the draft with PSCAD-specific checks before saving an approved document ready for /dare-to-rise-code-plan consumption. - Use Case: After completing a PRD, TRD, and TQVCD for a new app, invoke this Skill to produce the 6th D2R prerequisite document that exposes untested production concurrency patterns before code planning begins. ## Quick Start Ask the assistant to write a PSCAD for your project using the approved PRD, TRD, and TQVCD documents as inputs.

Frequently Asked Questions about write-pscad

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

FAQPage Schema
How do I write a Pattern-Space Coverage Audit Document?

Invoke the write-pscad skill with an approved PRD, TRD, and TQVCD as inputs. It loads the PSCAD template and Production Pattern Catalog, walks each pattern's coverage against TQVCD entries, and produces a validated document after an ASAE gate check.

What is pattern-space coverage versus code coverage?

Pattern-space coverage measures whether tests exercise production-shaped conditions like concurrency, volume, and failure injection, not just whether code lines ran. A suite can have high code coverage while zero coverage of a production concurrency pattern.

What documents are required before authoring a PSCAD?

A PSCAD requires an approved PRD, TRD, and TQVCD; the AVD and UXD are optional but recommended. The skill refuses to proceed if any required prerequisite is missing and suggests the appropriate authorship skill.

Can a critical coverage gap be accepted without remediation?

No. The accept_gap_disclose remediation type is allowed only for MEDIUM or lower severity gaps with an honest-gap disclosure path. CRITICAL and HIGH gaps must be closed via add_test, add_test_with_pattern_param, or revise_pattern_scope.

When should PSCAD be authored relative to TQVCD?

PSCAD is authored deliberately after TQVCD, as the sixth document in the D2R bundle sequence. The delay is structural: the author is in a different head-state and notices production patterns the test surface did not apply.