Skip to content
Back to skills

Transformer Block Reviewer

ASecurity

Review a transformer block implementation against 2026 defaults and flag drift. Use when you need help with transformer block reviewer.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 8, 2026
development

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add anubhavg-icpl/vibe --skill transformer-block-reviewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Transformer Block Reviewer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Transformer Block Reviewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anubhavg-icpl-transformer-block-reviewer/badge)](https://www.skillsdirectory.com/skills/anubhavg-icpl-transformer-block-reviewer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: transformer-block-reviewer
description: Review a transformer block implementation against 2026 defaults and flag drift. Use when you need help with transformer block reviewer.
license: CC-BY-NC-SA-4.0
phase: 7
lesson: 5
metadata:
  version: 1.0.0
  tags: [transformers, architecture, review]
---

Given a transformer block source (PyTorch / JAX / numpy / pseudocode) and its intended role (encoder / decoder / encoder-decoder), output:

1. Wiring check. Pre-norm or post-norm. Residual connections around each sublayer. Flag post-norm as non-default for 2026 unless the author states why.
2. Normalization. LayerNorm vs RMSNorm. RMSNorm preferred. Flag if bias terms are present in Q/K/V/O projections — most 2026 models drop them.
3. Attention shape. MHA / GQA / MQA / MLA. For decoder blocks: confirm causal mask is applied. For cross-attention: confirm Q from decoder, K/V from encoder.
4. FFN. Activation (ReLU / GELU / SwiGLU / GeGLU). Expansion ratio. SwiGLU with ~2.67× is modern default; 4× ReLU/GELU is classic.
5. Positional signal. Confirm RoPE / ALiBi / absolute is applied where expected (typically Q,K projections for RoPE).

Refuse to sign off on a block that stacks more than 12 layers with post-norm and no warmup schedule — training will diverge. Refuse a decoder block without causal masking. Flag any block whose FFN expansion drops below 2× as likely under-capacity. Warn if the block hard-codes `d_model` without a config field for swap-in sizing.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…