Skip to content

docs: add llms.txt and llms-full.txt documentation dumps for LLM context (closes #88) - #157

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

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

Conversation

@MehulSehgal

@MehulSehgal MehulSehgal commented Nov 18, 2026 •

Copy link
Copy Markdown

Summary

Closes #88

Adds llms-full.txt (and its index counterpart llms.txt) adhering to the llmstxt.org standard. This provides AI assistants, agents, and LLMs with a complete, structured, and machine-readable documentation dump to ensure generated integration and setup code is accurate, idiomatic, and secure.

Key Changes

  1. llms.txt:

    • Concise index containing package metadata, curated documentation links, quick API references (Express backend + React frontend), REST endpoint tables, and essential security rules for LLMs.
  2. llms-full.txt:

    • Comprehensive machine-readable aggregation bundling all documentation (README.md, CUSTOMIZATION.md, CONTRIBUTING.md, SECURITY.md, VISION.md, CHANGELOG.md).
    • Organized with standard boundary separators and an indexed table of contents.
  3. Automation Tooling (scripts/generate-llms.js):

    • Adds an automated generation script and corresponding npm script npm run docs:llms to package.json.
    • Automatically bundles documentation files without manual copy-pasting.
  4. Automated CI Validation (.github/workflows/ci.yml):

    • Adds CI steps to run npm run docs:llms and assert git diff --exit-code llms.txt llms-full.txt to ensure dumps never drift out of sync with actual documentation.
  5. Test Suite Coverage (__tests__/llms.test.js):

    • Unit tests validating the presence, content completeness, and automated regeneration capability.
  6. Documentation Updates & Housekeeping:

    • README.md: Added badge, Table of Contents entry, and "LLM & AI Assistant Context" guidance section.
    • CONTRIBUTING.md: Added definition of done checklist item.
    • SECURITY.md: Cross-referenced machine-readable security guidelines.
    • .npmignore: Excluded llms.txt, llms-full.txt, and generator scripts from published npm package tarballs.

Verification

  • npm test: 6 test suites passed, 47 tests passed (including new __tests__/llms.test.js).
  • npm run lint: Clean, 0 errors/warnings.
  • git diff --exit-code llms.txt llms-full.txt: Verified in sync.

@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 34 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: a7caf9a7-1ce2-4b7e-91a1-93cfb548513f
Commits

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

Files selected for processing: 10

  • .github/workflows/ci.yml
  • .npmignore
  • CONTRIBUTING.md
  • README.md
  • SECURITY.md
  • __tests__/llms.test.js
  • llms-full.txt
  • llms.txt
  • package.json
  • scripts/generate-llms.js
  • 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-full.txt generated from the docs

1 participant