لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI تاریخ شمسی… --:--:--

Resolve Repository State

آزاد تازه‌وارد تاییدشده امن

قواعد و مراحل استاندارد عامل‌های هوش مصنوعی را به دستیار هوش مصنوعی اضافه می‌کند تا خروجی یکدست بگیرید. (شامل ۹ گام عملی · سازگار با Claude Code).

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: resolve-repository-state
user-invocable: true
version: 5.0.1
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.

The snapshot's shape and its freshness rule are one contract —
[STATE_CONTRACT.md](references/STATE_CONTRACT.md) (`repository-state@1`).
A re-freeze moves `covers-through`; `runner repository-state` is the
read-only reader that judges it, so a snapshot whose last coverage date predates
a recorded decision is reported `stale` instead of being consumed as current.

## 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.
<!-- ‹guest · 2026-12-05› -->

## 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

Preamble + no-slash-menu fallback: owned by
[`PORTABILITY.md`](../orchestration-envelope/references/PORTABILITY.md) — this
skill has no fallback of its own beyond it: the process is reading, verifying
and writing one ledger, and a host without a slash menu runs it as written.

## 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.
<!-- ‹guest · 2026-12-05› -->

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

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
عامل‌های هوش مصنوعی
✦ Pro

REA

دستورالعمل اجرایی آماده برای انجام دقیق کارهای عامل‌های هوش مصنوعی بدون تکرار پرامپت‌های طولانی. (شامل ۶۵ گام عملی · سا…

⚡ /reverse-engineer-anything SKILL.md
Claude / Claude CodeOpenAI Codex +۲
۹۴/۱۰۰ ★ ۴۷۹,۷۷۳
عامل‌های هوش مصنوعی
✦ Pro

Verification Before Completion

این مهارت با نام «Verification Before Completion» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ …

⚡ /verification-before-completion SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Dispatching Parallel Agents

این مهارت با نام «Dispatching Parallel Agents» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ کاف…

⚡ /dispatching-parallel-agents SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Using Git Worktrees

این مهارت با نام «Using Git Worktrees» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ کافی است در…

⚡ /using-git-worktrees SKILL.md
Cline
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Subagent-Driven Development

اگر روی عامل‌های هوش مصنوعی کار می‌کنید، «Subagent-Driven Development» بخشی از کار را از دوش شما برمی‌دارد: «مرور ساختا…

⚡ /subagent-driven-development SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

The Rule

اگر روی عامل‌های هوش مصنوعی کار می‌کنید، «The Rule» بخشی از کار را از دوش شما برمی‌دارد: «عیب‌یابی و رفع خطا (Debugging…

⚡ /using-superpowers SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۱/۱۰۰ ★ ۳۲۴,۲۹۰