Fernando Ramos← All skills04 of 09
← All skills

/crucible

Decide · Pre-code ladder and five-axis grilling

Reads the codebase first with path:line facts, applies the skip/reuse/stdlib/minimal ladder, evaluates five axes, and asks at most 3 open design-changing questions per batch.

npx skills@latest add luci-efe/skills -s crucible

  • DecideStage
  • 06 Autonomy with ownershipMethod
  • .ramos/decisions/<topic>.mdProduced artifact / output

Use when

A feature, refactor, or design is underspecified or has competing approaches before writing code.

Support & adapters

  • Instructions usable across harnesses

Decision tree

  1. 01

    Step 1: Read first (no questions yet)

    Write what the code already decides as facts with path:line

    → Code-settled facts recorded
  2. 02

    Step 2: The ladder

    1. Skip/delete? → 2. Already in repo? → 3. In stdlib/existing dep? → 4. Minimal new code

    → No speculative abstractions
  3. 03

    Steps 3–4: Five axes & open questions

    Check Scope, Data/state invariants, Failure modes, Security/trust boundaries, Verification proof; ask max 3 questions per batch

    → Settled, assumed, or answered axes
  4. 04

    Step 5: Record decision file

    Write .ramos/decisions/<topic>.md with Facts, Ladder outcome, Axes table, Out of scope, and Proof command

    → .ramos/decisions/<topic>.md

Prerequisites & install recipes

  • rgrequired · default branchrg
    brew install ripgrep

Completion criteria

  • Every axis (Scope, Data/state invariants, Failure modes, Security/trust boundaries, Verification proof) is settled, assumed, or answered.
  • Asks at most 3 questions per batch, each with a recommended answer and trade-off.
  • Writes .ramos/decisions/<topic>.md naming the exact command(s) /proof will run.

Example

A deliberately underspecified request in a TypeScript harness: "add a guard rule for chained shell commands". The skill reads the code first and only then asks.

What was run

/crucible add a guard rule for chained shell commands

Output (excerpt)

Step 1: read first (facts, with path:line)
- A chain splitter already exists in the guard module, and most of the shell
  analyses are built on it.
- Existing tests cover chained forms.
- Baseline: the guard tests pass.

Step 2: the ladder
1. Skip or delete?              No, the gaps are reproducible.
2. Already in the repo?         Yes: reuse the chain splitter. Extend the splitter; no parallel parser.
3. Dependency or stdlib?        A real shell parser would be a heavy new dependency; rejected.
4. New code:                    the minimum change to the existing splitter.

Step 3: five axes (excerpt)
Scope                 assumed   extend the existing splitter
Failure modes         assumed   fail closed on unparsable input
Verification proof    settled   add failing cases as table rows first (red), then fix

What it found. The requested "new rule" mostly already existed (a chain splitter), the real gap was narrower, and a scratch prototype of the obvious change broke 1 of the baseline tests, a design constraint no stakeholder question would have surfaced. Nothing was implemented.

Caveat. Specifics of the findings are omitted here because they concern unreleased code. The skill writes its record under the state directory, which should be git-ignored.

View skill source on GitHub

Want something like this built for your company?

Book a callMessage me on LinkedInSee Agentic Engineering
← All skills