Skip to content
Development
Skill

/resolve-repository-state

Resolve an explicit Normalized Repository State contradiction. This is the sole writer allowed to update frozen repository facts or accepted decisions. Triggers: "resolve repository state", "resolve contradiction", "update a frozen repository fact".

From plugin
agentic-workflow
2330 skills

Claude Code

$ npx -y skills add gtrabanco/agentic-workflow --skill resolve-repository-state --agent claude-code

SKILL.md

resolve-repository-state.SKILL.md
name: resolve-repository-state
user-invocable: true
version: 4.10.0
argument-hint: <contradiction-id>
description: >
  Resolve an explicit Normalized Repository State contradiction. This is the
  sole writer allowed to update frozen repository facts or accepted decisions.
  Triggers: "resolve repository state", "resolve contradiction", "update a
  frozen repository fact".

Resolve Repository State

Resolve evidence conflicts explicitly and publish the next frozen snapshot.

Turn contract

Load and verify the **canonical** [Turn contract](../orchestration-envelope/references/TURN_CONTRACT.md) (11 boxes) before ending every turn. Skill-specific additions:

✓ A named contradiction and both evidence sources were read
✓ The disposition is accepted, rejected, or needs-input
✓ Accepted/rejected results publish a frozen snapshot; needs-input stops without freezing
✓ No unrelated fact or decision changed

Missing reference → STOP. About to end the turn with any box unchecked? The turn is NOT done — complete the missing box first.

Step 0 — Discover the project (always first)

Read the agent guide, documentation map, frozen ledger, and the requested contradiction before deciding anything.

Process

1. Read the frozen ledger and the contradiction row named by the user. 2. Verify both the frozen fact's evidence and the proposed new evidence. 3. Choose one result: accept new evidence, reject it, or request human input. 4. If human input is required, update the contradiction row with the exact missing evidence or decision, keep snapshot status `contradicted`, and stop without incrementing the snapshot identifier or publishing a frozen snapshot. 5. For an accepted result, supersede the fact or decision with a new row that cites both evidence sources. For a rejected result, retain the fact and record why. 6. For accepted or rejected results only, update the contradiction row, increment the snapshot identifier, set status to `frozen`, and record the next frozen snapshot's source revision.

Guardrails

  • This skill is the sole writer for updates to frozen facts and accepted decisions.
  • A consumer may propose a contradiction but never resolve it inline.
  • Inference and documentation alone are insufficient to update a fact.

Portability

Without a slash menu, open this file and follow its process in a fresh turn.

Relationship to other skills

Consumes contradictions from every workflow role and produces the snapshot that discovery, planning, execution, review, and audit reuse. The contradiction's `Reported by` field identifies the interrupted role to resume; resolution never defaults a review, audit, or status interruption to planning.

Done when

The contradiction has a recorded disposition, and either the next frozen snapshot is internally consistent or the missing human input is explicit.

If human input is required:

→ Next: provide the requested evidence or decision — resolution cannot continue yet · evidence supplied → rerun /resolve-repository-state <contradiction-id>

Otherwise:

→ Next: resume the interrupted workflow named by `Reported by` — continue from the resolved snapshot · planning was interrupted → /unit-lane <slug> · implementation was interrupted → /execute-phase <NN> · review, audit, or status was interrupted → rerun that same skill

Read more
@gtrabanco
Ships withagentic-workflow

A reusable set of agent skills that run a disciplined, doc-driven workflow for building software with agents — from idea/issue to a reviewed, classified, merge-ready change.

Stars on GitHub

Momentum

stars in total
23
Star history of gtrabanco/agentic-workflow on GitHub, a chart by star-history.com

Other skills on agentic-workflow.

audit-docs

audit-docs

Audit cross-document coherence: docs ↔ READMEs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the…

audit-pr

audit-pr

Audit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the…

fold-findings

fold-findings

Repair persisted fix-now findings in compatible atomic batches: root-cause fixes, green gate, commit/push, and per-row `folded:…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about resolve-repository-state.

Which coding agents can use resolve-repository-state?
resolve-repository-state installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.