Complete this checklist before committing changes to the repository.
- README.md created (human-readable overview)
- AGENTS.md created (technical documentation for AI agents)
- SETUP.md created (content author guide)
- PRD.md updated with latest changes
- No console.log or debug statements in production code
- All files properly formatted
- No TODO/FIXME comments without issues filed
- TypeScript errors resolved
- Build completes successfully
- All lesson metadata in lessons.json
- Tags are single-word format
- All links include /AZD-Templates base path
- No duplicate H1 headings in markdown files
- lastUpdated timestamps are current
- astro.config.mjs properly configured
- package.json scripts include telemetry disable
- DevContainer configuration working
- GitHub Actions workflow configured
- No API keys or secrets in code
- No personal information in commits
- .gitignore includes sensitive files
- .DO_NOT_COMMIT/ folder excluded
Run these commands before committing:
# Clean build
npm run build
# Should exit with code 0
echo $?
# Preview build
npm run previewExpected results:
- Build completes without errors
- Exit code is 0
- Preview server starts successfully
- All pages load correctly at http://localhost:4321/AZD-Templates
Check what will be committed:
# View status
git status
# Review changes
git diff
# Check for untracked files that should be ignored
git status --ignoredEnsure these are NOT being committed:
-
.DO_NOT_COMMIT/folder -
node_modules/ -
.astro/ -
dist/ -
*.logfiles -
.envor.env.localfiles
# Verify gitignore is working
git check-ignore -v .DO_NOT_COMMIT/
# Should output: .gitignore:2:.DO_NOT_COMMIT/Use clear, descriptive commit messages:
Add interactive lesson browser with search and filters
Update lesson metadata schema with tags and timestamps
Fix card alignment issues in LessonCards component
Create comprehensive documentation (README, AGENTS, SETUP)
Update files
Fix stuff
Changes
WIP
If all checks pass:
# Stage changes
git add .
# Commit with message
git commit -m "Your descriptive message here"
# Push to main (triggers deployment)
git push origin mainAfter pushing to main:
-
Check GitHub Actions:
- Go to repository → Actions tab
- Verify workflow runs successfully
- Check all steps complete (build, deploy)
-
Verify Deployment:
- Visit https://30daysof.github.io/AZD-Templates
- Check homepage loads correctly
- Test lesson browser functionality
- Verify all links work
-
Monitor for Issues:
- Check for any error messages
- Verify images and assets load
- Test on mobile device/responsive design
If something goes wrong:
# Revert last commit
git revert HEAD
# Push revert
git push origin mainOr create a hotfix:
# Create hotfix branch
git checkout -b hotfix/issue-description
# Make fixes
# ... edit files ...
# Commit and push
git add .
git commit -m "Hotfix: description"
git push origin hotfix/issue-description
# Create PR to main- Always test locally before pushing to main
- Main branch triggers automatic deployment
- Breaking changes should be discussed in PRs first
- Document significant changes in commit messages
Last Updated: January 8, 2026