agentsclimarketplace

Ox decision

Skill sageox/ox/.claude/skills/ox-decision

Consult team context BEFORE creating or editing a Decision Record (ADR, DDR, architecture/design decision doc). Auto-fire when the user asks to "write an ADR", "add a decision record", "amend/update ADR-NNN", cites a DR by number, or edits a file under docs/adr/ or docs/decisions/. Run `ox decision enrich --topic "<subject>"` before drafting a new DR and `ox decision enrich --file <dr.md>` before editing an existing one — related decisions, numbering, conventions, drift, and ready-to-paste citations at zero LLM cost. Follow the returned `guidance`.From its SKILL.md

Install
npx -y skills add sageox/ox --skill ox-decision

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.6 KB, as published. Nobody here has run it

<!-- Thin by design. The authoritative DR contract — consult-before-drafting, the crediting rules (paste SOURCE refs verbatim, never compose by hand, SageOx credit subtle and capped), amendment semantics, and ref verification — lives in the <decision-record-guidance> block of `ox agent prime` (Layer-1 floor) and in the `guidance` field of `ox decision enrich` JSON, which reach every primed AI coworker. This native skill adds discovery and activation ergonomics; it duplicates no behavior. Do not grow this body. -->

Use when

The task creates, edits, amends, or cites a Decision Record.

Do

  1. New DR: ox decision enrich --topic "<subject>" — BEFORE drafting.
  2. Existing DR: ox decision enrich --file <path> — BEFORE editing, and again after your edit (it re-verifies every ref).
  3. Follow the guidance string in the JSON output — it carries the corpus conventions, crediting contract, and verification rule for this repo.

DR full text is searchable via ox code search "<terms>".

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.