شعار Absolute Docs

Absolute Docs

المجتمع
dhruvjainin
absolute-docs

Diátaxis-driven documentation for AI coding agents: write, improve, or audit tutorials, how-tos, reference, explanation, and developer docs (README, CONTRIBUTING, ADRs). Detects the docs stack; gates on the outline before writing prose; verifies every claim against the code before it ships. Triggers on "absolute docs", "write docs", "write a tutorial", "write a README", "document this", "improve this doc", "audit our docs".

نظرة عامة

الناشرdhruvjainin
المستودعabsolute
اسم المهارةabsolute-docs
النجوم
223
التفريعات
30
الملفات المرفقة
7
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dhruvjainin/absolute.git /tmp/absolute
mkdir -p .claude/skills
cp -r /tmp/absolute/skills/absolute-docs .claude/skills/absolute-docs
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Start your first response with the 📚 emoji.

Absolute Documentations: Diátaxis-Driven Documentation

Absolute Documentations turns "write some docs" into documentation a reader can actually use. Every document it produces serves exactly one reader need, identified with the Diátaxis framework, written in the project's own voice and docs stack, and verified against the actual codebase before it ships. It writes new docs, rewrites existing ones to their quadrant's standard, and audits whole doc sites for structural rot.

It never writes a full document before the outline is approved, and it never documents behavior it has not verified in the code.


The Diátaxis Compass

Every piece of documentation answers exactly one kind of reader need. Classify before writing — a page that mixes quadrants serves nobody.

Serves the reader's STUDYServes the reader's WORK
Practical stepsTutorial — a lesson. Guides a newcomer through a guaranteed-success experience.How-to guide — a recipe. Helps a competent user accomplish a specific goal.
Theoretical knowledgeExplanation — a discussion. Deepens understanding of a topic, gives context and reasons.Reference — a dictionary. States facts about the machinery, completely and neutrally.

To classify, ask two questions:

  1. Is the reader studying (acquiring skill) or working (applying skill)?
  2. Does the reader need action (steps to follow) or cognition (knowledge to absorb)?
Reader situationQuadrant
"I'm new, show me what this is like"Tutorial
"I know the basics, I need to get X done"How-to guide
"What exactly does this option/endpoint/flag do?"Reference
"Why does it work this way? What's the bigger picture?"Explanation

The cardinal sin is mixing. A tutorial that stops to explain architecture loses the learner. A reference page that gives advice stops being trustworthy as a pure description. When you feel the urge to mix, that is a signal to link to the other quadrant, not to merge into it.


Modes

Detect the mode from the request:

User saysMode
"write a tutorial / guide / README / docs for X", "document this feature"WRITE
"improve / rewrite / clean up this doc", "this README is bad"IMPROVE
"audit our docs", "our docs are a mess", "restructure the documentation"AUDIT

WRITE Mode

Step 1 — Recon (codebase first, questions second)

Before asking the user anything, learn everything the repo can teach:

  • Detect the docs stack (see Stack Detection below) and load references/docs-stacks.md if writing site pages.
  • Read existing docs — tone, terminology, heading style, frontmatter schema, sidebar/nav structure, where each quadrant lives.
  • Read the code being documented — public API surface, actual option names, actual defaults, actual error messages. The code is the source of truth, not your memory of similar tools.
  • Check project metadata — package.json/pyproject/go.mod for the real name, version, install command, supported runtimes.

Step 2 — Intake

Four things must be pinned down before any outline. Answer them from recon where possible; ask the user only what the repo cannot answer, one question at a time (use AskUserQuestion where available), always with a recommended answer:

  1. Document type — which Diátaxis quadrant (or which developer-doc form).
  2. Target audience — novice end user? experienced operator? contributor? What can you assume they already know?
  3. Reader's goal — what will the reader be able to do after reading?
  4. Scope — what is explicitly in, and just as important, what is explicitly out.

Step 3 — Outline gate (hard gate)

Propose, before writing any prose:

  • the file path(s) the doc will live at, matching the stack's routing conventions
  • a heading-level outline with one line per section describing its content
  • the quadrant each page serves (multi-page requests get one quadrant per page)
  • any sidebar/nav changes needed

STOP and wait for explicit approval. Do not write the document until the user confirms the outline. This is the single gate in the workflow — everything before it is cheap to change, everything after it is expensive.

Step 4 — Write

  • Follow the per-quadrant playbook in references/ (load the matching file).
  • Write in the project's established voice; follow references/style-and-voice.md.
  • Use the stack's components and frontmatter (from references/docs-stacks.md); plain Markdown when no stack is detected.
  • Apply the Accuracy Protocol below to every factual claim and code block.

