Imported from D-yade/knq-cloudflare-blog (
AGENTS.md). Install upstream withnpx skills add D-yade/knq-cloudflare-blog. Copyright stays with the author.
Development
When starting the dev server, use background mode:
astro dev --background
Manage the background server with astro dev stop, astro dev status, and astro dev logs.
Documentation
Full documentation: https://docs.astro.build
Consult these guides before working on related tasks:
- Adding pages, dynamic routes, or middleware
- Working with Astro components
- Using React, Vue, Svelte, or other framework components
- Adding or managing content
- Adding styles or using Tailwind
- Supporting multiple languages
Project Operations
- Before starting work, read
PROJECT_GUIDE.mdin full and prioritize its project-specific operating rules. - Before starting work, run
git status --shortto identify existing changes. - Prefer the existing npm scripts for article creation, image addition, and publishing.
- Do not edit
dist/directly, and runnpm run buildafter making changes. - Do not run
npm run publish, commit, or push without the user's explicit approval; pushing tomainpublishes to production. - Before changing, migrating, deleting, or replacing an existing URL, complete the SEO migration preflight in
PROJECT_GUIDE.md. - Never store secrets in code or Git.