Skip to content

Directory Explained

Terminal window
astro-performance-starter/
├── .github/
├── workflows/
├── ci.yml # Quality gates (lint, types, tests)
├── deploy.yml # GitHub Pages deployment
├── lighthouse.yml # Lighthouse CI (desktop + mobile)
├── mutation.yml # Stryker mutation testing
└── release.yml # Release automation
├── ISSUE_TEMPLATE/
├── bug-report.md
└── feature-request.md
├── CODEOWNERS
├── PULL_REQUEST_TEMPLATE.md
└── dependabot.yml
├── docs/
├── README.md # Docs overview & navigation
├── getting-started/ # Onboarding & quick-start guides
├── implementation-guides/ # Development guides
├── README.md # Implementation roadmap
├── completed/ # Foundation phases (0-4)
├── phase-0-foundation.md
├── phase-1-content-arch.md
├── phase-2-design-system.md
├── phase-3-tooling.md
├── phase-4-skeleton.md
└── phase-*-code-examples.md
├── active-phases/ # Current development (5-12)
├── phase-5-components.md
├── phase-6-sections.md
├── phase-7-content.md
├── phase-8-qa.md
├── phase-9-performance.md
├── phase-10-deployment.md
├── phase-11-documentation.md
└── phase-12-post-launch.md
├── guides/ # Topic-specific guides
├── accessibility-guide.md
├── components-guide.md
├── content-model-guide.md
├── image-optimization-guide.md
├── rollback-strategies-guide.md
└── testing-strategy-guide.md
├── code-examples/ # Implementation examples
└── reference/ # Technical reference
├── tech-stack.md
├── directory-structure.md
└── budgets-guardrails.md
├── patterns/ # Reusable code patterns
├── development/ # Contributor docs
└── adr/ # Architecture Decision Records
├── template.md
├── 000-starter-decisions.md
├── 001-preact-island-usage-policy.md
└── ... # Numbered ADRs through 062
├── src/
├── assets/
└── fonts/ # Vendored woff2 (Astro Fonts API)
├── components/
├── a11y/
└── SkipLink.astro
├── atoms/ # Badge, Button, Icon, Image,
└── ... # ThemeToggle, Tooltip, ...
├── molecules/ # Card, ContactForm, Dialog,
└── ... # Head, PostCard, Tabs, ...
├── structural/ # Container, Footer, Grid,
└── ... # Header, Section, ...
├── islands/ # Preact islands (.tsx)
├── mdx/ # Components for MDX content
└── ThemeSetup.astro
├── content/ # Content collections (data)
├── bio/
├── blog/
├── experience/
├── navigation/
└── projects/
├── content.config.ts # Content Layer schemas (src root)
├── config.ts # Site metadata & links
├── layouts/
├── BaseLayout.astro # Complete base layout
├── BlogLayout.astro
└── ProjectLayout.astro
├── pages/
├── index.astro # Homepage
├── 404.astro
├── 500.astro
├── about.astro
├── contact.astro
├── how-it-works.astro
├── showcase.astro # Component showcase
├── robots.txt.ts
├── rss.xml.ts
├── adr/ # Rendered ADR pages
├── blog/
└── projects/
├── styles/
└── global.css # With token integration
├── types/
├── astro-content.d.ts # Generated types
└── navigation.ts # Navigation types
└── utils/
└── url-utils.ts # Plus blog, date & OG utilities
├── public/
├── _headers # Security headers
├── favicon.svg
├── favicon.ico
├── og-default.png # Open Graph images
└── site.webmanifest
├── scripts/
├── src/ # ~20 TypeScript utility scripts:
├── build-tokens.ts # Token builder (tokens:build)
├── validate-contrast.ts # Contrast validator (design:validate)
├── analyze-bundle.ts # Bundle analysis (bundle:analyze)
├── validate-env.ts # Env validation (env:validate)
├── ... # Budgets, OG images, image optimization
└── __tests__/ # Unit tests for scripts
└── tsconfig.json # Scripts TypeScript config
├── tokens/
├── base.json # Complete token set
├── semantic.json
└── dist/ # Git-ignored
├── e2e/ # Playwright end-to-end tests
├── .husky/
├── pre-commit # Working git hooks
├── commit-msg
└── pre-push
├── .commitlintrc.cjs # Commit message linting
├── .editorconfig # Editor settings
├── .env.example # Environment template
├── .gitignore # Comprehensive ignore
├── .lintstagedignore # Lint staged ignore
├── .nvmrc # Node version
├── AGENTS.md # Generated agent instructions
├── CHANGELOG.md # Release notes
├── CLAUDE.md # AI constitution
├── CONTRIBUTING.md # Contribution guide
├── README.md # Project overview
├── LICENSE.txt # MIT license
├── astro.config.mjs # Astro config (fonts, env, integrations)
├── biome.json # Complete config
├── budget-overrides.json # Example overrides
├── budgets.json # Performance budgets
├── lighthouserc.json # Lighthouse CI config
├── package.json # All deps, no fluff
├── playwright.config.ts # E2E test config
├── pnpm-lock.yaml # Lockfile
├── stryker.conf.json # Mutation testing config
├── tsconfig.json # Strict mode
└── vitest.config.ts # Testing config