{"enrichment":{"faq":[{"a":"doc-tdd generates Layer 7 TDD artifacts by translating your SPEC component contract into concrete test cases with defined quality thresholds. The skill maps each contract requirement to specific test scenarios, establishes coverage targets by test type (unit, integration, functional, end-to-end), and sequences the Red-Green-Refactor workflow so you define tests before implementation begins.","q":"How do I create a test-driven development guide from a SPEC component contract?"},{"a":"doc-tdd maps BDD scenarios directly to concrete test cases by extracting inputs, outputs, and edge cases from each scenario. It assigns test cases to appropriate pyramid layers, defines pass/fail criteria for each, and links them back to upstream BDD artifacts for full traceability. This ensures your test-first workflow stays aligned with behavior specifications.","q":"How to write TDD test cases from BDD scenarios using doc-tdd?"},{"a":"doc-tdd establishes a complete test pyramid structure with coverage targets and pass/fail criteria for each layer: unit tests (fastest, highest volume), integration tests (component interaction), functional tests (feature validation), and end-to-end tests (full workflow). It defines quality gates and threshold scores so you know exactly when tests pass and what coverage each type must achieve.","q":"What does doc-tdd include for test pyramid and quality thresholds setup?"},{"a":"doc-tdd generates TDD documentation following Red-Green-Refactor execution order and validates that every test case links back to its upstream SPEC component contract or BDD scenario. It checks artifact element IDs, tagging standards, and traceability chains so you can confirm all requirements are covered before you write a single line of code.","q":"How does doc-tdd validate test traceability before implementation?"},{"a":"doc-tdd defines unit, integration, functional, and end-to-end test cases tailored to your component contract. It also supports security and performance test types where applicable, assigns each to the correct pyramid layer, and establishes specific pass/fail criteria and coverage targets so your quality gates are measurable and IPLAN-ready.","q":"What test types does doc-tdd help define for component testing?"},{"a":"Yes. doc-tdd extracts inputs, outputs, and edge cases from each BDD scenario and maps them to concrete test cases. It structures test cases with element IDs and tagging standards, defines expected results and failure modes, and links everything back to the originating scenario so your test suite remains fully traceable and comprehensive.","q":"Can doc-tdd map BDD scenarios to concrete test cases with edge cases?"}],"shadow_tags":["test-first-development","quality-assurance","test-pyramid","behavior-validation","coverage-targets","test-orchestration","contract-testing","workflow-automation","traceability-mapping","acceptance-criteria"],"summary_rewrite":"doc-tdd generates Layer 7 TDD artifacts that translate component contracts into concrete test cases with quality thresholds. It maps BDD scenarios to unit, integration, functional, and end-to-end tests, establishes coverage targets per type, and sequences the Red-Green-Refactor workflow before implementation begins."},"files":[{"bytes":9967,"path":"platforms/claude-code-plugin/skills/doc-tdd/SKILL.md","sha256":"e465c6081a3a7f7752513db1917462cd3170062e84ae1b6c87862e608d4b4c65","url":"https://skillfed.io/files/vladm3105/aidoc-flow-framework/doc-tdd/3999ccca/SKILL.md"}],"id":"vladm3105/aidoc-flow-framework/doc-tdd","links":{"html":"https://skillfed.io/vladm3105/aidoc-flow-framework/doc-tdd","md":"https://skillfed.io/vladm3105/aidoc-flow-framework/doc-tdd.md","repo":"https://github.com/vladm3105/aidoc-flow-framework"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":3,"language":"Python","last_updated":"2026-07-27","license":"MIT","name":"doc-tdd","publisher":"vladm3105","stars":16},"relations":{"categories":["quality-assurance","software-development","documentation"],"similar":[{"id":"vladm3105/aidoc-flow-framework/doc-tdd-autopilot"},{"id":"vladm3105/aidoc-flow-framework/doc-tdd-fixer"},{"id":"vladm3105/aidoc-flow-framework/doc-tdd-audit"},{"id":"vladm3105/aidoc-flow-framework/doc-spec"},{"id":"vladm3105/aidoc-flow-framework/doc-flow"},{"id":"vladm3105/aidoc-flow-framework/doc-bdd"},{"id":"vladm3105/aidoc-flow-framework/doc-adr"},{"id":"vladm3105/aidoc-flow-framework/doc-prd"},{"id":"vladm3105/aidoc-flow-framework/doc-ears"},{"id":"vladm3105/aidoc-flow-framework/doc-iplan"}]},"slug":{"owner":"vladm3105","repo":"aidoc-flow-framework","skill":"doc-tdd"},"version":"3999ccca"}
