tdd-enforce
馃幆Skillfrom jmagly/ai-writing-guide
Enforces test-driven development (TDD) principles by automatically generating and validating unit tests before code implementation.
Installation
npx skills add https://github.com/jmagly/ai-writing-guide --skill tdd-enforceSkill Details
Overview
# AIWG Cognitive architecture for AI-augmented software development ```bash npm i -g aiwg # install globally aiwg use sdlc # deploy SDLC framework ``` [](https://www.npmjs.com/package/aiwg) [](https://www.npmjs.com/package/aiwg) [](LICENSE) [](https://github.com/jmagly/ai-writing-guide/stargazers) [Get Started](#-quick-start) 路 [Documentation](#-documentation) 路 [Examples](examples/) 路 [Contributing](CONTRIBUTING.md) 路 [Community](#-community--support) [](https://discord.gg/BuAusFMxdA) [](https://t.me/+oJg9w2lE6A5lOGFh) 馃寪 Live demo & docs: [https://aiwg.io](https://aiwg.io)
---
What AIWG Actually Is
AIWG is a cognitive architecture that provides AI coding assistants with structured memory, ensemble validation, and closed-loop self-correction. Unlike simple prompt libraries or ad-hoc workflows, AIWG implements research-backed patterns for multi-agent coordination, reproducible execution, and FAIR-aligned artifact management. The system addresses fundamental challenges in AI-augmented development: recovery from failures, maintaining context across sessions, preventing hallucinated citations, and ensuring workflow reproducibility. These capabilities position AIWG closer to cognitive architectures like SOAR and ACT-R, adapted for large language model orchestration, than to conventional AI development tools.
---
Why This Matters
For Practitioners
Turn unpredictable AI assistance into reliable, auditable workflows. Research shows 47% of AI workflows produce inconsistent results without reproducibility constraints. AIWG implements closed-loop self-correction, human-in-the-loop validation (reducing costs by 84%), and retrieval-first citation architecture (eliminating the 56% hallucination rate of generation-only approaches). The .aiwg/ artifact directory provides persistent memory across sessions, ensuring context isn't lost when your AI assistant restarts.
For Researchers
Standards-aligned implementation of multi-agent systems and reproducibility frameworks. AIWG operationalizes FAIR Principles (endorsed by G20, EU, NIH), implements OAIS-inspired archival lifecycles (ISO 14721), and uses W3C PROV for provenance tracking. The framework provides a testbed for studying human-AI collaboration patterns, ensemble validation effectiveness, and cognitive load optimization in AI-augmented workflows. All artifacts are structured for analysis and citation export.
For Executives
Risk reduction through governance-ready AI workflows. AIWG provides audit trails (W3C PROV provenance chains), quality gates (GRADE-style evidence assessment), and deterministic execution modes. The system implements stage-gate processes familiar from Cooper's methodology, ensuring predictable phase transitions and milestone tracking. Standards adopted by 100+ organizations (WHO, Cochrane, NICE) back the quality assessment approach. Human validation checkpoints ensure AI outputs meet enterprise quality standards before production deployment.
---
Research Foundations
AIWG's architecture is informed by established research across cognitive science, software engineering, and AI systems. The cognitive load optimization follows Miller's "7卤2" limits and Sweller's worked examples approach. Multi-agent ensemble validation implements mixture-of-experts patterns from Jacob
More from this repository10
Helps writers improve and refine their writing by providing AI-powered guidance, editing suggestions, and structured writing workflow recommendations.
Processes and validates text outputs from large language models, ensuring consistency, reducing hallucinations, and improving citation accuracy.
template-engine skill from jmagly/ai-writing-guide
Routes natural language inputs through appropriate processing pipelines based on semantic intent and context.
Synthesizes target audience personas and communication preferences to optimize writing strategy and messaging precision.
Analyzes writing tone, style, and emotional characteristics to provide detailed linguistic insights about a given text's voice and communication profile.
Detects and classifies recurring patterns in software development artifacts using machine learning techniques to improve AI-assisted code generation and workflow optimization.
Validates and scores generated AI writing content against predefined quality metrics and style guidelines.
performance-digest skill from jmagly/ai-writing-guide
flaky-detect skill from jmagly/ai-writing-guide