ワンクリックで
rein-inspect
Understand a codebase and maintain .rein/codebase/ as a navigable map with evidence-backed findings
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Understand a codebase and maintain .rein/codebase/ as a navigable map with evidence-backed findings
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Runtime-backed Socratic interview with durable state, clarity scoring, and spec bundle output
Run one task through the full REIN flow from clarification through implementation, cleanup, review, and verification
Use before committing. Self-reviews the current diff for unrelated changes, debug leftovers, test weakening, and scope drift.
Run a regression-tests-first cleanup/refactor workflow to reduce slop
Use after triage, before implementation. Breaks complex work into sequenced steps with risks, checkpoints, rollback boundaries, and interview-result handoff support.
Use before ambiguous or multi-file work. Surfaces relevant files, assumptions, success criteria, and cheating boundaries.
| name | rein-inspect |
| description | Understand a codebase and maintain .rein/codebase/ as a navigable map with evidence-backed findings |
| argument-hint | [optional scope or subsystem] |
rein-inspect is a documentation-first reconnaissance skill. Its job is to understand a codebase carefully and maintain a durable map of that understanding under .rein/codebase/.
The skill produces:
.rein/codebase/MAP.md.rein/codebase/It observes and records. It does not recommend fixes.
Use this skill when:
Do not use this skill when:
.rein/codebase/.Always maintain this docs tree:
.rein/
codebase/
MAP.md
<topic>.md
<topic>.md
MAP.md is the entrypoint. It should explain the major sections of the codebase and link to the topical docs.
Topical docs should be created from discovered domains, not a hard-coded list. Examples might include:
architecture.mdfrontend.mdbackend.mddata-flow.mdtesting.mdtooling.mdThe exact set depends on the repo.
Establish scope
Discover the repo shape
Group the codebase into stable domains
Read enough to support each claim
Write or update MAP.md
Write or update topical docs
Review for drift
Each generated topical doc should use this minimum structure:
# <Topic>
## What This Area Does
- concise responsibility summary
## Key Paths
- important directories, files, or entrypoints
## How It Works
- main flows, control paths, or lifecycle notes
## Patterns And Conventions
- repeated local patterns, boundaries, and best practices embodied in the code
## Dependencies And Touchpoints
- what this area depends on
- what depends on it
## Findings
- observed findings
- evidence-backed inferred risks
Keep sections concise. Expand only when the code actually justifies it.
Findings may include:
Findings must not include:
When writing an inferred risk:
The model is expert inspection: understand carefully, note what is there, note what looks risky, and hand over the notes.
The output is good enough when:
.rein/codebase/MAP.md gives a reliable starting point for navigating the repo.rein/codebase/MAP.md exists and links to the topical docsFindings section