Skip to content

code-yeongyu/oh-my-openagent / packages/shared-skills/skills/ulw-research

ulw-research

Unverified

Runs maximum-saturation research with a cooperating team, claim-graph gating, and a cited, QA'd deliverable. Use when the user explicitly asks for research or a deep investigation, including any 'ulw' research wording.

FileKindSize
AGENTS.mdmarkdown9.2 KB
ATTRIBUTION.mdmarkdown2.4 KB
SKILL.mdskill md42.2 KB
references/deliverable-phase.mdmarkdown49.1 KB
references/fact-ledger-grammar.mdmarkdown6.8 KB
references/fact-ledger.mdmarkdown24.4 KB
references/fidelity-claim-kinds.mdmarkdown5.2 KB
references/markdown-blocks.mdmarkdown721 B
references/report-gates.mdmarkdown32.0 KB
references/report-visualization.mdmarkdown15.4 KB
references/research-collection.mdmarkdown26.8 KB
references/research-delivery.mdmarkdown14.3 KB
references/unit-rules.mdmarkdown16.3 KB
scripts/claim-kinds.mjsscript11.2 KB
scripts/claim-kinds.test.tsscript13.5 KB
scripts/claim-prefix.test.tsscript4.9 KB
scripts/claims-index.mjsscript5.3 KB
scripts/claims-index.test.tsscript5.7 KB
scripts/cli-support.mjsscript4.1 KB
scripts/cli-support.test.tsscript4.3 KB
scripts/contracts-validation.test.tsscript3.3 KB
scripts/contracts.mjsscript26.1 KB
scripts/contracts.test.tsscript7.9 KB
scripts/conversion-altered.test.tsscript11.0 KB
scripts/conversion-originals.test.tsscript22.7 KB
scripts/conversion-probe-classes.test.tsscript45.2 KB
scripts/conversion-probe.mjsscript13.5 KB
scripts/conversion-probe.test.tsscript11.6 KB
scripts/copy-returns-fidelity-policy.test.tsscript10.4 KB
scripts/copy-returns-polish.test.tsscript12.1 KB
scripts/copy-returns.test.tsscript10.6 KB
scripts/css-hiding.mjsscript9.1 KB
scripts/css-lite.mjsscript7.6 KB
scripts/css-lite.test.tsscript6.4 KB
scripts/delivery-barrier-meaning.test.tsscript12.3 KB
scripts/delivery-barrier.test.tsscript11.4 KB
scripts/design-spec.mjsscript7.2 KB
scripts/design-spec.test.tsscript6.7 KB
scripts/entities.mjsscript2.5 KB
scripts/entry-guard.mjsscript794 B
scripts/fact-commands-fill.mjsscript6.6 KB
scripts/fact-commands-meaning.mjsscript12.6 KB
scripts/fact-commands-polish.mjsscript10.3 KB
scripts/fact-commands-verify.mjsscript12.6 KB
scripts/fact-commands.mjsscript13.8 KB
scripts/fact-derive-2.test.tsscript7.2 KB
scripts/fact-derive.mjsscript4.9 KB
scripts/fact-derive.test.tsscript10.8 KB
scripts/fact-expr.mjsscript4.5 KB
scripts/fact-fill.mjsscript11.7 KB
scripts/fact-fill.test.tsscript10.7 KB
scripts/fact-ledger-grammar.test.tsscript11.8 KB
scripts/fact-ledger-kinds.mjsscript16.5 KB
scripts/fact-ledger-kinds.test.tsscript9.3 KB
scripts/fact-ledger-legacy.test.tsscript8.9 KB
scripts/fact-ledger-schema.mjsscript11.9 KB
scripts/fact-ledger-schema.test.tsscript1.5 KB
scripts/fact-ledger.mjsscript5.5 KB
scripts/fact-ledger.test.tsscript9.7 KB
scripts/fact-locate.mjsscript12.1 KB
scripts/fact-locate.test.tsscript7.2 KB
scripts/fact-pairs.mjsscript8.3 KB
scripts/fact-pairs.test.tsscript6.6 KB
scripts/fact-recompute.mjsscript4.8 KB
scripts/fact-unit-dimensions-2.test.tsscript8.4 KB
scripts/fact-unit-dimensions.test.tsscript11.9 KB
scripts/fact-unit-rules.test.tsscript8.9 KB
scripts/fidelity-binding.mjsscript6.7 KB
scripts/fidelity-binding.test.tsscript4.0 KB
scripts/fidelity-brief.mjsscript6.4 KB
scripts/fidelity-brief.test.tsscript7.8 KB
scripts/fidelity-claims.mjsscript5.1 KB
scripts/fidelity-csv.mjsscript1.1 KB
scripts/fidelity-lexicon.mjsscript8.1 KB
scripts/fidelity-lexicon.test.tsscript6.0 KB
scripts/fidelity-originals.mjsscript9.9 KB
scripts/fidelity-policy.mjsscript10.1 KB
scripts/fidelity-records.mjsscript13.4 KB
scripts/fidelity-snapshot-readability.mjsscript2.2 KB
scripts/fidelity-sources.mjsscript4.3 KB
scripts/fidelity-state.mjsscript2.1 KB
scripts/fidelity-state.test.tsscript1.7 KB
scripts/fidelity-trace.mjsscript6.1 KB
scripts/fidelity-trace.test.tsscript3.3 KB
scripts/fidelity-value-unit.mjsscript13.3 KB
scripts/fidelity-values.mjsscript16.1 KB
scripts/fidelity-values.test.tsscript15.8 KB
scripts/format-extract-css.mjsscript5.1 KB
scripts/format-extract.mjsscript10.3 KB
scripts/format-extract.test.tsscript11.2 KB
scripts/gates-context.test.tsscript2.6 KB
scripts/gates-fidelity.mjsscript6.3 KB
scripts/gates-fidelity.test.tsscript3.3 KB
scripts/gates-figures.mjsscript9.9 KB
scripts/gates-layout.mjsscript6.6 KB
scripts/gates-layout.test.tsscript12.4 KB
scripts/gates-static-headings.test.tsscript961 B
scripts/gates-static.mjsscript8.1 KB
scripts/gates-static.test.tsscript14.9 KB
scripts/gates-structure.mjsscript4.7 KB
scripts/gates-text.mjsscript7.2 KB
scripts/glossary-vocabulary.test.tsscript1.7 KB
scripts/html-foreign-object.mjsscript2.8 KB
scripts/html-lite.mjsscript9.7 KB
scripts/html-lite.test.tsscript7.9 KB
scripts/html-markup.mjsscript7.0 KB
scripts/html-text-map.mjsscript4.8 KB
scripts/html-text-map.test.tsscript15.2 KB
scripts/layout-probe.mjsscript4.6 KB
scripts/layout-probe.test.tsscript4.2 KB
scripts/lexicon.mjsscript2.6 KB
scripts/lexicon.test.tsscript3.2 KB
scripts/markdown-closers.mjsscript4.9 KB
scripts/md-lite-boundaries.test.tsscript2.2 KB
scripts/md-lite.mjsscript7.8 KB
scripts/md-lite.test.tsscript10.3 KB
scripts/meaning-check.mjsscript9.7 KB
scripts/meaning-check.test.tsscript12.0 KB
scripts/number-grammar.mjsscript2.1 KB
scripts/number-grammar.test.tsscript1.8 KB
scripts/numerals.mjsscript12.0 KB
scripts/numerals.test.tsscript6.1 KB
scripts/outcome-start.mjsscript3.8 KB
scripts/outcome-start.test.tsscript5.0 KB
scripts/outcome.mjsscript10.5 KB
scripts/outcome.test.tsscript12.8 KB
scripts/page-source-locator.test.tsscript11.7 KB
scripts/particles-ko.mjsscript4.8 KB
scripts/particles-ko.test.tsscript4.3 KB
scripts/placeholder.mjsscript9.3 KB
scripts/placeholder.test.tsscript3.8 KB
scripts/polish-apply.mjsscript6.8 KB
scripts/polish-apply.test.tsscript19.7 KB
scripts/polish-diff.mjsscript1.7 KB
scripts/polish-diff.test.tsscript10.1 KB
scripts/polish-markup.test.tsscript14.0 KB
scripts/polish-partial.test.tsscript2.5 KB
scripts/polish-project.mjsscript5.8 KB
scripts/polish-rules.mjsscript9.8 KB
scripts/rational.mjsscript5.2 KB
scripts/rational.test.tsscript1.9 KB
scripts/raw-decode.mjsscript4.5 KB
scripts/raw-locator.mjsscript2.4 KB
scripts/raw-snapshot.test.tsscript7.3 KB
scripts/references-fences.test.tsscript1.2 KB
scripts/repair-tracker.mjsscript7.5 KB
scripts/repair-tracker.test.tsscript10.8 KB
scripts/report-tools-2.test.tsscript16.1 KB
scripts/report-tools-3.test.tsscript9.3 KB
scripts/report-tools-4.test.tsscript10.1 KB
scripts/report-tools-5.test.tsscript14.6 KB
scripts/report-tools-commands.mjsscript12.9 KB
scripts/report-tools.mjsscript2.6 KB
scripts/report-tools.test.tsscript12.1 KB
scripts/sentence-split.mjsscript3.0 KB
scripts/sentence-split.test.tsscript4.5 KB
scripts/snapshot-readability.test.tsscript7.0 KB
scripts/source-commands.mjsscript12.4 KB
scripts/source-integrity.test.tsscript18.1 KB
scripts/source-refresh.mjsscript5.2 KB
scripts/source-snapshot.mjsscript9.9 KB
scripts/source-snapshot.test.tsscript6.3 KB
scripts/source-view.mjsscript5.0 KB
scripts/sources-citation.mjsscript12.1 KB
scripts/sources-citation.test.tsscript14.8 KB
scripts/tests/contracts-support.tsscript3.5 KB
scripts/tests/delivery-barrier-session.tsscript3.3 KB
scripts/tests/derive-clock.tsscript341 B
scripts/tests/fact-derive-support.tsscript1.9 KB
scripts/tests/fact-unit-dimensions-support.tsscript1.5 KB
scripts/tests/fact-unit-rules-support.tsscript16.8 KB
scripts/tests/fidelity-values-support.tsscript1.6 KB
scripts/tests/fixtures/assets/figure-1.svgother141 B
scripts/tests/fixtures/bad-report.htmlother2.1 KB
scripts/tests/fixtures/boxes.jsonconfig3.2 KB
scripts/tests/fixtures/conversion-probe.htmlother485 B
scripts/tests/fixtures/design-spec.mdmarkdown458 B
scripts/tests/fixtures/fidelity-brief-locked.mdmarkdown571 B
scripts/tests/fixtures/fidelity-brief-pending.mdmarkdown574 B
scripts/tests/fixtures/fidelity/assets/share.csvother40 B
scripts/tests/fixtures/fidelity/claim-graph.mdmarkdown449 B
scripts/tests/fixtures/fidelity/gen-legacy-dev.mjsscript5.0 KB
scripts/tests/fixtures/fidelity/ledger-basic.jsonconfig5.1 KB
scripts/tests/fixtures/fidelity/ledger-legacy-dev.jsonconfig18.3 KB
scripts/tests/fixtures/fidelity/ledger-verify.jsonconfig9.1 KB
scripts/tests/fixtures/fidelity/polish-edits.jsonconfig303 B
scripts/tests/fixtures/fidelity/report-bad.htmlother821 B
scripts/tests/fixtures/fidelity/report-good.htmlother2.4 KB
scripts/tests/fixtures/fidelity/sources/S4.htmlother680 B
scripts/tests/fixtures/fidelity/sources/S4/acronyms.jsonconfig36 B
scripts/tests/fixtures/fidelity/sources/S4/meta.jsonconfig256 B
scripts/tests/fixtures/fidelity/sources/S4/sentences.jsonlother623 B
scripts/tests/fixtures/fidelity/sources/S4/text.txtmarkdown300 B
scripts/tests/fixtures/fidelity/sources/S5/acronyms.jsonconfig3 B
scripts/tests/fixtures/fidelity/sources/S5/meta.jsonconfig235 B
scripts/tests/fixtures/fidelity/sources/S5/sentences.jsonlother53 B
scripts/tests/fixtures/fidelity/sources/S5/text.txtmarkdown10 B
scripts/tests/fixtures/fidelity/sources/S9.txtmarkdown128 B
scripts/tests/fixtures/good-report.htmlother2.7 KB
scripts/tests/fixtures/reference-report.htmlother2.5 KB

