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
mdr add nytc69/review-loop/reorganize@git:20260402.b86bf98mdr add nytc69/review-loop/reorganize@sha256:a9c3eccd02f40d05Pin 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.
[](https://markdownregistry.com/a/art_ve26ph3r7hfjgl5c)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260402.b86bf98 latest | 2026-04-02 | b86bf98 | 5,791 B | A | view · diff |
| git:20260402.684d565 | 2026-04-02 | 684d565 | 5,405 B | A | view |
Audit of the latest version
- 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
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
Every file in nytc69/review-loop