code-yeongyu/oh-my-openagent / packages/shared-skills/skills/ulw-research
ulw-research
UnverifiedRuns 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.
scripts/gates-static-headings.test.ts
View on GitHubimport { describe, expect, test } from "bun:test"
import { buildContext, checkStatic } from "./gates-static.mjs"
import { parseHtml } from "./html-lite.mjs"
describe("HTML exact Closing headings", () => {
test.each([
["Closing", "closing", false],
["Closing the gap: GPU prices", null, true],
] as const)(
"#given %s as an HTML heading #when checked #then closing scope matches the whole heading",
(heading: string, kind: string | null, missing: boolean) => {
const root = parseHtml(`<h2>${heading}</h2><p>Prices fell 8%.</p>`)
expect(buildContext(root, {}).sections.map((section: { kind: string | null }) => section.kind)).toEqual([kind])
const { defects } = checkStatic(root, {})
expect(defects.some((defect) => "code" in defect && defect.code === "missing_closing_section")).toBe(missing)
expect(defects.some((defect) => "code" in defect && defect.code === "unsourced_number")).toBe(missing)
},
)
})
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| 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: 198k | Updated | Claude CodeCodex | Verified | Install |