شعار Refactor Structure

Refactor Structure

المجتمع
ShaishavMaisuria
refactor-structure

يشخّص بنية الحجج وتدفّق السرد في ورقة بحثية ويصلحهما، بصرف النظر عن جهة النشر. يتحقق مما إذا كانت الأفكار مرتبة على النحو الصحيح، وما إذا كان كل قسم يؤدي الغرض منه، وما إذا كانت المقدمة تَعِد بما يقدمه متن الورقة، وما إذا كان تسلسل المساهمة ← الأدلة ← الخلاصة متماسكًا، ثم يضع خطة لإعادة الهيكلة (نقل الأقسام أو دمجها أو تقسيمها أو حذفها) ليوافق عليها المؤلف قبل إعادة صياغة أي شيء. استخدمه عندما يقول الباحث: «البنية غير مناسبة»، أو «السرد غير متماسك»، أو «قال المراجعون إن الورقة صعبة المتابعة أو غير منظمة أو إن فكرتها غير واضحة»، أو «مقدمتي تبالغ في الوعود»، أو «مكان الأعمال ذات الصلة غير مناسب»، أو «هذا القسم لا ينتمي إلى هنا»، أو «أعد تنظيم ورقتي»، أو «أصلح السرد»، أو «المساهمات لا تتطابق مع النتائج». يختلف عن tailor-to-venue (ملاءمة جهة النشر أو المسار، وحدود الصفحات، والقوالب) وpolish-prose (صياغة الجمل). يتضمن outline_extract.py لطباعة شجرة الأقسام والجملة الافتتاحية لكل قسم، لتسهيل مراجعة البنية بنظرة سريعة.

Add to TypingMind

نظرة عامة

الناشرShaishavMaisuria
المستودعresearch-paper-lifecycle-skills
اسم المهارةrefactor-structure
النجوم
59
التفريعات
22
الملفات المرفقة
3
الترخيصApache-2.0
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 3

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها ShaishavMaisuria على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Refactor Structure في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/ShaishavMaisuria/research-paper-lifecycle-skills/tree/main/skills/refactor-structure
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Refactor Structure في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Refactor Structure تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Refactor Structure بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Refactor Structure؟

يشخّص بنية الحجج وتدفّق السرد في ورقة بحثية ويصلحهما، بصرف النظر عن جهة النشر. يتحقق مما إذا كانت الأفكار مرتبة على النحو الصحيح، وما إذا كان كل قسم يؤدي الغرض منه، وما إذا كانت المقدمة تَعِد بما يقدمه متن الورقة، وما إذا كان تسلسل المساهمة ← الأدلة ← الخلاصة متماسكًا، ثم يضع خطة لإعادة الهيكلة (نقل الأقسام أو دمجها أو تقسيمها أو حذفها) ليوافق عليها المؤلف قبل إعادة صياغة أي شيء. استخدمه عندما يقول الباحث: «البنية غير مناسبة»، أو «السرد غير متماسك»، أو «قال المراجعون إن الورقة صعبة المتابعة أو غير منظمة أو إن فكرتها غير واضحة»، أو «مقدمتي تبالغ في الوعود»، أو «مكان الأعمال ذات الصلة غير منا...

لماذا تستخدم Refactor Structure على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Refactor Structure عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Refactor Structure في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/ShaishavMaisuria/research-paper-lifecycle-skills/tree/main/skills/refactor-structure. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Refactor Structure؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Refactor Structure؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Refactor Structure معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Refactor Structure مجانية؟

نعم. نشرها ShaishavMaisuria على GitHub بموجب ترخيص Apache-2.0. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل
شعار nexu-io

Html Ppt Zhangzara Monochrome

nexu-io
مؤسسةشائع

مقترح منحة بحثية حول تحرير القواعد باستخدام CRISPR لعلاج فقر الدم المنجلي — الفرضية، والمنهج، والمراحل الرئيسية، والمخاطر. أُعدّ كعرض بحث أكاديمي لاتخاذ قرارات مدروسة، موجّه إلى لجنة مراجعة المنح…

11.2K
96.7K
الملفات: 2
عرض
شعار nexu-io

Html Ppt Zhangzara Scatterbrain

nexu-io
مؤسسةشائع

مشروع تخرّج من كلية التصميم: نظام إرشاد مدني لمحطة مواصلات — موجز المشروع، والعملية، والنتيجة. أُعدّ كعرض دفاع أكاديمي يوفّر أساسًا لاتخاذ القرار للجنة النقد وأعضاء هيئة التدريس.

11.2K
96.7K
الملفات: 2
عرض
شعار paperclipai

Create Agent Adapter

paperclipai
مؤسسةشائع

أنشئ محوّلات وكلاء Paperclip أو عدّلها عبر واجهات الخادم وواجهة المستخدم وسطر الأوامر. استخدم هذه المهارة عند إضافة دعم لوكيل CLI جديد، أو وكيل API، أو عملية مخصّصة، أو حزمة محوّل.

16.2K
95.4K
التعليمات
عرض
شعار paperclipai

Create Paperclip Bundled Skill

paperclipai
مؤسسةشائع

حوّل فكرة أو تغريدة أو مهمة إلى مهارة في كتالوج مهارات Paperclip (packages/skills-catalog). استخدم هذه المهارة عندما يُطلب منك العثور على مهارة أو إنشاؤها ونشرها كمهارة اختيارية أو مضمّنة في الكتالوج: ابحث…

16.2K
95.4K
الملفات: 2
عرض

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