Step 5 — Self-review

Score the draft against the rubric below. Fix anything scoring under 4 before presenting. Present the doc with a one-paragraph summary of what was written, where it lives, and any nav changes made.


IMPROVE Mode

For "fix this README" / "improve this page":

  1. Classify the page's intended quadrant from its location, title, and content. If it serves two masters, say so — that is usually the root problem.
  2. Diff against the quadrant's standard (load its reference playbook). List concrete violations: missing sections, mixed purposes, stale claims, broken snippets, wrong audience level.
  3. Verify before preserving: every code snippet, option name, and version claim in the existing doc gets checked against the current code. Stale facts are the most common defect in old docs.
  4. Rewrite preserving everything accurate and project-specific. Do not bleach the project's voice into generic doc-speak.
  5. Single-page improvements need no gate. If the fix requires splitting or moving pages, that is a restructure — propose the move map and gate on approval first.

AUDIT Mode

For "our docs are a mess" / "audit the documentation":

  1. Inventory — list every docs page (site pages, README, docs/ folder) with path and title.
  2. Classify — assign each page its dominant quadrant; flag pages that are mixed (the most common finding), misfiled, duplicated, or orphaned from nav.
  3. Gap map — build the 4-quadrant grid for the project's main user journeys and mark what is missing. A typical project has reference and nothing else; the first tutorial is usually the highest-value gap.
  4. Report — a table of findings: page → current state → quadrant → action (keep / rewrite / split / merge / move / delete), ordered by reader impact.
  5. Gate — restructuring moves files and breaks links. Present the map, get approval, then execute with redirects/link updates included.

The audit deliverable is the report and map. Executing it is a follow-up the user approves explicitly.


Stack Detection

Read cached config first: if .absolute.config.json or ~/.absolute/config.json exists (from /absolute init), resolve the effective config (project file → global projects["<cwd>"] → global defaults) and use conventions.docs.stack + conventions.docs.dir — skip the marker-file scan and write pages under docs.dir. With no config (or no docs block), soft-suggest init and detect by checking for marker files in this order; first match wins:

MarkerStackContent format
source.config.ts / fumadocs-* in package.jsonFumadocsMDX + fumadocs-ui components
docusaurus.config.*DocusaurusMDX + admonitions (:::note)
astro.config.* with @astrojs/starlightStarlightMDX/Markdoc + Starlight components
mkdocs.ymlMkDocs (often Material)Markdown + admonitions (!!! note)
.vitepress/config.*VitePressMarkdown + containers (::: tip)
mint.json / docs.json (Mintlify)MintlifyMDX + Mintlify components
none of the abovePlain MarkdownGitHub-flavored Markdown, no components

Per-stack frontmatter, component vocabulary, nav registration, and quadrant-to-component mapping live in references/docs-stacks.md — load it whenever writing pages for a detected stack. Never use one stack's syntax in another (no :::note in MkDocs, no <Callout> outside MDX stacks).


Quadrant Rules at a Glance

Full playbooks with templates live in references/. The non-negotiables:

QuadrantMustMust not
TutorialWork first try, every time; concrete single path; visible result at every step; first person plural ("we")Offer choices, explain theory in-line, assume unstated setup, branch
How-toStart from a real task; assume competence; state prerequisites; show the steps and only the stepsTeach basics, explain why at length, cover every edge case inline
ReferenceBe complete, accurate, and neutral; mirror the code's structure; state defaults, types, constraintsGive advice, tell stories, omit "obvious" entries, drift from the code
ExplanationGive context, reasons, trade-offs, history; admit alternatives; connect conceptsContain instructions, pretend to be the only valid view, duplicate reference facts
Developer docQuadrant blendPlaybook
READMELanding page: pitch + quickstart (mini-tutorial) + links outreferences/developer-docs.md
CONTRIBUTINGHow-to guide for contributorsreferences/developer-docs.md
ARCHITECTUREExplanation with reference elementsreferences/developer-docs.md
ADRExplanation, decision-shaped, immutable once acceptedreferences/developer-docs.md
CHANGELOGReference, reverse-chronological, Keep a Changelog formatreferences/developer-docs.md
RunbookHow-to guide under stress: terse, imperative, copy-pasteablereferences/developer-docs.md
API referenceReference, generated where possible, hand-written prose around itreferences/reference.md

Accuracy Protocol

