一键导入
development-guide
Guides AI agents through local development, building, code formatting, linting, and style sheet customization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guides AI agents through local development, building, code formatting, linting, and style sheet customization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | development_guide |
| description | Guides AI agents through local development, building, code formatting, linting, and style sheet customization. |
This skill details standard development workflows, commands, and styling systems for blog.shreyaspatil.dev.
Ensure Node.js (v20+) is installed, then run the development server:
# Install dependencies (if needed)
npm install
# Start local server
npm run dev
http://localhost:4321.pagefind index is generated in the public/ directory.Before committing code or submitting pull requests, run these verification steps:
# 1. Format the codebase
npm run format
# 2. Check formatting consistency
npm run format:check
# 3. Lint the Javascript/Typescript files
npm run lint
# 4. Production build (Astro check + Astro build + Pagefind indexing)
npm run build
The blog is built using Tailwind CSS v4 combined with specific base overrides in src/styles/global.css.
Predefined CSS variables are responsive and adapt dynamically to Light and Dark modes:
--background: #f9f8f6 (Light) / #1c1917 (Dark)--foreground: #1a1a1a (Light) / #e7e5e4 (Dark)--accent: #674e37 (Light) / #d4b28a (Dark) (Warm honey, AAA contrast compliant)Always prefer these classes over raw margins/padding:
app-layout: Adds standard horizontal constraints and centers page layouts.max-w-app: Sets max-width to the standard comfortable reading width (2XL).img-shimmer: Adds custom visual skeleton load/shimmer animations to images.npm run build might fail during the rendering of /og.png or other .png dynamic routes. This is because Satori attempts to load fonts via Google Fonts APIs at build time. This is expected and not an error with local code.