scripts/conversion-probe.test.ts

View on GitHub
import { describe, expect, onTestFinished, test } from "bun:test"
import { spawnSync } from "node:child_process"
import { mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs"
import { tmpdir } from "node:os"
import { join } from "node:path"

import { numberKey } from "./conversion-probe.mjs"
import { readFidelityRecord } from "./fidelity-records.mjs"
import { writeSnapshot } from "./source-snapshot.mjs"

const CLI = join(import.meta.dir, "report-tools.mjs")
const FIXTURE = readFileSync(join(import.meta.dir, "tests/fixtures/conversion-probe.html"), "utf8")
const FLATTENED = FIXTURE.replace(/<[^>]*>/g, "")
// Superscript boundaries preserve 4.2 + 2, 27.3 + 1 and 10 + 9 in raw.
const ALTERED = ["4.22", "27.31", "109"]

function sandbox(): string {
  const dir = mkdtempSync(join(tmpdir(), "conversion-probe-"))
  onTestFinished(() => rmSync(dir, { recursive: true, force: true }))
  return dir
}

function probe(raw: string, converted: string) {
  const dir = sandbox()
  const rawFile = join(dir, "raw.html")
  const convertedFile = join(dir, "converted.txt")
  writeFileSync(rawFile, raw)
  writeFileSync(convertedFile, converted)
  const proc = spawnSync("node", [CLI, "source", "probe-conversion", rawFile, convertedFile], { encoding: "utf8" })
  expect(proc.error).toBeUndefined()
  expect(proc.stdout, proc.stderr).not.toBe("")
  return { exitCode: proc.status, json: JSON.parse(proc.stdout) }
}

describe("source probe-conversion", () => {
  test("#given the probe page #when naively flattened #then only fabricated numbers are altered", () => {
    const result = probe(FIXTURE, FLATTENED)
    expect(result.exitCode).toBe(1)
    // Stripping the adjacent table tags also joins Total's 2 to the first cell.
    // The flatten glues Total's 2 onto 12,345 and 12,345 onto 15,678: "212,34515,678".
    expect(result.json.altered).toEqual([...ALTERED, "212,34515", "678"])
    expect(result.json.lost).toContain("2026")
    expect(result.json.lost).not.toContain("99.9")
    expect(result.json.altered).not.toContain("99.9")
  })

  test("#given a plain text #when compared to itself #then identity passes without alterations", () => {
    const text = "USD 4.2 billion; 1,234.5 units; 1 234 567 people; -3.5 and 2019-2023."
    const result = probe(text, text)
    expect(result.exitCode).toBe(0)
    expect(result.json.altered).toEqual([])
    expect(result.json.lost).toEqual([])
    expect(result.json.converted_count).toBe(result.json.raw_count)
  })

  test("#given a tag-split decimal #when compared with text #then each side has one number", () => {
    const result = probe("<span>1</span><span>,</span><span>234.5</span>", "1,234.5")
    expect(result).toEqual({ exitCode: 0, json: { altered: [], lost: [], raw_count: 1, converted_count: 1 } })
  })

  test.each(["\u202f", "\u00a0"])(
    "#given %s thousands separators #when converted to spaces #then grouping is equivalent",
    (separator: string) => {
      const result = probe(`1${separator}234${separator}567`, "1 234 567")
      expect(result).toEqual({ exitCode: 0, json: { altered: [], lost: [], raw_count: 1, converted_count: 1 } })
    },
  )

  test("#given a machine date #when its attribute is removed #then it is lost, not altered", () => {
    const result = probe('<time datetime="2026-10-01T09:00:00Z">1 Oct</time>', "1 Oct")
    expect(result.exitCode).toBe(0)
    expect(result.json.altered).toEqual([])
    expect(result.json.lost).toEqual(["2026", "10", "01", "09", "00", "00"])
  })

  test("#given repeated signed decimals #when one count increases #then multiset subtraction preserves the excess", () => {
    const result = probe("-4.2 +7 2", "-4.2 +7 2; 2")
    expect(result.exitCode).toBe(1)
    expect(result.json.altered).toEqual(["2"])
    expect(result.json.lost).toEqual([])
  })

  test("#given hidden text #when omitted by conversion #then the number is only lost", () => {
    const result = probe('<span style="display:none">99.9</span>', "")
    expect(result.exitCode).toBe(0)
    expect(result.json.altered).toEqual([])
    expect(result.json.lost).toEqual(["99.9"])
  })
})

describe("one grouped-number grammar: a digit glued after the last group is an alteration", () => {
  test("#given a footnote glued onto a grouped number #when probed #then it is altered", () => {
    expect(probe("$1,234<sup>5</sup> million", "$1,2345 million").json.altered).toEqual(["1,2345"])
    expect(probe("<table><tr><td>12,345<sup>1</sup></td></tr></table>", "12,3451").json.altered).toEqual(["12,3451"])
  })

  test("#given the same cell through the built-in snapshot #when written #then conversion.json lists it", () => {
    const { dir } = writeSnapshot(join(sandbox(), "sources"), "S1", {
      path: "t.html",
      html: "<table><tr><td>12,345<sup>1</sup></td></tr></table>",
      extractor: "model",
      observed_at: "2026-10-25T00:00:00Z",
    })
    expect(readFidelityRecord(join(dir, "conversion.json"), "source_conversion").conversion_altered_numbers).toEqual([
      "12,3451",
    ])
  })
})

describe("Markdown-shaped converter output reports only real artifacts", () => {
  const RAW = [
    '<p>Revenue was 4.2<sup>2</sup> billion.<sup><a href="#cite_note-7">[7]</a></sup></p>',
    '<p><a href="https://example.com/2024/03/report-4">Report</a> covers q4-2023.</p>',
    '<p><img src="chart-640x480.png" alt="Chart 2023" title="Fig 4"></p>',
    "<table><tr><td>12,345<sup>1</sup></td><td>1&#8201;234&#8201;567</td></tr></table>",
    "<p>From 2019\u20132023 the index fell \u22123.5 points.</p>",
  ].join("\n")
  const MARKDOWN = [
    "Revenue was 4.22 billion.[[7]](#cite_note-7)",
    "",
    "[Report](https://example.com/2024/03/report-4) covers q4-2023.",
    "",
    '![Chart 2023](chart-640x480.png "Fig 4")',
    "",
    "| 12,3451 | 1\u2009234\u2009567 |",
    "",
    "From 2019-2023 the index fell -3.5 points.",
  ].join("\n")

  test("#given markdownify-shaped text #when probed #then altered is exactly 4.22 and 12,3451", () => {
    expect(probe(RAW, MARKDOWN).json.altered).toEqual(["4.22", "12,3451"])
  })

  test("#given the same page through the built-in snapshot #when written #then only the real artifacts are altered", () => {
    const { dir } = writeSnapshot(join(sandbox(), "sources"), "S1", {
      path: "m.html",
      html: RAW,
      extractor: "model",
      observed_at: "2026-10-25T00:00:00Z",
    })
    expect(readFidelityRecord(join(dir, "conversion.json"), "source_conversion").conversion_altered_numbers).toEqual([
      "4.22",
      "12,3451",
    ])
  })

  test("#given a converted text that looks like a tag #when probed #then it is never parsed as HTML", () => {
    expect(
      probe("<p>if a&lt;b then revenue was 4.2<sup>2</sup> billion</p>", "if a<b then revenue was 4.22 billion").json
        .altered,
    ).toEqual(["4.22"])
  })
})

describe("whitespace and separators match the snapshot side", () => {
  for (const [raw, converted] of [
    ["<p>1&#8201;234&#8201;567</p>", "1 234 567"],
    ["<p>1&#8199;234</p>", "1 234"],
    ["<table><tr><td>2,500<br>300</td></tr></table>", "2,500 300"],
    ["<ul><li><p>in 2023</p><p>500 sites</p></li></ul>", "in 2023 500 sites"],
    ["<p>1,250\n300</p>", "1,250 300"],
    ["<p><span>1</span>\n<span>234</span></p>", "1 234"],
  ]) {
    test(`#given ${JSON.stringify(raw)} #when converted to ${JSON.stringify(converted)} #then nothing is altered`, () => {
      const result = probe(raw, converted)
      expect(result.json.altered).toEqual([])
      expect(result.exitCode).toBe(0)
    })
  }
})

test("#given HTML snapshot conversion #when written #then source warnings use the fidelity envelope", () => {
  const { dir } = writeSnapshot(join(sandbox(), "sources"), "S1", {
    path: "fixture.html",
    html: FIXTURE,
    extractor: "model",
    observed_at: "2026-10-25T00:00:00Z",
  })
  const record = readFidelityRecord(join(dir, "conversion.json"), "source_conversion")
  expect(record.conversion_altered_numbers).toEqual(ALTERED)
  expect(record.record_kind).toBe("source_conversion")
  expect(record.artifact_sha256).toMatch(/^[0-9a-f]{64}$/)
  expect(record.report).toBe(join(dir, "source.html"))
  expect(record.written_at).toBe("2026-10-25T00:00:00.000Z")
  expect(record.defects).toEqual([])
})

describe("attribute digits cover only a number inside Markdown link or image syntax", () => {
  const GLUED = "<p>Output reached 10<sup>9</sup> kWh</p>"
  const BOOK = '<p><a href="https://books.example/b?id=x&amp;pg=PA109">book</a></p>'

  test("#given an href page number 109 #when the prose shows a glued 10<sup>9</sup> #then 109 is altered in flat and Markdown output", () => {
    expect(probe(`${GLUED}${BOOK}`, "Output reached 109 kWh\n\nbook").json.altered).toEqual(["109"])
    expect(
      probe(`${GLUED}${BOOK}`, "Output reached 109 kWh\n\n[book](https://books.example/b?id=x&pg=PA109)").json.altered,
    ).toEqual(["109"])
  })

  test("#given #ref1..#ref45 links #when 4<sup>2</sup> is glued into 42 #then 42 is altered", () => {
    const links = Array.from({ length: 45 }, (_, k) => `<a href="#ref${k + 1}">note</a>`).join(" ")
    const markdown = Array.from({ length: 45 }, (_, k) => `[note](#ref${k + 1})`).join(" ")
    expect(
      probe(`<p>Area grew 4<sup>2</sup> times.</p><p>${links}</p>`, `Area grew 42 times.\n\n${markdown}`).json.altered,
    ).toEqual(["42"])
  })

  test("#given an image named chart-109.png #when the built-in snapshot writes the page #then 109 is altered", () => {
    const { dir } = writeSnapshot(join(sandbox(), "sources"), "S1", {
      path: "g.html",
      html: `${GLUED}<p><img src="chart-109.png"></p>`,
      extractor: "model",
      observed_at: "2026-10-25T00:00:00Z",
    })
    expect(readFidelityRecord(join(dir, "conversion.json"), "source_conversion").conversion_altered_numbers).toEqual([
      "109",
    ])
  })
})

describe("cell, row, list-item and line breaks never group digits", () => {
  for (const [raw, converted] of [
    ["<table><tr><td>3</td><td>250</td><td>100</td></tr></table>", "| 3 | 250 | 100 |"],
    ["<table><tr><td>12</td><td>345</td></tr></table>", "| 12 | 345 |"],
    ["<ul><li>3</li><li>250</li></ul>", "- 3\n- 250"],
    ["<p>3</p><p>250</p>", "3\n250"],
  ]) {
    test(`#given ${JSON.stringify(raw)} #when converted to ${JSON.stringify(converted)} #then nothing is altered or lost`, () => {
      expect(probe(raw, converted)).toMatchObject({ exitCode: 0, json: { altered: [], lost: [] } })
    })
  }

  test("#given 1 234 567 inside one cell #when converted to a Markdown row #then it stays one grouped number", () => {
    expect(probe("<table><tr><td>1 234 567</td><td>8</td></tr></table>", "| 1 234 567 | 8 |")).toEqual({
      exitCode: 0,
      json: { altered: [], lost: [], raw_count: 2, converted_count: 2 },
    })
  })
})

describe("a period group needs an unambiguous shape; a dropped minus is altered", () => {
  test("#given 1.234 and 1,234 #when keyed #then they differ, and 1.234.567 still groups", () => {
    expect(numberKey("1.234")).not.toBe(numberKey("1,234"))
    expect(numberKey("1.234.567")).toBe(numberKey("1,234,567"))
    expect(numberKey("1.234,5")).toBe(numberKey("1,234.5"))
  })

  test("#given a glued 12.34<sup>5</sup> beside a real 12,345 #when flattened #then the glued 12.345 is the altered token", () => {
    expect(probe("<p>12.34<sup>5</sup> and 12,345</p>", "12.345 and 12,345").json.altered).toEqual(["12.345"])
  })

  test("#given a minus touching Hangul or an en dash minus #when the sign is dropped #then the unsigned number is altered", () => {
    expect(probe("\uAC10\uC18C\uC728-3.5%", "\uAC10\uC18C\uC728 3.5%").json.altered).toEqual(["3.5"])
    expect(probe("fell \u20135%", "fell 5%").json.altered).toEqual(["5"])
    expect(probe("cite_note-7 and 2019\u20132023", "cite_note-7 and 2019-2023").json.altered).toEqual([])
  })
})
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall