feat(ci): add GitHub Actions workflow for markdown linting and valida…#1
Merged
Conversation
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
This PR delivers a comprehensive overhaul of the Drupal AI Agent Development Guides repository, including a major content refresh, a new hosting variant, an experimental knowledge-base architecture, CI tooling, and an install script.
Changes
🐳 Lagoon Variant (new)
Lagoon/AGENTS.md— New comprehensive guide for amazee.io Lagoon (Kubernetes-based hosting) with Lagoon CLI,lagoon-sync, Drush aliases, auto-deployment, Varnish/Redis, and post-rollout tasks.📝 Content Refresh
DDEV/AGENTS.md(+1,259 / −214) — Rewritten and expanded with updated patterns, code examples, and modern Drupal 10/11 best practices.Vanilla/AGENTS.md(+1,260 / −238) — Same level of refresh for traditional server environments.🧪 Experimental: Knowledge Base Architecture
experimental/AGENTS.md— Slim 60-line entry point (~400 tokens) replacing the monolithic ~1,500-line file.experimental/.kb/— 23 focused knowledge-base files (topics indexed00–22) that agents read on demand, cutting token usage from ~8,000 to ~400 for simple tasks.experimental/install.sh— One-liner installer with variant selection (--variant=ddev|lagoon|vanilla), branch targeting, and--kb-only/--no-kboptions.experimental/README.md— Full documentation on the architecture, token savings table, install instructions, and feedback process.🔧 CI & Quality Tooling
.github/workflows/validate.yml— GitHub Actions workflow for markdown linting and validation..markdownlint.json/.markdownlintignore— Markdown linting config..prettierrc/.prettierignore— Prettier formatting config..gitignore— Expanded ignores.package.json— Node dependencies for lint/format tooling.📚 Documentation
README.md— Restructured with table of contents, variant comparison table, expanded sections, and a banner linking to the experimental architecture.CONTRIBUTING.md— New contributor guidelines.CHANGELOG.md— New changelog tracking project history.Files Changed
Testing
npm run lintexperimental/install.shtested with all variants (--variant=vanilla|ddev|lagoon)Screenshots / Demos
Token savings comparison (experimental KB architecture):