mirror of
https://github.com/System-End/site.git
synced 2026-04-19 15:18:18 +00:00
Add AGENT.md for Amp
This commit is contained in:
parent
24683c580e
commit
b3501fdb55
1 changed files with 25 additions and 0 deletions
25
AGENT.md
Normal file
25
AGENT.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# AGENT.md - Hack Club Site Development Guide
|
||||
|
||||
## Commands
|
||||
- **Dev**: `yarn dev` (start development server)
|
||||
- **Build**: `yarn build` (production build)
|
||||
- **Lint**: `yarn lint` (Next.js ESLint)
|
||||
- **Format**: `yarn format` (Prettier formatting)
|
||||
- **Start**: `yarn start` (production server)
|
||||
- **Test**: No test framework configured
|
||||
|
||||
## Code Style
|
||||
- **Imports**: Use relative imports (`../components/nav`), Theme UI components (`{ Box, Text }`)
|
||||
- **Formatting**: Single quotes, no semicolons, no trailing commas, 80 char width
|
||||
- **Components**: Functional components with destructured props, default exports
|
||||
- **Styling**: Theme UI `sx` prop for styling, styled components with @emotion/styled
|
||||
- **Types**: TypeScript enabled but strict mode off, prefer implicit typing
|
||||
- **Naming**: camelCase for variables/functions, PascalCase for components
|
||||
|
||||
## Architecture
|
||||
- Next.js app with pages/ directory structure
|
||||
- MDX support for content pages
|
||||
- Theme UI for consistent styling with Hack Club theme
|
||||
- Components in components/ directory, modular cards in components/index/cards/
|
||||
- Static assets in public/
|
||||
- Configuration in next.config.mjs includes essential redirects/rewrites
|
||||
Loading…
Add table
Reference in a new issue