Generate AGENTS.md from latest plugin skills - #288
Open
devin-ai-integration[bot] wants to merge 3 commits into
Open
Generate AGENTS.md from latest plugin skills#288devin-ai-integration[bot] wants to merge 3 commits into
devin-ai-integration[bot] wants to merge 3 commits into
Conversation
- Add @valtown/skills dependency - Skip the editor template's AGENTS.md when adding editor files - Synthesize an up-to-date AGENTS.md from skillList so / users always get current Val Town guidance - Avoid overwriting an existing AGENTS.md from the cloned val Co-Authored-By: Steve Krouse <steveykrouse@gmail.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
- Add generateAgentsMd helper to summarize skills into core conventions + skill reference - Extract ## Rules sections when present, otherwise first paragraph - Keeps AGENTS.md short and loadable in agent context Co-Authored-By: Steve Krouse <steveykrouse@gmail.com>
- Add scripts/generate-agents-md.ts to synthesize AGENTS.md from plugin skills - Commit generated AGENTS.md so the diff is visible in PRs - Add .github/workflows/agents-md.yml to regenerate and commit AGENTS.md on main Co-Authored-By: Steve Krouse <steveykrouse@gmail.com>
tmcw
approved these changes
Aug 13, 2026
Member
|
Needs a lockfile regenerated: |
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.
Summary
vt createandvt clonewere injecting the AGENTS.md bundled inside thestd/vtEditorFilestemplate Val. That copy could drift from the latest platform guidance inval-town/plugins(e.g. older vals still recommended the global blob import).This change keeps the local
AGENTS.mdcurrent and short:@valtown/skillsas a dependency.VTClient.addEditorTemplate, skipsAGENTS.mdfrom the editor template Val.AGENTS.mdfromskillListusinggenerateAgentsMd:## Rulessections where they exist (blob-storage, sqlite-storage).## Skill referencelist, so agents with the Val Town plugin can load the full skill for a topic on demand.AGENTS.md, preserving any val-specific instructions that came from the cloned Val.Also includes the generated
AGENTS.mdin the repo as a preview and adds.github/workflows/agents-md.ymlto regenerate and commit it onmainwhenever plugin skills change.scripts/generate-agents-md.tsproduces the file using the same helper the CLI uses.Link to Devin session: https://app.devin.ai/sessions/cf53d30505964e0686991b70129f4e62
Requested by: @stevekrouse