Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Um comando direto ignora o prompt de revisão. Verifique a origem antes de executá-lo.
Full assessment: external freshness + internal consistency + semantic accuracy. Stamp only when all pass.
brain-qa.cjs checks the date mechanically. This skill defines the full review that earns that date. A currency stamp means both "content matches external reality" AND "content is internally consistent."
Critical Thinking Discipline
Every audit item must pass through critical thinking — not just mechanical verification. Apply these disciplines throughout:
Discipline
Application to Currency Audit
Alternative hypotheses
"This API exists" isn't enough — is the usage correct? Could the documented pattern be outdated even if the API isn't?
Missing data
What's NOT in the file that should be? Missing caveats, undocumented prerequisites, absent error handling?
Evidence quality
Is the file's advice based on official docs, or a single blog post from 2021?
Self-report skepticism
"Best practice" claims — verified against what source? "Works on current versions" — actually tested?
Bias detection
Anchoring on the file's current content. Challenge: would you write this the same way from scratch today?
Falsifiability
What would prove this advice wrong? If nothing could, the claim may be unfalsifiable hand-waving
Materiality gate
If this item were stale, would it cause real harm? Prioritize fixes that affect decisions over cosmetic accuracy
The key question at every checklist item: "Am I verifying this is correct, or am I assuming it's correct because it looks plausible?"
Skill Tier Definitions
Every skill must declare a tier: in frontmatter. Three valid tiers exist. During currency audit, validate the tier assignment against these criteria.
Core
Skills that apply to virtually every task or are safety-critical. Failure to apply creates risk of harm or quality degradation.
Decision test: "Would skipping this skill on any arbitrary task create risk of incorrect, unsafe, or low-quality output?"
Characteristics:
Always-on or near-universal activation (applyTo: "**" or very broad patterns)
May lack trifecta (instruction not needed for rare activation)
Count guideline: ~50-60 skills. If extended exceeds 60, consider whether some should be standard.
Invalid Tiers
No other tier values are valid. During audit, fix any stray values (advanced, expert, etc.) to the correct tier per the decision tests above.
When to Use
brain-health-grid shows files with expired or missing currency dates
Before a release that ships brain files to heirs
On a scheduled cadence (target: full audit every 90 days)
After a major external change (new API version, deprecated pattern, VS Code update)
Quick Reference
Step
Action
Outcome
Triage
Run node .github/muscles/brain-qa.cjs, read Priority Queue
Ordered work list
Research
Check latest docs, changelogs, releases for the file's domain
Delta list
Compare
Diff current content against latest practices
Stale advice identified
Audit
Check terminology, cross-references, claims, process logic
Internal consistency verified
Update
Fix stale content, wrong terms, broken references, contradictions
Full assessment complete
Stamp
Set currency: YYYY-MM-DD to today in frontmatter
Pass restored
Verify
Re-run brain-qa, confirm file passes
Green grid
Audit Process
1. Triage
Generate the grid and read the Priority Queue:
node .github/muscles/brain-qa.cjs
The Priority Queue in .github/quality/brain-health-grid.md is sorted: failing first, then missing currency, then oldest. Work top-down.
Batch size: 10-15 files per session. Larger batches cause quality drift.
2. Per-File Review Checklist
For each file, work through this checklist:
Frontmatter Check
currency field exists and is a valid YYYY-MM-DD date
description accurately reflects current content (not stale summary)
applyTo patterns still match the intended activation scope
tier value is one of core, standard, extended — no other values allowed
tier assignment passes the correct decision test (see Skill Tier Definitions above)
Type-specific fields present (see brain-qa grid for requirements)
Content Freshness Check
API references: Do referenced APIs still exist? Check for deprecations, renamed methods, new parameters
Version numbers: Are pinned versions still current? (Node.js, VS Code API, Azure SDKs, etc.)
URL links: Do referenced URLs still resolve? Are they the canonical location?
Best practices: Has the community consensus changed? Check official docs, changelogs
Tool availability: Are referenced CLI tools, extensions, or services still available?
Code examples: Do code snippets still compile/run against current versions?
Semantic Consistency Check
Terminology: File uses current terms, not deprecated synonyms (e.g., "skills" not "DK files", "skills/" not "domain-knowledge/")
Claims match reality: Do documented features, commands, or capabilities actually exist in code?
Cross-references: Links to other skills, agents, instructions, or files are correct and targets exist
No contradictions: File doesn't conflict with related files covering the same topic
Process logic: If the file documents a workflow, each step's prerequisites exist and outputs are real
Architecture alignment: Any structural claims (counts, relationships, directory layouts) match current state
Structural Check
No token waste: Remove Mermaid diagrams in non-teaching skills, redundant examples, excessive prose
Progressive disclosure: Most important info first, advanced topics later
Actionable content: Every section helps the LLM produce better output
Inheritance Check (skills only)
If inh=1 (master-only): verify file is listed in .github/config/MASTER-ALEX-PROTECTED.json
If inh=0 (inheritable): verify no master-specific content (Master Alex references, workspace paths)
3. Update and Stamp
Stamp only after ALL checklist sections pass — frontmatter, freshness, semantic consistency, structural, and inheritance. A partial review does not earn a date stamp.
Make all content fixes (freshness + semantic + structural)
Update currency: YYYY-MM-DD in frontmatter to today's date
If the file's description changed meaning, update it