Logo von Refactor Structure

Refactor Structure

Community
ShaishavMaisuria
refactor-structure

Analysiert und verbessert den Aufbau der Argumentation und den Erzählfluss eines Artikels – unabhängig von einer bestimmten Konferenz. Prüft, ob die Inhalte in der richtigen Reihenfolge aufgebaut sind, jeder Abschnitt seine Aufgabe erfüllt, die Einleitung hält, was sie verspricht, und die Argumentationskette von Beitrag über Belege bis zum Schluss trägt. Erstellt anschließend einen Umstrukturierungsplan (Abschnitte verschieben, zusammenführen, aufteilen oder streichen), den der Autor genehmigt, BEVOR etwas umgeschrieben wird. Verwenden Sie diesen Skill, wenn ein Forschender sagt: „Der Aufbau stimmt nicht“, „Der Text liest sich nicht flüssig“, „Die Gutachter meinten, der Text sei schwer nachvollziehbar / ungeordnet / die Argumentation sei unklar“, „Meine Einleitung verspricht zu viel“, „Der Stand der Forschung steht an der falschen Stelle“, „Dieser Abschnitt passt hier nicht hin“, „Strukturiere meinen Artikel neu“, „Verbessere den Erzählfluss“ oder „Die Beiträge passen nicht zu den Ergebnissen“. Nicht zu verwechseln mit der Anpassung an eine Konferenz (Passung zu Konferenz und Track, Seitenbegrenzungen, Vorlagen) oder der sprachlichen Überarbeitung (Formulierungen auf Satzebene). Enthält outline_extract.py, das den Abschnittsbaum und den ersten Satz jedes Abschnitts ausgibt, damit der Aufbau auf einen Blick überprüft werden kann.

Add to TypingMind

Übersicht

HerausgeberShaishavMaisuria
Repositoryresearch-paper-lifecycle-skills
Skill-Namerefactor-structure
Sterne
59
Forks
22
Mitgelieferte Dateien
3
LizenzApache-2.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • Mitgelieferte Dateien: 3

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von ShaishavMaisuria auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Refactor Structure in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/ShaishavMaisuria/research-paper-lifecycle-skills/tree/main/skills/refactor-structure
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ShaishavMaisuria/research-paper-lifecycle-skills.git /tmp/research-paper-lifecycle-skills
mkdir -p .claude/skills
cp -r /tmp/research-paper-lifecycle-skills/skills/refactor-structure .claude/skills/refactor-structure
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Refactor Structure in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Refactor Structure automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Refactor Structure nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Refactor Structure

Fix the architecture of the argument, not its words. A paper can be grammatical, on-template, and within the page limit and still fail because the story is assembled in the wrong order, a section doesn't do its job, the introduction promises things the body never delivers, or the conclusion outruns the evidence. This skill diagnoses those problems and produces a restructuring plan — move / merge / split / cut, with the reasoning for each — that the author approves before a single section is rewritten.

It plans and (on approval) executes the moves. It does not reword sentences (that is polish-prose) and it does not fit the paper to a venue's rules (that is tailor-to-venue).

