Home / nytc69 / review-loop · skills/reorganize/SKILL.md · GitHub

reorganize skillA

reorganize is agent-read markdown (skill) from nytc69/review-loop: Reorganize code file structure: rearrange modules, extract reuse, remove redundancy, add section comments. Preserves all functionality and logic..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# Code File Reorganization

Restructure the specified code files: rearrange module layout, reorder logically, extract shared logic, remove redundancy, add section separators and comments. **Must not change any functionality or logic.**

## Target Scope

`$ARGUMENTS` specifies the target:
- **File path**: `/reorganize src/engine.go` — reorganize a single file
- **Directory path**: `/reorganize src/core/` — reorganize all code files in the directory
- **`diff`**: `/reorganize diff` — reorganize all uncommitted files (via `git diff --name-only --diff-filter=d HEAD`)

If no argument is provided, prompt the user to specify a target.

## Execution Flow

### Step 1: Determine File List

Resolve the file list from `$ARGUMENTS`. For directories, recursively collect all code files (excluding vendor, node_modules, generated files, etc.). For `diff`, collect all uncommitted modified files (staged + unstaged).

Output:

```
REORGANIZE
  Target:    {file/dir/diff}
  Files:     {N} files
  {file list}
```

### Step 2: Analyze and Reorganize Each File

Process files one at a time. Complete each file before moving to the next.

#### 2.1 Read and Analyze Current Structure
…

Read the whole file at its exact version.

How to install

Latest version
mdr add nytc69/review-loop/reorganize@git:20260402.b86bf98
Exact content
mdr add nytc69/review-loop/reorganize@sha256:a9c3eccd02f40d05

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ve26ph3r7hfjgl5c.svg)](https://markdownregistry.com/a/art_ve26ph3r7hfjgl5c)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260402.b86bf98 latest2026-04-02 b86bf98 5,791 BA view · diff
git:20260402.684d5652026-04-02 684d565 5,405 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5791 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nytc69/review-loop · 3 stars · license Apache-2.0 · pushed 2026-09-23 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ve26ph3r7hfjgl5c
GET https://markdownregistry.com/api/v1/resolve?ref=nytc69/review-loop/reorganize
GET https://markdownregistry.com/api/v1/blob/a9c3eccd02f40d05e0e7d446036404f9d622ba4f431459451b4e6e24731108fc

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from nytc69/review-loop

execute skill
nytc69/review-loop · .agents/skills/execute/SKILL.md · Codex Stage 1 execute skill. Run the execution + quality polish + delivery stages of review-loop against one of three…
git:20260919.2175063 · audit A · 3 stars
guide skill
nytc69/review-loop · .agents/skills/guide/SKILL.md · Codex Stage 1 guide for review-loop and the shared Claude/Codex state model.
git:20260916.8dd269c · audit A · 3 stars
plan skill
nytc69/review-loop · .agents/skills/plan/SKILL.md · Codex Stage 1 planning-only skill. Drives a work item from raw description to a reviewer-approved plan in…
git:20260919.2175063 · audit A · 3 stars
review-loop skill
nytc69/review-loop · .agents/skills/review-loop/SKILL.md · Codex-native Stage 1 review-loop skill. Orchestrates planning and execution with a Codex Executor and Claude/Codex…
git:20260919.2175063 · audit A · 3 stars
CLAUDE.md claude
nytc69/review-loop · CLAUDE.md
git:20260919.2175063 · audit A · 3 stars
DESIGN.md design
nytc69/review-loop · DESIGN.md
git:20260419.3b9deb7 · audit A · 3 stars
code-quality-loop skill
nytc69/review-loop · skills/code-quality-loop/SKILL.md · Iterative review-fix loop: reviews code, auto-fixes issues, repeats until clean or stuck. Finishes with reorganize (for…
git:20260919.2cc1340 · audit A · 3 stars
execute skill
nytc69/review-loop · skills/execute/SKILL.md · Run the execution + quality polish + delivery stages of review-loop against one of three entry modes: resume an…
git:20260916.8dd269c · audit A · 3 stars
guide skill
nytc69/review-loop · skills/guide/SKILL.md · Show review-loop usage guide: how it works, commands, configuration, and key features. Use when the user asks for help…
git:20260916.8dd269c · audit A · 3 stars
plan skill
nytc69/review-loop · skills/plan/SKILL.md · Run the planning phase only: drive a work item from raw description to a reviewer-approved plan in…
git:20260916.8dd269c · audit A · 3 stars
review-loop skill
nytc69/review-loop · skills/review-loop/SKILL.md · Automates a Plan-Execute-Review workflow with built-in iteration loops. An Orchestrator coordinates an Executor…
git:20260916.8dd269c · audit A · 3 stars
review-pr skill
nytc69/review-loop · skills/review-pr/SKILL.md · Comprehensive code review using specialized agents. Each agent focuses on a different quality aspect (code, errors…
git:20260919.2cc1340 · audit A · 3 stars

Every file in nytc69/review-loop

Other files named reorganize

reorganize skill
coalesce-labs/catalyst · plugins/meta/skills/reorganize/SKILL.md · Analyze and reorganize a directory structure with safe reference updates
v1.0.0 · audit A · 20 stars

Browse by kind, by grade A, or by owner.