m3taz-ahmed/aizee / skills/bmad-review
bmad-review
VerifiedRuns one or more installed review lenses — adversarial critique, edge cases, verification gaps, structure, prose — and reports triaged findings. Use when, and only when, the user asks you to review a diff, a pull request, or an artifact — code or documents, one or many — and actually says "review"; an explicit skill:bmad-review directive from another skill counts as that ask. A request to act on feedback from an earlier review is a change, not a review. Never invoke this uninvited, including on edits you just made.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.8 KB |
| bmod.toml | config | 84 B |
| customize.toml | config | 5.7 KB |
| references/editorial-common.md | markdown | 5.7 KB |
| references/lens-adversarial.md | markdown | 779 B |
| references/lens-edge-case-hunter.md | markdown | 5.7 KB |
| references/lens-prose.md | markdown | 1.3 KB |
| references/lens-structure.md | markdown | 1.5 KB |
| references/lens-verification-gap.md | markdown | 7.6 KB |
| references/structure-models.md | markdown | 1.9 KB |
| scripts/tests/test_word_metrics.py | script | 1.8 KB |
| scripts/word_metrics.py | script | 3.6 KB |
scripts/tests/test_word_metrics.py
View on GitHub#!/usr/bin/env python3
# /// script
# requires-python = ">=3.11"
# ///
"""Tests for word_metrics.py."""
import sys
import unittest
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
from word_metrics import section_metrics, word_count
DOC = """Intro line before any heading.
# Title
Two words here indeed.
## Section A
Alpha beta gamma.
```
# not a heading
fenced words ignored as headings
```
## Section B
Delta epsilon.
"""
class WordMetricsTest(unittest.TestCase):
def test_word_count(self):
self.assertEqual(word_count("one two three\nfour"), 4)
self.assertEqual(word_count(""), 0)
def test_korean_counts_per_spaced_word(self):
self.assertEqual(word_count("나는 학교에 갑니다"), 3)
def test_chinese_and_japanese_count_per_character(self):
self.assertEqual(word_count("我去学校"), 4)
self.assertEqual(word_count("私は学校に行きます"), 9)
def test_sections_split_on_headings(self):
sections = section_metrics(DOC)
headings = [s["heading"] for s in sections]
self.assertEqual(headings, ["(preamble)", "Title", "Section A", "Section B"])
def test_fenced_heading_not_a_section(self):
sections = section_metrics(DOC)
self.assertNotIn("not a heading", [s["heading"] for s in sections])
def test_section_words_counted(self):
sections = {s["heading"]: s["words"] for s in section_metrics(DOC)}
self.assertEqual(sections["Section B"], 2)
# Section A body includes the fenced block's tokens
self.assertGreater(sections["Section A"], 3)
def test_empty_preamble_dropped(self):
sections = section_metrics("# Only\n\nwords here\n")
self.assertEqual([s["heading"] for s in sections], ["Only"])
if __name__ == "__main__":
unittest.main()
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |