2.3 KiB
@AGENTS.md
CLAUDE.md
Claude Code instructions
This project is intended to be worked on with Claude Code.
Before starting the HubSpot-to-Astro migration, read:
MIGRATION_BRIEF.md
Then inspect:
./www.azinstitute4autism.com
and create the new Astro site in:
./www
Do not modify or delete:
./www.azinstitute4autism.com
Expected workflow
For the migration task:
- Read
AGENTS.md. - Read
MIGRATION_BRIEF.md. - Inspect the local mirror.
- Provide a concise implementation plan.
- Scaffold or update the Astro project in
./www. - Build extraction, crawl, audit, sitemap, and redirect tools.
- Extract content, media, metadata, navigation, and forms.
- Refactor into reusable Astro components.
- Configure Astro content collections and Front Matter CMS.
- Add English, Arabic, and Spanish structure.
- Add RTL CSS for Arabic.
- Add SEO, sitemap, robots, redirects, and reports.
- Run build and audits.
- Fix practical errors.
- Document incomplete items in
reports/migration-summary.md.
Important Claude-specific behavior
Do not rely on a single massive prompt if the same information already exists in MIGRATION_BRIEF.md.
When asked to begin migration, first read the relevant project files, then work from the files.
Safety and preservation
Treat ./www.azinstitute4autism.com as read-only source material.
Do not delete or overwrite raw source assets.
Do not remove files unless you are certain they are generated output in ./www.
Do not make assumptions about form backend behavior. Forms must remain static with TODO comments.
Do not invent large Spanish or Arabic translations. Create placeholders only when source content does not exist.
Commands
Use npm.
Expected commands after setup:
npm install
npm run dev
npm run build
npm run preview
npm run audit:links
If any command fails, investigate and fix when practical.
If unresolved, document the issue in:
www/reports/migration-summary.md
Completion summary
When finished, report:
- files and folders created
- content migrated
- pages and posts extracted
- assets copied or converted
- forms recreated
- multilingual structure status
- like/view counter status
- SEO status
- redirect status
- build status
- audit status
- manual review items