Skip to content

docs: add root llms.txt summarizing the library and linking key docs (closes #87) - #158

Open
MehulSehgal wants to merge 10 commits into
sidd190:mainfrom
MehulSehgal:feat/llms-txt
Open

MehulSehgal wants to merge 10 commits into
sidd190:mainfrom
MehulSehgal:feat/llms-txt

Conversation

@MehulSehgal

Copy link
Copy Markdown

Summary

Closes #87

Adds a root llms.txt following the llmstxt.org convention. This provides AI assistants, agents, and LLMs with a standardized, structured overview of Dimsee, its architecture, key documentation links, API usage examples, and secure code generation principles.

Key Changes

  1. llms.txt Specification:

    • Package metadata and repository links.
    • Core documentation file directory (README.md, CUSTOMIZATION.md, CONTRIBUTING.md, SECURITY.md, VISION.md, CHANGELOG.md).
    • Quick copy-paste API references for Express backend (createAuthBackend, authMiddleware) and React frontend (AuthProvider, AuthStatus, AuthForm).
    • Overview of all REST endpoints under /api/auth.
    • Security principles for AI assistants (environment variables, HTTP-only cookies, Next.js configuration, middleware protection).
  2. Automated Test Coverage (__tests__/llmsTxt.test.js):

    • Unit tests verifying file existence, markdown sections, backend/frontend code snippets, and ensuring all referenced documentation files exist.
  3. Repository Integration & Navigation:

    • README.md: Added llms.txt badge, Table of Contents entry, and "llms.txt AI Context" introductory section.
    • CONTRIBUTING.md: Added checklist item in Definition of Done for maintaining llms.txt.
    • SECURITY.md: Cross-referenced machine-readable security guidance.
    • CUSTOMIZATION.md & VISION.md: Added footer links referencing llms.txt.
    • .npmignore: Excluded llms.txt from npm package distribution to keep package size lean.

Commits (10)

  • docs: add llms.txt specification summarizing library for AI assistants
  • test: add test suite verifying llms.txt structure and linked doc validity
  • chore(npmignore): exclude llms.txt from published npm package distribution
  • docs(readme): add llms.txt badge above Table of Contents
  • docs(readme): add llms.txt navigation entry to Table of Contents
  • docs(readme): introduce llms.txt AI Context section with standard explanation
  • docs(contributing): document llms.txt maintenance requirement in Definition of Done
  • docs(security): reference llms.txt machine-readable security guidance
  • docs(customization): add cross-reference link to llms.txt
  • docs(vision): link llms.txt reference in architectural roadmap document

Verification

  • npm test: 6 test suites passed, 48 tests passed (including new __tests__/llmsTxt.test.js).
  • npm run lint: Clean, 0 errors/warnings.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 29 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f254e5f8-fd66-4625-ab1f-517c541e698a
Commits

Reviewing files that changed from the base of the PR and between 805e9f4 and cffa86e.

Files selected for processing: 8

  • .npmignore
  • CONTRIBUTING.md
  • CUSTOMIZATION.md
  • README.md
  • SECURITY.md
  • VISION.md
  • __tests__/llmsTxt.test.js
  • llms.txt
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add llms.txt

1 participant