When to use

  • "The structure feels off" / "it doesn't flow" / "reorganize my paper".
  • Reviewers said: hard to follow, disorganized, the story is unclear, the contribution is buried, related work is in the wrong place, a section doesn't belong.
  • The intro over-promises (claims a proof / user study / ablation the body doesn't contain), or the conclusion claims something never evidenced.
  • Redundant sections (two Background sections), or one section doing two jobs (Results carrying Threats-to-Validity).

Not for: sentence wording / de-AI-ifying (polish-prose), page limits / templates / track fit (tailor-to-venue), the Related Work section's content (draft-related-work), or whether the citations are real (verify-citations).

Inputs

  • The draft: main .tex file (the script follows \input/\include).
  • Optional: the paper's intended contribution list and target paper type, from .paper-memory/profile.yml if present (a theory paper and an empirical paper have different expected arcs). If absent, ask the author for the one-sentence claim and the contribution bullets.

Process

1. Read the structure, don't re-read the paper

Run the bundled extractor to get the skeleton on one screen:

python3 skills/refactor-structure/scripts/outline_extract.py <main.tex>

It prints the section/subsection tree, each unit's first sentence (the topic sentence — where a well-built section announces its job), and per-unit signals (word count, citations, whether it carries floats/equations/lists, units that open with no topic sentence). Use --md to drop the skeleton into the plan, --json to drive your own analysis, --no-inputs to run on a single section file. Exit 2 on bad input. This is a structure map, not a verdict — it tells you what is where; the diagnosis below is the judgment.

2. Establish the intended arc

Before judging order, know what the paper is trying to argue. Read the contribution bullets and the abstract's claim. Write down, in one line each: the problem, the claimed contribution(s), the evidence that should back each contribution, and the conclusion each contribution licenses. This is the spine every later check measures against.

3. Diagnose against the architecture checklist

Work through references/architecture-checklist.md, which covers the seven failure modes (wrong order, a section not doing its job, gaps, redundancy, misplaced content, intro/body mismatch, a broken contribution -> evidence -> conclusion arc) and the standard section arcs by paper type. The two highest-value, most objective checks:

  • Promise-vs-delivery. For every contribution bullet and every "we show / we prove / we evaluate" in the intro, find the section that delivers it. A promised proof, user study, or ablation with no home section is a gap the reader (and reviewer) will hold against the paper. Conversely, list any major result section the intro never advertised.
  • Conclusion-vs-evidence. Every claim in the conclusion must trace back to a result in the body. A conclusion that introduces a new claim (e.g. "scales to any number of nodes" with no scaling experiment) is an arc break — flag it as either "remove the claim" or "the body is missing the experiment that would support it."

See references/diagnosis-patterns.md for how each symptom maps to a concrete remedy (move / merge / split / cut) and the ripple effects to check (forward references, "as we show in Section~X" pointers, a cut section's surviving citations).

4. Write the restructuring plan (the author approves it before any edit)

Produce, do not apply. Write paper-workspace/writing/restructuring-plan.md with:

  1. Current skeleton — the --md outline from step 1.
  2. Intended arc — the spine from step 2.
  3. Diagnosis — findings grouped by failure mode, each with: what's wrong, why it hurts the argument, severity (blocks comprehension / weakens it / minor), and the proposed remedy.
  4. Proposed skeleton — the section tree after the plan, so the author sees the new order at a glance.
  5. Ordered move list — each move/merge/split/cut as a discrete, reversible step with its ripple effects, sequenced so the document stays coherent between steps.

Present the diagnosis with the cheaper path called out: often a reorder plus two merges fixes more than a rewrite. Where a symptom has more than one reading — is the user study missing, or just unlabeled? — show both and ask; never silently assume a section is absent when it might live in an \input file.

5. Execute on approval, one step at a time

Only after the author signs off, apply the moves in order. After each structural change, re-run outline_extract.py to confirm the skeleton matches the proposed one, and fix the ripple effects the plan listed (cross-references, "see Section~X" pointers, a moved section's label). Moving prose is mechanical; do not silently reword it — flag any sentence that needs new connective tissue for the author (or hand it to polish-prose). A reference orphaned by a cut (a now-dangling \cite) routes through verify-citations; a claim left without evidence — e.g. the conclusion-vs-evidence break in step 3 — routes through verify-claims for a proper claim→evidence audit. Never invent a citation or a result to patch either.

Output

  • A reviewable paper-workspace/writing/restructuring-plan.md: current skeleton -> intended arc -> diagnosis -> proposed skeleton -> ordered moves.
  • On approval, the applied moves with a re-extracted skeleton confirming the result and a ripple-effect checklist (cross-refs, pointers, labels).
  • The author decides every move; nothing is rewritten at sentence level here.

Adapt to your discipline

The failure modes are field-agnostic; the expected arc is not. references/architecture-checklist.md gives CS-paper arcs (systems / ML-empirical / theory). Fork it for your field: IMRaD for experimental science, a different placement of Related Work, a Methods-before-Results vs. interleaved convention, or essay-style argument structure in the humanities.

Guardrails

  • Plan before you touch the paper. Diagnosis and the move list come first; the author approves before any section is moved, merged, split, or cut.
  • It restructures; it does not reword. Sentence-level edits are polish-prose; venue/track/page fit is tailor-to-venue. Do not silently rewrite moved prose — flag seams for the author.
  • Never fabricate a result, section, or citation to "fill a gap." A missing user study is reported as missing; the fix is to add the work or drop the promise, never to invent it.
  • Never delete content the author may want; a cut is a proposal, and cut text is preserved (note where it went) so it is recoverable.
  • Diagnosis is from reading the structure, not from a venue rule or memory; the extractor's output and the draft are ground truth. It never claims the restructure will get the paper accepted.
  • Never submit anything anywhere on the author's behalf.

Relationship to other skills

  • tailor-to-venue — venue/track fit, page budget, template, blind level. Run after the argument is sound; structure-then-fit, not the reverse.
  • polish-prose — sentence-level wording, hedging, AI-tells. Run after the structure is settled, so you polish prose you're keeping.
  • draft-related-work — the content of the Related Work section; this skill only decides where that section sits and whether it does its job.
  • verify-claims — when a conclusion claim outruns the evidence (an arc break), this skill flags the structural break; verify-claims audits whether the claim is actually supported. verify-citations is the separate check that a .bib entry resolves (e.g. a reference orphaned by a cut).
  • simulate-reviewers / assess-paper — if a mock review flagged "hard to follow", this skill is the fix.

Memory

Uses the shared .paper-memory/ convention in the user's paper directory (full spec: paper-memory-convention.md).

  • At start: read profile.yml (paper type sets the expected arc) and lessons.md — lead with any recurring structural habit already recorded (e.g. "you habitually bury Threats to Validity in Results") so you check for it first.
  • At end: append durable findings via reflect-and-improve's reflect_log.py append in the shared format - [YYYY-MM-DD] (refactor-structure | <scope>) pattern -> recommendation. A habit seen across drafts is recurring; a one-off is this-paper. Don't log routine single moves.
  • Create .paper-memory/ on demand and offer to add it to the project .gitignore; it is local-only and never uploaded or copied into this repo.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Refactor Structure?

Analysiert und verbessert den Aufbau der Argumentation und den Erzählfluss eines Artikels – unabhängig von einer bestimmten Konferenz. Prüft, ob die Inhalte in der richtigen Reihenfolge aufgebaut sind, jeder Abschnitt seine Aufgabe erfüllt, die Einleitung hält, was sie verspricht, und die Argumentationskette von Beitrag über Belege bis zum Schluss trägt. Erstellt anschließend einen Umstrukturierungsplan (Abschnitte verschieben, zusammenführen, aufteilen oder streichen), den der Autor genehmigt, BEVOR etwas umgeschrieben wird. Verwenden Sie diesen Skill, wenn ein Forschender sagt: „Der Aufba...

Warum Refactor Structure in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Refactor Structure besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Refactor Structure in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/ShaishavMaisuria/research-paper-lifecycle-skills/tree/main/skills/refactor-structure ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Refactor Structure nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Refactor Structure verwenden?

So viele Sie möchten. In TypingMind können Sie Refactor Structure mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Refactor Structure kostenlos?

Ja. Der Skill wird von ShaishavMaisuria auf GitHub unter der Lizenz Apache-2.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