skills/windags-librarian/SKILL.md
Maintain consistency across all winDAGs documentation surfaces — corpus documents, marketing copy, README files, site content, skill files, API docs, and derivative documents. Enforces the canonical terminology table, voice guidelines, architectural accuracy, and cross-reference integrity. Activate on "windags docs", "documentation consistency", "windags copy", "terminology check", "docs audit", "windags readme", "site copy", "docs sync", "content review", "windags librarian". NOT for writing new architecture (use windags-architect), creating new skills (use skill-architect), or running the recursive synthesis process (use recursive-synthesis).
npx skillsauth add curiositech/windags-skills windags-librarianInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The guardian of consistency across every surface where winDAGs content appears. You enforce canonical terminology, voice, and structural truth from the 6-phase synthesis against all derivative surfaces.
When you find an inconsistency, follow this decision tree:
Inconsistency Detected
├── Is it TERMINOLOGY drift?
│ ├── Academic term leaked (cognitive_core, PreMortem, etc.)
│ │ └── → AUTO-FIX with canonical substitution
│ └── New/unclear term
│ └── → FLAG for terminology committee review
│
├── Is it STRUCTURAL mismatch?
│ ├── Agent count ≠ 11, Phase count ≠ 6, Libraries ≠ 3
│ │ └── → ESCALATE as critical error (blocks publishing)
│ ├── Cross-reference broken (section moved/renamed)
│ │ └── → FLAG for immediate fix with suggested target
│ └── Minor version drift (outdated implementation detail)
│ └── → QUEUE for next maintenance cycle
│
├── Is it VOICE violation?
│ ├── Marketing copy using forbidden terms ("AI-powered", "revolutionary")
│ │ └── → AUTO-FIX with approved messaging
│ ├── Technical surface using marketing speak
│ │ └── → FLAG with suggested technical alternative
│ └── Wrong formality for audience
│ └── → SUGGEST rewrite with correct voice level
│
└── Is it CLAIM accuracy?
├── Cannot trace to Constitution/Practitioner's Guide
│ └── → FLAG as unsupported claim, request source
├── Exaggerated/distorted claim (says "revolutionary" for "iterative")
│ └── → FLAG with corrected factual statement
└── Outdated claim (refers to old architecture)
└── → QUEUE for update with current truth
Detection Rule: If you see more than 12 agents, more than 6 phases, or more than 3 libraries mentioned Symptoms: Documentation describes capabilities not in Constitution, inflated numbers Fix: Cross-check against Constitution Ch.14.2, reduce to canonical counts Prevention: Always verify structural claims against Tier 1 sources before publishing
Detection Rule: If you see academic terms (cognitive_core, PreMortem, Sensemaking, commitment_strategy) in user-facing content Symptoms: User confusion, barrier to adoption, sounds "too academic" Fix: Replace with canonical practitioner terms from the term table Prevention: Run terminology scan before any external publication
Detection Rule: If marketing claims cannot be traced to Constitution or Practitioner's Guide Symptoms: Promises features that don't exist, creates support burden Fix: Remove or qualify claims, add traceability to source Prevention: Require source citation for every factual claim in marketing content
Detection Rule: If cross-references point to sections that don't exist or say different things Symptoms: Broken links, readers can't verify claims, documents feel outdated Fix: Update references to current section structure and content Prevention: Automated link checking in publication pipeline
Detection Rule: If technical docs use marketing language or marketing uses technical jargon Symptoms: Wrong audience engagement, credibility loss, confusion Fix: Rewrite with appropriate voice for surface type (technical/marketing/reference) Prevention: Voice checklist in review process based on surface type
Found: Marketing site says "Our PreMortem Analyzer catches edge cases before they bite you."
Decision Process:
Fixed: "Our Risk Analyzer identifies potential failures before they impact your workflow."
What novice misses: Only fixes terminology, leaves casual voice What expert catches: Voice mismatch creates credibility gap with senior engineers
Found: README says "See Constitution Ch.15.3 for agent details"
Decision Process:
Fixed: "See Constitution Ch.14.2 for the 11-agent architecture details"
Action Log: Also search for other references to "Ch.15" across all surfaces
Found: API docs say "Revolutionary Thompson sampling powers our learning engine"
Decision Process:
Fixed: "Thompson sampling algorithms optimize skill selection based on historical performance"
Before marking a surface as "verified consistent":
Do NOT use this skill for:
windags-architect insteadskill-architect insteadrecursive-synthesis insteadwindags-architect insteadDelegate these tasks:
windags-architectskill-architectskill-documentariantools
Building resilient distributed systems with circuit breakers, retries with full-jitter exponential backoff, retry budgets (per-request 3-attempt + per-client 10% ratio per Google SRE), deadline propagation, and the cascading-failure math (4 layers × 3 retries = 64x amplification). Grounded in Resilience4j, Microsoft Cloud Patterns, AWS Architecture Blog (Marc Brooker), and Google SRE Book.
testing
Designing HTTP cache headers that work correctly across browsers, CDNs, and shared proxies — `Cache-Control` directives per RFC 9111, `stale-while-revalidate` and `stale-if-error` per RFC 5861, the Vary header for varying responses, and surrogate keys for tag-based purging. Grounded in IETF RFCs and Cloudflare/Fastly docs.
development
Use when designing or fixing a Content Security Policy on a real site, choosing between nonce-based and hash-based CSP, adding strict-dynamic, debugging "Refused to execute inline script" errors, deploying CSP in report-only mode first, configuring report-to / report-uri, or auditing an existing policy for unsafe-inline / unsafe-eval / wildcards. Triggers: "CSP blocks legitimate inline script", strict-dynamic, nonce-{RANDOM}, sha256-{HASH}, object-src none, base-uri none, frame-ancestors, Trusted Types, X-Content-Security-Policy obsolete, report-only vs enforced. NOT for general HTTP security headers (HSTS, COOP/COEP), Trusted Types deep dive, CORS configuration, or building a WAF.
tools
Choosing and operating an HTTP API versioning strategy that doesn't break clients — Stripe's date-based pinned versions, the Deprecation/Sunset header pair (RFC 9745 + RFC 8594), URI vs header vs media-type approaches, and the version-transformer pattern. Grounded in Stripe's published architecture and IETF RFCs.