Documentation that lies is worse than no documentation. For every draft:

  1. Code snippets come from the codebase, not from memory. If the doc shows an API call, find that API in the source and copy its real signature. If a snippet is runnable in this environment, run it.
  2. Names are exact — flags, options, env vars, endpoints, file paths are copied from source, never paraphrased. --dry-run and --dryrun are different products.
  3. Defaults and versions are read, not recalled — from the code and manifest files at the moment of writing.
  4. Never document what does not exist. If the user asks you to document a feature you cannot find in the code, stop and say so — do not write aspirational documentation.
  5. Links resolve — every internal link points at a file or route that exists; every anchor matches a real heading.
  6. Outputs are real — if the doc says "you should see X", X is what the command actually prints.

Style Core

The full guide is references/style-and-voice.md. The rules that are never waived:

  1. One idea per sentence. One purpose per paragraph. One quadrant per page.
  2. Address the reader as "you" (tutorials may use "we" for shared journey).
  3. Imperative mood for instructions: "Run the build", not "You can run the build".
  4. Ban the condescension words: simply, just, easy, obviously, of course. If it were simple, the reader wouldn't be here.
  5. Present tense, active voice. "The server returns 404", not "a 404 will be returned by the server".
  6. Every code block declares its language. File-content blocks name the file.
  7. Headings are scannable claims, not labels: "Configure the webhook" beats "Configuration".
  8. Define a term once, then use it consistently — no elegant variation between "config file", "settings file", and "manifest" for the same thing.
  9. Warnings come before the dangerous step, never after.
  10. Cut every sentence that serves the writer (apologies, throat-clearing, marketing) rather than the reader.

Self-Review Rubric

Score 1–5 on each axis before presenting. Anything under 4 gets fixed first.

Axis5 looks like
Quadrant purityEvery section serves the page's single declared purpose; tangents are links
Audience fitAssumes exactly the declared knowledge — no more, no less
AccuracyEvery snippet, name, default, and output verified against the code
CompletenessScope from intake fully covered; declared exclusions actually excluded
FollowabilityA reader can act on it top-to-bottom without backtracking or guessing
VoiceIndistinguishable from the project's best existing page
Stack fitnessFrontmatter, components, and nav match the detected stack's conventions

Red Flags — stop and fix

  • A tutorial offering the reader choices ("you can use npm or pnpm or...") — pick one, mention alternatives in a how-to.
  • A how-to guide that opens with three paragraphs of background — move it to an explanation page and link.
  • Reference material with personality ("this handy option...") — neutralize it.
  • An explanation page containing numbered steps — extract them to a how-to.
  • A README longer than ~300 lines — it is hoarding content that belongs in docs pages; split and link.
  • More than 3 callouts/admonitions on one page — they have stopped standing out.
  • A code block with no language tag, or a snippet you have not verified.
  • "As mentioned above" / "see below" — restructure so order doesn't need narrating.
  • Documenting around a bug instead of flagging it — tell the user, let them decide.

References

Load on demand from references/:

FileLoad when
tutorials.mdWriting or fixing a tutorial / getting-started page
how-to-guides.mdWriting or fixing a how-to / task guide
reference.mdWriting or fixing reference / API docs
explanation.mdWriting or fixing concept / architecture / background pages
developer-docs.mdREADME, CONTRIBUTING, ARCHITECTURE, ADRs, changelogs, runbooks
style-and-voice.mdAny prose-heavy writing; calibrating to project voice
docs-stacks.mdA docs stack was detected; writing site pages

What this skill does not do

  • No marketing copy, blog posts, or release announcements — docs serve the reader's task, not the product's funnel.
  • No inline code comments or docstrings — that is code work, not documentation work.
  • No invented features — if it is not in the code, it is not in the docs.
  • No commits — it writes files and reports; the user reviews and commits.

Companion commands

Sibling commands in this skill pair well with docs:

  • /absolute work — build the feature you are now documenting.
  • /absolute ui — design the interface a tutorial walks through.
  • /absolute simplify — tidy code before documenting it.

Suggest them where relevant; they are always available (same skill, no extra install).

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

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

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

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

Diátaxis-driven documentation for AI coding agents: write, improve, or audit tutorials, how-tos, reference, explanation, and developer docs (README, CONTRIBUTING, ADRs). Detects the docs stack; gates on the outline before writing prose; verifies every claim against the code before it ships. Triggers on "absolute docs", "write docs", "write a tutorial", "write a README", "document this", "improve this doc", "audit our docs".

لماذا تستخدم Absolute Docs على TypingMind؟

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

كيف أثبّت Absolute Docs في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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