[WIP] Refactor llms-stack-refresh for AI-agent-first documentation#3
Merged
[WIP] Refactor llms-stack-refresh for AI-agent-first documentation#3
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Copilot stopped work on behalf of
d4551 due to an error
March 6, 2026 08:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
docs/CONTRIBUTING.mdREADME.md— remove emojis, remove Contributing section, expand plugin/extension and coding tool integration sectionsAGENTS.md— remove "Editing or adding docs", add Consumption Protocol, Context Window Strategy, Coding Tool Config Map, Stack Integration Rulesdocs/INDEX.md— remove CONTRIBUTING.md row, add Coding Tool Configuration sectiondocs/PROVENANCE.md— reframe as agent integrity verification protocol, remove human contribution languageOriginal prompt
Objective
Refactor the entire
llms-stack-refreshrepository to be AI-agent-first only. This is a documentation-only repository containing curatedllms.txtfiles for a full-stack TypeScript/Bun workflow (Bun, Elysia, htmx, Prisma, Tailwind CSS, daisyUI, EasyAuth). The repository needs significant improvements to make it specifically optimized for AI agent consumption.Current Repository Structure
Changes Required
1. Remove All Contributing References and Emojis
docs/CONTRIBUTING.mdentirely — this repository is AI-agent-first only, not for human open-source contributors.README.md(the table currently has 🍞, 🌼, 🔐, ✨, 🟦, 🔺, 🌬️ in the "Included Files" table and elsewhere).README.md(lines 152-162 starting with## Contributing).docs/INDEX.mdin the "Supporting Docs" table.2. Improve README.md for AI Agent Consumption
Transform the README from a human-oriented contributing repo overview into an AI-agent-first operational reference:
3. Massively Expand Extension/Plugin System Documentation
The current content mentions plugins/extensions superficially. Each needs concrete, actionable detail that an AI agent can use to generate correct code. Add a new top-level section or significantly expand the existing one in README.md with:
Bun Plugin System
Bun.plugin()API signature and lifecyclesetup()hook withonLoad,onResolvecallbacks.toml,.yaml, custom extensions)with { type: "macro" }imports)bunfig.tomlconfiguration reference (preload, plugins, install, test sections)workspacesinpackage.json, filter patterns)Elysia Plugin System
.use()method signature and plugin deduplication (name+seed)onRequest,onParse,onTransform,onBeforeHandle,onAfterHandle,onAfterResponse,onError,onStop.decorate(),.derive(),.model(),.macro(),.guard(),.state(),.resolve()@elysiajs/bearer,@elysiajs/cors,@elysiajs/cron,@elysiajs/html,@elysiajs/jwt,@elysiajs/openapi,@elysiajs/opentelemetry,@elysiajs/server-timing,@elysiajs/statichtmx Extension System
htmx.defineExtension()APIinit,getSelectors,onEvent,transformResponse,isInlineSwap,handleSwap,encodeParametershead-support,loading-states,multi-swap,response-targets,ws,sse,json-enc,preloadhx-extattribute usage for activating extensionsPrisma Client Extensions (
$extends)client,model,query,result$extends()method signatureresultcomponentmodelcomponentquerycomponentclientcomponentTailwind CSS Customization
@plugindirective for writing plugins in CSS@utilityfor custom utility registration@variantand@custom-variantfor custom variants@applyfor extracting utility patterns@referencefor type-safe IDE hintsThis pull request was created from Copilot chat.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.