Skip to content

DX-048: Publish llms.txt for agent consumption - #647

Merged
IbrahimIjai merged 3 commits into
SO4-Markets:mainfrom
0xBernny:0xBernny-llms.txt
Sep 6, 2026
Merged

DX-048: Publish llms.txt for agent consumption#647
IbrahimIjai merged 3 commits into
SO4-Markets:mainfrom
0xBernny:0xBernny-llms.txt

Conversation

@0xBernny

@0xBernny 0xBernny commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Description

This pull request implements the DX-048 specification, providing optimized consumption paths for language models and autonomous software agents.

Key infrastructure additions:

  1. Created a decoupled pre-build automation engine (scripts/generate-llms-txt.mjs) compiling both dynamic overview catalogs (/llms.txt) and concatenated structural text blocks (/llms-full.txt) into built public outputs without committing large static assets to git tracking history.
  2. Built a wildcard file matching fallback endpoint (app/[...slug].md/route.ts) parsing incoming asset paths to feed raw, layout-free markdown streams straight to agent collectors while excluding draft entities.
  3. Added a dedicated developer manual entry (content/docs/agent-consumption.md) mapping conventions for external teams.

The estimated size of /llms-full.txt at compilation is ~120KB based on existing file trees.

Related Issues

Checklist

  • I have read the CONTRIBUTING.md guidelines.
  • I have updated the documentation accordingly.
  • I have added/updated tests for my changes.
  • All CI validations pass.

This script generates two text files: llms.txt with a brief roadmap and llms-full.txt with a comprehensive content corpus from markdown files, excluding drafts.
Implement GET route to serve markdown files based on slug.
Added documentation for LLM and agent consumption architecture, including available endpoints.
@drips-wave

drips-wave Bot commented Sep 3, 2026

Copy link
Copy Markdown

@0xBernny Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

@0xBernny is attempting to deploy a commit to the Ijai's projects Team on Vercel.

A member of the Team first needs to authorize it.

@IbrahimIjai
IbrahimIjai merged commit e092928 into SO4-Markets:main Sep 6, 2026
1 check failed
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.

DX-048: Publish llms.txt for agent consumption

2 participants