Skip to content

Open-source skills for designing and reviewing software with AI agents

fix: render the brainstorm lenses table on GitHub (#194)

John Pettitt7eb27060cafd
diff --git a/distributions/claude/skills/egm-brainstorm/SKILL.md b/distributions/claude/skills/egm-brainstorm/SKILL.md
index 55e6bd9..f6009dc 100644
--- a/distributions/claude/skills/egm-brainstorm/SKILL.md
+++ b/distributions/claude/skills/egm-brainstorm/SKILL.md
@@ -91,47 +91,12 @@ If your harness has no subagent tool, stop and tell the user: a review in the sa
| Lens / Persona | Core Objective | Key Questions Challenged |
| :---------------------- | :---------------------- | :----------------------- |
-| **Contrarian / YAGNI** | Code & complexity | *Why does this feature |
-: : minimization : need to exist? Can an :
-: : : existing library, :
-: : : open-source dependency, :
-: : : API, or service solve :
-: : : 90% of this problem :
-: : : without writing new :
-: : : code?* :
-| **Cost, Quota & Token | Infrastructure & budget | *What is the peak QPS, |
-: Economics** : scaling : memory footprint, :
-: : : database query load, or :
-: : : LLM token budget? Will :
-: : : this hit quota ceilings :
-: : : at scale?* :
-| **UX & Developer | Usability & cognitive | *Is the API/CLI |
-: Ergonomics** : overhead : intuitive? Does it match :
-: : : ecosystem conventions? :
-: : : Are error messages :
-: : : actionable, or does it :
-: : : add developer friction?* :
-| **Migration & Backward | Rollout safety & | *How do existing |
-: Compatibility** : version skew : clients/data migrate? :
-: : : Does this break :
-: : : serialized schemas, :
-: : : protos, or persistent :
-: : : storage? How is rollback :
-: : : handled mid-migration?* :
-| **Observability & SRE | Telemetry & operational | *Are key operations |
-: Debuggability** : visibility : traceable via :
-: : : distributed tracing? Are :
-: : : telemetry metrics :
-: : : actionable? How will :
-: : : oncall engineers triage :
-: : : a production incident at :
-: : : 3 AM?* :
-| **Long-Term Tech Debt & | Future maintainability | *Does this introduce |
-: Maintenance** : : tightly coupled :
-: : : dependencies or brittle :
-: : : state machines that will :
-: : : be painful to maintain :
-: : : in 2 years?* :
+| **Contrarian / YAGNI** | Code & complexity minimization | *Why does this feature need to exist? Can an existing library, open-source dependency, API, or service solve 90% of this problem without writing new code?* |
+| **Cost, Quota & Token Economics** | Infrastructure & budget scaling | *What is the peak QPS, memory footprint, database query load, or LLM token budget? Will this hit quota ceilings at scale?* |
+| **UX & Developer Ergonomics** | Usability & cognitive overhead | *Is the API/CLI intuitive? Does it match ecosystem conventions? Are error messages actionable, or does it add developer friction?* |
+| **Migration & Backward Compatibility** | Rollout safety & version skew | *How do existing clients/data migrate? Does this break serialized schemas, protos, or persistent storage? How is rollback handled mid-migration?* |
+| **Observability & SRE Debuggability** | Telemetry & operational visibility | *Are key operations traceable via distributed tracing? Are telemetry metrics actionable? How will oncall engineers triage a production incident at 3 AM?* |
+| **Long-Term Tech Debt & Maintenance** | Future maintainability | *Does this introduce tightly coupled dependencies or brittle state machines that will be painful to maintain in 2 years?* |
## Execution Workflow
diff --git a/skills/egm-brainstorm/SKILL.md b/skills/egm-brainstorm/SKILL.md
index 55e6bd9..f6009dc 100644
--- a/skills/egm-brainstorm/SKILL.md
+++ b/skills/egm-brainstorm/SKILL.md
@@ -91,47 +91,12 @@ If your harness has no subagent tool, stop and tell the user: a review in the sa
| Lens / Persona | Core Objective | Key Questions Challenged |
| :---------------------- | :---------------------- | :----------------------- |
-| **Contrarian / YAGNI** | Code & complexity | *Why does this feature |
-: : minimization : need to exist? Can an :
-: : : existing library, :
-: : : open-source dependency, :
-: : : API, or service solve :
-: : : 90% of this problem :
-: : : without writing new :
-: : : code?* :
-| **Cost, Quota & Token | Infrastructure & budget | *What is the peak QPS, |
-: Economics** : scaling : memory footprint, :
-: : : database query load, or :
-: : : LLM token budget? Will :
-: : : this hit quota ceilings :
-: : : at scale?* :
-| **UX & Developer | Usability & cognitive | *Is the API/CLI |
-: Ergonomics** : overhead : intuitive? Does it match :
-: : : ecosystem conventions? :
-: : : Are error messages :
-: : : actionable, or does it :
-: : : add developer friction?* :
-| **Migration & Backward | Rollout safety & | *How do existing |
-: Compatibility** : version skew : clients/data migrate? :
-: : : Does this break :
-: : : serialized schemas, :
-: : : protos, or persistent :
-: : : storage? How is rollback :
-: : : handled mid-migration?* :
-| **Observability & SRE | Telemetry & operational | *Are key operations |
-: Debuggability** : visibility : traceable via :
-: : : distributed tracing? Are :
-: : : telemetry metrics :
-: : : actionable? How will :
-: : : oncall engineers triage :
-: : : a production incident at :
-: : : 3 AM?* :
-| **Long-Term Tech Debt & | Future maintainability | *Does this introduce |
-: Maintenance** : : tightly coupled :
-: : : dependencies or brittle :
-: : : state machines that will :
-: : : be painful to maintain :
-: : : in 2 years?* :
+| **Contrarian / YAGNI** | Code & complexity minimization | *Why does this feature need to exist? Can an existing library, open-source dependency, API, or service solve 90% of this problem without writing new code?* |
+| **Cost, Quota & Token Economics** | Infrastructure & budget scaling | *What is the peak QPS, memory footprint, database query load, or LLM token budget? Will this hit quota ceilings at scale?* |
+| **UX & Developer Ergonomics** | Usability & cognitive overhead | *Is the API/CLI intuitive? Does it match ecosystem conventions? Are error messages actionable, or does it add developer friction?* |
+| **Migration & Backward Compatibility** | Rollout safety & version skew | *How do existing clients/data migrate? Does this break serialized schemas, protos, or persistent storage? How is rollback handled mid-migration?* |
+| **Observability & SRE Debuggability** | Telemetry & operational visibility | *Are key operations traceable via distributed tracing? Are telemetry metrics actionable? How will oncall engineers triage a production incident at 3 AM?* |
+| **Long-Term Tech Debt & Maintenance** | Future maintainability | *Does this introduce tightly coupled dependencies or brittle state machines that will be painful to maintain in 2 years?* |
## Execution Workflow
diff --git a/tests/unit/test_markdown_tables.py b/tests/unit/test_markdown_tables.py
new file mode 100644
index 0000000..59143ed
--- /dev/null
+++ b/tests/unit/test_markdown_tables.py
@@ -0,0 +1,59 @@
+# Copyright 2026 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Unit tests that keep Markdown tables renderable on GitHub."""
+
+import pathlib
+import re
+
+# Vendored trees whose markdown is not ours to validate.
+IGNORED_DIRS = ("node_modules",)
+
+FENCE_PATTERN = re.compile(r"```[\s\S]*?```")
+# A g3doc multi-line table continues a row on lines framed by ':'.
+CONTINUATION_PATTERN = re.compile(r"^:.*:\s*$")
+
+
+def test_tables_have_no_multiline_continuation_rows(
+ repo_root: pathlib.Path,
+) -> None:
+ """Verifies that no table uses g3doc ':' continuation rows.
+
+ GitHub Flavored Markdown has no continuation rows: it shows each ':' line
+ as a separate, broken row (issue #193).
+ """
+ markdown_files = [
+ p
+ for p in repo_root.rglob("*.md")
+ if not any(
+ part.startswith(".") or part in IGNORED_DIRS
+ for part in p.relative_to(repo_root).parts
+ )
+ ]
+
+ failures = []
+ for md_file in markdown_files:
+ content = md_file.read_text(encoding="utf-8", errors="ignore")
+ # Blank out fenced blocks but keep their newlines so line numbers hold.
+ content = FENCE_PATTERN.sub(lambda m: "\n" * m.group(0).count("\n"), content)
+ previous = ""
+ for number, line in enumerate(content.splitlines(), start=1):
+ if CONTINUATION_PATTERN.match(line) and previous.startswith(("|", ":")):
+ failures.append(f"{md_file.relative_to(repo_root)}:{number}")
+ previous = line
+
+ assert not failures, (
+ "Multi-line table rows do not render on GitHub. Put each row on one"
+ " line:\n" + "\n".join(failures)
+ )