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-documentariandata-ai
license: Apache-2.0 NOT for unrelated tasks outside this domain.
development
Use when designing caching strategies (cache-aside, write-through, write-behind), implementing distributed locks, building rate limiters, leaderboards, real-time streams (XADD/consumer groups), pub/sub, or tuning eviction policies. Triggers: thundering-herd on cache miss, dogpile on key expiry, Redlock vs SET-NX-PX choice, sliding-window rate limiter, hot-key on a single cluster slot, big-key blowup, MULTI/EXEC across slots, KEYS in production. NOT for Redis Cluster operations/admin (different domain), embedded KV (SQLite, leveldb), in-process LRU caches, or Memcached.
tools
Drawing the `'use client'` boundary correctly in React Server Components apps (Next.js App Router, RSC frameworks) — leaf-pushing, slot composition, serialization rules, and environment poisoning prevention. Grounded in react.dev and Next.js 16 docs.
development
Use when designing rate limiting for an API, choosing between token bucket / sliding window / leaky bucket / fixed window, implementing it in Redis, deciding edge (Cloudflare/Upstash) vs origin enforcement, sizing per-user vs per-IP vs per-endpoint quotas, returning the right 429 response with Retry-After, or fixing the boundary-burst bug in fixed-window limiters. Triggers: 429 too many requests, INCR + EXPIRE, ZADD + ZREMRANGEBYSCORE + ZCARD, X-RateLimit-Remaining header, Cloudflare WAF rate limiting rules, Upstash @upstash/ratelimit, leaky bucket shaping vs policing, distributed rate limiter consistency. NOT for DDoS mitigation specifically (different scale), CAPTCHA / bot management, full WAF design, or per-user quota billing.