review-baw-code SKILL.md skillB

review-baw-code from ibmbpm/ibm-baw-skills-and-bob-modes is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ibmbpm/ibm-baw-skills-and-bob-modes/review-baw-code@v1.0.0

Pins v1.0.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
ibmbpm/ibm-baw-skills-and-bob-modes
Path
skills/authoring/review-baw-code/SKILL.md
Versions recorded
2
Latest version
v1.0.0, committed Oct 17, 2026
First version recorded
Oct 10, 2026
Size
13,002 bytes
Repository stars
6
License
Apache-2.0

Perform automated, severity-ranked code quality reviews across IBM BAW artifacts — server scripts, coach (client-side) scripts, integration service scripts, HTML, CSS, and optionally a Checkstyle XML report. Accepts an uploaded .twx file directly and extracts it automatically. Flags hardcoded values (URLs, credentials, IPs), undeclared tw.local.* variables, inconsistent error-logging patterns, synchronous Thread.sleep calls, unbounded loops, and other performance anti-patterns. Each finding…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Review BAW code

Scan JavaScript artifacts extracted from a BAW TWX application and produce a
severity-ranked findings report. The goal is to surface real issues before deployment —
hardcoded values that break across environments, variables used before the script declares them,
logging that makes incidents hard to diagnose, and patterns that degrade runtime
performance.

The review runs in three stages: **collect** artifacts (scripts, HTML, CSS, optionally
a Checkstyle XML), **analyze** each one against the default rule set (extended by any
user-supplied rules), then **report** findings grouped by severity.

Read `references/RULES.md` for the complete rule definitions, severity rationale, and
recommended-fix templates. Refer back to it whenever you need to classify or explain a
finding.

## Credentials

Never prompt the user for credentials. Credentials are only needed when making a REST call.
When a REST call is about to be made, read `references/CREDENTIAL_HANDLING.md` and follow it — it will read credentials from `.env` automatically, and only prompt the user if a value is missing from that file. Do this once per session only.

---

---

## Stage 0 — Obtain the TWX artifacts
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ibmbpm/ibm-baw-skills-and-bob-modes/review-baw-code@sha256:31e3bbb9b7c26a40

The line at the top of this page pins the label v1.0.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_25agqujtejxhcdby.svg)](https://markdownregistry.com/a/art_25agqujtejxhcdby)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Oct 10, 2026 and Oct 17, 2026, about one every 7 days. Its first recorded version is graded A and its latest B.

versioncommittedcommitsizeaudit
v1.0.0 latest2026-10-17 5588707 13,002 BB view · diff
v1.0.02026-10-10 c836c30 13,664 BA view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No instruction to read or print local credentials (matched: read credentials from `.env)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (13002 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

ibmbpm/ibm-baw-skills-and-bob-modes · 6 stars · license Apache-2.0 · pushed 2026-10-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_25agqujtejxhcdby
GET https://markdownregistry.com/api/v1/resolve?ref=ibmbpm/ibm-baw-skills-and-bob-modes/review-baw-code
GET https://markdownregistry.com/api/v1/blob/31e3bbb9b7c26a4084798fccd34da250154e7bfd714dc463f786ec47bf6b0a95

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ibmbpm/ibm-baw-skills-and-bob-modes

baw-container-inventory SKILL.md skill
ibmbpm/ibm-baw-skills-and-bob-modes · skills/administration-operations/baw-container-inventory/SKILL.md · Inspect the container inventory of a live IBM BAW server — list all Process Apps and Toolkits, count them, search by…
v1.0.0 · audit B · 6 stars
baw-deployment-manager SKILL.md skill
ibmbpm/ibm-baw-skills-and-bob-modes · skills/administration-operations/baw-deployment-manager/SKILL.md · Deploy a process app or toolkit snapshot into a target IBM BAW (Business Automation Workflow) environment, list…
v1.0.0 · audit B · 6 stars
baw-endpoint-validation SKILL.md skill
ibmbpm/ibm-baw-skills-and-bob-modes · skills/administration-operations/baw-endpoint-validation/SKILL.md · Use when a BAW administrator wants to validate a process application before installing it on a new server — asking what…
v1.0.0 · audit C · 6 stars
baw-export-import-helper SKILL.md skill
ibmbpm/ibm-baw-skills-and-bob-modes · skills/administration-operations/baw-export-import-helper/SKILL.md · Migrate IBM BAW or CP4BA Process Apps, toolkits, case solutions, and Business Applications from one environment to…
v1.0.0 · audit B · 6 stars
inspect-baw-processes SKILL.md skill
ibmbpm/ibm-baw-skills-and-bob-modes · skills/administration-operations/inspect-baw-processes/SKILL.md · Use when a BAW administrator or operator wants to find, investigate, or take action on running IBM BAW process…
v1.0.0 · audit B · 6 stars
troubleshoot-baw-logs SKILL.md skill
ibmbpm/ibm-baw-skills-and-bob-modes · skills/administration-operations/troubleshoot-baw-logs/SKILL.md · Diagnoses IBM Business Automation Workflow (BAW) runtime failures by analyzing error logs, stack traces, and FFDC…
v1.0.0 · audit B · 6 stars
version-inspector SKILL.md skill
ibmbpm/ibm-baw-skills-and-bob-modes · skills/administration-operations/version-inspector/SKILL.md · Inspect IBM BAW snapshots and browse deployed containers. Handles read-only queries, including snapshot metadata…
v1.0.0 · audit B · 6 stars
version-lifecycle-manager SKILL.md skill
ibmbpm/ibm-baw-skills-and-bob-modes · skills/administration-operations/version-lifecycle-manager/SKILL.md · Manages IBM Business Automation Workflow (BAW) Process App and Toolkit version lifecycle via the Operations REST API —…
v1.0.0 · audit B · 6 stars
audit-baw-readiness SKILL.md skill
ibmbpm/ibm-baw-skills-and-bob-modes · skills/authoring/audit-baw-readiness/SKILL.md · Evaluates an IBM Business Automation Workflow (BAW) process application's design for compliance and audit readiness —…
v1.0.0 · audit B · 6 stars
baw-dependency-mapper SKILL.md skill
ibmbpm/ibm-baw-skills-and-bob-modes · skills/authoring/baw-dependency-mapper/SKILL.md · Maps all usages and dependencies of a specified variable or Business Object (BO) across an entire IBM BAW process…
v1.0.0 · audit B · 6 stars
baw-project-doc SKILL.md skill
ibmbpm/ibm-baw-skills-and-bob-modes · skills/authoring/baw-project-doc/SKILL.md · Generates comprehensive, up-to-date documentation for IBM Business Automation Workflow (BAW) applications by analyzing…
v1.0.0 · audit A · 6 stars
baw-toolkit-analyzer SKILL.md skill
ibmbpm/ibm-baw-skills-and-bob-modes · skills/authoring/baw-toolkit-analyzer/SKILL.md · Analyzes IBM BAW toolkit dependencies from a TWX export. Maps direct and transitive toolkit dependencies, tracks…
v1.0.0 · audit B · 6 stars

Every file in ibmbpm/ibm-baw-skills-and-bob-modes

Browse by kind, by grade B, or by owner.